Skip to content

Commit c9cdade

Browse files
fix-#379: Enhancing the footer by including GitHub and Discord for better feedback (#430)
2 parents 046c422 + 2674fb6 commit c9cdade

File tree

3 files changed

+43
-6
lines changed

3 files changed

+43
-6
lines changed

Diff for: frontend/src/assets/svg/discor.svg

+6
Loading

Diff for: frontend/src/assets/svg/github.svg

+7
Loading

Diff for: frontend/src/layouts/footer-layout.tsx

+30-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,38 @@
1+
import GitHub_Icon from '@/assets/svg/github.svg';
2+
import Discord_Icon from '@/assets/svg/discor.svg';
13
function footer() {
24
const newDate = new Date();
35
const year = newDate.getFullYear();
46

57
return (
6-
<footer className="flex min-h-[6vh] flex-col items-center bg-zinc-900 py-2 text-center text-white sm:flex-row sm:justify-between sm:py-3">
7-
<section className="text-base sm:pl-4 sm:pl-8 lg:pl-16">WanderLust</section>
8-
<section className="text-base sm:pr-16 sm:pr-4 lg:pr-24">
9-
<span className="mr-2">&copy;</span>
10-
{year} All Rights Reserved
11-
</section>
8+
<footer className="flex min-h-[6vh] flex-col items-center bg-zinc-900 py-3 pt-10 text-center text-white sm:flex-row sm:justify-center sm:py-3">
9+
<div className="mb-8 mt-8">
10+
<section className="flex items-center text-xs sm:text-sm">
11+
Find an issue with this page?{' '}
12+
<span className="pl-1 text-blue-500">
13+
<a href="https://github.com/krishnaacharyaa/wanderlust">Fix it on GitHub</a>
14+
</span>
15+
<span>
16+
<a href="https://github.com/krishnaacharyaa/wanderlust">
17+
<img src={GitHub_Icon} className="h-7 w-10" />
18+
</a>
19+
</span>
20+
</section>
21+
22+
<section className="flex items-center pl-8 text-xs sm:text-sm">
23+
Need help? Connect with us on
24+
<span>
25+
<a href="https://discord.com/invite/FEKasAdCrG">
26+
<img src={Discord_Icon} className="h-6 w-10" />
27+
</a>
28+
</span>
29+
</section>
30+
31+
<section className="mt-4 flex items-center pl-16 text-xs">
32+
<span className="mr-2">&copy;</span>
33+
{year} All Rights Reserved
34+
</section>
35+
</div>
1236
</footer>
1337
);
1438
}

0 commit comments

Comments
 (0)