@@ -9,68 +9,68 @@ import Image from '@/packages/components/base/Displays/Image';
99import ButtonLink from '@/packages/components/base/Navigations/ButtonLink' ;
1010import useAppTheme from '@/packages/libs/AppTheme/useAppTheme' ;
1111
12- function ProfileInfo ( ) {
13- const { isDark } = useAppTheme ( ) ;
14-
15- const LeftDesc = ( { className } : { className ?: string } ) => (
16- < div
17- className = { cn ( [
18- 'items-center h-[30px] flex-1 justify-center text-center' ,
19- className
20- ] ) }
12+ const LeftDesc = ( { className } : { className ?: string } ) => (
13+ < div
14+ className = { cn ( [
15+ 'items-center h-[30px] flex-1 justify-center text-center' ,
16+ className
17+ ] ) }
18+ >
19+ < ButtonLink
20+ href = { `https://github.com/${ AUTHOR_GITHUB } ` }
21+ className = "p-3 rounded-lg text-white hover:text-white hover:-translate-y-1 shadow-sm hover:shadow-lg bg-[#333] shadow-gray-600 flex items-center gap-x-2"
22+ icon = { < IconGithub width = { 16 } height = { 16 } /> }
23+ target = "_blank"
24+ rel = "noopener noreferrer"
25+ data-umami-event = "about_portfolio"
2126 >
22- < ButtonLink
23- href = { `https://github.com/${ AUTHOR_GITHUB } ` }
24- className = "p-3 rounded-lg text-white hover:text-white hover:-translate-y-1 shadow-sm hover:shadow-lg bg-[#333] shadow-gray-600 flex items-center gap-x-2"
25- icon = { < IconGithub width = { 16 } height = { 16 } /> }
26- target = "_blank"
27- rel = "noopener noreferrer"
28- data-umami-event = "about_portfolio"
29- >
3027 Portfolio
31- </ ButtonLink >
32- < ButtonLink
33- href = { `https://linkedin.com/in/${ AUTHOR_LINKEDIN } ` }
34- className = "ml-4 p-3 rounded-lg text-white hover:text-white hover:-translate-y-1 shadow-sm hover:shadow-lg bg-primary shadow-primary flex items-center gap-x-2"
35- icon = { < Briefcase size = { 16 } /> }
36- target = "_blank"
37- rel = "noopener noreferrer"
38- data-umami-event = "about_careers"
39- >
28+ </ ButtonLink >
29+ < ButtonLink
30+ href = { `https://linkedin.com/in/${ AUTHOR_LINKEDIN } ` }
31+ className = "ml-4 p-3 rounded-lg text-white hover:text-white hover:-translate-y-1 shadow-sm hover:shadow-lg bg-primary shadow-primary flex items-center gap-x-2"
32+ icon = { < Briefcase size = { 16 } /> }
33+ target = "_blank"
34+ rel = "noopener noreferrer"
35+ data-umami-event = "about_careers"
36+ >
4037 Careers
41- </ ButtonLink >
42- </ div >
43- ) ;
38+ </ ButtonLink >
39+ </ div >
40+ ) ;
4441
45- const RightDesc = ( { className } : { className ?: string } ) => (
46- < div
47- className = { cn ( [
48- 'items-center h-[30px] flex-1 justify-center' ,
49- className
50- ] ) }
42+ const RightDesc = ( { className } : { className ?: string } ) => (
43+ < div
44+ className = { cn ( [
45+ 'items-center h-[30px] flex-1 justify-center' ,
46+ className
47+ ] ) }
48+ >
49+ < ButtonLink
50+ href = "/resume"
51+ className = "p-3 rounded-lg text-white hover:text-white hover:-translate-y-1 shadow-sm hover:shadow-lg bg-info shadow-info flex items-center gap-x-2"
52+ icon = { < FileText size = { 16 } /> }
53+ target = "_blank"
54+ rel = "noopener noreferrer"
55+ data-umami-event = "about_resume"
5156 >
52- < ButtonLink
53- href = "/resume"
54- className = "p-3 rounded-lg text-white hover:text-white hover:-translate-y-1 shadow-sm hover:shadow-lg bg-info shadow-info flex items-center gap-x-2"
55- icon = { < FileText size = { 16 } /> }
56- target = "_blank"
57- rel = "noopener noreferrer"
58- data-umami-event = "about_resume"
59- >
6057 Resume
61- </ ButtonLink >
62- < ButtonLink
63- 64- className = "ml-4 p-3 rounded-lg text-white hover:text-white hover:-translate-y-1 shadow-sm hover:shadow-lg bg-accent shadow-accent flex items-center gap-x-2"
65- icon = { < Mail size = { 16 } /> }
66- target = "_blank"
67- rel = "noopener noreferrer"
68- data-umami-event = "about_contact"
69- >
58+ </ ButtonLink >
59+ < ButtonLink
60+ 61+ className = "ml-4 p-3 rounded-lg text-white hover:text-white hover:-translate-y-1 shadow-sm hover:shadow-lg bg-accent shadow-accent flex items-center gap-x-2"
62+ icon = { < Mail size = { 16 } /> }
63+ target = "_blank"
64+ rel = "noopener noreferrer"
65+ data-umami-event = "about_contact"
66+ >
7067 Contact
71- </ ButtonLink >
72- </ div >
73- ) ;
68+ </ ButtonLink >
69+ </ div >
70+ ) ;
71+
72+ function ProfileInfo ( ) {
73+ const { isDark } = useAppTheme ( ) ;
7474
7575 return (
7676 < div >
@@ -88,14 +88,13 @@ function ProfileInfo() {
8888 'hover:shadow-xl hover:-translate-y-3' ,
8989 'active:shadow-md active:scale-95' ,
9090 'min-w-[180px] min-h-[180px] max-w-[180px] max-h-[180px]' ,
91- isDark && 'hover:shadow-accent '
91+ isDark && 'hover:shadow-primary '
9292 ] ) }
9393 />
9494 < h3 className = "text-center text-2xl font-bold mb-9 mt-4" >
9595 < span
9696 className = { cn (
97- 'hover:cursor-pointer hover:underline underline-offset-4' ,
98- isDark ? 'text-accent' : 'text-primary'
97+ 'hover:cursor-pointer hover:underline underline-offset-4 text-primary'
9998 ) }
10099 >
101100 Gading
0 commit comments