The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Nudge avatars around
Terry Suttonc68bf4e9bfe4
diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-form.tsx b/apps/www/components/LaunchWeek/Ticket/ticket-form.tsxindex 95d9f76b755..3b03311384e 100644--- a/apps/www/components/LaunchWeek/Ticket/ticket-form.tsx+++ b/apps/www/components/LaunchWeek/Ticket/ticket-form.tsx@@ -9,6 +9,9 @@ import useConfData from '~/components/LaunchWeek/Ticket//hooks/use-conf-data'import LoadingDots from './loading-dots'import formStyles from './form.module.css'import ticketFormStyles from './ticket-form.module.css'+import { Button, IconCheck, IconCheckCircle, IconLoader } from 'ui'++console.log('SITE_ORIGIN', SITE_ORIGIN)type FormState = 'default' | 'loading' | 'error'type TicketGenerationState = 'default' | 'loading'@@ -103,7 +106,7 @@ export default function TicketForm({ defaultUsername = '', setTicketGenerationStawait supabase.auth.signInWithOAuth({provider: 'github',options: {- redirectTo: `${SITE_ORIGIN}/launch-week/tickets${+ redirectTo: `${SITE_ORIGIN}/launch-week/${userData.username ? '?referral=' + userData.username : ''}`,},@@ -113,16 +116,26 @@ export default function TicketForm({ defaultUsername = '', setTicketGenerationSt><div className="flex flex-col gap-3"><div>- <button- type="submit"- className="rounded-full bg-scale-400 py-1 px-3 border border-scale-500 dark:text-white text-sm mb-1 transition-all ease-out hover:bg-scale-500"+ <Button+ type="secondary"+ htmlType="submit"disabled={formState === 'loading' || Boolean(session)}><span className={`${username && 'text-scale-900'}`}>- {session ? '<check>Connect with GitHub' : 'Connect with GitHub'}+ {session ? (+ <>+ <IconCheckCircle />+ Connect with Github+ </>+ ) : (+ <span className="flex items-center gap-2">+ {formState === 'loading' && <IconLoader size={14} className="animate-spin" />}+ Connect with Github+ </span>+ )}</span>{session ? <span className={ticketFormStyles.checkIcon}></span> : null}- </button>+ </Button></div>{/* {!session && <p className={'text-xs text-scale-900'}>Only public info will be used.</p>} */}</div>diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-profile.module.css b/apps/www/components/LaunchWeek/Ticket/ticket-profile.module.cssindex 28c0a93f5d8..3959db26d49 100644--- a/apps/www/components/LaunchWeek/Ticket/ticket-profile.module.css+++ b/apps/www/components/LaunchWeek/Ticket/ticket-profile.module.css@@ -12,10 +12,10 @@}}-.text {+/* .text {flex: 1;margin-left: 10px;-}+} *//*@media (min-width: 768px) {.text {diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-profile.tsx b/apps/www/components/LaunchWeek/Ticket/ticket-profile.tsxindex 12ee3a16ddb..8d5b4e25bce 100644--- a/apps/www/components/LaunchWeek/Ticket/ticket-profile.tsx+++ b/apps/www/components/LaunchWeek/Ticket/ticket-profile.tsx@@ -66,7 +66,7 @@ export default function TicketProfile({[styles.show]: ticketGenerationState === 'loading',})} text-4xl bg-gradient-to-r ${golden ? 'to-[#ffe8af]' : 'to-slate-900'- } from-white via-white bg-clip-text text-transparent`}+ } from-white via-white bg-clip-text text-transparent text-center`}>{name || username || 'Your Name'}</span>@@ -82,12 +82,11 @@ export default function TicketProfile({className={cn(styles.username, { [styles['username-golden']]: golden })}id="wayfinder--username--container">- <span- className={cn(styles.skeleton, styles.wrapper, {- [styles.show]: ticketGenerationState === 'loading',- })}- >- <span className={`${golden ? 'text-white' : 'text-scale-1100'}`}>+ <p className="text-center w-full">+ <span+ className={`${golden ? 'text-white' : 'text-scale-1100'}`}+ id="wayfinding--twitter-handle"+ >{/* <GithubIconcolor={golden ? 'var(--gold-primary)' : 'var(--secondary-color)'}size={20 * size}@@ -103,7 +102,7 @@ export default function TicketProfile({className="ml-2"/>)} */}- </span>+ </p></div></div></div>diff --git a/apps/www/components/LaunchWeek/Ticket/ticket-visual.tsx b/apps/www/components/LaunchWeek/Ticket/ticket-visual.tsxindex cf8197a182b..b3800935a44 100644--- a/apps/www/components/LaunchWeek/Ticket/ticket-visual.tsx+++ b/apps/www/components/LaunchWeek/Ticket/ticket-visual.tsx@@ -60,17 +60,15 @@ export default function TicketVisual({</div>*/}</div></div>-<div className={cn(styles['horizontal-ticket'], 'wayfinding--TicketMono-container')}><TicketMono golden={golden} /></div>-<div className={styles['vertical-ticket']}><TicketMonoMobile golden={golden} /></div><div- className="absolute top-[90px] w-full lg:top-1/2 flex justify-center"+ className="absolute top-[90px] lg:-translate-y-1/2 w-full lg:top-1/2 flex justify-center"id="wayfinding--TicketProfile-container"><TicketProfile@@ -82,7 +80,6 @@ export default function TicketVisual({golden={golden}/></div>-{ticketNumber && <TicketNumber number={ticketNumber} />}</div></>