Skip to content

Commit c7bd137

Browse files
committed
put performers portal in nav
1 parent 459de7f commit c7bd137

File tree

2 files changed

+26
-43
lines changed

2 files changed

+26
-43
lines changed

src/app/components/footer/footer.tsx

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FaGithub, FaPaintBrush } from 'react-icons/fa';
1+
import { FaGithub } from 'react-icons/fa';
22
import FooterSection from './FooterSection';
33
import FooterLink from './FooterLink';
44
import footerData from './footerData';
@@ -19,16 +19,19 @@ export default function Footer() {
1919
Celebrating student creativity at the University of Warwick
2020
</p>
2121

22-
<div className="text-left mt-4">
23-
<a
24-
href="https://submit.wsaf.org.uk/2025/cfp"
25-
target="_blank"
26-
className="inline-flex items-center gap-2 bg-yellow px-2 py-1 sm:px-4 sm:py-2 text-black font-semibold uppercase mr-auto hover:scale-[102%] text-sm lg:text-base"
27-
>
28-
<FaPaintBrush />
29-
Performers Portal
30-
</a>
31-
</div>
22+
{/* W-Paint Link TODO: fix styles */}
23+
{/* <Link
24+
href="/wpaint"
25+
className="flex items-center mx-auto gap-2 rounded hover:underline uppercase text-black bg-yellow"
26+
>
27+
<div className="font-bold">W-Paint</div>
28+
<Image
29+
src={PaintBrush}
30+
alt="Paint brush icon"
31+
width={25}
32+
height={25}
33+
/>
34+
</Link> */}
3235
</FooterSection>
3336

3437
<FooterSection title="Quick Links">

src/app/components/header.tsx

Lines changed: 12 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import { FiMenu, FiX } from 'react-icons/fi';
55
import Link from 'next/link';
66
import { usePathname } from 'next/navigation';
77
import NavLinks from './NavLinks';
8-
import Image from 'next/image';
9-
import PaintBrush from '@/assets/icons/paintbrush.png';
108

119
export default function Header() {
1210
const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
@@ -33,25 +31,17 @@ export default function Header() {
3331
{/* Right links (desktop) */}
3432
<div className="hidden sm:flex items-center gap-2 ml-auto">
3533
<Link
36-
href="/wpaint"
37-
className={`flex items-center rounded hover:underline uppercase ${
38-
pathname === '/wpaint' ? 'text-yellow-400' : 'text-white'
39-
}`}
34+
href="/crew"
35+
className={`uppercase font-bold px-2.5 py-1.5 hover:scale-[102%] ${pathname === '/crew' ? 'text-yellow-400' : 'bg-yellow text-black'}`}
4036
>
41-
<div className="font-bold">W-Paint</div>
42-
<Image
43-
src={PaintBrush}
44-
alt="Paint brush icon"
45-
width={25}
46-
height={25}
47-
/>
37+
<span className="hidden lg:inline">Join the </span>Crew
4838
</Link>
4939

5040
<Link
51-
href="/crew"
52-
className={`uppercase font-bold px-2.5 py-1.5 hover:scale-[102%] ${pathname === '/crew' ? 'text-yellow-400' : 'bg-yellow text-black'}`}
41+
href="https://submit.wsaf.org.uk/2025/cfp"
42+
className="uppercase font-bold px-2.5 py-1.5 hover:scale-[102%] bg-yellow text-black"
5343
>
54-
<span className="hidden lg:inline">Join the </span>Crew
44+
Performers <span className="hidden lg:inline">Portal</span>
5545
</Link>
5646
</div>
5747

@@ -76,29 +66,19 @@ export default function Header() {
7666
<NavLinks onClick={() => setMobileMenuOpen(false)} />
7767
</div>
7868

79-
{/* W-Paint Link */}
8069
<Link
81-
href="/wpaint"
70+
href="/crew"
71+
className={`uppercase mx-auto font-bold px-4 py-2 hover:scale-[102%] ${pathname === '/crew' ? 'text-yellow-400' : 'bg-yellow text-black'}`}
8272
onClick={() => setMobileMenuOpen(false)}
83-
className={`flex items-center mx-auto gap-2 rounded hover:underline uppercase ${
84-
pathname === '/wpaint' ? 'text-yellow-400' : 'text-white'
85-
}`}
8673
>
87-
<div className="font-bold">W-Paint</div>
88-
<Image
89-
src={PaintBrush}
90-
alt="Paint brush icon"
91-
width={25}
92-
height={25}
93-
/>
74+
Join the Crew
9475
</Link>
95-
9676
<Link
97-
href="/crew"
98-
className={`uppercase mx-auto font-bold px-4 py-2 hover:scale-[102%] ${pathname === '/crew' ? 'text-yellow-400' : 'bg-yellow text-black'}`}
77+
href="https://submit.wsaf.org.uk/2025/cfp"
78+
className="uppercase mx-auto font-bold px-4 py-2 hover:scale-[102%] bg-yellow text-black"
9979
onClick={() => setMobileMenuOpen(false)}
10080
>
101-
Join the Crew
81+
Performers Portal
10282
</Link>
10383
</nav>
10484
</div>

0 commit comments

Comments
 (0)