-
Notifications
You must be signed in to change notification settings - Fork 0
[CW2-36] Linking Merch Store Link in nav bar and hamburger #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok nice first ticket! Some small changes and then should be good to go
frontend/src/components/Navbar.tsx
Outdated
@@ -40,6 +40,16 @@ const Navbar = () => { | |||
<Link href="/contact-us"> | |||
<div className="text-xl">{'//'} contact us</div> | |||
</Link> | |||
<a href="https://csesoc-merch.square.site/" className='flex xl:gap-3 lg:gap-1.5 md:gap-0.8 duration-300 hover:scale-105'> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think just get rid of the text and just have the icon, otherwise it's too much
Also, maybe make it so that the link opens in a new tab
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also thinking about it now, I think from experience navbars generally don't really have animations? Idk, just my opinion
@@ -50,6 +50,9 @@ export default function Hamburger() { | |||
<li className="py-2 text-lg"> | |||
<Link href={'./contact-us'}>Contact Us</Link> | |||
</li> | |||
<li className="py-2 text-lg"> | |||
<a href="https://csesoc-merch.square.site/">Merchandise</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe call this merch store
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright nice work, maybe just make the link in the hamburger _blank as well, otherwise happy to merge!
Changes: