The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: add golden prop to ticket share link
Francesco Sansalvadore808c1e49b4d4
diff --git a/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsx b/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsxindex 1fe88229da0..e687a263c48 100644--- a/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsx+++ b/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsx@@ -71,7 +71,7 @@ export default function Ticket({/>{username && (<div className="w-full">- <TicketCopy username={username} />+ <TicketCopy username={username} isGolden={golden} /></div>)}</div>diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-copy.tsx b/apps/www/components/LaunchWeek/Ticket/ticket-copy.tsxindex 8ac0074d341..c228e815a67 100644--- a/apps/www/components/LaunchWeek/Ticket/ticket-copy.tsx+++ b/apps/www/components/LaunchWeek/Ticket/ticket-copy.tsx@@ -6,16 +6,17 @@ import { IconCopy, IconCheck } from 'ui'type Props = {username: string+ isGolden?: boolean}-export default function TicketCopy({ username }: Props) {+export default function TicketCopy({ username, isGolden }: Props) {const [fadeOpacity, setFadeOpacity] = useState(1)const [scrolling, setScrolling] = useState(false)const [copyEnabled, setCopyEnabled] = useState(false)const [copied, setCopied] = useState(false)const scrollRef = useRef<HTMLParagraphElement>(null)const buttonRef = useRef<HTMLButtonElement>(null)- const url = `${SITE_URL}/tickets/${username}?lw=7`+ const url = `${SITE_URL}/tickets/${username}?lw=7${isGolden ? `&golden=true` : ''}`useEffect(() => {if (navigator.clipboard) {setCopyEnabled(true)