|
1 | 1 | import * as React from 'react';
|
2 |
| -import { SiGithub, SiWechat } from 'react-icons/si'; |
3 | 2 |
|
4 |
| -import { trackEvent } from '@/lib/analytics'; |
5 | 3 | import clsxm from '@/lib/clsxm';
|
6 | 4 | import useLoaded from '@/hooks/useLoaded';
|
7 | 5 |
|
8 | 6 | import Layout from '@/components/layout/Layout';
|
9 | 7 | import CustomLink from '@/components/links/CustomLink';
|
10 |
| -import UnstyledLink from '@/components/links/UnstyledLink'; |
11 | 8 | import Seo from '@/components/Seo';
|
12 |
| -import Tooltip from '@/components/Tooltip'; |
13 | 9 |
|
14 | 10 | export default function HomePage() {
|
15 | 11 | const isLoaded = useLoaded();
|
@@ -55,47 +51,6 @@ export default function HomePage() {
|
55 | 51 | Learn more about me
|
56 | 52 | </CustomLink>
|
57 | 53 | </div>
|
58 |
| - <div className='flex'> |
59 |
| - <Tooltip content={<p>Chocolate1999</p>}> |
60 |
| - <div |
61 |
| - data-fade='6' |
62 |
| - className='mt-8 flex flex-wrap gap-4 gap-y-2' |
63 |
| - > |
64 |
| - <UnstyledLink |
65 |
| - href='https://github.com/Chocolate1999' |
66 |
| - className={clsxm( |
67 |
| - 'inline-flex items-center gap-1 text-base font-medium', |
68 |
| - 'text-gray-600 hover:text-black dark:text-gray-400 dark:hover:text-white', |
69 |
| - 'focus:outline-none focus-visible:ring focus-visible:ring-primary-300', |
70 |
| - 'transition-colors' |
71 |
| - )} |
72 |
| - onClick={() => { |
73 |
| - trackEvent('Social Link: Github', 'link'); |
74 |
| - }} |
75 |
| - > |
76 |
| - <SiGithub className='shrink-0' /> |
77 |
| - </UnstyledLink> |
78 |
| - </div> |
79 |
| - </Tooltip> |
80 |
| - <Tooltip content={<p>小狮子前端</p>}> |
81 |
| - <div |
82 |
| - data-fade='6' |
83 |
| - className='mt-8 ml-4 flex flex-wrap gap-4 gap-y-2' |
84 |
| - > |
85 |
| - <UnstyledLink |
86 |
| - href='https://github.com/Chocolate1999' |
87 |
| - className={clsxm( |
88 |
| - 'inline-flex items-center gap-1 text-base font-medium', |
89 |
| - 'text-gray-600 hover:text-black dark:text-gray-400 dark:hover:text-white', |
90 |
| - 'focus:outline-none focus-visible:ring focus-visible:ring-primary-300', |
91 |
| - 'transition-colors' |
92 |
| - )} |
93 |
| - > |
94 |
| - <SiWechat className='shrink-0' /> |
95 |
| - </UnstyledLink> |
96 |
| - </div> |
97 |
| - </Tooltip> |
98 |
| - </div> |
99 | 54 | </div>
|
100 | 55 | </article>
|
101 | 56 | </div>
|
|
0 commit comments