-
Notifications
You must be signed in to change notification settings - Fork 0
/
Footer.tsx
131 lines (130 loc) · 3.34 KB
/
Footer.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
import Image from 'next/image';
export default function Footer() {
return (
<footer>
<div className="flex justify-center gap-x-4 mb-5">
<a
href="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/shervinchen"
target="_blank"
rel="noreferrer"
className="inline-flex min-w-fit"
>
<div data-hide-on-theme="light">
<Image
priority
src="/images/github-dark.svg"
height={24}
width={24}
alt="github"
/>
</div>
<div data-hide-on-theme="dark">
<Image
priority
src="/images/github.svg"
height={24}
width={24}
alt="github"
/>
</div>
</a>
<a
href="https://twitter.com/shervinchen"
target="_blank"
rel="noreferrer"
className="inline-flex min-w-fit"
>
<div data-hide-on-theme="light">
<Image
priority
src="/images/twitter-dark.svg"
height={24}
width={24}
alt="twitter"
/>
</div>
<div data-hide-on-theme="dark">
<Image
priority
src="/images/twitter.svg"
height={24}
width={24}
alt="twitter"
/>
</div>
</a>
<a
href="https://instagram.com/shervinchen"
target="_blank"
rel="noreferrer"
className="inline-flex min-w-fit"
>
<div data-hide-on-theme="light">
<Image
priority
src="/images/instagram-dark.svg"
height={24}
width={24}
alt="instagram"
/>
</div>
<div data-hide-on-theme="dark">
<Image
priority
src="/images/instagram.svg"
height={24}
width={24}
alt="instagram"
/>
</div>
</a>
<a
href="mailto:[email protected]"
className="inline-flex min-w-fit"
>
<div data-hide-on-theme="light">
<Image
priority
src="/images/mail-dark.svg"
height={24}
width={24}
alt="mail"
/>
</div>
<div data-hide-on-theme="dark">
<Image
priority
src="/images/mail.svg"
height={24}
width={24}
alt="mail"
/>
</div>
</a>
<a href="/feed.xml" className="inline-flex min-w-fit">
<div data-hide-on-theme="light">
<Image
priority
src="/images/rss-dark.svg"
height={24}
width={24}
alt="rss"
/>
</div>
<div data-hide-on-theme="dark">
<Image
priority
src="/images/rss.svg"
height={24}
width={24}
alt="rss"
/>
</div>
</a>
</div>
<div className="text-sm text-gray-700 dark:text-gray-300 text-center">
© {new Date().getFullYear()} Shervin Chen.
</div>
</footer>
);
}