Skip to content

Commit 7c9ebb7

Browse files
authored
Merge pull request #24 from csesoc/add-merch-store
[CW2-36] Linking Merch Store Link in nav bar and hamburger
2 parents f339800 + a2dbfd4 commit 7c9ebb7

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed
Lines changed: 12 additions & 0 deletions
Loading

frontend/src/components/Hamburger.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ export default function Hamburger() {
5050
<li className="py-2 text-lg">
5151
<Link href={'/contact-us'}>Contact Us</Link>
5252
</li>
53+
<li className="py-2 text-lg">
54+
<a target="_blank" href="https://csesoc-merch.square.site/">Merch Store</a>
55+
</li>
5356
</ul>
5457
</motion.div>
5558
)}

frontend/src/components/Navbar.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@ const Navbar = () => {
4646
<Link href="/contact-us">
4747
<div className="text-xl">{'//'} contact us</div>
4848
</Link>
49+
<a target="_blank" href="https://csesoc-merch.square.site/" className='flex'>
50+
<Image
51+
src="/assets/merch-store-icon.svg"
52+
alt="Merchandise Store Icon"
53+
width={29}
54+
height={29}
55+
draggable={false}
56+
/>
57+
</a>
4958
</div>
5059
<div className="md:hidden xl:hidden lg:hidden text-right font-bold block">
5160
<Hamburger />

0 commit comments

Comments
 (0)