-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c3aa6f
commit 333cb89
Showing
5 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ interface NavbarProps { | |
}[] | ||
logo: string | ||
socials: { | ||
name: string | ||
link: string | ||
media: Media | ||
}[] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ import instagram_white from '@cuhacking/shared/assets/icons/socials/instagram-wh | |
import linkedin_white from '@cuhacking/shared/assets/icons/socials/linkedin-white-1.svg' | ||
import linktree_white from '@cuhacking/shared/assets/icons/socials/linktree-white-1.svg' | ||
import logo from '@cuhacking/shared/assets/logos/cuHacking/cuhacking-logo-1.svg' | ||
import mlhBanner from '@cuhacking/shared/assets/logos/sponsors/mlh-banner.svg' | ||
import { createRemixStub } from '@remix-run/testing' | ||
import { NavbarPresenter } from './navbar.presenter' | ||
|
||
|
@@ -42,57 +43,76 @@ const meta = { | |
}, | ||
} satisfies Meta<typeof NavbarPresenter> | ||
|
||
const banner = [ | ||
{ | ||
name: 'MLH Banner', | ||
link: 'https://mlh.io/na?utm_source=na-hackathon&utm_medium=TrustBadge&utm_campaign=2025-season&utm_content=black', | ||
media: { | ||
src: mlhBanner.src, | ||
alt: 'Major League Hacking 2025 Hackathon Season', | ||
}, | ||
}, | ||
] | ||
|
||
const socials = [ | ||
{ | ||
name: 'GitHub', | ||
link: 'https://github.com', | ||
media: { | ||
src: github_white.src, | ||
alt: 'GitHub', | ||
}, | ||
}, | ||
{ | ||
name: 'Instagram', | ||
link: 'https://instagram.com', | ||
media: { | ||
src: instagram_white.src, | ||
alt: 'Instagram', | ||
}, | ||
}, | ||
{ | ||
name: 'LinkedIn', | ||
link: 'https://linkedin.com', | ||
media: { | ||
src: linkedin_white.src, | ||
alt: 'LinkedIn', | ||
}, | ||
}, | ||
{ | ||
name: 'Linktree', | ||
link: 'https://linktr.ee', | ||
media: { | ||
src: linktree_white.src, | ||
alt: 'Linktree', | ||
}, | ||
}, | ||
{ | ||
name: 'Email', | ||
link: 'mailto:[email protected]', | ||
media: { | ||
src: email_white.src, | ||
alt: 'Email', | ||
}, | ||
}, | ||
{ | ||
name: 'Discord', | ||
link: 'https://discord.com', | ||
media: { | ||
src: discord_white.src, | ||
alt: 'Discord', | ||
}, | ||
}, | ||
{ | ||
name: 'Documentation', | ||
link: 'https://docs.com', | ||
media: { | ||
src: docs_white.src, | ||
alt: 'Documentation', | ||
}, | ||
}, | ||
{ | ||
name: 'Figma', | ||
link: 'https://figma.com', | ||
media: { | ||
src: figma_white.src, | ||
|
@@ -114,6 +134,7 @@ export const Default: Story = { | |
{ name: 'FAQ', link: '/#faq' }, | ||
], | ||
logo: logo.src, | ||
banner, | ||
socials, | ||
hamburger: { | ||
src: hamburger.src, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters