The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
lw7: add referrals back
Francesco Sansalvadorea2dff95abd72
diff --git a/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsx b/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsxindex 4057bf3c39d..d4e34a72419 100644--- a/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsx+++ b/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsx@@ -161,7 +161,7 @@ export default function Ticket({<div className="mt-4 lg:mt-8 rounded-full bg-[#E6E8EB] py-1 px-3 -mb-3 border border-[#bbbbbb] text-xs transition-all ease-out hover:bg-[#dfe1e3]"><a- href={`${SITE_URL}`}+ href={`${SITE_URL}/${username ? '?referral=' + username : ''}`}className={`flex items-center justify-center gap-2 text-[#2e2e2e]`}>Get your ticketdiff --git a/apps/www/components/LaunchWeek/Ticket/TicketActions.tsx b/apps/www/components/LaunchWeek/Ticket/TicketActions.tsxindex 124314d07be..ee11806c371 100644--- a/apps/www/components/LaunchWeek/Ticket/TicketActions.tsx+++ b/apps/www/components/LaunchWeek/Ticket/TicketActions.tsx@@ -24,15 +24,13 @@ export default function TicketActions({const [loading, setLoading] = useState(false)const downloadLink = useRef<HTMLAnchorElement>()const permalink = (medium: string) =>- encodeURIComponent(`${SITE_URL}/tickets/${username}${golden ? `?golden=true` : ''}`)+ encodeURIComponent(`${SITE_URL}/tickets/?lw=7${username}${golden ? `&golden=true` : ''}`)const text = encodeURIComponent(golden ? TWEET_TEXT_GOLDEN : TWEET_TEXT)const { userData } = useConfData()const tweetUrl = `https://twitter.com/intent/tweet?url=${permalink('twitter'- )}&via=supabase&text=${text}&lw=7`- const linkedInUrl = `https://www.linkedin.com/sharing/share-offsite/?url=${permalink(- 'linkedin'- )}&text=${text}&lw=7`+ )}&via=supabase&text=${text}`+ const linkedInUrl = `https://www.linkedin.com/sharing/share-offsite/?url=${permalink('linkedin')}`const downloadUrl = `https://obuldanrptloktxcffvn.functions.supabase.in/lw7-ticket-og?username=${encodeURIComponent(username)}`