Skip to content

Commit d553792

Browse files
committed
Update Footer.tsx to have more appealing look
1 parent 554ad82 commit d553792

File tree

1 file changed

+76
-50
lines changed

1 file changed

+76
-50
lines changed

components/Footer.tsx

Lines changed: 76 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -4,58 +4,84 @@ import Image from "next/image";
44
const Footer = () => {
55
return (
66
<>
7-
<footer className="bg-slate-950 text-slate-50 pb-6 pt-10 inset-x-0 bottom-0 h-auto md:h-16 flex flex-col md:flex-row items-center justify-center">
8-
<div className="container mx-auto px-6">
9-
<div className="flex flex-col md:flex-row justify-between items-center space-y-4 md:space-y-0">
10-
<div className="flex items-center">
11-
<p className="text-sm mr-2">Deployed with</p>
12-
<Link href="https://vercel.com" target="blank">
13-
<Image
14-
className="bg-white py-1 px-1 rounded-md shadow-lg"
15-
src="/vercel.svg"
16-
alt="Vercel Logo"
17-
width={50}
18-
height={50}
19-
/>
20-
</Link>
7+
<footer className="bg-slate-950 text-slate-50 py-8">
8+
<div className="container mx-auto px-6 md:px-12">
9+
<div className="grid grid-cols-1 md:grid-cols-3 gap-4 items-center">
10+
<div className="text-center w-full">
11+
<div className="flex justify-center items-center w-full space-x-2 mb-1">
12+
<p className="text-base font-semibold text-slate-100">
13+
Deployed with
14+
</p>
15+
<a
16+
href="https://vercel.com"
17+
target="_blank"
18+
rel="noopener noreferrer"
19+
>
20+
<Image
21+
className="bg-white p-2 rounded-full shadow-lg"
22+
src="/vercel.svg"
23+
alt="Vercel Logo"
24+
width={62}
25+
height={62}
26+
/>
27+
</a>
28+
</div>
29+
<p className="text-base font-semibold text-slate-100">
30+
Copyright © 2023
31+
<a
32+
href="https://nikohoffren.com"
33+
target="_blank"
34+
rel="noopener noreferrer"
35+
className="hover:underline text-red-100 pl-1"
36+
>
37+
Niko Hoffrén
38+
</a>
39+
</p>
2140
</div>
22-
<div className="flex items-center">
23-
<p className="text-sm pr-1">Copyright © 2023</p>
24-
<Link
25-
href="https://nikohoffren.com"
26-
className="hover:underline text-sm text-red-100"
27-
target="blank"
28-
>
29-
Niko Hoffrén
30-
</Link>
41+
<div className="text-center w-full">
42+
<ul className="list-none mt-2 text-base text-slate-50">
43+
<li className="hover:underline">
44+
<Link
45+
href="https://github.com/nikohoffren/fork-commit-merge/blob/main/CONTRIBUTING.md"
46+
target="blank"
47+
>
48+
Contributing
49+
</Link>
50+
</li>
51+
<li className="hover:underline">
52+
<Link href="/privacy-policy">
53+
Privacy Policy
54+
</Link>
55+
</li>
56+
<li className="hover:underline">
57+
<Link
58+
href="https://github.com/nikohoffren/fork-commit-merge/blob/main/code_of_conduct.md"
59+
target="blank"
60+
>
61+
Code of Conduct
62+
</Link>
63+
</li>
64+
<li className="hover:underline">
65+
<Link href="https://github.com/nikohoffren">
66+
Contact
67+
</Link>
68+
</li>
69+
</ul>
3170
</div>
32-
<div className="flex flex-col md:flex-row space-y-2 md:space-x-4">
33-
<Link
34-
href="https://github.com/nikohoffren/fork-commit-merge/blob/main/CONTRIBUTING.md"
35-
className="text-sm text-slate-50 hover:underline pt-2"
36-
target="blank"
37-
>
38-
Contributing
39-
</Link>
40-
<Link
41-
href="/privacy-policy"
42-
className="text-sm text-slate-50 hover:underline"
43-
>
44-
Privacy Policy
45-
</Link>
46-
<Link
47-
href="https://github.com/nikohoffren/fork-commit-merge/blob/main/code_of_conduct.md"
48-
className="text-sm text-slate-50 hover:underline"
49-
target="blank"
50-
>
51-
Code of Conduct
52-
</Link>
53-
<Link
54-
href="https://github.com/nikohoffren"
55-
className="text-sm text-slate-50 hover:underline"
56-
>
57-
Contact
58-
</Link>
71+
<div className="text-center w-full">
72+
<p className="text-base text-slate-50 mt-2">
73+
74+
</p>
75+
<p className="text-base text-slate-50">
76+
<a
77+
href="https://nikohoffren.com"
78+
target="_blank"
79+
rel="noopener noreferrer"
80+
className="hover:underline text-red-100 pl-1"
81+
>
82+
GitHub Repo of this Website
83+
</a>
84+
</p>
5985
</div>
6086
</div>
6187
</div>

0 commit comments

Comments
 (0)