-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ui/web): broken social media links and past sponsors not present
- Loading branch information
1 parent
fb75fd0
commit 9ddb629
Showing
4 changed files
with
78 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
import type { Media } from '@cuhacking/shared/types' | ||
import discord_white from '@cuhacking/shared/assets/icons/socials/discord-white-1.svg' | ||
import docs_white from '@cuhacking/shared/assets/icons/socials/docs-white-1.svg' | ||
import email_white from '@cuhacking/shared/assets/icons/socials/email-white-1.svg' | ||
|
@@ -8,58 +9,68 @@ import linkedin_white from '@cuhacking/shared/assets/icons/socials/linkedin-whit | |
import linktree_white from '@cuhacking/shared/assets/icons/socials/linktree-white-1.svg' | ||
import cuHackingLogo from '@cuhacking/shared/assets/logos/cuHacking/cuhacking-logo-1.svg' | ||
|
||
const socials = [ | ||
const socials: { link: string, name: string, media: Media }[] = [ | ||
{ | ||
link: 'https://instagram.com', | ||
link: 'https://www.instagram.com/cuhacking/', | ||
name: 'Instagram', | ||
media: { | ||
src: instagram_white, | ||
alt: 'Instagram', | ||
}, | ||
}, | ||
{ | ||
link: 'https://github.com', | ||
|
||
link: 'https://github.com/cuhacking/2025', | ||
name: 'Github', | ||
media: { | ||
src: github_white, | ||
alt: 'GitHub', | ||
}, | ||
}, | ||
{ | ||
link: 'https://discord.com', | ||
|
||
link: 'https://discord.com/invite/h2cQqF9aZf', | ||
name: 'Discord', | ||
media: { | ||
src: discord_white, | ||
alt: 'Discord', | ||
}, | ||
}, | ||
{ | ||
link: 'https://docs.com', | ||
link: 'https://docs.cuhacking.ca/', | ||
name: 'Docs', | ||
media: { | ||
src: docs_white, | ||
alt: 'Documentation', | ||
}, | ||
}, | ||
{ | ||
link: 'https://figma.com', | ||
link: 'https://www.figma.com/design/wc1JOWR48tBNkjcjwY3AzB/%E2%8C%A8%EF%B8%8F-cuHacking-Design-System?node-id=0-1&t=YTR1ET4Qw1wG1cjz-1', | ||
name: 'Figma', | ||
media: { | ||
src: figma_white, | ||
alt: 'Figma', | ||
}, | ||
}, | ||
{ | ||
link: 'mailto:[email protected]', | ||
link: 'mailto:[email protected]', | ||
name: 'Email', | ||
media: { | ||
src: email_white, | ||
alt: 'Email', | ||
}, | ||
}, | ||
{ | ||
link: 'https://linkedin.com', | ||
link: 'https://ca.linkedin.com/company/cuhacking', | ||
name: 'LinkedIn', | ||
media: { | ||
src: linkedin_white, | ||
alt: 'LinkedIn', | ||
}, | ||
}, | ||
{ | ||
link: 'https://linktr.ee', | ||
link: 'https://linktr.ee/cuhacking_', | ||
name: 'Linktree', | ||
media: { | ||
src: linktree_white, | ||
alt: 'Linktree', | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
import type { Media } from '@cuhacking/shared/types' | ||
import cross from '@cuhacking/shared/assets/icons/general/cross-1.svg' | ||
import hamburger from '@cuhacking/shared/assets/icons/general/hamburger-1.svg' | ||
import discord_white from '@cuhacking/shared/assets/icons/socials/discord-white-1.svg' | ||
|
@@ -17,58 +18,68 @@ const links = [ | |
{ name: 'FAQ', link: '/#faq' }, | ||
] | ||
|
||
const socials = [ | ||
const socials: { link: string, name: string, media: Media }[] = [ | ||
{ | ||
link: 'https://instagram.com', | ||
link: 'https://www.instagram.com/cuhacking/', | ||
name: 'Instagram', | ||
media: { | ||
src: instagram_white, | ||
alt: 'Instagram', | ||
}, | ||
}, | ||
{ | ||
link: 'https://github.com', | ||
|
||
link: 'https://github.com/cuhacking/2025', | ||
name: 'Github', | ||
media: { | ||
src: github_white, | ||
alt: 'GitHub', | ||
}, | ||
}, | ||
{ | ||
link: 'https://discord.com', | ||
|
||
link: 'https://discord.com/invite/h2cQqF9aZf', | ||
name: 'Discord', | ||
media: { | ||
src: discord_white, | ||
alt: 'Discord', | ||
}, | ||
}, | ||
{ | ||
link: 'https://docs.com', | ||
link: 'https://docs.cuhacking.ca/', | ||
name: 'Docs', | ||
media: { | ||
src: docs_white, | ||
alt: 'Documentation', | ||
}, | ||
}, | ||
{ | ||
link: 'https://figma.com', | ||
link: 'https://www.figma.com/design/wc1JOWR48tBNkjcjwY3AzB/%E2%8C%A8%EF%B8%8F-cuHacking-Design-System?node-id=0-1&t=YTR1ET4Qw1wG1cjz-1', | ||
name: 'Figma', | ||
media: { | ||
src: figma_white, | ||
alt: 'Figma', | ||
}, | ||
}, | ||
{ | ||
link: 'mailto:[email protected]', | ||
link: 'mailto:[email protected]', | ||
name: 'Email', | ||
media: { | ||
src: email_white, | ||
alt: 'Email', | ||
}, | ||
}, | ||
{ | ||
link: 'https://linkedin.com', | ||
link: 'https://ca.linkedin.com/company/cuhacking', | ||
name: 'LinkedIn', | ||
media: { | ||
src: linkedin_white, | ||
alt: 'LinkedIn', | ||
}, | ||
}, | ||
{ | ||
link: 'https://linktr.ee', | ||
link: 'https://linktr.ee/cuhacking_', | ||
name: 'Linktree', | ||
media: { | ||
src: linktree_white, | ||
alt: 'Linktree', | ||
|
40 changes: 22 additions & 18 deletions
40
libs/website/ui/introduction/constants/welcome.constants.ts
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 |
---|---|---|
@@ -1,51 +1,55 @@ | ||
import discord_green from '@cuhacking/shared/assets/icons/socials/discord-green-1.svg'; | ||
import docs_green from '@cuhacking/shared/assets/icons/socials/docs-green-1.svg'; | ||
import email_green from '@cuhacking/shared/assets/icons/socials/email-green-1.svg'; | ||
import figma_green from '@cuhacking/shared/assets/icons/socials/figma-green-1.svg'; | ||
import github_green from '@cuhacking/shared/assets/icons/socials/github-green-1.svg'; | ||
import instagram_green from '@cuhacking/shared/assets/icons/socials/instagram-green-1.svg'; | ||
import linkedin_green from '@cuhacking/shared/assets/icons/socials/linkedin-green-1.svg'; | ||
import linktree_green from '@cuhacking/shared/assets/icons/socials/linktree-green-1.svg'; | ||
import type { Media } from '@cuhacking/shared/types' | ||
import discord_green from '@cuhacking/shared/assets/icons/socials/discord-green-1.svg' | ||
import docs_green from '@cuhacking/shared/assets/icons/socials/docs-green-1.svg' | ||
import email_green from '@cuhacking/shared/assets/icons/socials/email-green-1.svg' | ||
import figma_green from '@cuhacking/shared/assets/icons/socials/figma-green-1.svg' | ||
import github_green from '@cuhacking/shared/assets/icons/socials/github-green-1.svg' | ||
import instagram_green from '@cuhacking/shared/assets/icons/socials/instagram-green-1.svg' | ||
import linkedin_green from '@cuhacking/shared/assets/icons/socials/linkedin-green-1.svg' | ||
import linktree_green from '@cuhacking/shared/assets/icons/socials/linktree-green-1.svg' | ||
|
||
interface Media { | ||
src: string; | ||
alt: string; | ||
} | ||
|
||
const socials: { link: string; media: Media }[] = [ | ||
const socials: { link: string, name: string, media: Media }[] = [ | ||
{ | ||
link: 'https://www.instagram.com/cuhacking/', | ||
name: 'Instagram', | ||
media: { src: instagram_green, alt: 'Instagram' }, | ||
}, | ||
{ | ||
link: 'https://github.com/cuhacking/2025', | ||
name: 'GitHub', | ||
media: { src: github_green, alt: 'GitHub' }, | ||
}, | ||
{ | ||
link: 'https://discord.gg/fh2KseMysN', | ||
link: 'https://discord.com/invite/h2cQqF9aZf', | ||
name: 'Discord', | ||
media: { src: discord_green, alt: 'Discord' }, | ||
}, | ||
{ | ||
link: 'https://docs.cuhacking.ca/', | ||
name: 'Docs', | ||
media: { src: docs_green, alt: 'Documentation' }, | ||
}, | ||
{ | ||
link: 'https://www.figma.com/design/wc1JOWR48tBNkjcjwY3AzB/%E2%8C%A8%EF%B8%8F-cuHacking-Design-System?node-id=1512-3204&t=aOMNy0KT02qD4MhD-1', | ||
name: 'Figma', | ||
media: { src: figma_green, alt: 'Figma' }, | ||
}, | ||
{ | ||
link: 'mailto:[email protected]', | ||
name: 'Email', | ||
media: { src: email_green, alt: 'Email' }, | ||
}, | ||
{ | ||
link: 'https://ca.linkedin.com/company/cuhacking', | ||
name: 'LinkedIn', | ||
media: { src: linkedin_green, alt: 'LinkedIn' }, | ||
}, | ||
{ | ||
link: 'https://linktr.ee/cuhacking_?fbclid=PAZXh0bgNhZW0CMTEAAaZcB9hM3ZkwE4vR0NjpoFmPrg3gfXxlm5NdhqMy-eKHv-VXw8ekbvCznlM_aem_wSxlDGzbFI7sVeAAUVTAoQ', | ||
link: 'https://linktr.ee/cuhacking_', | ||
name: 'Linktree', | ||
media: { src: linktree_green, alt: 'Linktree' }, | ||
}, | ||
]; | ||
] | ||
export const WELCOME_CONSTANTS = { | ||
SOCIALS: socials, | ||
}; | ||
} |
18 changes: 16 additions & 2 deletions
18
libs/website/ui/sponsorship/constants/sponsorship.constants.ts
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