Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Commit 8335830

Browse files
committed
feat(ui/website/welcome): add registration link
1 parent 177c66c commit 8335830

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

libs/website/ui/introduction/welcome/welcome.tsx

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
import { Button } from '@cuhacking/shared/ui/button'
12
import { GlassmorphicCard } from '@cuhacking/shared/ui/glassmorphic-card'
23
import { TerminalText } from '@cuhacking/shared/ui/terminal-text'
34
import { Typography } from '@cuhacking/shared/ui/typography'
5+
import { Link } from '@remix-run/react'
46
import { Socials } from '@website/shared/ui/socials'
57

68
interface Media {
@@ -88,7 +90,7 @@ export function Welcome({ socials }: IntroProps) {
8890
<Typography variant="h3">
8991
<h2>{welcomeData.title}</h2>
9092
</Typography>
91-
<div>
93+
<div className="w-full">
9294
<TerminalText className="text-base">
9395
<p>
9496
<span className="text-transparent bg-greendiant bg-clip-text">
@@ -105,7 +107,23 @@ export function Welcome({ socials }: IntroProps) {
105107
<TerminalText className="text-base">
106108
<p>{welcomeData.callToAction}</p>
107109
</TerminalText>
108-
<Socials socials={socials} className="justify-center pt-5" />
110+
<TerminalText className="text-base">
111+
<Socials socials={socials} className="justify-center" />
112+
</TerminalText>
113+
114+
{/* welcomeData.registrationLink */ }
115+
<Link
116+
to="https://forms.gle/gQ6o5vqHE64nQPvj7"
117+
target="_blank"
118+
aria-label="registration link"
119+
className="block w-fit h-fit m-auto"
120+
>
121+
<Button variant="secondary" className="mt-4 px-16">
122+
<Typography variant="h6">
123+
<p>!! Register Now !!</p>
124+
</Typography>
125+
</Button>
126+
</Link>
109127
</div>
110128
</GlassmorphicCard>
111129
)

0 commit comments

Comments
 (0)