Skip to content

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

fix: lw ticket buttons on mobile + copy adjustment (#28308)

Alaister Young2981c871ad3b
diff --git a/apps/www/components/LaunchWeek/12/Ticket/TicketActions2.tsx b/apps/www/components/LaunchWeek/12/Ticket/TicketActions2.tsx
index 85d3300c1a1..7b6432bdcf0 100644
--- a/apps/www/components/LaunchWeek/12/Ticket/TicketActions2.tsx
+++ b/apps/www/components/LaunchWeek/12/Ticket/TicketActions2.tsx
@@ -88,24 +88,20 @@ export default function TicketActions2() {
sharePage ? 'justify-center' : 'justify-between'
)}
>
- <div className="flex flex-row w-full gap-2">
+ <div className="flex flex-row flex-wrap justify-center w-full gap-2">
<Button
type="secondary"
size="small"
className="px-2 lg:px-3.5 h-[28px] lg:h-[34px] opacity-50"
disabled
- icon={<IconCheck strokeWidth={3} className="hidden lg:block" />}
+ icon={<IconCheck strokeWidth={3} />}
>
Ticket claimed
</Button>
<Button
onClick={() => handleShare('twitter')}
type={userData.shared_on_twitter ? 'secondary' : 'default'}
- icon={
- userData.shared_on_twitter && (
- <IconCheck strokeWidth={3} className="hidden lg:block" />
- )
- }
+ icon={userData.shared_on_twitter && <IconCheck strokeWidth={3} />}
size="small"
className="px-2 lg:px-3.5 h-[28px] lg:h-[34px]"
asChild
@@ -117,11 +113,7 @@ export default function TicketActions2() {
<Button
onClick={() => handleShare('linkedin')}
type={userData.shared_on_linkedin ? 'secondary' : 'default'}
- icon={
- userData.shared_on_linkedin && (
- <IconCheck strokeWidth={3} className="hidden lg:block" />
- )
- }
+ icon={userData.shared_on_linkedin && <IconCheck strokeWidth={3} />}
size="small"
className="px-2 lg:px-3.5 h-[28px] lg:h-[34px]"
asChild
diff --git a/apps/www/components/LaunchWeek/12/Ticket/TicketingFlow.tsx b/apps/www/components/LaunchWeek/12/Ticket/TicketingFlow.tsx
index c25e1e0d637..b711f935ddf 100644
--- a/apps/www/components/LaunchWeek/12/Ticket/TicketingFlow.tsx
+++ b/apps/www/components/LaunchWeek/12/Ticket/TicketingFlow.tsx
@@ -133,7 +133,8 @@ const TicketingFlow = () => {
<p className="text-2xl mb-1">Thanks for sharing</p>
)}
<p className="text-2xl text-foreground-light">
- Follow Launch Week 12 announcements to find out if you're a lucky winner.
+ Follow Launch Week 12 announcements to find out if you're a lucky winner
+ of limited swag.
</p>
</div>
) : winningChances !== 2 ? (
diff --git a/apps/www/pages/launch-week/tickets/[username].tsx b/apps/www/pages/launch-week/tickets/[username].tsx
index a934e04dff2..cd30ef4dc1a 100644
--- a/apps/www/pages/launch-week/tickets/[username].tsx
+++ b/apps/www/pages/launch-week/tickets/[username].tsx
@@ -36,7 +36,7 @@ export default function UsernamePage({ user, ogImageUrl }: Props) {
const DISPLAY_NAME = name || username
const FIRST_NAME = DISPLAY_NAME?.split(' ')[0]
- const TITLE = `${DISPLAY_NAME ? DISPLAY_NAME.split(' ')[0] + '’s' : 'Get your'} LW12 Ticket`
+ const TITLE = `${DISPLAY_NAME ? DISPLAY_NAME.split(' ')[0] + '’s' : 'Get your'} Launch Week Ticket`
const DESCRIPTION = `Claim your Supabase Launch Week 12 ticket for a chance to win supa swag.`
const PAGE_URL = `${LW_URL}/tickets/${username}`