diff --git a/apps/www/components/LaunchWeek/LaunchSection/LaunchWeekPrizeSection.tsx b/apps/www/components/LaunchWeek/LaunchSection/LaunchWeekPrizeSection.tsx index b9ee5f50ede..fc58f7234cd 100644 --- a/apps/www/components/LaunchWeek/LaunchSection/LaunchWeekPrizeSection.tsx +++ b/apps/www/components/LaunchWeek/LaunchSection/LaunchWeekPrizeSection.tsx @@ -8,7 +8,7 @@ export default function LaunchWeekPrizeSection({ className }: { className?: stri const finalAnimationState = { y: 0, opacity: 1 } return ( -
+
Get your winning ticket -

+

Mark your calendars for April 9th and join us on Discord for Launch Week 7's final day to find out if you're one of the lucky winners. Get sharing!

diff --git a/apps/www/components/LaunchWeek/LaunchSection/TicketBrickWallRow.tsx b/apps/www/components/LaunchWeek/LaunchSection/TicketBrickWallRow.tsx index 7267c85eeb3..825a74ed4e9 100644 --- a/apps/www/components/LaunchWeek/LaunchSection/TicketBrickWallRow.tsx +++ b/apps/www/components/LaunchWeek/LaunchSection/TicketBrickWallRow.tsx @@ -34,9 +34,6 @@ export function TicketBrickWallRow({ users, reverse, xOffset = 250 }: Props) {
- - {user.username} - {user.username} We have some fantastic swag up for grabs, including 3 limited-edition - mechanical keyboard that you won't want to miss. + mechanical keyboards that you won't want to miss.

)} diff --git a/apps/www/components/LaunchWeek/Ticket/TicketContainer.tsx b/apps/www/components/LaunchWeek/Ticket/TicketContainer.tsx index b05cb21727e..3eeb644ca6a 100644 --- a/apps/www/components/LaunchWeek/Ticket/TicketContainer.tsx +++ b/apps/www/components/LaunchWeek/Ticket/TicketContainer.tsx @@ -1,7 +1,6 @@ -import { useState } from 'react' +import { useEffect, useState } from 'react' import { PageState, ConfDataContext, UserData } from './hooks/use-conf-data' import Ticket from './ActualTicket' -import ConfContainer from './conf-container' import Form from './form' import { SupabaseClient, Session } from '@supabase/supabase-js' @@ -23,6 +22,10 @@ export default function Conf({ const [userData, setUserData] = useState(defaultUserData) const [pageState, setPageState] = useState(defaultPageState) + useEffect(() => { + localStorage.setItem('isGolden', !!userData?.golden ? 'true' : 'false') + }, [userData]) + return ( { document.body.className = 'dark bg-[#1C1C1C]' + if (typeof window !== 'undefined') { + setIsGolden(localStorage?.getItem('isGolden') === 'true' ?? false) + } }, []) return ( @@ -79,7 +83,7 @@ export default function TicketHome({ users }: Props) { openGraph={{ title: `Get your #SupaLaunchWeek Ticket`, description: description, - url: `${SITE_URL}/tickets`, + url: `${SITE_URL}`, images: [ { url: `${SITE_ORIGIN}/images/launchweek/seven/launch-week-7.jpg`, @@ -115,10 +119,7 @@ export default function TicketHome({ users }: Props) {