From 1195803e998112893982c641d37358836c9673d8 Mon Sep 17 00:00:00 2001 From: HasithDeAlwis Date: Sun, 5 Jan 2025 18:30:37 -0500 Subject: [PATCH] refactor(web/spline): move links to constant files --- libs/website/ui/introduction/constants/mission.constants.ts | 1 + libs/website/ui/introduction/constants/welcome.constants.ts | 1 + libs/website/ui/introduction/mission/mission.section.tsx | 2 +- libs/website/ui/introduction/welcome/welcome.section.tsx | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libs/website/ui/introduction/constants/mission.constants.ts b/libs/website/ui/introduction/constants/mission.constants.ts index d3c95a0e7..e4c7bc76f 100644 --- a/libs/website/ui/introduction/constants/mission.constants.ts +++ b/libs/website/ui/introduction/constants/mission.constants.ts @@ -2,4 +2,5 @@ import asciiLogo from '@website/assets/ascii-art/logos/cuhacking-1.svg' export const MISSION_CONSTANTS = { LOGO: asciiLogo, + SPLINE_LINK: 'https://prod.spline.design/9iGB68CM6hGlQYOQ/scene.splinecode', } diff --git a/libs/website/ui/introduction/constants/welcome.constants.ts b/libs/website/ui/introduction/constants/welcome.constants.ts index 22d40342e..6cac7c65f 100644 --- a/libs/website/ui/introduction/constants/welcome.constants.ts +++ b/libs/website/ui/introduction/constants/welcome.constants.ts @@ -52,4 +52,5 @@ const socials: { link: string, name: string, media: Media }[] = [ ] export const WELCOME_CONSTANTS = { SOCIALS: socials, + SPLINE_LINK: 'https://prod.spline.design/a1qdk8yVQfNTh2jB/scene.splinecode', } diff --git a/libs/website/ui/introduction/mission/mission.section.tsx b/libs/website/ui/introduction/mission/mission.section.tsx index a6952fc3c..584fc7441 100644 --- a/libs/website/ui/introduction/mission/mission.section.tsx +++ b/libs/website/ui/introduction/mission/mission.section.tsx @@ -8,7 +8,7 @@ export function MissionSection() {
diff --git a/libs/website/ui/introduction/welcome/welcome.section.tsx b/libs/website/ui/introduction/welcome/welcome.section.tsx index 374de25d3..172ee2fd1 100644 --- a/libs/website/ui/introduction/welcome/welcome.section.tsx +++ b/libs/website/ui/introduction/welcome/welcome.section.tsx @@ -11,7 +11,7 @@ export function WelcomeSection() {