@@ -18,82 +18,84 @@ export default function HomePage() {
18
18
< Layout >
19
19
< Seo />
20
20
< main >
21
- < section className = { clsxm ( 'min-h-screen' , isLoaded && 'fade-in-start' ) } >
22
- < div className = 'flex min-h-screen flex-col justify-center text-center' >
23
- < article className = ' layout flex flex-col items-start' >
24
- < h2 className = 'text-2x dark:text-gray-100' data-fade = '1' >
25
- Hi!
26
- </ h2 >
27
- < h1 className = ' mt-1 text-3xl dark:text-gray-100' data-fade = '2' >
28
- You can call me Chocolate
29
- </ h1 >
30
- < p
31
- className = { clsxm (
32
- ' mt-6 max-w-2xl text-gray-700 dark:text-gray-300' ,
33
- '2xl:text-xl text-left text-lg'
34
- ) }
35
- data-fade = '3'
36
- >
37
- JS, TS, LeetCode, Vue, React, algorithm lovers.The 21st
38
- front-end development, currently moving bricks in a large
39
- factory.
40
- </ p >
41
- < p
42
- className = { clsxm (
43
- ' mt-2 max-w-2xl text-gray-700 dark:text-gray-300' ,
44
- '2xl:text-xl text-left text-lg'
45
- ) }
46
- data-fade = '4'
47
- >
48
- Motto: Learning is like sailing against the current, if you
49
- don't advance, you will retreat!
50
- </ p >
51
- < div data-fade = '5' className = 'mt-4 flex' >
52
- < CustomLink href = '/blog' > To Blog</ CustomLink >
53
- < CustomLink href = '/about' className = 'ml-6' >
54
- Learn more about me
55
- </ CustomLink >
56
- </ div >
57
- < div className = 'flex' >
58
- < Tooltip content = { < p > Chocolate1999</ p > } >
59
- < div
60
- data-fade = '6'
61
- className = 'mt-8 flex flex-wrap gap-4 gap-y-2'
62
- >
63
- < UnstyledLink
64
- href = 'https://github.com/Chocolate1999'
65
- className = { clsxm (
66
- 'inline-flex items-center gap-1 text-base font-medium' ,
67
- 'text-gray-600 hover:text-black dark:text-gray-400 dark:hover:text-white' ,
68
- 'focus:outline-none focus-visible:ring focus-visible:ring-primary-300' ,
69
- 'transition-colors'
70
- ) }
71
- onClick = { ( ) => {
72
- trackEvent ( 'Social Link: Github' , 'link' ) ;
73
- } }
21
+ < section className = { clsxm ( isLoaded && 'fade-in-start' ) } >
22
+ < div className = 'mt-[120px] text-center' >
23
+ < article className = 'layout ' >
24
+ < div className = 'flex flex-col items-start' >
25
+ < h2 className = 'text-2x dark:text-gray-100' data-fade = '1' >
26
+ Hi!
27
+ </ h2 >
28
+ < h1 className = ' mt-1 text-3xl dark:text-gray-100' data-fade = '2' >
29
+ You can call me Chocolate
30
+ </ h1 >
31
+ < p
32
+ className = { clsxm (
33
+ ' mt-6 max-w-2xl text-gray-700 dark:text-gray-300' ,
34
+ '2xl:text-xl text-left text-lg'
35
+ ) }
36
+ data-fade = '3'
37
+ >
38
+ JS, TS, LeetCode, Vue, React, algorithm lovers.The 21st
39
+ front-end development, currently moving bricks in a large
40
+ factory.
41
+ </ p >
42
+ < p
43
+ className = { clsxm (
44
+ ' mt-2 max-w-2xl text-gray-700 dark:text-gray-300' ,
45
+ '2xl:text-xl text-left text-lg'
46
+ ) }
47
+ data-fade = '4'
48
+ >
49
+ Motto: Learning is like sailing against the current, if you
50
+ don't advance, you will retreat!
51
+ </ p >
52
+ < div data-fade = '5' className = 'mt-4 flex' >
53
+ < CustomLink href = '/blog' > To Blog</ CustomLink >
54
+ < CustomLink href = '/about' className = 'ml-6' >
55
+ Learn more about me
56
+ </ CustomLink >
57
+ </ 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'
74
63
>
75
- < SiGithub className = 'shrink-0' />
76
- </ UnstyledLink >
77
- </ div >
78
- </ Tooltip >
79
- < Tooltip content = { < p > 小狮子前端</ p > } >
80
- < div
81
- data-fade = '6'
82
- className = 'mt-8 ml-4 flex flex-wrap gap-4 gap-y-2'
83
- >
84
- < UnstyledLink
85
- href = 'https://github.com/Chocolate1999'
86
- className = { clsxm (
87
- 'inline-flex items-center gap-1 text-base font-medium' ,
88
- 'text-gray-600 hover:text-black dark:text-gray-400 dark:hover:text-white' ,
89
- 'focus:outline-none focus-visible:ring focus-visible:ring-primary-300' ,
90
- 'transition-colors'
91
- ) }
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'
92
84
>
93
- < SiWechat className = 'shrink-0' />
94
- </ UnstyledLink >
95
- </ div >
96
- </ Tooltip >
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 >
97
99
</ div >
98
100
</ article >
99
101
</ div >
0 commit comments