-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHeader.tsx
82 lines (71 loc) · 2.14 KB
/
Header.tsx
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
73
74
75
76
77
78
79
80
81
82
import { motion } from "framer-motion"
import Link from "next/link"
import { SocialIcon } from "react-social-icons"
function Header() {
return (
<header className="sticky top-0 p-6 flex items-start justify-between max-w-7xl mx-auto z-20 xl:items:center">
<motion.div
initial={{
opacity:0,
x:-500,
scale:0.5,
}}
animate={{
x:0,
opacity:1,
scale:1,
}}
transition={{
duration:1.5,
}}
className=" flex flex-row items-center xl:ml-20">
<SocialIcon
url="https://github.com/albinsabu2023"
fgColor="gray"
bgColor="transparent"
/>
<SocialIcon
url="https://www.linkedin.com/in/albin-sabu-377798230/"
fgColor="gray"
bgColor="transparent"
/>
<SocialIcon
url=" https://wa.me/+919544697960"
fgColor="gray"
bgColor="transparent"
type="whatsapp"
/>
<SocialIcon
url="https://www.facebook.com/albin.albin.144"
fgColor="gray"
bgColor="transparent"
/>
</motion.div>
<motion.div
onClick={() => (window.location.href = "#contact")}
initial={{
x:500,
opacity:0,
scale:0.5
}}
animate={{
x:0,
opacity:1,
scale:1
}}
transition={{
duration:1.5,
}}
className="flex flex-row items-center text-gray-300 cursor-pointer xl:mr-10">
<SocialIcon
className="cursor-pointer"
network="email"
fgColor="gray"
bgColor="transparent"
/>
<p className="uppercase hidden md:inline text-gray-400 text-sm">Get In Touch</p>
</motion.div>
</header>
)
}
export default Header