Skip to content

Commit 6846826

Browse files
committed
remove ibex logo from footer and add github link
1 parent 2554978 commit 6846826

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

app/Footer.tsx

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,7 @@ import Image from "next/image";
55
export default function Footer() {
66
return (
77
<footer className="bg-white dark:bg-zinc-900 ">
8-
<div className="max-w-screen-xl px-4 py-12 mx-auto space-y-8 overflow-hidden sm:px-6 lg:px-8 w-full flex flex-col justify-center items-center ">
9-
<Link href="/" className="flex items-center justify-center ">
10-
<Image
11-
src="/WebDashboard/IBEX_logo.png"
12-
alt="IBEX Logo"
13-
className="h-16 w-auto"
14-
width={128}
15-
height={128}
16-
/>
17-
</Link>
8+
<div className="max-w-screen-xl p-4 mx-auto space-y-8 overflow-hidden sm:px-6 lg:px-8 w-full flex flex-col justify-center items-center ">
189
<nav className="flex flex-wrap justify-center -mx-5 -my-2">
1910
<Link
2011
href="/"
@@ -35,6 +26,18 @@ export default function Footer() {
3526
>
3627
Beam status
3728
</Link>
29+
<Link
30+
className="block py-2 px-3 rounded text-black dark:text-white hover:text-white hover:bg-zinc-800"
31+
href="https://github.com/ISISComputingGroup/WebDashboard"
32+
>
33+
<svg
34+
className="fill-current w-6 h-6"
35+
xmlns="http://www.w3.org/2000/svg"
36+
viewBox="0 0 24 24"
37+
>
38+
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" />
39+
</svg>
40+
</Link>
3841
</nav>
3942
</div>
4043
</footer>

app/__snapshots__/Footer.test.tsx.snap

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,8 @@ exports[`renders footer unchanged 1`] = `
66
class="bg-white dark:bg-zinc-900 "
77
>
88
<div
9-
class="max-w-screen-xl px-4 py-12 mx-auto space-y-8 overflow-hidden sm:px-6 lg:px-8 w-full flex flex-col justify-center items-center "
9+
class="max-w-screen-xl p-4 mx-auto space-y-8 overflow-hidden sm:px-6 lg:px-8 w-full flex flex-col justify-center items-center "
1010
>
11-
<a
12-
class="flex items-center justify-center "
13-
href="/"
14-
>
15-
<img
16-
alt="IBEX Logo"
17-
class="h-16 w-auto"
18-
data-nimg="1"
19-
decoding="async"
20-
height="128"
21-
loading="lazy"
22-
src="/_next/image?url=%2FWebDashboard%2FIBEX_logo.png&w=256&q=75"
23-
srcset="/_next/image?url=%2FWebDashboard%2FIBEX_logo.png&w=128&q=75 1x, /_next/image?url=%2FWebDashboard%2FIBEX_logo.png&w=256&q=75 2x"
24-
style="color: transparent;"
25-
width="128"
26-
/>
27-
</a>
2811
<nav
2912
class="flex flex-wrap justify-center -mx-5 -my-2"
3013
>
@@ -47,6 +30,20 @@ exports[`renders footer unchanged 1`] = `
4730
>
4831
Beam status
4932
</a>
33+
<a
34+
class="block py-2 px-3 rounded text-black dark:text-white hover:text-white hover:bg-zinc-800"
35+
href="https://github.com/ISISComputingGroup/WebDashboard"
36+
>
37+
<svg
38+
class="fill-current w-6 h-6"
39+
viewBox="0 0 24 24"
40+
xmlns="http://www.w3.org/2000/svg"
41+
>
42+
<path
43+
d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
44+
/>
45+
</svg>
46+
</a>
5047
</nav>
5148
</div>
5249
</footer>

0 commit comments

Comments
 (0)