Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Add wayfinders

Terry Sutton637faae00191
diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-info.tsx b/apps/www/components/LaunchWeek/Ticket/ticket-info.tsx
index 8437aa6eddd..995e17d037b 100644
--- a/apps/www/components/LaunchWeek/Ticket/ticket-info.tsx
+++ b/apps/www/components/LaunchWeek/Ticket/ticket-info.tsx
@@ -10,7 +10,7 @@ export default function TicketInfo({
golden = false,
}) {
return (
- <div className={styles.info}>
+ <div className={`${styles.info} wayfinding--TicketInfo-footer`}>
<div
className={`${cn(styles.date, { [styles['date-golden']]: golden })} text-sm mr-4 ${
golden && '!text-white'
diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-profile.module.css b/apps/www/components/LaunchWeek/Ticket/ticket-profile.module.css
index b4e44f9f345..32f24652ab4 100644
--- a/apps/www/components/LaunchWeek/Ticket/ticket-profile.module.css
+++ b/apps/www/components/LaunchWeek/Ticket/ticket-profile.module.css
@@ -106,7 +106,7 @@
.skeleton {
display: flex;
align-items: center;
- border-radius: 5px;
+ border-radius: 25px;
}
.skeleton.loaded {
diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-profile.tsx b/apps/www/components/LaunchWeek/Ticket/ticket-profile.tsx
index 6a920bde73d..45425b80711 100644
--- a/apps/www/components/LaunchWeek/Ticket/ticket-profile.tsx
+++ b/apps/www/components/LaunchWeek/Ticket/ticket-profile.tsx
@@ -12,6 +12,8 @@ type Props = {
golden?: boolean
}
+// The middle part of the ticket
+// avatar / Yourn Name / Username
export default function TicketProfile({
name,
username,
@@ -20,7 +22,12 @@ export default function TicketProfile({
golden = false,
}: Props) {
return (
- <div className={styles.profile}>
+ <div
+ className={cn(
+ styles.profile,
+ 'wayfinding--skeleton-container wayfinding--ticket profile.tsx'
+ )}
+ >
<span
className={cn(styles.skeleton, styles.wrapper, styles.inline, styles.rounded, {
[styles.show]: ticketGenerationState === 'loading',
diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-visual.tsx b/apps/www/components/LaunchWeek/Ticket/ticket-visual.tsx
index 55278d18b5a..ffac993b6d8 100644
--- a/apps/www/components/LaunchWeek/Ticket/ticket-visual.tsx
+++ b/apps/www/components/LaunchWeek/Ticket/ticket-visual.tsx
@@ -33,29 +33,28 @@ export default function TicketVisual({
return (
<>
<div
- className={[styles.visual, golden ? styles['visual--gold'] : ''].join(' ')}
- // className={`rounded-2xl shadow-xl shadow-brand-500`}
+ className={[
+ styles.visual,
+ golden ? styles['visual--gold'] : '',
+ 'wayfinding--ticket-visual-inner-container',
+ ].join(' ')}
style={{
['--size' as string]: size,
}}
>
- <div className={styles['horizontal-ticket']}>
- {/* {username ? <TicketColored golden={golden} /> : <TicketMono golden={golden} />} */}
-
+ <div className={cn(styles['horizontal-ticket'], 'wayfinding--TicketMono-container')}>
<TicketMono golden={golden} />
</div>
+
<div className={styles['vertical-ticket']}>
- {/* {username ? (
- <TicketColoredMobile golden={golden} />
- ) : (
- <TicketMonoMobile golden={golden} />
- )} */}
<TicketMonoMobile golden={golden} />
</div>
+
<div className={styles.logo}>
<img src={`/images/launchweek/ticket-logo-${golden ? 'light' : 'dark'}.svg`} />
</div>
- <div className={styles.profile}>
+
+ <div className={`${styles.profile} wayfinding--TicketProfile-container`}>
<TicketProfile
name={name}
username={username}
@@ -64,7 +63,7 @@ export default function TicketVisual({
golden={golden}
/>
</div>
- <div className={styles.info}>
+ <div className={`${styles.info} wayfinding--TicketInfo-container`}>
<TicketInfo
golden={golden}
logoTextSecondaryColor={
@@ -77,7 +76,7 @@ export default function TicketVisual({
<div
className={`${cn(styles['ticket-number'], {
[styles['ticket-number-golden']]: golden,
- })} bg-gradient-to-r from-white via-white ${
+ })} bg-gradient-to-r from-white via-white wayfinding--ticket-number ${
golden ? 'to-[#ffe8af]' : 'to-slate-900'
}`}
>
diff --git a/apps/www/components/LaunchWeek/Ticket/ticket.tsx b/apps/www/components/LaunchWeek/Ticket/ticket.tsx
index 569bb4fd9cd..937710201ed 100644
--- a/apps/www/components/LaunchWeek/Ticket/ticket.tsx
+++ b/apps/www/components/LaunchWeek/Ticket/ticket.tsx
@@ -60,7 +60,12 @@ export default function Ticket({
<div className={cn(styles['ticket-visual-wrapper'], 'col-span-8')}>
<div
ref={ticketRef}
- className={cn(styles['ticket-visual'], styleUtils.appear, styleUtils['appear-fourth'])}
+ className={cn(
+ styles['ticket-visual'],
+ styleUtils.appear,
+ styleUtils['appear-fourth'],
+ 'wayfinding--ticket-visual-outer-container'
+ )}
>
<TicketVisual
username={username ?? undefined}
@@ -109,8 +114,9 @@ export default function Ticket({
) : golden ? (
<p className="text-xl dark:text-scale-1200 tracking-[0.02rem]">Congratulations!</p>
) : (
- <p className="text-xl dark:text-scale-1200 tracking-[0.02rem]">
- Generate your ticket. Win the SupaKeyboard.
+ <p className="text-2xl dark:text-scale-1200 tracking-[0.02rem]">
+ Generate your ticket. Win the{' '}
+ <span className="gradient-text-purple-500">SupaKeyboard</span>.
</p>
)}
</h1>
@@ -127,15 +133,17 @@ export default function Ticket({
</p>
<p>Referrals: {referrals}</p>
</>
- ) : username ? (
- <>
- <p>Here is your unique ticket image for bragging on socials!</p>
- <p>Referrals: {referrals}</p>
- </>
) : (
<>
- We have some fantastic swag up for grabs, including 3x limited edition mechanical
- keyboard that you won't want to miss.
+ <p>
+ We have some fantastic swag up for grabs, including 3x limited edition mechanical
+ keyboard that you won't want to miss.
+ </p>
+ {username && (
+ <p>
+ {`<<<<`} Referrals: {referrals} {`>>>>`}
+ </p>
+ )}
</>
)}
</h2>
diff --git a/apps/www/lib/constants.ts b/apps/www/lib/constants.ts
index e1ddd15bdd8..5beb3685741 100644
--- a/apps/www/lib/constants.ts
+++ b/apps/www/lib/constants.ts
@@ -12,7 +12,7 @@ export const SITE_URL =
export const SITE_ORIGIN = new URL(SITE_URL).origin
export const TWITTER_USER_NAME = 'supabase'
export const COOKIE = 'supa-launch-week-ticke-user-id'
-export const DATE = 'December 12th, 2022'
+export const DATE = 'April 3rd- 7th, 2023'
export const TWEET_TEXT = 'Got my ticket for #SupaLaunchWeek 6!'
export const TWEET_TEXT_GOLDEN = `Woop! I got a Golden Ticket for #SupaLaunchWeek 6! SupaSwag on its way!`
export const SITE_NAME = 'Supabase'