-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAboutMe.tsx
More file actions
72 lines (70 loc) · 3.55 KB
/
AboutMe.tsx
File metadata and controls
72 lines (70 loc) · 3.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import Image from 'next/image';
import { FaGithub, FaLinkedin } from 'react-icons/fa';
import { githubLink, linkedinLink } from '@/app/lib/constants/landingPageData';
const AboutMe = () => {
return (
<section className="relative overflow-visible rounded-2xl from-primary-caribbean to-gray-100 dark:from-primary-bangladesh dark:to-primary-dark p-6 md:p-10">
<div className="grid md:grid-cols-[1fr,2fr] gap-8 md:gap-12 items-center">
<div className="relative mx-auto md:mx-0 group/duck">
<div className="absolute -inset-1 bg-gradient-to-r from-gray-300 to-gray-400 dark:from-gray-600 dark:to-gray-700 rounded-full blur opacity-20 animate-pulse"></div>
<div className="relative h-44 w-44 overflow-hidden rounded-full ring-4 ring-white dark:ring-gray-400 shadow-xl">
<Image
width={500}
height={400}
priority={true}
src={'/images/profile/darkDuck.png'}
alt="Background image"
className="object-cover w-full h-full bg-gray-500"
/>
<Image
width={500}
height={400}
priority={true}
src={'/images/profile/profile.jpg'}
alt="About image"
className="absolute inset-0 object-cover w-full h-full bg-gray-500 transition-opacity duration-700 group-hover/duck:opacity-0"
/>
</div>
<div className="absolute z-50 -top-16 left-1/2 -translate-x-1/2 opacity-0 group-hover/duck:opacity-100 transition-all duration-300 pointer-events-none scale-95 group-hover/duck:scale-100">
<div className=" bg-white dark:bg-gray-800 text-gray-800 dark:text-gray-200 text-xs px-3 py-2 rounded-lg shadow-lg whitespace-nowrap border border-gray-200 dark:border-gray-700">
<p>저는 커피☕와 사진 📸을 좋아하는 개발자입니다~</p>
</div>
<div className="absolute left-1/2 -translate-x-1/2 -bottom-1.5 w-3 h-3 bg-white dark:bg-gray-800 border-r border-b border-gray-200 dark:border-gray-700 rotate-45"></div>
</div>
</div>
<div className="grid gap-6">
<div className="space-y-2">
<h2 className="text-2xl md:text-3xl font-bold text-gray-900 dark:text-gray-100">
About Me
</h2>
<div className="h-1 w-20 bg-gray-900 dark:bg-gray-100 rounded-full"></div>
</div>
<p className="text-default text-base leading-relaxed">
Software Engineer로서 React, TypeScript를 주로 사용합니다. 항상
확장성에 대해서 고민하고, 성능 최적화에 관심이 많으며, 지속적인
학습과 성장을 추구합니다.
</p>
<div className="flex gap-4 pt-2">
<a
href={githubLink}
target={'_blank'}
className="p-3 rounded-full bg-white dark:bg-gray-800 shadow-md hover:shadow-xl hover:scale-110 transition-all duration-300"
title="Github"
>
<FaGithub className="w-6 h-6 text-gray-700 dark:text-gray-300" />
</a>
<a
href={linkedinLink}
target={'_blank'}
className="p-3 rounded-full bg-white dark:bg-gray-800 shadow-md hover:shadow-xl hover:scale-110 transition-all duration-300"
title="LinkedIn"
>
<FaLinkedin className="w-6 h-6 text-gray-700 dark:text-gray-300" />
</a>
</div>
</div>
</div>
</section>
);
};
export default AboutMe;