Skip to content

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

Feat x (#19250)

Francesco Sansalvadore7c8ac579a42f
diff --git a/apps/docs/pages/_app.tsx b/apps/docs/pages/_app.tsx
index 711ad4cf30c..2307197f240 100644
--- a/apps/docs/pages/_app.tsx
+++ b/apps/docs/pages/_app.tsx
@@ -17,6 +17,7 @@ import Favicons from '~/components/Favicons'
import SiteLayout from '~/layouts/SiteLayout'
import { API_URL, IS_PLATFORM } from '~/lib/constants'
import { post } from '~/lib/fetchWrappers'
+import PromoToast from 'ui/src/components/PromoToast'
function MyApp({ Component, pageProps }: AppPropsWithLayout) {
const router = useRouter()
@@ -163,6 +164,7 @@ function MyApp({ Component, pageProps }: AppPropsWithLayout) {
<TabsProvider>
<SiteLayout>
<PortalToast />
+ <PromoToast />
<Component {...pageProps} />
</SiteLayout>
</TabsProvider>
diff --git a/apps/www/_blog/2023-04-04-infinite-scroll-with-nextjs-framer-motion.mdx b/apps/www/_blog/2023-04-04-infinite-scroll-with-nextjs-framer-motion.mdx
index db432accbe2..ae16cd74062 100644
--- a/apps/www/_blog/2023-04-04-infinite-scroll-with-nextjs-framer-motion.mdx
+++ b/apps/www/_blog/2023-04-04-infinite-scroll-with-nextjs-framer-motion.mdx
@@ -15,7 +15,7 @@ date: '2023-04-04'
toc_depth: 6
---
-Imagine you generated a bunch of tickets for the Supabase [Launch Week](https://www.supabase.com/launch-week) and you wanted to display them all on [one page](https://supabase.com/launch-week/tickets). It might take a while to load them all in one go, so a great solution to this would be to lazy load smaller subsets while the user scrolls, with a technique called infinite scrolling.
+Imagine you generated a bunch of tickets for the Supabase [Launch Week](https://www.supabase.com/launch-week/7) and you wanted to display them all on [one page](https://supabase.com/launch-week/7/tickets). It might take a while to load them all in one go, so a great solution to this would be to lazy load smaller subsets while the user scrolls, with a technique called infinite scrolling.
An infinite scroll allows you to scroll through your content endlessly while only loading the data you need as you need it. This improves performance while also creating a smooth and delightful user experience.
diff --git a/apps/www/components/Footer/index.tsx b/apps/www/components/Footer/index.tsx
index 7a6e59d21f6..94dbe57f4f5 100644
--- a/apps/www/components/Footer/index.tsx
+++ b/apps/www/components/Footer/index.tsx
@@ -20,7 +20,8 @@ const Footer = (props: Props) => {
const { resolvedTheme } = useTheme()
const { pathname } = useRouter()
- const forceDark = pathname.includes('launch-week') || pathname === '/'
+ const isLaunchWeek = pathname.includes('launch-week')
+ const forceDark = isLaunchWeek || pathname === '/'
/**
* Temporary fix for next-theme client side bug
@@ -38,7 +39,10 @@ const Footer = (props: Props) => {
}
return (
- <footer className={cn('bg-alternative', props.className)} aria-labelledby="footerHeading">
+ <footer
+ className={cn('bg-alternative', isLaunchWeek && 'bg-[#060809]', props.className)}
+ aria-labelledby="footerHeading"
+ >
<h2 id="footerHeading" className="sr-only">
Footer
</h2>
@@ -164,9 +168,7 @@ const Footer = (props: Props) => {
</div>
<div className="border-default mt-32 flex justify-between border-t pt-8">
<small className="small">&copy; Supabase Inc</small>
- <div
- className={cn(forceDark && '[&>button]:opacity-50 [&>button]:hover:cursor-not-allowed')}
- >
+ <div className={cn(forceDark && 'hidden')}>
<ThemeToggle forceDark={forceDark} />
</div>
</div>
diff --git a/apps/www/components/Hero/Hero.tsx b/apps/www/components/Hero/Hero.tsx
index 363b6aed6f5..15eb9381bb4 100644
--- a/apps/www/components/Hero/Hero.tsx
+++ b/apps/www/components/Hero/Hero.tsx
@@ -8,7 +8,7 @@ import SectionContainer from '~/components/Layouts/SectionContainer'
import HeroFrameworks from './HeroFrameworks'
import styles from './hero.module.css'
import Image from 'next/image'
-// import AnnouncementBadge from '../Announcement/Badge'
+import AnnouncementBadge from '../Announcement/Badge'
const Hero = () => {
const router = useRouter()
@@ -30,9 +30,13 @@ const Hero = () => {
].join(' ')}
>
<div className="flex flex-col items-center">
- {/* <div className="z-40 w-full flex justify-center mb-8 lg:mb-8">
- <AnnouncementBadge />
- </div> */}
+ <div className="z-40 w-full flex justify-center mb-8 lg:mb-8">
+ <AnnouncementBadge
+ announcement="Launch Week X — 11-15 Dec"
+ url="/launch-week"
+ badge="Claim your ticket"
+ />
+ </div>
<h1 className="text-foreground text-4xl sm:text-5xl sm:leading-none lg:text-7xl">
<span className="block text-[#F4FFFA00] bg-clip-text bg-gradient-to-b from-foreground to-foreground-light">
Build in a weekend
diff --git a/apps/www/components/LaunchWeek/7/Ticket/TicketContainer.tsx b/apps/www/components/LaunchWeek/7/Ticket/TicketContainer.tsx
index 364f457d57d..19fbf66d508 100644
--- a/apps/www/components/LaunchWeek/7/Ticket/TicketContainer.tsx
+++ b/apps/www/components/LaunchWeek/7/Ticket/TicketContainer.tsx
@@ -1,5 +1,5 @@
import { useState } from 'react'
-import { PageState, ConfDataContext, UserData } from '~/components/LaunchWeek/hooks/use-conf-data'
+import { TicketState, ConfDataContext, UserData } from '~/components/LaunchWeek/hooks/use-conf-data'
import Ticket from './ActualTicket'
import Form from './form'
import { SupabaseClient, Session } from '@supabase/supabase-js'
@@ -9,7 +9,7 @@ type Props = {
session: Session | null
defaultUserData: UserData
sharePage?: boolean
- defaultPageState?: PageState
+ defaultTicketState?: TicketState
}
export default function Conf({
@@ -17,10 +17,10 @@ export default function Conf({
session,
defaultUserData,
sharePage,
- defaultPageState = 'registration',
+ defaultTicketState = 'registration',
}: Props) {
const [userData, setUserData] = useState<UserData>(defaultUserData)
- const [pageState, setPageState] = useState<PageState>(defaultPageState)
+ const [ticketState, setTicketState] = useState<TicketState>(defaultTicketState)
return (
<ConfDataContext.Provider
@@ -29,11 +29,12 @@ export default function Conf({
session,
userData,
setUserData,
- setPageState,
+ ticketState,
+ setTicketState,
}}
>
- {pageState === 'registration' && !sharePage ? (
- <Form align={defaultPageState === 'registration' ? 'Center' : 'Left'} />
+ {ticketState === 'registration' && !sharePage ? (
+ <Form align={defaultTicketState === 'registration' ? 'Center' : 'Left'} />
) : (
<Ticket
username={userData.username}
diff --git a/apps/www/components/LaunchWeek/7/Ticket/TicketForm.tsx b/apps/www/components/LaunchWeek/7/Ticket/TicketForm.tsx
index 9bcbfe22ec5..7075b9179a2 100644
--- a/apps/www/components/LaunchWeek/7/Ticket/TicketForm.tsx
+++ b/apps/www/components/LaunchWeek/7/Ticket/TicketForm.tsx
@@ -6,6 +6,7 @@ import useConfData from '~/components/LaunchWeek/hooks/use-conf-data'
import formStyles from './form.module.css'
import ticketFormStyles from './ticket-form.module.css'
import { Button, IconCheckCircle, IconLoader } from 'ui'
+import { SupabaseClient } from '@supabase/supabase-js'
type FormState = 'default' | 'loading' | 'error'
type TicketGenerationState = 'default' | 'loading'
@@ -20,15 +21,15 @@ export default function TicketForm({ defaultUsername = '', setTicketGenerationSt
const [username, setUsername] = useState(defaultUsername)
const [formState, setFormState] = useState<FormState>('default')
const [errorMsg] = useState('')
- const { supabase, session, setUserData, setPageState, userData } = useConfData()
+ const { supabase, session, setUserData, setTicketState, userData } = useConfData()
const [realtimeChannel, setRealtimeChannel] = useState<ReturnType<
- (typeof supabase)['channel']
+ SupabaseClient['channel']
> | null>(null)
const formRef = useRef<HTMLFormElement>(null)
const router = useRouter()
useEffect(() => {
- if (session?.user && !userData.id) {
+ if (supabase && session?.user && !userData.id) {
document.body.classList.add('ticket-generated')
const username = session.user.user_metadata.user_name
setUsername(username)
@@ -57,7 +58,7 @@ export default function TicketForm({ defaultUsername = '', setTicketGenerationSt
new Image().src = `https://github.com/${username}.png`
// Prefetch the twitter share URL to eagerly generate the page
- fetch(`/launch-week/tickets/${username}`).catch((_) => {})
+ fetch(`/launch-week/7/tickets/${username}`).catch((_) => {})
// Prefetch ticket og image.
fetch(
`https://obuldanrptloktxcffvn.supabase.co/functions/v1/lw7-ticket-og?username=${encodeURIComponent(
@@ -65,7 +66,7 @@ export default function TicketForm({ defaultUsername = '', setTicketGenerationSt
)}`
).catch((_) => {})
- setPageState('ticket')
+ setTicketState('ticket')
// Listen to realtime changes
if (!realtimeChannel && !data?.golden) {
@@ -134,7 +135,7 @@ export default function TicketForm({ defaultUsername = '', setTicketGenerationSt
setFormState('loading')
setTicketGenerationState('loading')
- await supabase.auth.signInWithOAuth({
+ await supabase?.auth.signInWithOAuth({
provider: 'github',
options: {
redirectTo: `${SITE_ORIGIN}/launch-week/${
diff --git a/apps/www/components/LaunchWeek/7/Ticket/form.tsx b/apps/www/components/LaunchWeek/7/Ticket/form.tsx
index c501884c2bb..197a6c82354 100644
--- a/apps/www/components/LaunchWeek/7/Ticket/form.tsx
+++ b/apps/www/components/LaunchWeek/7/Ticket/form.tsx
@@ -31,7 +31,7 @@ export default function Form({ sharePage, align = 'Center' }: Props) {
const [focused, setFocused] = useState(false)
const [submitting, setSubmitting] = useState(false)
const [formState, setFormState] = useState<FormState>('default')
- const { setPageState, setUserData, session, userData, supabase } = useConfData()
+ const { setTicketState, setUserData, session, userData, supabase } = useConfData()
const router = useRouter()
const isCaptchaEnabled = false
@@ -75,10 +75,10 @@ export default function Form({ sharePage, align = 'Center' }: Props) {
)}`
)
.join('&')
- await router.replace(`/launch-week/tickets?${queryString}`, '/launch-week/tickets')
+ await router.replace(`/launch-week/7/tickets?${queryString}`, '/launch-week/7/tickets')
} else {
setUserData(params)
- setPageState('ticket')
+ setTicketState('ticket')
}
})
.catch(async (err) => {
@@ -88,7 +88,7 @@ export default function Form({ sharePage, align = 'Center' }: Props) {
setFormState('error')
})
},
- [email, router, setPageState, setUserData, sharePage]
+ [email, router, setTicketState, setUserData, sharePage]
)
const onSubmit = useCallback(
diff --git a/apps/www/components/LaunchWeek/8/LW8Meetups.tsx b/apps/www/components/LaunchWeek/8/LW8Meetups.tsx
index f61f07110c7..7ff6e296e76 100644
--- a/apps/www/components/LaunchWeek/8/LW8Meetups.tsx
+++ b/apps/www/components/LaunchWeek/8/LW8Meetups.tsx
@@ -2,6 +2,7 @@ import Link from 'next/link'
import React, { useEffect, useState } from 'react'
import { Badge } from 'ui'
import useConfData from '../hooks/use-conf-data'
+import { SupabaseClient } from '@supabase/supabase-js'
export interface Meetup {
id?: any
@@ -16,7 +17,7 @@ const LW8Meetups = ({ meetups }: { meetups?: Meetup[] }) => {
const { supabase } = useConfData()
const [meets, setMeets] = useState<Meetup[]>(meetups ?? [])
const [realtimeChannel, setRealtimeChannel] = useState<ReturnType<
- (typeof supabase)['channel']
+ SupabaseClient['channel']
> | null>(null)
useEffect(() => {
@@ -33,7 +34,7 @@ const LW8Meetups = ({ meetups }: { meetups?: Meetup[] }) => {
},
async () => {
const { data: newMeets } = await supabase.from('lw8_meetups').select('*')
- setMeets(newMeets)
+ setMeets(newMeets!)
}
)
.subscribe()
diff --git a/apps/www/components/LaunchWeek/8/Ticket/TicketContainer.tsx b/apps/www/components/LaunchWeek/8/Ticket/TicketContainer.tsx
index 53377e69b94..1e0f629e228 100644
--- a/apps/www/components/LaunchWeek/8/Ticket/TicketContainer.tsx
+++ b/apps/www/components/LaunchWeek/8/Ticket/TicketContainer.tsx
@@ -66,7 +66,7 @@ export default function TicketContainer({ user, sharePage, referrals, supabase }
isMobile && styles['ticket-hero'],
].join(' ')}
>
- <div className="text-foreground flex flex-col w-full items-center text-white text-center lg:text-left lg:items-start gap-3">
+ <div className="text-foreground flex flex-col w-full items-center text-center lg:text-left lg:items-start gap-3">
<h1 className={cn('text-2xl tracking-[-0.02rem] leading-7 block text-white')}>
{!sharePage ? (
name ? (
diff --git a/apps/www/components/LaunchWeek/8/Ticket/TicketForm.tsx b/apps/www/components/LaunchWeek/8/Ticket/TicketForm.tsx
index 66b8dd0683b..e65f6dd6c15 100644
--- a/apps/www/components/LaunchWeek/8/Ticket/TicketForm.tsx
+++ b/apps/www/components/LaunchWeek/8/Ticket/TicketForm.tsx
@@ -6,6 +6,7 @@ import useConfData from '~/components/LaunchWeek/hooks/use-conf-data'
import formStyles from './form.module.css'
import ticketFormStyles from './ticket-form.module.css'
import { Button, IconCheckCircle, IconLoader } from 'ui'
+import { SupabaseClient } from '@supabase/supabase-js'
type FormState = 'default' | 'loading' | 'error'
type TicketGenerationState = 'default' | 'loading'
@@ -20,9 +21,9 @@ export default function TicketForm({ defaultUsername = '', setTicketGenerationSt
const [username, setUsername] = useState(defaultUsername)
const [formState, setFormState] = useState<FormState>('default')
const [errorMsg] = useState('')
- const { supabase, session, setUserData, setPageState, userData } = useConfData()
+ const { supabase, session, setUserData, setTicketState, userData } = useConfData()
const [realtimeChannel, setRealtimeChannel] = useState<ReturnType<
- (typeof supabase)['channel']
+ SupabaseClient['channel']
> | null>(null)
const formRef = useRef<HTMLFormElement>(null)
const router = useRouter()
@@ -57,9 +58,9 @@ export default function TicketForm({ defaultUsername = '', setTicketGenerationSt
new Image().src = `https://github.com/${username}.png`
// Prefetch the twitter share URL to eagerly generate the page
- fetch(`/launch-week/tickets/${username}`).catch((_) => {})
+ fetch(`/launch-week/8/tickets/${username}`).catch((_) => {})
- setPageState('ticket')
+ setTicketState('ticket')
// Listen to realtime changes
if (!realtimeChannel && !data?.golden) {
@@ -128,7 +129,7 @@ export default function TicketForm({ defaultUsername = '', setTicketGenerationSt
setFormState('loading')
setTicketGenerationState('loading')
- await supabase.auth.signInWithOAuth({
+ await supabase?.auth.signInWithOAuth({
provider: 'github',
options: {
redirectTo: `${SITE_ORIGIN}/launch-week/${
diff --git a/apps/www/components/LaunchWeek/8/Ticket/TicketProfile.tsx b/apps/www/components/LaunchWeek/8/Ticket/TicketProfile.tsx
index 84a340771fb..fb66093967a 100644
--- a/apps/www/components/LaunchWeek/8/Ticket/TicketProfile.tsx
+++ b/apps/www/components/LaunchWeek/8/Ticket/TicketProfile.tsx
@@ -8,7 +8,7 @@ type Props = {
golden?: boolean
}
-export default function TicketProfile({ user, ticketGenerationState, golden = false }: Props) {
+export default function TicketProfile({ user }: Props) {
const { username, name, metadata } = user
const HAS_ROLE = !!metadata?.role
diff --git a/apps/www/components/LaunchWeek/8/TicketBrickWall.tsx b/apps/www/components/LaunchWeek/8/TicketBrickWall.tsx
index 46fca91a43b..1df8ef8964d 100644
--- a/apps/www/components/LaunchWeek/8/TicketBrickWall.tsx
+++ b/apps/www/components/LaunchWeek/8/TicketBrickWall.tsx
@@ -41,7 +41,7 @@ export default function TicketBrickWall({ users }: Props) {
onClick={() => window.scrollTo(0, 0)}
className="text-white"
>
- <Link href="/launch-week/tickets">View all tickets</Link>
+ <Link href="/launch-week/8/tickets">View all tickets</Link>
</Button>
</div>
</div>
diff --git a/apps/www/components/LaunchWeek/8/TicketBrickWallSlider.tsx b/apps/www/components/LaunchWeek/8/TicketBrickWallSlider.tsx
index 22fe0a5c4eb..589a06da539 100644
--- a/apps/www/components/LaunchWeek/8/TicketBrickWallSlider.tsx
+++ b/apps/www/components/LaunchWeek/8/TicketBrickWallSlider.tsx
@@ -52,7 +52,7 @@ export function TicketBrickWallSlider({ users, reverse, speed = 50000, animate }
{users.map((user, i) => (
<SwiperSlide key={user.username}>
<Link
- href={`/launch-week/tickets/${user.username}`}
+ href={`/launch-week/8/tickets/${user.username}`}
key={user.username}
className="relative !w-[230px] md:w-[450px] !h-[200px] rounded-md md:rounded-lg transition-transform"
>
diff --git a/apps/www/components/LaunchWeek/8/TicketsGrid.tsx b/apps/www/components/LaunchWeek/8/TicketsGrid.tsx
index 248cbbbed76..0c672a17f0c 100644
--- a/apps/www/components/LaunchWeek/8/TicketsGrid.tsx
+++ b/apps/www/components/LaunchWeek/8/TicketsGrid.tsx
@@ -12,7 +12,7 @@ interface Props {
}
export default function TicketsGrid({ loadedUsers, isLoading, pageCount, offset }: Props) {
- const STORAGE_URL = 'https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lw8'
+ const STORAGE_URL = 'https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lwx'
const BUCKET_FOLDER_VERSION = 'v1'
const getTicketImageUrl = (username: string, isGold: boolean) =>
`${STORAGE_URL}/tickets/${
@@ -38,7 +38,7 @@ export default function TicketsGrid({ loadedUsers, isLoading, pageCount, offset
return (
<Link
- href={`/launch-week/tickets/${user.username}`}
+ href={`/launch-week/8/tickets/${user.username}`}
key={`${user.username}-000${i}`}
onClick={() => window.scrollTo(0, 0)}
legacyBehavior
@@ -66,9 +66,8 @@ export default function TicketsGrid({ loadedUsers, isLoading, pageCount, offset
<Image
src={imgUrl}
alt={user.username ?? ''}
- layout="fill"
- objectFit="cover"
- objectPosition="center"
+ fill
+ className="object-cover object-center"
placeholder="blur"
blurDataURL="/images/launchweek/8/lw8-ticket-empty.jpg"
/>
diff --git a/apps/www/components/LaunchWeek/X/AddToCalendar.tsx b/apps/www/components/LaunchWeek/X/AddToCalendar.tsx
new file mode 100644
index 00000000000..6300a9388d6
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/AddToCalendar.tsx
@@ -0,0 +1,22 @@
+import Link from 'next/link'
+import React from 'react'
+import { Button } from 'ui'
+import { LWX_LAUNCH_DATE } from '../../../lib/constants'
+
+const AddToCalendar = () => {
+ const eventTitle = 'Supabase Launch Week X'
+ const timestampDate = ''
+ const link = encodeURI(
+ `https://calendar.google.com/calendar/render?action=TEMPLATE&dates=${timestampDate}%${timestampDate}&text=${eventTitle}`
+ )
+
+ return (
+ <Button size="tiny" type="outline" className="mt-1 py-1 px-2 leading-none" asChild>
+ <Link href={link} target="_blank">
+ Add to calendar
+ </Link>
+ </Button>
+ )
+}
+
+export default AddToCalendar
diff --git a/apps/www/components/LaunchWeek/X/Countdown.tsx b/apps/www/components/LaunchWeek/X/Countdown.tsx
new file mode 100644
index 00000000000..e8394b6128f
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Countdown.tsx
@@ -0,0 +1,35 @@
+import React from 'react'
+import Countdown from 'react-countdown'
+import { CountdownWidget } from 'ui'
+
+const CountdownComponent = ({
+ date,
+ showCard = true,
+}: {
+ date: string | number | Date
+ showCard?: boolean
+}) => {
+ if (!date) return null
+
+ const renderer = ({ days, hours, minutes, seconds, completed }: any) => {
+ if (completed) {
+ // Render a completed state
+ return null
+ } else {
+ // Render countdown
+ return (
+ <CountdownWidget
+ days={days}
+ hours={hours}
+ minutes={minutes}
+ seconds={seconds}
+ showCard={showCard}
+ />
+ )
+ }
+ }
+
+ return <Countdown date={new Date(date)} renderer={renderer} />
+}
+
+export default CountdownComponent
diff --git a/apps/www/components/LaunchWeek/X/FaviconImports.tsx b/apps/www/components/LaunchWeek/X/FaviconImports.tsx
new file mode 100644
index 00000000000..cb681a9de46
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/FaviconImports.tsx
@@ -0,0 +1,93 @@
+import Head from 'next/head'
+import { useRouter } from 'next/router'
+
+function FaviconImports() {
+ const { basePath } = useRouter()
+
+ return (
+ <Head>
+ <meta
+ name="viewport"
+ content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
+ />
+ <link
+ rel="apple-touch-icon"
+ sizes="57x57"
+ href={`${basePath}/images/launchweek/lwx/favicon/apple-icon-57x57.png`}
+ />
+ <link
+ rel="apple-touch-icon"
+ sizes="60x60"
+ href={`${basePath}/images/launchweek/lwx/favicon/apple-icon-60x60.png`}
+ />
+ <link
+ rel="apple-touch-icon"
+ sizes="72x72"
+ href={`${basePath}/images/launchweek/lwx/favicon/apple-icon-72x72.png`}
+ />
+ <link
+ rel="apple-touch-icon"
+ sizes="76x76"
+ href={`${basePath}/images/launchweek/lwx/favicon/apple-icon-76x76.png`}
+ />
+ <link
+ rel="apple-touch-icon"
+ sizes="114x114"
+ href={`${basePath}/images/launchweek/lwx/favicon/apple-icon-114x114.png`}
+ />
+ <link
+ rel="apple-touch-icon"
+ sizes="120x120"
+ href={`${basePath}/images/launchweek/lwx/favicon/apple-icon-120x120.png`}
+ />
+ <link
+ rel="apple-touch-icon"
+ sizes="144x144"
+ href={`${basePath}/images/launchweek/lwx/favicon/apple-icon-144x144.png`}
+ />
+ <link
+ rel="apple-touch-icon"
+ sizes="152x152"
+ href={`${basePath}/images/launchweek/lwx/favicon/apple-icon-152x152.png`}
+ />
+ <link
+ rel="apple-touch-icon"
+ sizes="180x180"
+ href={`${basePath}/images/launchweek/lwx/favicon/apple-icon-180x180.png`}
+ />
+ <link
+ rel="icon"
+ type="image/png"
+ sizes="192x192"
+ href={`${basePath}/images/launchweek/lwx/favicon/android-icon-192x192.png`}
+ />
+ <link
+ rel="icon"
+ type="image/png"
+ sizes="32x32"
+ href={`${basePath}/images/launchweek/lwx/favicon/favicon-32x32.png`}
+ />
+ <link
+ rel="icon"
+ type="image/png"
+ sizes="96x96"
+ href={`${basePath}/images/launchweek/lwx/favicon/favicon-96x96.png`}
+ />
+ <link
+ rel="icon"
+ type="image/png"
+ sizes="16x16"
+ href={`${basePath}/images/launchweek/lwx/favicon/favicon-16x16.png`}
+ />
+ <link rel="manifest" href={`${basePath}/images/launchweek/lwx/favicon/manifest.json" /`} />
+ <meta name="msapplication-TileColor" content="#ffffff" />
+ <meta
+ name="msapplication-TileImage"
+ content="/images/launchweek/lwx/favicon/ms-icon-144x144.png"
+ />
+ <meta name="theme-color" content="#ffffff" />
+ </Head>
+ )
+}
+
+export default FaviconImports
diff --git a/apps/www/components/LaunchWeek/X/LW8CalloutsSection.tsx b/apps/www/components/LaunchWeek/X/LW8CalloutsSection.tsx
new file mode 100644
index 00000000000..21d017c48fc
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/LW8CalloutsSection.tsx
@@ -0,0 +1,61 @@
+import React from 'react'
+import SectionContainer from '../../Layouts/SectionContainer'
+import { SmallCard } from '../8/Releases/components'
+import Link from 'next/link'
+import Image from 'next/image'
+
+const LW8CalloutsSection = () => {
+ return (
+ <SectionContainer className="!py-0 w-full !px-0 !max-w-none">
+ <div className="grid grid-cols-1 lg:grid-cols-2 gap-4 scroll-mt-[105px]" id="hackathon">
+ <SmallCard className="hover:from-foreground-muted hover:to-foreground-muted">
+ <Link
+ href="https://twitter.com/supabase/status/1688544202643111936"
+ target="_blank"
+ className="flex flex-row justify-between items-center w-full h-full gap-2"
+ >
+ <div className="relative flex-shrink flex items-center p-2 w-2/3 lg:w-1/2 md:w-auto">
+ <div className="flex flex-col gap-1 sm:pl-4">
+ <span className="text-white">Twitter Spaces</span>
+ <span className="">Replay recordings</span>
+ </div>
+ </div>
+ <div className="relative flex !aspect-video h-[80px] md:h-[100px] gap-2 z-10 rounded overflow-hidden">
+ <Image
+ src="/images/launchweek/8/twitter-spaces-thumb.svg"
+ alt="twitter spaces thumbnail"
+ layout="fill"
+ objectFit="cover"
+ />
+ </div>
+ </Link>
+ </SmallCard>
+ <SmallCard className="hover:from-foreground-muted hover:to-foreground-muted">
+ <Link
+ href="/blog/supabase-lw8-hackathon"
+ className="flex flex-row justify-between items-center w-full h-full gap-2"
+ >
+ <div className="relative flex-shrink flex items-center p-2 w-2/3 lg:w-1/2 md:w-auto">
+ <div className="flex flex-col gap-1 sm:pl-4">
+ <div className="flex items-center gap-3">
+ <span className="text-white">LW8 Hackathon Aug 4 – Aug 13</span>
+ </div>
+ <span className="">Finished</span>
+ </div>
+ </div>
+ <div className="relative flex !aspect-video h-[80px] md:h-[100px] gap-2 z-10 rounded overflow-hidden">
+ <Image
+ src="/images/launchweek/8/lw8-hackathon-thumb.svg"
+ alt="hackathon thumbnail"
+ layout="fill"
+ objectFit="cover"
+ />
+ </div>
+ </Link>
+ </SmallCard>
+ </div>
+ </SectionContainer>
+ )
+}
+
+export default LW8CalloutsSection
diff --git a/apps/www/components/LaunchWeek/X/LW8Meetups.tsx b/apps/www/components/LaunchWeek/X/LW8Meetups.tsx
new file mode 100644
index 00000000000..7ff6e296e76
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/LW8Meetups.tsx
@@ -0,0 +1,102 @@
+import Link from 'next/link'
+import React, { useEffect, useState } from 'react'
+import { Badge } from 'ui'
+import useConfData from '../hooks/use-conf-data'
+import { SupabaseClient } from '@supabase/supabase-js'
+
+export interface Meetup {
+ id?: any
+ title: string
+ isLive: boolean
+ link: string
+ display_info: string
+ start_at: string
+}
+
+const LW8Meetups = ({ meetups }: { meetups?: Meetup[] }) => {
+ const { supabase } = useConfData()
+ const [meets, setMeets] = useState<Meetup[]>(meetups ?? [])
+ const [realtimeChannel, setRealtimeChannel] = useState<ReturnType<
+ SupabaseClient['channel']
+ > | null>(null)
+
+ useEffect(() => {
+ // Listen to realtime changes
+ if (supabase && !realtimeChannel) {
+ const channel = supabase
+ .channel('changes')
+ .on(
+ 'postgres_changes',
+ {
+ event: 'UPDATE',
+ schema: 'public',
+ table: 'lw8_meetups',
+ },
+ async () => {
+ const { data: newMeets } = await supabase.from('lw8_meetups').select('*')
+ setMeets(newMeets!)
+ }
+ )
+ .subscribe()
+ setRealtimeChannel(channel)
+ }
+
+ return () => {
+ // Cleanup realtime subscription on unmount
+ realtimeChannel?.unsubscribe()
+ }
+ }, [])
+
+ return (
+ <div className="max-w-6xl mx-auto grid grid-cols-1 xl:grid-cols-12 gap-8 xl:gap-8">
+ <div className="col-span-1 xl:col-span-4 flex flex-col justify-center max-w-lg">
+ <h2 className="text-2xl sm:text-3xl xl:text-4xl tracking-[-.5px]">Community meetups</h2>
+ <p className="text-[#9296AA] text-base py-3 xl:max-w-md">
+ We celebrated LW8 with our first-ever live community meetups across various locations.
+ </p>
+ </div>
+ <div className="col-span-1 xl:col-span-7 xl:col-start-6 w-full max-w-4xl flex flex-col justify-between items-stretch">
+ {meets &&
+ meets
+ ?.sort((a, b) => (new Date(a.start_at) > new Date(b.start_at) ? 1 : -1))
+ .map(({ display_info, link, isLive, title }: Meetup) => (
+ <Link
+ href={link ?? '#'}
+ target="_blank"
+ className={[
+ 'w-full group py-0 flex items-center gap-2 md:gap-4 text-lg sm:text-2xl xl:text-4xl border-b border-[#111718]',
+ 'hover:text-foreground',
+ isLive ? 'text-foreground-light' : 'text-[#56646B]',
+ !link && 'pointer-events-none',
+ ].join(' ')}
+ >
+ <div className="flex items-center gap-2 md:gap-4 py-2 md:py-0">
+ <span>{title}</span>
+ {isLive && <Badge>Live now</Badge>}
+ <span className="hidden md:inline opacity-0 -translate-x-2 transition-all md:group-hover:opacity-100 group-hover:translate-x-0">
+ <svg
+ width="47"
+ height="47"
+ viewBox="0 0 47 47"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M33.0387 16.2422L40.6691 23.8727M40.6691 23.8727L33.0387 31.5031M40.6691 23.8727L6.33203 23.8727"
+ stroke="currentColor"
+ strokeWidth="2"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ />
+ </svg>
+ </span>
+ </div>
+ {display_info && <span className="text-sm text-right flex-1">{display_info}</span>}
+ </Link>
+ ))}
+ </div>
+ </div>
+ )
+}
+
+export default LW8Meetups
diff --git a/apps/www/components/LaunchWeek/X/LWArchive.tsx b/apps/www/components/LaunchWeek/X/LWArchive.tsx
new file mode 100644
index 00000000000..7d710dead6e
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/LWArchive.tsx
@@ -0,0 +1,53 @@
+import React from 'react'
+import { StyledArticleBadge } from './Releases/components'
+import Image from 'next/image'
+
+const LWArchive = () => {
+ return (
+ <div className="w-full text-white flex flex-col lg:flex-row gap-8 lg:gap-16">
+ <div className="lg:basis-1/3 flex flex-col items-start gap-4">
+ <StyledArticleBadge>Throwback</StyledArticleBadge>
+ <h2 className="text-4xl">Previous Launch Weeks</h2>
+ <p className="text-[#9296AA]">
+ Explore our past Launch Weeks, and check the progress we've made on our journey.
+ </p>
+ </div>
+ <div className="lg:basis-2/3 relative grid grid-cols-1 xl:grid-cols-2 gap-4">
+ <a
+ href="/launch-week/6"
+ className="relative h-[160px] group w-full rounded-md md:rounded-lg transition-transform bg-[#030A0C] flex items-center justify-center border border-[#111618] hover:border-brand-800 overflow-hidden"
+ >
+ <span className="relative z-10 stroke-text inline-block text-transparent bg-clip-text bg-gradient-to-b from-foreground to-foreground-lighter text-7xl drop-shadow-lg">
+ 6
+ </span>
+ <div className="absolute inset-0 grayscale group-hover:grayscale-0">
+ <Image
+ src="/images/launchweek/archive/lw6.jpg"
+ alt="Launch Week 6"
+ layout="fill"
+ objectFit="cover"
+ />
+ </div>
+ </a>
+ <a
+ href="/launch-week/7"
+ className="relative h-[160px] group w-full rounded-md md:rounded-lg transition-transform bg-[#030A0C] flex items-center justify-center border border-[#111718] hover:border-brand-1200 overflow-hidden"
+ >
+ <span className="relative z-10 stroke-text inline-block text-transparent bg-clip-text bg-gradient-to-b from-foreground to-foreground-lighter text-7xl drop-shadow-lg">
+ 7
+ </span>
+ <div className="absolute inset-0 grayscale group-hover:grayscale-0">
+ <Image
+ src="/images/launchweek/archive/lw7.jpg"
+ alt="Launch Week 7"
+ layout="fill"
+ objectFit="cover"
+ />
+ </div>
+ </a>
+ </div>
+ </div>
+ )
+}
+
+export default LWArchive
diff --git a/apps/www/components/LaunchWeek/X/LWXBackground.tsx b/apps/www/components/LaunchWeek/X/LWXBackground.tsx
new file mode 100644
index 00000000000..782ed6eb522
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/LWXBackground.tsx
@@ -0,0 +1,178 @@
+import React, { useEffect, useRef, useState } from 'react'
+import Image from 'next/image'
+import { cn } from 'ui'
+import useConfData from '../hooks/use-conf-data'
+import { useBreakpoint } from 'common'
+
+interface Props {
+ className?: string
+}
+
+const LWXBackground = ({ className }: Props) => {
+ const { ticketState } = useConfData()
+ const containerRef = useRef(null)
+ const isMobile = useBreakpoint()
+ const ref = useRef(null)
+ const [isActive, setIsActive] = useState(false)
+ const [gradientPos, setGradientPos] = useState({ x: 0, y: 0 })
+
+ const hasTicket = ticketState === 'ticket'
+
+ const handleGlow = (event: any) => {
+ if (isMobile) return setGradientPos({ x: 70, y: 40 })
+ if (!ref.current || !containerRef.current || hasTicket) return null
+
+ const containerRefElement = containerRef.current as HTMLDivElement
+
+ const {
+ x: contX,
+ y: contY,
+ width: containerWidth,
+ height: containerHeight,
+ } = containerRefElement.getBoundingClientRect()
+ const xCont = event.clientX - contX
+ const yCont = event.clientY - contY
+
+ const isContainerHovered =
+ xCont > -3 && xCont < containerWidth + 3 && yCont > -3 && yCont < containerHeight + 3
+ setIsActive(isContainerHovered)
+
+ if (!isContainerHovered) return
+
+ const svgElement = ref.current as SVGElement
+ const { x: svgX, y: svgY } = svgElement.getBoundingClientRect()
+ const x = event.clientX - svgX - 50
+ const y = event.clientY - svgY - 50
+ console.log(x, y)
+ setGradientPos({ x, y })
+ }
+
+ useEffect(() => {
+ if (typeof window === 'undefined') return
+
+ window.addEventListener('mousemove', handleGlow)
+ return () => {
+ window.removeEventListener('mousemove', handleGlow)
+ }
+ }, [ticketState, isMobile])
+
+ const gradientTransformBg = `translate(${gradientPos?.x} ${gradientPos?.y}) rotate(67.9381) scale(182.424)`
+ const gradientTransformStroke = `translate(${gradientPos?.x} ${gradientPos?.y}) rotate(71.6455) scale(105.635)`
+
+ return (
+ <div className={cn('w-full h-[620px] md:!h-[720px] !min-h-[350px] absolute', className)}>
+ <svg
+ ref={ref}
+ width="100%"
+ height="100%"
+ className={cn(
+ `
+ m-auto
+
+ w-[136px] h-[136px] mt-[157px]
+ sm:w-[142px] sm:h-[142px] sm:mt-[153px]
+ md:w-[247px] md:h-[247px] md:translate-y-3 md:mt-auto
+ xl:w-[285px] xl:h-[285px] xl:translate-y-2
+ 2xl:w-[342px] 2xl:h-[342px] 2xl:translate-y-px
+ `
+ )}
+ viewBox="0 0 186 185"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <g filter="url(#filter0_d_399_21473)">
+ <path
+ d="M134.141 10.0457H175.282V51.1867L134.141 92.3278V51.1867H92.9999L134.141 10.0457Z"
+ fill="url(#paint0_radial_399_21473)"
+ fillOpacity="0.01"
+ shapeRendering="crispEdges"
+ />
+ <path
+ d="M51.8588 174.61L92.9999 133.469H51.8588V92.3278L10.7178 133.469V174.61H51.8588Z"
+ fill="url(#paint1_radial_399_21473)"
+ fillOpacity="0.01"
+ shapeRendering="crispEdges"
+ />
+ <path
+ d="M51.8588 10.0457L92.9999 51.1867L134.141 92.3278L175.282 133.469V174.61H134.141L92.9999 133.469L51.8588 92.3278L10.7178 51.1867V10.0457L51.8588 10.0457Z"
+ fill="url(#paint2_radial_399_21473)"
+ fillOpacity="0.01"
+ shapeRendering="crispEdges"
+ />
+ <path
+ d="M175.782 10.0457V9.54565H175.282H134.141H133.934L133.787 9.6921L92.9999 50.4796L52.2124 9.6921L52.0659 9.54565L51.8588 9.54565L10.7178 9.54567L10.2178 9.54567V10.0457V51.1867V51.3938L10.3642 51.5403L51.1517 92.3278L10.3642 133.115L10.2178 133.262V133.469V174.61V175.11H10.7178H51.8588H52.0659L52.2124 174.963L92.9999 134.176L133.787 174.963L133.934 175.11H134.141H175.282H175.782V174.61V133.469V133.262L175.636 133.115L134.848 92.3278L175.636 51.5403L175.782 51.3938V51.1867V10.0457ZM52.3588 132.969V93.5349L91.7928 132.969H52.3588ZM133.641 91.1207L94.207 51.6867H133.641V91.1207Z"
+ stroke="url(#paint3_radial_399_21473)"
+ strokeOpacity="0.5"
+ shapeRendering="crispEdges"
+ />
+ </g>
+ <defs>
+ <radialGradient
+ id="paint0_radial_399_21473"
+ cx="0"
+ cy="0"
+ r="2"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform={gradientTransformBg}
+ >
+ <stop stopColor="#FFFEFE" />
+ <stop offset="1" stopColor="#060809" />
+ </radialGradient>
+ <radialGradient
+ id="paint1_radial_399_21473"
+ cx="0"
+ cy="0"
+ r="2"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform={gradientTransformBg}
+ >
+ <stop stopColor="#FFFEFE" />
+ <stop offset="1" stopColor="#060809" />
+ </radialGradient>
+ <radialGradient
+ id="paint2_radial_399_21473"
+ cx="0"
+ cy="0"
+ r="2"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform={gradientTransformBg}
+ >
+ <stop stopColor="#FFFEFE" />
+ <stop offset="1" stopColor="#060809" />
+ </radialGradient>
+ <radialGradient
+ id="paint3_radial_399_21473"
+ cx="0"
+ cy="0"
+ r="2"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform={gradientTransformStroke}
+ >
+ <stop stopColor="hsl(var(--foreground-lighter))" />
+ <stop offset="1" stopColor="hsl(var(--border-default))" stopOpacity="0" />
+ </radialGradient>
+ </defs>
+ </svg>
+
+ <Image
+ src="/images/launchweek/lwx/lwx_bg.svg"
+ alt=""
+ className="absolute w-full !h-[400px] md:!h-full inset-0 mt-10 object-cover object-center overflow-visible"
+ role="presentation"
+ fill
+ priority
+ ref={containerRef}
+ />
+ <Image
+ src="/images/launchweek/lwx/lwx_bg.svg"
+ alt=""
+ className="absolute block md:hidden pointer-events-none w-full !h-[400px] md:!h-full inset-0 mt-10 object-cover object-center overflow-visible"
+ role="presentation"
+ fill
+ priority
+ />
+ </div>
+ )
+}
+
+export default LWXBackground
diff --git a/apps/www/components/LaunchWeek/X/LabelBadge.tsx b/apps/www/components/LaunchWeek/X/LabelBadge.tsx
new file mode 100644
index 00000000000..a4e954ee581
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/LabelBadge.tsx
@@ -0,0 +1,14 @@
+import React from 'react'
+
+interface Props {
+ text: string
+ className?: string
+}
+
+export default function LabelBadge({ text, className }: Props) {
+ return (
+ <span className={['bg-[#222428] rounded px-1 py-[1px] text-xs', className].join(' ')}>
+ <span className="text-foreground-lighter">{text}</span>
+ </span>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/LaunchWeekLogoHeader.tsx b/apps/www/components/LaunchWeek/X/LaunchWeekLogoHeader.tsx
new file mode 100644
index 00000000000..24dac3579cd
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/LaunchWeekLogoHeader.tsx
@@ -0,0 +1,16 @@
+export function LaunchWeekLogoHeader() {
+ return (
+ <div className="flex flex-col gap-1 md:gap-2 items-center justify-end">
+ <div className="opacity-0 !animate-[fadeIn_0.5s_cubic-bezier(0.25,0.25,0,1)_0.5s_both] px-2 flex flex-col items-center text-center gap-3">
+ <h1 className="sr-only font-normal uppercase text-[28px] sm:text-[32px]">Launch week 8</h1>
+ <p className="text-white radial-gradient-text-600 text-lg sm:text-2xl">
+ <span className="block">August 7th–11th, 2023</span>
+ </p>
+ <div className="text-[#9296AA]">
+ <p>A week of announcing new features has come to an end.</p>
+ <p>Thanks to everyone who participated.</p>
+ </div>
+ </div>
+ </div>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/LaunchWeekPrizeCard.tsx b/apps/www/components/LaunchWeek/X/LaunchWeekPrizeCard.tsx
new file mode 100644
index 00000000000..ead5677076c
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/LaunchWeekPrizeCard.tsx
@@ -0,0 +1,28 @@
+import React from 'react'
+import { cn } from 'ui'
+import Panel from '~/components/Panel'
+
+export default function LaunchWeekPrizeCard({
+ content,
+ className,
+ contentClassName,
+}: {
+ content: any
+ className?: string
+ contentClassName?: string
+}) {
+ return (
+ <Panel
+ hasShimmer
+ outerClassName={cn('relative rounded-lg overflow-hidden shadow-lg', className)}
+ innerClassName={cn(
+ 'relative h-full flex flex-col bg-[#121516] rounded-lg overflow-hidden text-foreground',
+ contentClassName
+ )}
+ shimmerToColor="hsl(var(--background-alternative-default))"
+ shimmerFromColor="hsl(var(--border-default))"
+ >
+ {content}
+ </Panel>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/LaunchWeekPrizeSection.tsx b/apps/www/components/LaunchWeek/X/LaunchWeekPrizeSection.tsx
new file mode 100644
index 00000000000..9cee7adb67b
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/LaunchWeekPrizeSection.tsx
@@ -0,0 +1,79 @@
+import React from 'react'
+import { cn } from 'ui'
+import LabelBadge from './LabelBadge'
+import LaunchWeekPrizeCard from './LaunchWeekPrizeCard'
+import Image from 'next/image'
+
+export default function LaunchWeekPrizeSection({ className }: { className?: string }) {
+ return (
+ <div
+ id="prizes"
+ className={cn(
+ 'relative text-left flex flex-col max-w-7xl mx-auto gap-2 scroll-mt-[66px] text-foreground-lighter',
+ className
+ )}
+ >
+ <h2 className="w-full text-sm font-mono uppercase tracking-[1px]">Awards</h2>
+ <div className="w-full pt-4">
+ <div className="grid grid-cols-1 md:grid-cols-3 gap-4 mx-auto h-auto text-foreground">
+ <LaunchWeekPrizeCard
+ className="col-span-full md:col-span-2"
+ contentClassName="flex flex-col justify-between"
+ content={
+ <>
+ <div className="p-4 md:p-6 flex flex-col flex-shrink gap-2 text-sm items-start">
+ <LabelBadge text="10 keyboards" />
+ <p className="text-lg text-foreground-lighter max-w-lg">
+ Increase your chances of winning a limited-edition{' '}
+ <span className="text-foreground">62-Key ISO Mechanical Keyboard</span> by
+ sharing your ticket on X and LinkedIn.
+ </p>
+ </div>
+ <div className="px-4 mt-10 w-full">
+ <div className="relative w-full aspect-[3.078/1]">
+ <Image
+ src="/images/launchweek/lwx/swag/lwx_keyboard.png"
+ fill
+ quality={100}
+ alt="/images/launchweek/lwx/swag/lwx_keyboard.png"
+ className="h-full w-full block"
+ />
+ </div>
+ </div>
+ </>
+ }
+ />
+ <div className="w-full flex flex-col gap-4 items-stretch">
+ <LaunchWeekPrizeCard
+ className="flex-grow"
+ content={
+ <div className="p-4 md:p-6 flex flex-col gap-2 text-sm items-start justify-between h-full">
+ <LabelBadge text="20 t-shirts" />
+ Launch Week X T-Shirt
+ </div>
+ }
+ />
+ <LaunchWeekPrizeCard
+ className="flex-grow"
+ content={
+ <div className="p-4 md:p-6 flex flex-col gap-2 text-sm items-start justify-between h-full">
+ <LabelBadge text="25 caps" />
+ Launch Week X Cap
+ </div>
+ }
+ />
+ <LaunchWeekPrizeCard
+ className="flex-grow"
+ content={
+ <div className="p-4 md:p-6 flex flex-col gap-2 text-sm items-start justify-between h-full">
+ <LabelBadge text="50 stickers" />
+ <p>Launch Week X Stickers</p>
+ </div>
+ }
+ />
+ </div>
+ </div>
+ </div>
+ </div>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/Releases/LWAnnouncement.tsx b/apps/www/components/LaunchWeek/X/Releases/LWAnnouncement.tsx
new file mode 100644
index 00000000000..3c209eaaf21
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Releases/LWAnnouncement.tsx
@@ -0,0 +1,83 @@
+import React from 'react'
+import { SmallCard } from './components'
+import Link from 'next/link'
+import Image from 'next/image'
+// import days from './lw8_data'
+// import { ExpandableVideo } from 'ui'
+
+const LWAnnouncement = ({
+ title,
+ isLaunchWeekPage,
+}: {
+ title?: string
+ isLaunchWeekPage?: boolean
+}) => {
+ // const [_pre, _d1, _d2, _d3, _d4, currentDay] = days
+
+ const announcement = (
+ <>
+ <div className="relative flex-shrink flex items-center p-2 w-2/3 md:w-auto">
+ <div className="flex flex-col gap-1 sm:pl-2">
+ <div className="flex items-center gap-2">
+ <span className="text-foreground">Launch Week 8</span>
+ </div>
+ <span className="text-foreground-light">Explore all the announcements</span>
+ </div>
+ </div>
+ <div className="relative flex items-center justify-center !aspect-video h-[80px] md:h-[80px] gap-2 z-10 rounded overflow-hidden">
+ {/* <div className="absolute z-10 w-4 h-4 text-white opacity-70">
+ <svg viewBox="0 0 81 91" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M76.5621 37.998C82.3369 41.3321 82.3369 49.6673 76.5621 53.0014L13.2198 89.5721C7.44504 92.9062 0.226562 88.7386 0.226562 82.0704L0.226566 8.92901C0.226566 2.26085 7.44506 -1.90673 13.2199 1.42735L76.5621 37.998Z"
+ fill="currentColor"
+ />
+ </svg>
+ </div> */}
+ <Image
+ src="/images/launchweek/8/lw8-og.jpg"
+ alt="Launch Week 8"
+ layout="fill"
+ objectFit="cover"
+ />
+ </div>
+ </>
+ )
+
+ // const handleClick = () => {
+ // if (typeof document === 'undefined') return null
+ // const today = document.getElementById('today')
+ // if (!today) return
+ // window.scrollTo({ top: today?.offsetTop + today?.offsetHeight, left: 0, behavior: 'smooth' })
+ // }
+
+ return (
+ <div className="w-full max-w-xl opacity-0 !animate-[fadeIn_0.5s_cubic-bezier(0.25,0.25,0,1)_0.5s_both]">
+ <SmallCard
+ className="border hover:border-stronger transition-colors"
+ innerClassName="bg-opacity-70 items-stretch"
+ >
+ {/* {isLaunchWeekPage ? (
+ <ExpandableVideo
+ videoId="qzxzLSAJDfE"
+ onOpenCallback={handleClick}
+ triggerContainerClassName="w-full"
+ trigger={
+ <div className="flex flex-row justify-between items-stretch w-full h-full gap-2 text-left">
+ {announcement}
+ </div>
+ }
+ />
+ ) : ( */}
+ <Link
+ href="/launch-week"
+ className="flex flex-row justify-between items-center w-full h-full gap-2 text-left"
+ >
+ {announcement}
+ </Link>
+ {/* )} */}
+ </SmallCard>
+ </div>
+ )
+}
+
+export default LWAnnouncement
diff --git a/apps/www/components/LaunchWeek/X/Releases/components/index.tsx b/apps/www/components/LaunchWeek/X/Releases/components/index.tsx
new file mode 100644
index 00000000000..e0832847c2c
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Releases/components/index.tsx
@@ -0,0 +1,462 @@
+import { Badge, ExpandableVideo } from 'ui'
+
+import Link from 'next/link'
+import CountdownComponent from '../../Countdown'
+import Image from 'next/image'
+
+export const PencilSvg = () => (
+ <svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M3.21792 11.2469L11.8015 2.66333L14.0953 4.95709L5.51167 13.5407M3.21792 11.2469L2.34219 14.4164L5.51167 13.5407M3.21792 11.2469L5.51167 13.5407"
+ stroke="#8F8F8F"
+ strokeMiterlimit="10"
+ strokeLinejoin="bevel"
+ />
+ </svg>
+)
+export const DocsSvg = () => (
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M4.96289 9.48618H10.9629M4.96289 7.48618H10.9629M4.96289 11.4862H8.96289M3 2.00034V13.9998H12.9996V5.60113L9.38156 2.00034H3ZM12.9644 5.58432L9.38004 2L9.38004 5.58432L12.9644 5.58432Z"
+ stroke="#8F8F8F"
+ strokeMiterlimit="10"
+ strokeLinejoin="bevel"
+ />
+ </svg>
+)
+export const PlaySvg = () => (
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M13.4287 8L8.74762 10.7026L4.06653 13.4053L4.06653 8L4.06653 2.59474L8.74762 5.29737L13.4287 8Z"
+ stroke="#8F8F8F"
+ strokeMiterlimit="10"
+ strokeLinejoin="bevel"
+ />
+ </svg>
+)
+export const GithubSvg = () => (
+ <svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M8.2125 1.75781C4.6765 1.75781 1.8125 4.62181 1.8125 8.15781C1.8125 10.9898 3.6445 13.3818 6.1885 14.2298C6.5085 14.2858 6.6285 14.0938 6.6285 13.9258C6.6285 13.7738 6.6205 13.2698 6.6205 12.7338C5.0125 13.0298 4.5965 12.3418 4.4685 11.9818C4.3965 11.7978 4.0845 11.2298 3.8125 11.0778C3.5885 10.9578 3.2685 10.6618 3.8045 10.6538C4.3085 10.6458 4.6685 11.1178 4.7885 11.3098C5.3645 12.2778 6.2845 12.0058 6.6525 11.8378C6.7085 11.4218 6.8765 11.1418 7.0605 10.9818C5.6365 10.8218 4.1485 10.2698 4.1485 7.82181C4.1485 7.12581 4.3965 6.54981 4.8045 6.10181C4.7405 5.94181 4.5165 5.28581 4.8685 4.40581C4.8685 4.40581 5.4045 4.23781 6.6285 5.06181C7.1405 4.91781 7.6845 4.84581 8.2285 4.84581C8.7725 4.84581 9.3165 4.91781 9.8285 5.06181C11.0525 4.22981 11.5885 4.40581 11.5885 4.40581C11.9405 5.28581 11.7165 5.94181 11.6525 6.10181C12.0605 6.54981 12.3085 7.11781 12.3085 7.82181C12.3085 10.2778 10.8125 10.8218 9.3885 10.9818C9.6205 11.1818 9.8205 11.5658 9.8205 12.1658C9.8205 13.0218 9.8125 13.7098 9.8125 13.9258C9.8125 14.0938 9.9325 14.2938 10.2525 14.2298C11.523 13.8009 12.627 12.9844 13.4092 11.8951C14.1913 10.8059 14.6122 9.49877 14.6125 8.15781C14.6125 4.62181 11.7485 1.75781 8.2125 1.75781Z"
+ fill="#8F8F8F"
+ />
+ </svg>
+)
+export const LinkSvg = () => (
+ <svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M6.875 4.0013H4.20833C3.47195 4.0013 2.875 4.59826 2.875 5.33464V12.0013C2.875 12.7377 3.47195 13.3346 4.20833 13.3346H10.875C11.6114 13.3346 12.2083 12.7377 12.2083 12.0013V9.33464M9.54167 2.66797H13.5417M13.5417 2.66797V6.66797M13.5417 2.66797L6.875 9.33464"
+ stroke="#8F8F8F"
+ strokeWidth="1"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ />
+ </svg>
+)
+export const ArrowTopRightSvg = () => (
+ <svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M3.44531 13.846L13.1152 4.17578"
+ stroke="#8F8F8F"
+ strokeMiterlimit="10"
+ strokeLinejoin="bevel"
+ />
+ <path
+ d="M3.44531 4.09375H13.1152V13.7637"
+ stroke="#8F8F8F"
+ strokeMiterlimit="10"
+ strokeLinejoin="bevel"
+ />
+ </svg>
+)
+export const HackernewsSvg = () => (
+ <svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M8.26821 7.87591L9.94194 4.47266H11.8008L8.82871 10.074V13.606H7.16205V10.0213L4.1875 4.47266H6.15549L7.86748 7.9537C7.87321 7.95954 7.87972 7.96606 7.88751 7.97386C7.95585 8.04219 7.98757 8.11202 8.00726 8.16124C8.01322 8.17614 8.01776 8.18804 8.02175 8.19849C8.02548 8.20824 8.02872 8.21672 8.03217 8.22518L8.04751 8.24052C8.11375 8.10585 8.19796 7.98119 8.26821 7.87591Z"
+ fill="#8F8F8F"
+ />
+ </svg>
+)
+
+export const TwitterSpacesSvg = () => (
+ <svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M4.46228 5.78799C4.46228 3.4802 6.3331 1.60938 8.64089 1.60938C10.9487 1.60938 12.8195 3.4802 12.8195 5.78799V8.17578C12.8195 10.4836 10.9487 12.3544 8.64089 12.3544C6.3331 12.3544 4.46228 10.4836 4.46228 8.17578V5.78799ZM6.85006 8.17578C7.09719 8.17578 7.29777 7.9752 7.29777 7.72807V6.2357C7.29777 5.98857 7.09719 5.78799 6.85006 5.78799C6.60292 5.78799 6.40235 5.98857 6.40235 6.2357V7.72807C6.40235 7.9752 6.60292 8.17578 6.85006 8.17578ZM8.64089 8.77272C8.88803 8.77272 9.0886 8.57215 9.0886 8.32501V5.63876C9.0886 5.39162 8.88803 5.19105 8.64089 5.19105C8.39376 5.19105 8.19319 5.39162 8.19319 5.63876V8.32501C8.19319 8.57215 8.39376 8.77272 8.64089 8.77272ZM10.4317 8.17578C10.6789 8.17578 10.8794 7.9752 10.8794 7.72807V6.2357C10.8794 5.98857 10.6789 5.78799 10.4317 5.78799C10.1846 5.78799 9.98402 5.98857 9.98402 6.2357V7.72807C9.98402 7.9752 10.1846 8.17578 10.4317 8.17578Z"
+ fill="#8F8F8F"
+ />
+ <path
+ d="M2.85924 9.24628C3.17502 9.15077 3.50692 9.32985 3.60243 9.64624C4.24654 11.7934 6.23138 13.3992 8.64185 13.3992C11.0523 13.3992 13.0372 11.7934 13.6819 9.64564C13.7768 9.32926 14.1099 9.15137 14.4251 9.24569C14.7402 9.34 14.9205 9.6725 14.825 9.98888C14.0364 12.6172 11.6039 14.5931 8.64185 14.5931C5.67981 14.5931 3.24725 12.6172 2.45928 9.98948C2.36377 9.6737 2.54286 9.34179 2.85924 9.24628Z"
+ fill="#8F8F8F"
+ />
+ </svg>
+)
+
+export const ProductHuntSvg = () => (
+ <svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <g clip-path="url(#clip0_3061_22934)">
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M8.00078 15.5094C12.0787 15.5094 15.3844 12.2037 15.3844 8.12578C15.3844 4.04782 12.0787 0.742188 8.00078 0.742188C3.92282 0.742188 0.617188 4.04782 0.617188 8.12578C0.617188 12.2037 3.92282 15.5094 8.00078 15.5094ZM6.89312 8.12578H8.98527C9.279 8.12578 9.56071 8.00909 9.76841 7.80139C9.97612 7.59369 10.0928 7.31198 10.0928 7.01824C10.0928 6.7245 9.97612 6.4428 9.76841 6.23509C9.56071 6.02739 9.279 5.9107 8.98527 5.9107H6.89312V8.12578ZM5.41641 4.43398H8.98527C9.67065 4.43398 10.328 4.70625 10.8126 5.1909C11.2973 5.67554 11.5695 6.33285 11.5695 7.01824C11.5695 7.70363 11.2973 8.36095 10.8126 8.84559C10.328 9.33023 9.67065 9.6025 8.98527 9.6025H6.89312V11.8176H5.41641V4.43398Z"
+ fill="#8F8F8F"
+ />
+ </g>
+ <defs>
+ <clipPath id="clip0_3061_22934">
+ <rect width="16" height="16" fill="currentColor" transform="translate(0 0.378906)" />
+ </clipPath>
+ </defs>
+ </svg>
+)
+
+export const CheckCircleSolidIcon = () => (
+ <svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M8.00156 14.7805C11.5362 14.7805 14.4016 11.9151 14.4016 8.38047C14.4016 4.84585 11.5362 1.98047 8.00156 1.98047C4.46694 1.98047 1.60156 4.84585 1.60156 8.38047C1.60156 11.9151 4.46694 14.7805 8.00156 14.7805ZM10.9672 7.34615C11.2797 7.03373 11.2797 6.5272 10.9672 6.21478C10.6548 5.90236 10.1483 5.90236 9.83588 6.21478L7.20156 8.8491L6.16725 7.81478C5.85483 7.50236 5.3483 7.50236 5.03588 7.81478C4.72346 8.1272 4.72346 8.63373 5.03588 8.94615L6.63588 10.5462C6.9483 10.8586 7.45483 10.8586 7.76725 10.5462L10.9672 7.34615Z"
+ fill="currentColor"
+ />
+ </svg>
+)
+
+export const SmallCard = ({
+ className,
+ innerClassName,
+ children,
+}: {
+ className?: string
+ innerClassName?: string
+ children: any
+}) => (
+ <div
+ className={[
+ 'group relative p-[1px] bg-gradient-to-b from-[#11171890] to-[#1C1C1C60] rounded-2xl overflow-hidden shadow-lg',
+ className,
+ ].join(' ')}
+ >
+ <div
+ className={[
+ 'rounded-2xl text-sm text-[#9296AA] p-2 flex flex-row justify-between items-center backdrop-blur-md h-full',
+ 'bg-[#030A0C]',
+ innerClassName,
+ ].join(' ')}
+ >
+ {children}
+ </div>
+ </div>
+)
+
+export const StyledArticleBadge = ({
+ className,
+ children,
+}: {
+ className?: string
+ children: any
+}) => (
+ <div
+ className={['relative bg-transparent border border-[#F4FFFA90] rounded-full', className].join(
+ ' '
+ )}
+ >
+ <div className="!bg-transparent rounded-full !py-1 !px-4 w-full inset-[1px] text-sm border-none from-foreground to-[#6453C5]">
+ <span className="text-sm text-[#F4FFFA80] bg-clip-text bg-gradient-to-r from-[#F4FFFA] to-[#7E7AAD]">
+ {children}
+ </span>
+ <div className="absolute inset-0 w-full h-full bg-[#1C1C1C] rounded-full blur-2xl" />
+ </div>
+ </div>
+)
+
+export const AccordionHeader = ({
+ date,
+ day,
+ weekDay,
+ title,
+ shipped,
+ publishedAt,
+ shippable = true,
+ youtube_id,
+ videoThumbnail,
+}: {
+ date: string
+ day: number
+ weekDay: string
+ title: string
+ shipped?: boolean
+ publishedAt: string
+ shippable?: boolean
+ youtube_id?: string
+ videoThumbnail?: string
+}) => (
+ <div
+ className={[
+ 'h-[79px] hover:cursor-default flex flex-1 items-center scroll-mt-20 text-muted',
+ ].join(' ')}
+ >
+ <div
+ className={[
+ 'flex flex-1 sm:flex-none',
+ shippable && shipped ? 'items-stretch' : 'flex-row items-center',
+ ].join(' ')}
+ >
+ <div className="flex gap-4 w-full sm:w-auto sm:min-w-[240px] md:min-w-[380px] items-center">
+ <span className="text-sm">
+ <span className="inline sm:hidden md:inline">{weekDay} </span>
+ {date && (
+ <span>
+ <span className="inline sm:hidden md:inline">・</span> {date}
+ </span>
+ )}
+ </span>
+ {shippable && shipped && (
+ <Badge
+ className={`relative hidden sm:inline-flex inset-0 !bg-[#05090B] border !border-[#061517] !py-1 !px-4 h-fit`}
+ >
+ <span className="text-[#F4FFFA40] text-sm font-normal bg-clip-text bg-gradient-to-r from-[#F4FFFA] to-[#675FA7]">
+ Shipped
+ </span>
+ </Badge>
+ )}
+ {shippable && shipped && youtube_id && (
+ <div className={['hover:cursor-pointer hover:!opacity-100'].join(' ')}>
+ <ExpandableVideo
+ videoId={youtube_id}
+ trigger={
+ <VideoPreviewTrigger
+ title={`Watch: Day ${day}`}
+ thumbnail={videoThumbnail ?? '/images/launchweek/8/day5/yt_d5.jpg'}
+ />
+ }
+ />
+ </div>
+ )}
+ </div>
+ {/* {shippable && !shipped && (
+ <span className="text-sm font-normal text-[#A0A0A0] mt-1 sm:mt-0 flex items-center gap-1 md:gap-4">
+ <svg
+ width="17"
+ height="17"
+ viewBox="0 0 17 17"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <g opacity="0.5">
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M4.32656 7.58047V5.98047C4.32656 3.77133 6.11742 1.98047 8.32656 1.98047C10.5357 1.98047 12.3266 3.77133 12.3266 5.98047V7.58047C13.2102 7.58047 13.9266 8.29681 13.9266 9.18047V13.1805C13.9266 14.0641 13.2102 14.7805 12.3266 14.7805H4.32656C3.44291 14.7805 2.72656 14.0641 2.72656 13.1805V9.18047C2.72656 8.29681 3.44291 7.58047 4.32656 7.58047ZM10.7266 5.98047V7.58047H5.92656V5.98047C5.92656 4.65499 7.00108 3.58047 8.32656 3.58047C9.65205 3.58047 10.7266 4.65499 10.7266 5.98047Z"
+ fill="#A0A0A0"
+ />
+ </g>
+ </svg>
+
+ {day === 5 && <CountdownComponent date={publishedAt} showCard={false} />}
+ </span>
+ )} */}
+ </div>
+ </div>
+)
+
+export const VideoPreviewTrigger = ({
+ title,
+ thumbnail,
+}: {
+ title?: string
+ thumbnail: string
+}) => (
+ <div className="flex items-center h-full gap-3 text-xs group/vid text-foreground-light hover:text-foreground transition-colors">
+ <div className="relative h-10 !aspect-video flex items-center justify-center rounded overflow-hidden border border-foreground-lighter opacity-80 group-hover/vid:opacity-100 transition-colors">
+ <div className="absolute z-10 w-2.5 h-2.5 text-white opacity-100">
+ <svg viewBox="0 0 81 91" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M76.5621 37.998C82.3369 41.3321 82.3369 49.6673 76.5621 53.0014L13.2198 89.5721C7.44504 92.9062 0.226562 88.7386 0.226562 82.0704L0.226566 8.92901C0.226566 2.26085 7.44506 -1.90673 13.2199 1.42735L76.5621 37.998Z"
+ fill="currentColor"
+ />
+ </svg>
+ </div>
+ <Image src={thumbnail} alt="Video thumbnail" layout="fill" objectFit="cover" />
+ </div>
+ {title && <span>{title}</span>}
+ </div>
+)
+
+export const MultistepSectionHeader = ({ title, blog }: any) => {
+ return (
+ <div className="flex flex-1 flex-col sm:flex-row py-8">
+ <div className="flex gap-4 w-full items-center justify-between md:justify-start">
+ {title && <span className="text-foreground text-lg mt-3 sm:mt-0">{title}</span>}
+ {!!blog && (
+ <ChipLink href={blog} className="!w-auto !text-left !justify-between !flex-none">
+ Blog post
+ <div className="bg-[#313131] rounded-full hidden sm:inline-block p-1 ml-2">
+ <PencilSvg />
+ </div>
+ </ChipLink>
+ )}
+ </div>
+ </div>
+ )
+}
+
+export const ChipLink = ({
+ href,
+ uiOnly,
+ className,
+ target,
+ children,
+}: {
+ href?: string
+ className?: string
+ uiOnly?: boolean
+ target?: '_blank' | '_self' | '_parent' | '_top' | 'framename'
+ children: any
+}) =>
+ uiOnly ? (
+ <span
+ className={[
+ 'flex flex-auto justify-center sm:justify-between w-full text-center sm:text-left min-h-[43px] sm:w-auto items-center border border-[#232323] bg-gradient-to-r text-white from-[#46444460] to-[#19191980] hover:from-[#4e4e4e90] hover:to-[#19191990] hover:border-stronger backdrop-blur-xl rounded-full text-sm py-2 px-3 sm:pr-2',
+ className,
+ ].join(' ')}
+ >
+ {children}
+ </span>
+ ) : !!href ? (
+ <Link
+ href={href}
+ target={target ?? '_self'}
+ rel="noopener"
+ className={[
+ 'flex flex-auto justify-center sm:justify-between w-full text-center sm:text-left min-h-[43px] sm:w-auto items-center border border-[#232323] bg-gradient-to-r text-white from-[#46444460] to-[#19191980] hover:from-[#4e4e4e90] hover:to-[#19191990] hover:border-stronger backdrop-blur-xl rounded-full text-sm py-2 px-3 sm:pr-2',
+ className,
+ ].join(' ')}
+ >
+ {children}
+ </Link>
+ ) : null
+
+export const SectionButtons = ({
+ blog,
+ docs,
+ video,
+ github,
+ url,
+ hackernews,
+ twitter_spaces,
+ product_hunt,
+ mobileGrid,
+}: {
+ blog?: string
+ docs?: string
+ video?: string
+ github?: string
+ url?: string
+ hackernews?: string
+ twitter_spaces?: string
+ product_hunt?: string
+ mobileGrid?: boolean
+}) => {
+ return (
+ <div
+ className={[
+ 'flex w-full max-w-full md:w-auto justify-center gap-2 z-10',
+ mobileGrid && 'grid grid-cols-2 gap-2 sm:flex',
+ ].join(' ')}
+ >
+ {!!blog && (
+ <ChipLink href={blog}>
+ Blog post
+ <div className="bg-[#313131] rounded-full hidden sm:inline-block p-1 ml-2">
+ <PencilSvg />
+ </div>
+ </ChipLink>
+ )}
+ {!!docs && (
+ <ChipLink href={docs}>
+ Docs
+ <div className="bg-[#313131] rounded-full hidden sm:inline-block p-1 ml-2">
+ <DocsSvg />
+ </div>
+ </ChipLink>
+ )}
+ {!!video && (
+ <ChipLink href={video} target="_blank">
+ Video
+ <div className="bg-[#313131] rounded-full hidden sm:inline-block p-1 ml-2">
+ <PlaySvg />
+ </div>
+ </ChipLink>
+ )}
+ {!!github && (
+ <ChipLink href={github} target="_blank">
+ GitHub
+ <div className="bg-[#313131] rounded-full hidden sm:inline-block p-1 ml-2">
+ <GithubSvg />
+ </div>
+ </ChipLink>
+ )}
+ {!!url && (
+ <ChipLink href={url}>
+ Read
+ <div className="bg-[#313131] rounded-full hidden sm:inline-block p-1 ml-2">
+ <LinkSvg />
+ </div>
+ </ChipLink>
+ )}
+ {hackernews && (
+ <ChipLink href={hackernews} target="_blank">
+ Hacker News
+ <div className="bg-[#313131] rounded-full hidden sm:inline-block p-1 ml-2">
+ <HackernewsSvg />
+ </div>
+ </ChipLink>
+ )}
+ {product_hunt && (
+ <ChipLink href={product_hunt} target="_blank" className="col-span-full">
+ Product Hunt
+ <div className="bg-[#313131] rounded-full hidden sm:inline-block p-1 ml-2">
+ <ProductHuntSvg />
+ </div>
+ </ChipLink>
+ )}
+ {twitter_spaces && (
+ <ChipLink href={twitter_spaces} target="_blank" className="col-span-full">
+ Twitter Spaces
+ <div className="bg-[#313131] rounded-full hidden sm:inline-block p-1 ml-2">
+ <TwitterSpacesSvg />
+ </div>
+ </ChipLink>
+ )}
+ </div>
+ )
+}
+
+export const CartTitle = ({ children, className }: { children: any; className?: string }) => (
+ <span
+ className={[
+ 'z-0 relative text-[#F4FFFA90] bg-clip-text bg-gradient-to-r from-[#F4FFFA] to-[#675FA7] tracking-[-.5px] text-xl',
+ className,
+ ].join(' ')}
+ >
+ {children}
+ <div className="absolute -z-10 inset-0 w-full h-full bg-[#1C1C1C90] rounded-full blur-xl" />
+ </span>
+)
+
+export default {
+ AccordionHeader,
+ DocsSvg,
+ PencilSvg,
+ PlaySvg,
+ CartTitle,
+ ChipLink,
+ SectionButtons,
+ SmallCard,
+ StyledArticleBadge,
+}
diff --git a/apps/www/components/LaunchWeek/X/Releases/index.tsx b/apps/www/components/LaunchWeek/X/Releases/index.tsx
new file mode 100644
index 00000000000..e90f9c76c6e
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Releases/index.tsx
@@ -0,0 +1,599 @@
+import Image from 'next/image'
+import Link from 'next/link'
+import { Accordion } from 'ui'
+import { useBreakpoint } from 'common/hooks/useBreakpoint'
+
+import {
+ AccordionHeader,
+ CartTitle,
+ CheckCircleSolidIcon,
+ MultistepSectionHeader,
+ SectionButtons,
+} from './components'
+import SectionContainer from '~/components/Layouts/SectionContainer'
+import days, { WeekDayProps } from './lw8_data'
+
+export default function LW8Releases() {
+ const [preRelease, day1, day2, day3, day4, day5] = days
+ const isTablet = useBreakpoint(1023)
+ const isDesktop = useBreakpoint(1280)
+ const showAll = false
+ const publishedSections =
+ days
+ .filter(
+ (day: WeekDayProps) => Date.parse(day.publishedAt) <= Date.now() || day.shipped || showAll
+ )
+ .map((day: WeekDayProps) => day.d.toString()) ?? []
+
+ return (
+ <>
+ <SectionContainer className="!pt-0 !w-full !px-0 !max-w-none">
+ <Accordion
+ type="default"
+ openBehaviour="multiple"
+ size="large"
+ className="text-white"
+ justified={false}
+ chevronAlign="right"
+ defaultValue={publishedSections}
+ >
+ <div className="border-b border-[#111718]">
+ <Accordion.Item
+ header={
+ <AccordionHeader
+ date={preRelease.date}
+ day={preRelease.d}
+ weekDay={preRelease.dd}
+ title={preRelease.title}
+ shipped={true}
+ shippable={false}
+ publishedAt={preRelease.publishedAt}
+ />
+ }
+ key={preRelease.dd}
+ className="h-[79px]"
+ id={preRelease.d.toString()}
+ >
+ {preRelease.steps.length > 0 && (
+ <div className="flex flex-col gap-5 lg:flex-row pb-4">
+ <div
+ className={`
+ min-h-[400px] relative overflow-hidden group/pre0 flex-1 flex flex-col items-center justify-between
+ basis-1/2 lg:basis-1/3 border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
+ `}
+ >
+ <div
+ className="inset-0 absolute group-hover/pre0:scale-105 opacity-10 group-hover/pre0:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
+ style={{
+ background: `radial-gradient(100% 100% at 80% 110%, #6F13A490, #030A0C)`,
+ }}
+ />
+ <div className="flex flex-col items-center gap-2 min-w-[300px] w-full text-center lg:text-left">
+ <CartTitle>{preRelease.steps[0].title}</CartTitle>
+ <p className="text-sm text-slate-900">{preRelease.steps[0]?.description}</p>
+ </div>
+ <SectionButtons blog={preRelease.steps[0].blog} />
+ {preRelease.steps[0]?.bg_layers &&
+ preRelease.steps[0]?.bg_layers?.map(
+ (layer, i) =>
+ !!layer.img && (
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
+ <Image
+ src={
+ !!layer.mobileImg && isTablet
+ ? (layer.mobileImg as any)
+ : layer.img
+ }
+ className={`
+ absolute opacity-90
+ w-full h-full -z-10 transition-all duration-300
+ `}
+ layout="fill"
+ objectPosition="100%"
+ objectFit="cover"
+ alt=""
+ />
+ </div>
+ )
+ )}
+ </div>
+ <div
+ className={`
+ min-h-[400px] relative overflow-hidden group/pre1 flex-1 flex flex-col items-center justify-between
+ basis-1/2 lg:basis-1/3 border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-cover shadow-lg
+ `}
+ >
+ <div
+ className="inset-0 absolute group-hover/pre1:scale-105 opacity-60 group-hover/pre1:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
+ style={{
+ background: `radial-gradient(100% 100% at 80% 110%, #6F13A450, #030A0C)`,
+ }}
+ />
+ <div className="flex flex-col items-center gap-2 min-w-[300px] w-full text-center lg:text-left">
+ <CartTitle>{preRelease.steps[1].title}</CartTitle>
+ <p className="text-sm text-slate-900">{preRelease.steps[1]?.description}</p>
+ </div>
+ <SectionButtons
+ github={preRelease.steps[1].github}
+ hackernews={preRelease.steps[1].hackernews}
+ />
+ {preRelease.steps[1]?.bg_layers &&
+ preRelease.steps[1]?.bg_layers?.map(
+ (layer, i) =>
+ !!layer.img && (
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
+ <Image
+ src={
+ !!layer.mobileImg && isTablet
+ ? (layer.mobileImg as any)
+ : layer.img
+ }
+ className={`
+ absolute opacity-90
+ w-full h-full -z-10 transition-all duration-300
+ `}
+ layout="fill"
+ objectPosition="20% 50%"
+ objectFit="cover"
+ alt=""
+ />
+ </div>
+ )
+ )}
+ </div>
+ <div
+ className={`
+ min-h-[400px] relative overflow-hidden group/pre2 flex-1 flex flex-col items-center justify-between
+ basis-1/2 lg:basis-1/3 border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
+ `}
+ >
+ {' '}
+ <div
+ className="inset-0 absolute group-hover/pre2:scale-105 opacity-60 group-hover/pre2:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
+ style={{
+ background: `radial-gradient(100% 100% at 80% 110%, #6F13A450, #030A0C)`,
+ }}
+ />
+ <div className="flex flex-col items-center gap-2 w-full text-center">
+ <CartTitle>{preRelease.steps[2].title}</CartTitle>
+ <p className="text-sm text-slate-900">{preRelease.steps[2]?.description}</p>
+ </div>
+ <SectionButtons blog={preRelease.steps[2].blog} />
+ {preRelease.steps[2]?.bg_layers &&
+ preRelease.steps[2]?.bg_layers?.map(
+ (layer, i) =>
+ !!layer.img && (
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
+ <Image
+ src={layer.img}
+ className={`
+ absolute opacity-90
+ w-full h-full -z-10 transition-all duration-300
+ `}
+ layout="fill"
+ objectPosition={
+ isTablet ? '50%' : isDesktop ? '100% 50%' : '30% 50%'
+ }
+ objectFit="contain"
+ alt=""
+ />
+ </div>
+ )
+ )}
+ </div>
+ </div>
+ )}
+ </Accordion.Item>
+ </div>
+ <div className="border-b border-[#111718] scroll-mt-16">
+ <AccordionHeader
+ date={day1.date}
+ day={day1.d}
+ weekDay={day1.dd}
+ title={day1.title}
+ shipped={day1.shipped}
+ publishedAt={day1.publishedAt}
+ youtube_id={day1.youtube_id}
+ videoThumbnail={day1.videoThumbnail}
+ />
+
+ {day1.steps.length > 0 && (
+ <div className="flex flex-col gap-5 lg:flex-row pb-4">
+ <div
+ className={`
+ min-h-[400px] relative overflow-hidden group/d1 flex-1 flex flex-col items-center lg:items-start justify-between
+ basis-1/2 lg:basis-1/3 border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
+ `}
+ >
+ <div
+ className="inset-0 absolute group-hover/d1:scale-105 opacity-60 group-hover/d1:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
+ style={{
+ background: `radial-gradient(100% 100% at 80% 80%, #6F13A450, #030A0C)`,
+ }}
+ />
+ <div className="flex flex-col items-center lg:items-start gap-2 min-w-[300px] w-full text-center lg:text-left">
+ <Link href={day1.steps[0].blog!} className="m-0">
+ <CartTitle>{day1.steps[0].title}</CartTitle>
+ </Link>
+ <p className="text-sm text-slate-900">{day1.steps[0]?.description}</p>
+ </div>
+ <SectionButtons blog={day1.steps[0].blog} hackernews={day1.steps[0].hackernews} />
+ {day1.steps[0]?.bg_layers &&
+ day1.steps[0]?.bg_layers?.map(
+ (layer, i) =>
+ !!layer.img && (
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
+ <Image
+ src={
+ !!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img
+ }
+ className={`
+ absolute opacity-90
+ w-full h-full -z-10 transition-all duration-300
+ `}
+ layout="fill"
+ objectPosition={isTablet ? '50%' : '90% 50%'}
+ objectFit="contain"
+ alt=""
+ />
+ </div>
+ )
+ )}
+ </div>
+ </div>
+ )}
+ </div>
+ <div className="border-b border-[#111718] scroll-mt-16">
+ <AccordionHeader
+ date={day2.date}
+ day={day2.d}
+ weekDay={day2.dd}
+ title={day2.title}
+ shipped={day2.shipped}
+ publishedAt={day2.publishedAt}
+ youtube_id={day2.youtube_id}
+ videoThumbnail={day2.videoThumbnail}
+ />
+
+ {day2.steps.length > 0 && (
+ <div className="flex flex-col gap-5 lg:flex-row pb-4">
+ <div
+ className={`
+ min-h-[400px] relative overflow-hidden group/d1 flex-1 flex flex-col items-center lg:items-start justify-between
+ basis-1/2 lg:basis-1/3 border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
+ `}
+ >
+ <div
+ className="inset-0 absolute group-hover/d1:scale-105 opacity-60 group-hover/d1:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
+ style={{
+ background: `radial-gradient(100% 100% at 80% 80%, #6F13A450, #030A0C)`,
+ }}
+ />
+ <div className="flex flex-col items-center lg:items-start gap-2 min-w-[300px] w-full text-center lg:text-left">
+ <Link href={day2.steps[0].blog!} className="m-0">
+ <CartTitle>{day2.steps[0].title}</CartTitle>
+ </Link>
+ <p className="text-sm text-slate-900">{day2.steps[0]?.description}</p>
+ </div>
+ <SectionButtons blog={day2.steps[0].blog} hackernews={day2.steps[0].hackernews} />
+ {day2.steps[0]?.bg_layers &&
+ day2.steps[0]?.bg_layers?.map(
+ (layer, i) =>
+ !!layer.img && (
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
+ <Image
+ src={
+ !!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img
+ }
+ className={`
+ absolute opacity-90
+ w-full h-full -z-10 transition-all duration-300
+ `}
+ layout="fill"
+ objectFit="cover"
+ alt=""
+ />
+ </div>
+ )
+ )}
+ </div>
+ </div>
+ )}
+ </div>
+ <div className="border-b border-[#111718] scroll-mt-16">
+ <AccordionHeader
+ date={day3.date}
+ day={day3.d}
+ weekDay={day3.dd}
+ title={day3.title}
+ shipped={day3.shipped}
+ publishedAt={day3.publishedAt}
+ youtube_id={day3.youtube_id}
+ videoThumbnail={day3.videoThumbnail}
+ />
+
+ {day3.steps.length > 0 && (
+ <div className="flex flex-col gap-5 lg:flex-row pb-4">
+ <div
+ className={`
+ min-h-[400px] relative overflow-hidden group/d1 flex-1 flex flex-col items-center lg:items-start justify-between
+ basis-1/2 lg:basis-1/3 border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
+ `}
+ >
+ <div
+ className="inset-0 absolute group-hover/d1:scale-105 opacity-60 group-hover/d1:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
+ style={{
+ background: `radial-gradient(100% 100% at 80% 80%, #6F13A450, #030A0C)`,
+ }}
+ />
+ <div className="flex flex-col items-center lg:items-start gap-2 min-w-[300px] w-full text-center lg:text-left">
+ <Link href={day3.steps[0].blog!} className="m-0">
+ <CartTitle>{day3.steps[0].title}</CartTitle>
+ </Link>
+ <p className="text-sm text-slate-900">{day3.steps[0]?.description}</p>
+ <ul className="flex flex-row flex-wrap lg:flex-col gap-2 text-sm md:text-base justify-center">
+ <li className="flex items-center gap-2">
+ <CheckCircleSolidIcon /> AI SQL Editor
+ </li>
+ <li className="flex items-center gap-2">
+ <CheckCircleSolidIcon /> Schema Diagrams
+ </li>
+ <li className="flex items-center gap-2">
+ <CheckCircleSolidIcon /> Wrappers
+ </li>
+ </ul>
+ </div>
+ <SectionButtons
+ blog={day3.steps[0].blog}
+ product_hunt={day3.steps[0].product_hunt}
+ />
+ {day3.steps[0]?.bg_layers &&
+ day3.steps[0]?.bg_layers?.map(
+ (layer, i) =>
+ !!layer.img && (
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
+ <Image
+ src={
+ !!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img
+ }
+ className="absolute opacity-90 w-full h-full -z-10 transition-all duration-300"
+ layout="fill"
+ objectPosition={isTablet ? '50%' : '100% 50%'}
+ objectFit={i == 1 && isTablet ? 'contain' : 'cover'}
+ alt=""
+ />
+ </div>
+ )
+ )}
+ </div>
+ </div>
+ )}
+ </div>
+ <div className="border-b border-[#111718] scroll-mt-16">
+ <AccordionHeader
+ date={day4.date}
+ day={day4.d}
+ weekDay={day4.dd}
+ title={day4.title}
+ shipped={day4.shipped}
+ publishedAt={day4.publishedAt}
+ youtube_id={day4.youtube_id}
+ videoThumbnail={day4.videoThumbnail}
+ />
+
+ {day4.steps.length > 0 && (
+ <div className="flex flex-col gap-5 lg:flex-row pb-4">
+ <div
+ className={`
+ min-h-[400px] relative overflow-hidden group/d1 flex-1 flex flex-col items-center lg:items-start justify-between
+ basis-1/2 lg:flex-shrink xl:basis-2/3 border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
+ `}
+ >
+ <div
+ className="inset-0 absolute group-hover/d1:scale-105 opacity-60 group-hover/d1:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
+ style={{
+ background: `radial-gradient(100% 100% at 80% 80%, #6F13A450, #030A0C)`,
+ }}
+ />
+ <div className="flex flex-col items-center lg:items-start gap-2 min-w-[300px] w-full text-center lg:text-left">
+ <Link href={day4.steps[0].blog!} className="m-0">
+ <CartTitle>{day4.steps[0].title}</CartTitle>
+ </Link>
+ <p className="text-sm text-slate-900">{day4.steps[0]?.description}</p>
+ </div>
+ <SectionButtons blog={day4.steps[0].blog} />
+ {day4.steps[0]?.bg_layers &&
+ day4.steps[0]?.bg_layers?.map(
+ (layer, i) =>
+ !!layer.img && (
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
+ <Image
+ src={
+ !!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img
+ }
+ className="absolute opacity-90 w-full h-full -z-10 transition-all duration-300"
+ layout="fill"
+ objectPosition={isTablet ? '50%' : '100% 50%'}
+ objectFit={i == 1 && isTablet ? 'contain' : 'cover'}
+ alt=""
+ />
+ </div>
+ )
+ )}
+ </div>
+ <div
+ className={`
+ min-h-[400px] relative overflow-hidden group/d1 flex-1 flex flex-col items-center justify-between
+ basis-1/2 lg:basis-1/3 border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
+ `}
+ >
+ <div
+ className="inset-0 absolute group-hover/d1:scale-105 opacity-60 group-hover/d1:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
+ style={{
+ background: `radial-gradient(100% 100% at 80% 80%, #6F13A450, #030A0C)`,
+ }}
+ />
+ <div className="flex flex-col items-center gap-2 min-w-[300px] w-full text-center lg:text-left">
+ <Link href={day4.steps[1].blog!} className="m-0">
+ <CartTitle>{day4.steps[1].title}</CartTitle>
+ </Link>
+ <p className="text-sm text-slate-900">{day4.steps[1]?.description}</p>
+ </div>
+ <SectionButtons blog={day4.steps[1].blog} />
+ {day4.steps[1]?.bg_layers &&
+ day4.steps[1]?.bg_layers?.map(
+ (layer, i) =>
+ !!layer.img && (
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
+ <Image
+ src={
+ !!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img
+ }
+ className="absolute opacity-90 w-full h-full -z-10 transition-all duration-300"
+ layout="fill"
+ objectFit="cover"
+ alt=""
+ />
+ </div>
+ )
+ )}
+ </div>
+ </div>
+ )}
+ </div>
+ <div className="border-b border-[#111718] scroll-mt-16">
+ <AccordionHeader
+ date={day5.date}
+ day={day5.d}
+ weekDay={day5.dd}
+ title={day5.title}
+ shipped={day5.shipped}
+ publishedAt={day5.publishedAt}
+ youtube_id={day5.youtube_id}
+ videoThumbnail={day5.videoThumbnail}
+ />
+
+ {day5.steps.length > 0 && (
+ <div className="flex flex-col pb-4">
+ <div
+ className={`
+ min-h-[400px] relative overflow-hidden group/d1 flex-1 flex flex-col items-center lg:items-start justify-between
+ border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
+ `}
+ >
+ <div
+ className="inset-0 absolute group-hover/d1:scale-105 opacity-60 group-hover/d1:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
+ style={{
+ background: `radial-gradient(100% 100% at 80% 80%, #6F13A450, #030A0C)`,
+ }}
+ />
+ <div className="flex flex-col items-center lg:items-start gap-2 min-w-[300px] w-full text-center lg:text-left">
+ <Link href={day5.steps[0].blog!} className="m-0">
+ <CartTitle>{day5.steps[0].title}</CartTitle>
+ </Link>
+ <p className="text-sm text-slate-900">{day5.steps[0]?.description}</p>
+ </div>
+ <SectionButtons blog={day5.steps[0].blog} hackernews={day5.steps[0].hackernews} />
+ {day5.steps[0]?.bg_layers &&
+ day5.steps[0]?.bg_layers?.map(
+ (layer, i) =>
+ !!layer.img && (
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
+ <Image
+ src={
+ !!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img
+ }
+ className="absolute opacity-90 w-full h-full -z-10 transition-all duration-300"
+ layout="fill"
+ objectFit="cover"
+ alt=""
+ />
+ </div>
+ )
+ )}
+ </div>
+ <MultistepSectionHeader title="Community" />
+ <div
+ className={`
+ min-h-[400px] relative overflow-hidden group/d1 flex-1 flex flex-col items-center lg:items-start justify-between
+ border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
+ `}
+ >
+ <div
+ className="inset-0 absolute group-hover/d1:scale-105 opacity-60 group-hover/d1:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
+ style={{
+ background: `radial-gradient(100% 100% at 80% 80%, #6F13A450, #030A0C)`,
+ }}
+ />
+ <div className="flex flex-col items-center lg:items-start gap-2 min-w-[300px] w-full text-center lg:text-left">
+ <Link href={day5.steps[1].blog!} className="m-0">
+ <CartTitle>{day5.steps[1].title}</CartTitle>
+ </Link>
+ <p className="text-sm text-slate-900">{day5.steps[1]?.description}</p>
+ </div>
+ <SectionButtons blog={day5.steps[1].blog} hackernews={day5.steps[1].hackernews} />
+ {day5.steps[1]?.bg_layers &&
+ day5.steps[1]?.bg_layers?.map(
+ (layer, i) =>
+ !!layer.img && (
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
+ <Image
+ src={
+ !!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img
+ }
+ className="absolute opacity-90 w-full h-full -z-10 transition-all duration-300"
+ layout="fill"
+ objectFit="cover"
+ alt=""
+ />
+ </div>
+ )
+ )}
+ </div>
+ <MultistepSectionHeader title="One more thing" />
+ <div
+ className={`
+ min-h-[400px] relative overflow-hidden group/d1 flex-1 flex flex-col items-center lg:items-start justify-between
+ border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
+ `}
+ >
+ <div
+ className="inset-0 absolute group-hover/d1:scale-105 opacity-60 group-hover/d1:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
+ style={{
+ background: `radial-gradient(100% 100% at 80% 80%, #6F13A450, #030A0C)`,
+ }}
+ />
+ <div className="flex flex-col items-center lg:items-start gap-2 min-w-[300px] w-full text-center lg:text-left">
+ <Link href={day5.steps[2].blog!} className="m-0">
+ <CartTitle>{day5.steps[2].title}</CartTitle>
+ </Link>
+ <p className="text-sm text-slate-900">{day5.steps[2]?.description}</p>
+ </div>
+ <SectionButtons blog={day5.steps[2].blog} hackernews={day5.steps[0].hackernews} />
+ {day5.steps[2]?.bg_layers &&
+ day5.steps[2]?.bg_layers?.map(
+ (layer, i) =>
+ !!layer.img && (
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
+ <Image
+ src={
+ !!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img
+ }
+ className="absolute opacity-90 w-full h-full -z-10 transition-all duration-300"
+ layout="fill"
+ objectFit="cover"
+ objectPosition={isTablet ? '50%' : '100% 50%'}
+ alt=""
+ />
+ </div>
+ )
+ )}
+ </div>
+ </div>
+ )}
+ </div>
+ </Accordion>
+ </SectionContainer>
+ </>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/Releases/lw8_data.ts b/apps/www/components/LaunchWeek/X/Releases/lw8_data.ts
new file mode 100644
index 00000000000..eb1a074e26c
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Releases/lw8_data.ts
@@ -0,0 +1,237 @@
+const images = {
+ yt_thumbnail: '/images/launchweek/8/lw8-yt-thumb.jpg',
+ day_1_thumb: '/images/launchweek/8/day1/yt_d1.jpg',
+ day_2_thumb: '/images/launchweek/8/day2/yt_d2.jpg',
+ day_3_thumb: '/images/launchweek/8/day3/yt_d3.jpg',
+ day_4_thumb: '/images/launchweek/8/day4/yt_d4.jpg',
+ day_5_thumb: '/images/launchweek/8/day5/yt_d5.jpg',
+ '00-stay-remote': '/images/launchweek/8/day0/remote.png',
+ '00-pg-server': '/images/launchweek/8/day0/pg-server.png',
+ '00-constellation': '/images/launchweek/8/day0/constellation.svg',
+ '01-hugging': '/images/launchweek/8/day1/hugging.svg',
+ '02-localdev': '/images/launchweek/8/day2/localdev.svg',
+ '02-localdev-mobile': '/images/launchweek/8/day2/localdev-mobile.svg',
+ '03-studio3': '/images/launchweek/8/day3/studio3.svg',
+ '03-studio3-mobile': '/images/launchweek/8/day3/studio3-mobile.svg',
+ '04-marketplace': '/images/launchweek/8/day4/marketplace.svg',
+ '04-marketplace-mobile': '/images/launchweek/8/day4/marketplace-mobile.svg',
+ '04-vercel': '/images/launchweek/8/day4/vercel-integration.svg',
+ '05-supavisor': '/images/launchweek/8/day5/supavisor.svg',
+ '05-community': '/images/launchweek/8/day5/community.svg',
+ '05-compliant': '/images/launchweek/8/day5/compliant.svg',
+ '05-supavisor-mobile': '/images/launchweek/8/day5/supavisor-mobile.svg',
+ '05-community-mobile': '/images/launchweek/8/day5/community-mobile.svg',
+ '05-compliant-mobile': '/images/launchweek/8/day5/compliant-mobile.svg',
+}
+
+export interface StepProps {
+ title: string
+ badge?: string
+ break_thumb_title?: boolean
+ blog?: string
+ docs?: string
+ description?: string
+ github?: string
+ hackernews?: string
+ product_hunt?: string
+ isNew?: boolean
+ thumb?: string
+ url?: string
+ video?: string
+ twitter_spaces?: string
+ className?: string
+ hideInBlog?: boolean
+ bg_layers?: {
+ lottie?: any
+ img?: string
+ mobileImg?: string
+ }[]
+ steps: StepProps[] | []
+}
+export interface WeekDayProps {
+ title: string
+ shipped: boolean
+ date: string
+ publishedAt: string
+ description: string
+ d: number
+ dd: string
+ youtube_id: string
+ videoThumbnail?: string
+ blogpost?: string
+ docs?: string
+ twitter_spaces?: string
+ steps: StepProps[] | []
+}
+
+export const endOfLW8 = '2023-08-11T23:59:59.999-07:00'
+
+const days: WeekDayProps[] = [
+ {
+ title: '',
+ shipped: true,
+ date: '04 Aug',
+ publishedAt: '2023-08-04T09:00:00.000-07:00',
+ description: '',
+ d: 0,
+ dd: 'Pre-release',
+ youtube_id: '',
+ blogpost: '',
+ docs: '',
+ steps: [
+ {
+ title: "Why we'll stay remote",
+ blog: '/blog/why-supabase-remote',
+ bg_layers: [{ img: images['00-stay-remote'] }],
+ steps: [],
+ },
+ {
+ title: 'Postgres Language Server',
+ github: 'https://github.com/supabase/postgres_lsp',
+ hackernews: 'https://news.ycombinator.com/item?id=37020610',
+ bg_layers: [{ img: images['00-pg-server'] }],
+ steps: [],
+ },
+ {
+ title: 'Coding an interactive constellation with Three.js and React Three Fiber',
+ blog: '/blog/interactive-constellation-threejs-react-three-fiber',
+ bg_layers: [{ img: images['00-constellation'] }],
+ steps: [],
+ },
+ ],
+ },
+ {
+ title: '',
+ shipped: true,
+ date: '07 Aug',
+ publishedAt: '2023-08-07T09:00:00.000-07:00',
+ description: '',
+ d: 1,
+ dd: 'Mon',
+ youtube_id: 'RJccSbJ9Go4',
+ videoThumbnail: images.day_1_thumb,
+ twitter_spaces: 'https://twitter.com/i/spaces/1DXGyvjkeEeJM',
+ steps: [
+ {
+ title: 'Hugging Face now supported in Supabase',
+ blog: '/blog/hugging-face-supabase',
+ hackernews: 'https://news.ycombinator.com/item?id=37035960',
+ video: 'https://www.youtube.com/watch?v=RJccSbJ9Go4',
+ twitter_spaces: 'https://twitter.com/i/spaces/1DXGyvjkeEeJM',
+ bg_layers: [{ img: images['01-hugging'] }],
+ steps: [],
+ },
+ ],
+ },
+ {
+ title: '',
+ shipped: true,
+ date: '08 Aug',
+ publishedAt: '2023-08-08T09:00:00.000-07:00',
+ description: '',
+ d: 2,
+ dd: 'Tue',
+ youtube_id: 'N0Wb85m3YMI',
+ videoThumbnail: images.day_2_thumb,
+ twitter_spaces: 'https://twitter.com/i/spaces/1vAxRAvNQyDJl?s=20',
+ steps: [
+ {
+ title: 'Supabase Local Dev: Migrations, Branching, Observability',
+ blog: '/blog/supabase-local-dev',
+ hackernews: 'https://news.ycombinator.com/item?id=37059400',
+ twitter_spaces: 'https://twitter.com/i/spaces/1vAxRAvNQyDJl?s=20',
+ bg_layers: [{ img: images['02-localdev'], mobileImg: images['02-localdev-mobile'] }],
+ steps: [],
+ },
+ ],
+ },
+ {
+ title: '',
+ shipped: true,
+ date: '09 Aug',
+ publishedAt: '2023-08-09T09:00:00.000-07:00',
+ description: '',
+ d: 3,
+ dd: 'Wed',
+ youtube_id: '51tCMQPiitQ',
+ videoThumbnail: images.day_3_thumb,
+ steps: [
+ {
+ title: 'Supabase Studio 3.0',
+ blog: '/blog/supabase-studio-3-0',
+ hackernews: '',
+ video: '',
+ product_hunt: 'https://www.producthunt.com/posts/ai-powered-sql-editor',
+ twitter_spaces: 'https://twitter.com/i/spaces/1vAxRAvNQyDJl?s=20',
+ bg_layers: [{ img: images['03-studio3'], mobileImg: images['03-studio3-mobile'] }],
+ steps: [],
+ },
+ ],
+ },
+ {
+ title: '',
+ shipped: true,
+ date: '10 Aug',
+ publishedAt: '2023-08-10T09:00:00.000-07:00',
+ description: '',
+ d: 4,
+ dd: 'Thu',
+ youtube_id: 'gtJo1lTxHfs',
+ videoThumbnail: images.day_4_thumb,
+ twitter_spaces: 'https://twitter.com/supabase/status/1688544207571484672?s=20',
+ steps: [
+ {
+ title: 'Supabase Integrations Marketplace',
+ blog: '/blog/supabase-integrations-marketplace',
+ bg_layers: [{ img: images['04-marketplace'], mobileImg: images['04-marketplace-mobile'] }],
+ steps: [],
+ },
+ {
+ title: 'Vercel integrations',
+ blog: '/blog/using-supabase-with-vercel',
+ bg_layers: [{ img: images['04-vercel'] }],
+ steps: [],
+ },
+ ],
+ },
+ {
+ title: '',
+ shipped: true,
+ date: '11 Aug',
+ publishedAt: '2023-08-11T09:00:00.000-07:00',
+ description: '',
+ d: 5,
+ dd: 'Fri',
+ youtube_id: 'qzxzLSAJDfE',
+ videoThumbnail: images.day_5_thumb,
+ steps: [
+ {
+ title: 'Supabase Supavisor: 1M Postgres connections',
+ blog: '/blog/supavisor-1-million',
+ hackernews: '',
+ video: '',
+ twitter_spaces: '',
+ bg_layers: [{ img: images['05-supavisor'], mobileImg: images['05-supavisor-mobile'] }],
+ steps: [],
+ },
+ {
+ title: 'Community day',
+ blog: '/blog/launch-week-8-community-highlights',
+ hackernews: '',
+ video: '',
+ twitter_spaces: '',
+ bg_layers: [{ img: images['05-community'], mobileImg: images['05-community-mobile'] }],
+ steps: [],
+ },
+ {
+ title: 'SOC2 type 2 and HIPAA compliant',
+ blog: '/blog/supabase-soc2-hipaa',
+ hackernews: '',
+ bg_layers: [{ img: images['05-compliant'], mobileImg: images['05-compliant-mobile'] }],
+ steps: [],
+ },
+ ],
+ },
+]
+
+export default days
diff --git a/apps/www/components/LaunchWeek/X/Releases/styles/launchWeek7.module.css b/apps/www/components/LaunchWeek/X/Releases/styles/launchWeek7.module.css
new file mode 100644
index 00000000000..7a1417601cd
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Releases/styles/launchWeek7.module.css
@@ -0,0 +1,29 @@
+.mask {
+ mask-image: radial-gradient(black, transparent);
+}
+
+.dark_community {
+ background-image: radial-gradient(closest-side at 50% 50%, #132121, #132121db, #121212);
+}
+
+.community {
+ background-image: radial-gradient(closest-side at 50% 50%, #d9eeef, #dbeef0, white);
+}
+
+.wrappers > span {
+ left: -200px !important;
+}
+
+.community_wrappers > span {
+ left: -400px !important;
+}
+
+@media (max-width: 768px) {
+ .community_wrappers > span > img {
+ object-fit: contain !important;
+ }
+}
+
+.lw7-article-card-gradient {
+ background: linear-gradient(90deg, #1c1c1c -20%, #20113d50 150%);
+}
diff --git a/apps/www/components/LaunchWeek/X/Releases/styles/utils7.module.css b/apps/www/components/LaunchWeek/X/Releases/styles/utils7.module.css
new file mode 100644
index 00000000000..c4aba2ab686
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Releases/styles/utils7.module.css
@@ -0,0 +1,76 @@
+.appear {
+ opacity: 0;
+ animation: appear 0.8s cubic-bezier(0.1, 0, 0.175, 1) forwards;
+}
+
+.appear-first {
+ animation-delay: 0.4s;
+}
+
+.appear-second {
+ animation-delay: 0.8s;
+}
+
+.appear-third {
+ animation-delay: 1.2s;
+}
+
+.appear-fourth {
+ animation-delay: 1.6s;
+}
+
+.appear-fifth {
+ animation-delay: 2s;
+}
+
+.appear-sixth {
+ animation-delay: 2.4s;
+}
+
+@keyframes appear {
+ to {
+ opacity: 1;
+ }
+}
+
+@media (min-width: 1200px) {
+ .hide-on-desktop {
+ display: none;
+ }
+}
+
+.show-on-mobile {
+ display: block;
+}
+
+.hide-on-mobile {
+ display: none;
+}
+
+@media (min-width: 768px) {
+ .show-on-mobile {
+ display: none;
+ }
+
+ .hide-on-mobile {
+ display: block;
+ }
+}
+
+.hide-on-tablet {
+ display: block;
+}
+
+.show-on-tablet {
+ display: none;
+}
+
+@media (max-width: 1199px) and (min-width: 768px) {
+ .show-on-tablet {
+ display: block;
+ }
+
+ .hide-on-tablet {
+ display: none;
+ }
+}
diff --git a/apps/www/components/LaunchWeek/X/Ticket/Ticket.tsx b/apps/www/components/LaunchWeek/X/Ticket/Ticket.tsx
new file mode 100644
index 00000000000..0e24a3204fa
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Ticket/Ticket.tsx
@@ -0,0 +1,82 @@
+import { useState } from 'react'
+import Image from 'next/image'
+import { IconEdit, IconEdit2, IconX, cn } from 'ui'
+
+import Panel from '~/components/Panel'
+import useConfData from '~/components/LaunchWeek/hooks/use-conf-data'
+import TicketProfile from './TicketProfile'
+import TicketFooter from './TicketFooter'
+import { useBreakpoint, useParams } from 'common'
+
+export default function Ticket() {
+ const { userData: user, showCustomizationForm, setShowCustomizationForm } = useConfData()
+ const isMobile = useBreakpoint()
+ const { golden = false, bg_image_id: bgImageId = '1' } = user
+ const [imageHasLoaded, setImageHasLoaded] = useState(false)
+ const params = useParams()
+ const sharePage = !!params.username
+
+ const fallbackImg = `/images/launchweek/lwx/tickets/lwx_ticket_bg_${
+ golden ? 'platinum' : 'regular'
+ }.png`
+
+ const ticketBg = {
+ regular: {
+ background: `/images/launchweek/lwx/tickets/lwx_ticket_bg_regular.png`,
+ background_mobile: `/images/launchweek/lwx/tickets/lwx_ticket_regular_mobile.png`,
+ },
+ platinum: {
+ background: `/images/launchweek/lwx/tickets/lwx_ticket_bg_platinum.png`,
+ background_mobile: `/images/launchweek/lwx/tickets/lwx_ticket_platinum_mobile.png`,
+ },
+ }
+
+ function handleCustomizeTicket() {
+ setShowCustomizationForm && setShowCustomizationForm(!showCustomizationForm)
+ }
+
+ return (
+ <Panel
+ hasShimmer
+ outerClassName="flex relative flex-col w-[300px] h-auto max-h-[480px] md:w-full md:max-w-none rounded-3xl !shadow-xl"
+ innerClassName="flex relative flex-col justify-between w-full transition-colors aspect-[1/1.6] md:aspect-[1.967/1] rounded-3xl bg-[#020405] text-left text-sm group/ticket"
+ shimmerFromColor="hsl(var(--border-strong))"
+ shimmerToColor="hsl(var(--background-default))"
+ >
+ {/* Edit hover button */}
+ {!sharePage && (
+ <>
+ <button
+ className="absolute z-40 inset-0 w-full h-full outline-none"
+ onClick={handleCustomizeTicket}
+ />
+ <div className="hidden md:flex opacity-0 translate-y-3 group-hover/ticket:opacity-100 group-hover/ticket:translate-y-0 transition-all absolute z-30 inset-0 m-auto w-10 h-10 rounded-full items-center justify-center bg-[#020405] border shadow-lg text-foreground">
+ {!showCustomizationForm ? <IconEdit2 className="w-4" /> : <IconX className="w-4" />}
+ </div>
+ </>
+ )}
+
+ <div className="absolute inset-0 h-full p-6 md:p-12 z-30 flex flex-col justify-between w-full md:h-full flex-1 overflow-hidden">
+ <TicketProfile />
+ <TicketFooter />
+ </div>
+ <Image
+ src={
+ ticketBg[golden ? 'platinum' : 'regular'][!isMobile ? 'background' : 'background_mobile']
+ }
+ alt={`Launch Week X ticket background #${bgImageId}`}
+ placeholder="blur"
+ blurDataURL={fallbackImg}
+ onLoad={() => setImageHasLoaded(true)}
+ loading="eager"
+ fill
+ className={cn(
+ 'absolute inset-0 object-cover object-right opacity-0 transition-opacity duration-1000',
+ imageHasLoaded && 'opacity-100'
+ )}
+ priority
+ quality={100}
+ />
+ </Panel>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/Ticket/TicketActions.tsx b/apps/www/components/LaunchWeek/X/Ticket/TicketActions.tsx
new file mode 100644
index 00000000000..49df0ee9db4
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Ticket/TicketActions.tsx
@@ -0,0 +1,94 @@
+import { useEffect, useRef, useState } from 'react'
+import Link from 'next/link'
+import { SITE_URL, TWEET_TEXT, TWEET_TEXT_GOLDEN } from '~/lib/constants'
+import { Button, IconLinkedinSolid, IconTwitterX, cn } from 'ui'
+import useConfData from '~/components/LaunchWeek/hooks/use-conf-data'
+import { useParams } from '~/hooks/useParams'
+import { useBreakpoint } from 'common'
+
+export default function TicketActions() {
+ const { userData, supabase } = useConfData()
+ const { golden, username } = userData
+ const [_imgReady, setImgReady] = useState(false)
+ const [_loading, setLoading] = useState(false)
+ const isTablet = useBreakpoint(1280)
+ const downloadLink = useRef<HTMLAnchorElement>()
+ const link = `${SITE_URL}/tickets/${username}?lw=x${golden ? `&platinum=true` : ''}`
+ const permalink = encodeURIComponent(link)
+ const text = golden ? TWEET_TEXT_GOLDEN : TWEET_TEXT
+ const encodedText = encodeURIComponent(text)
+ const tweetUrl = `https://twitter.com/intent/tweet?url=${permalink}&text=${encodedText}`
+ const linkedInUrl = `https://www.linkedin.com/sharing/share-offsite/?url=${permalink}`
+ const downloadUrl = `https://obuldanrptloktxcffvn.supabase.co/functions/v1/lwx-og?username=${encodeURIComponent(
+ username ?? ''
+ )}`
+ const params = useParams()
+ const sharePage = !!params.username
+ const LW_TABLE = 'lwx_tickets'
+
+ useEffect(() => {
+ setImgReady(false)
+
+ const img = new Image()
+
+ img.src = downloadUrl
+ img.onload = () => {
+ setImgReady(true)
+ setLoading(false)
+ if (downloadLink.current) {
+ downloadLink.current.click()
+ downloadLink.current = undefined
+ }
+ }
+ }, [downloadUrl])
+
+ const handleShare = async (social: 'twitter' | 'linkedin') => {
+ if (!supabase) return
+
+ setTimeout(async () => {
+ if (social === 'twitter') {
+ await supabase.from(LW_TABLE).update({ sharedOnTwitter: 'now' }).eq('username', username)
+ // window.open(tweetUrl, '_blank')
+ } else if (social === 'linkedin') {
+ await supabase.from(LW_TABLE).update({ sharedOnLinkedIn: 'now' }).eq('username', username)
+ // window.open(linkedInUrl, '_blank')
+ }
+ })
+ }
+
+ return (
+ <div
+ className={cn(
+ 'w-full gap-3 flex flex-col md:flex-row items-center',
+ sharePage ? 'justify-center' : 'justify-between'
+ )}
+ >
+ <div className="flex w-full gap-2">
+ <Button
+ onClick={() => handleShare('twitter')}
+ type={userData.sharedOnTwitter ? 'secondary' : 'default'}
+ icon={<IconTwitterX className="text-light w-3" />}
+ size={isTablet ? 'tiny' : 'tiny'}
+ block
+ asChild
+ >
+ <Link href={tweetUrl} target="_blank">
+ Share on X
+ </Link>
+ </Button>
+ <Button
+ onClick={() => handleShare('linkedin')}
+ type={userData.sharedOnLinkedIn ? 'secondary' : 'default'}
+ icon={<IconLinkedinSolid className="text-light w-3" />}
+ size={isTablet ? 'tiny' : 'tiny'}
+ block
+ asChild
+ >
+ <Link href={linkedInUrl} target="_blank">
+ Share on Linkedin
+ </Link>
+ </Button>
+ </div>
+ </div>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/Ticket/TicketContainer.tsx b/apps/www/components/LaunchWeek/X/Ticket/TicketContainer.tsx
new file mode 100644
index 00000000000..c7491598dc7
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Ticket/TicketContainer.tsx
@@ -0,0 +1,21 @@
+import useConfData from '~/components/LaunchWeek/hooks/use-conf-data'
+import { useParams } from 'common'
+import Ticket from './Ticket'
+import TicketActions from './TicketActions'
+import TicketCustomizationForm from './TicketCustomizationForm'
+import TicketCopy from './TicketCopy'
+
+export default function TicketContainer() {
+ const params = useParams()
+ const sharePage = !!params.username
+
+ return (
+ <div className="flex flex-col w-full items-center mx-auto max-w-2xl gap-3 group group-hover">
+ {!sharePage && <TicketCustomizationForm className="order-last md:order-first" />}
+ <Ticket />
+ <div className="flex flex-col md:flex-row gap-2 items-center justify-center mx-auto max-w-full">
+ <TicketCopy sharePage={sharePage} />
+ </div>
+ </div>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/Ticket/TicketCopy.tsx b/apps/www/components/LaunchWeek/X/Ticket/TicketCopy.tsx
new file mode 100644
index 00000000000..5d651e43ec4
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Ticket/TicketCopy.tsx
@@ -0,0 +1,49 @@
+import { useEffect, useState, useRef } from 'react'
+import { SITE_URL } from '~/lib/constants'
+import useConfData from '../../hooks/use-conf-data'
+import { IconCheck, IconCopy, cn } from 'ui'
+
+export default function TicketCopy({ sharePage }: { sharePage: boolean }) {
+ const { userData } = useConfData()
+ const { username, golden } = userData
+ const [copyEnabled, setCopyEnabled] = useState(false)
+ const [copied, setCopied] = useState(false)
+ const buttonRef = useRef<HTMLButtonElement>(null)
+ const url = `${SITE_URL}/tickets/${username}?lw=x${golden ? `&platinum=true` : ''}`
+
+ useEffect(() => {
+ if (navigator.clipboard) {
+ setCopyEnabled(true)
+ }
+ }, [])
+
+ return (
+ <div
+ className={cn('h-full w-full overflow-hidden max-w-full', sharePage ? 'w-auto' : 'w-full')}
+ >
+ <button
+ type="button"
+ name="Copy"
+ ref={buttonRef}
+ onClick={() => {
+ navigator.clipboard.writeText(url).then(() => {
+ setCopied(true)
+ setTimeout(() => {
+ setCopied(false)
+ }, 2000)
+ })
+ }}
+ className="w-full h-full flex justify-center md:justify-start items-center gap-2 relative text-foreground-light hover:text-foreground text-xs"
+ >
+ <div className="w-4 min-w-4 flex-shrink-0">
+ {copied ? (
+ <IconCheck size={14} strokeWidth={1.5} />
+ ) : (
+ <IconCopy size={14} strokeWidth={1.5} />
+ )}
+ </div>
+ <span className="truncate">{url}</span>
+ </button>
+ </div>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/Ticket/TicketCustomizationForm.tsx b/apps/www/components/LaunchWeek/X/Ticket/TicketCustomizationForm.tsx
new file mode 100644
index 00000000000..dbce1d4c185
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Ticket/TicketCustomizationForm.tsx
@@ -0,0 +1,132 @@
+import React, { useState } from 'react'
+import { Button, IconCheck, Input, cn } from 'ui'
+import useConfData from '~/components/LaunchWeek/hooks/use-conf-data'
+import { useBreakpoint, useDebounce } from 'common'
+import { useKey } from 'react-use'
+
+const TicketCustomizationForm = ({ className }: { className?: string }) => {
+ const isMobile = useBreakpoint()
+ const {
+ supabase,
+ userData: user,
+ showCustomizationForm,
+ setShowCustomizationForm,
+ } = useConfData()
+ const defaultFormValues = {
+ role: user.metadata?.role,
+ company: user.metadata?.company,
+ }
+ const [formData, setFormData] = useState(defaultFormValues)
+ const [formState, setFormState] = useState<'idle' | 'saved' | 'saving' | 'error'>('idle')
+ const IS_SAVING = formState === 'saving'
+ const IS_SAVED = formState === 'saved'
+ const HAS_ERROR = formState === 'error'
+
+ useKey('Escape', () => setShowCustomizationForm && setShowCustomizationForm(false))
+
+ const handleInputChange = (name: string, value: string) => {
+ setFormData((prev) => ({ ...prev, [name]: value }))
+ }
+
+ const handleFormSubmit = async () => {
+ setFormState('saving')
+ const payload = { metadata: formData }
+
+ if (supabase) {
+ await supabase
+ .from('lwx_tickets')
+ .update(payload)
+ .eq('username', user.username)
+ .then((res) => {
+ if (res.error) return setFormState('error')
+ setFormState('saved')
+ setTimeout(() => {
+ setFormState('idle')
+ }, 1200)
+ })
+ }
+ }
+
+ const debouncedChangeHandler = useDebounce(handleFormSubmit, 1200)
+
+ return (
+ <form
+ className={cn(
+ 'w-full grid grid-cols-1 md:grid-cols-3 gap-2 max-w-[300px] md:max-w-none mx-auto -mt-10 transition-all opacity-0 translate-y-3',
+ (isMobile || showCustomizationForm) && 'opacity-100 translate-y-0',
+ isMobile && 'mt-2',
+ className
+ )}
+ onChange={() => debouncedChangeHandler()}
+ onSubmit={(e) => e.preventDefault()}
+ >
+ <Input
+ className="[&_input]:border-background"
+ size="small"
+ type="text"
+ placeholder="role (optional)"
+ value={formData.role}
+ onChange={(event) => {
+ handleInputChange('role', event.target.value)
+ }}
+ disabled={IS_SAVING}
+ maxLength={25}
+ icon={
+ <IconCheck
+ strokeWidth={2}
+ className={cn(
+ 'w-3',
+ IS_SAVING && 'text-background-surface-300',
+ !!formData.role ? 'text-brand' : 'text-background-surface-300'
+ )}
+ />
+ }
+ />
+ <Input
+ className="[&_input]:border-background"
+ size="small"
+ type="text"
+ placeholder="company (optional)"
+ value={formData.company}
+ maxLength={25}
+ onChange={(event) => {
+ handleInputChange('company', event.target.value)
+ }}
+ disabled={IS_SAVING}
+ icon={
+ <IconCheck
+ strokeWidth={2}
+ className={cn(
+ 'w-3',
+ IS_SAVING && 'text-background-surface-300',
+ !!formData.company ? 'text-brand' : 'text-background-surface-300'
+ )}
+ />
+ }
+ />
+ <div className="flex items-center justify-center md:justify-end gap-2">
+ {IS_SAVED && (
+ <span className="hidden md:inline opacity-0 animate-fade-in text-xs text-foreground-light">
+ Saved
+ </span>
+ )}
+ {HAS_ERROR && (
+ <span className="hidden md:inline opacity-0 animate-fade-in text-xs text-foreground">
+ Something went wrong
+ </span>
+ )}
+ <Button
+ type="outline"
+ size="tiny"
+ htmlType="submit"
+ block={isMobile}
+ onClick={() => setShowCustomizationForm && setShowCustomizationForm(false)}
+ >
+ Done
+ </Button>
+ </div>
+ </form>
+ )
+}
+
+export default TicketCustomizationForm
diff --git a/apps/www/components/LaunchWeek/X/Ticket/TicketDisclaimer.tsx b/apps/www/components/LaunchWeek/X/Ticket/TicketDisclaimer.tsx
new file mode 100644
index 00000000000..e23e77804e2
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Ticket/TicketDisclaimer.tsx
@@ -0,0 +1,7 @@
+const TicketDisclaimer = ({ className, children }: { className?: string; children?: any }) => (
+ <p className={['text-sm text-center text-[#9296AA90]', className].join(' ')}>
+ {children || 'By registering you accept to receive email updates on Supabase Launch Week.'}
+ </p>
+)
+
+export default TicketDisclaimer
diff --git a/apps/www/components/LaunchWeek/X/Ticket/TicketFooter.tsx b/apps/www/components/LaunchWeek/X/Ticket/TicketFooter.tsx
new file mode 100644
index 00000000000..1b94d6239a9
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Ticket/TicketFooter.tsx
@@ -0,0 +1,36 @@
+import React from 'react'
+import { LWX_DATE } from '~/lib/constants'
+import TicketNumber from './TicketNumber'
+import useConfData from '~/components/LaunchWeek/hooks/use-conf-data'
+import Image from 'next/image'
+import { cn } from 'ui'
+
+export default function TicketFooter() {
+ const { userData: user } = useConfData()
+ const { ticketNumber, golden } = user
+ const SupabaseLogo = golden
+ ? '/images/launchweek/lwx/logos/supabase_lwx_logo_light.png'
+ : '/images/launchweek/lwx/logos/supabase_lwx_logo_dark.png'
+
+ return (
+ <div
+ className={cn(
+ 'relative z-10 w-full flex flex-col gap-2 font-mono text-foreground leading-none uppercase tracking-[3px]',
+ golden ? 'text-[#11181C]' : 'text-white'
+ )}
+ >
+ <Image
+ src={SupabaseLogo}
+ alt="Supabase Logo for Launch Week X"
+ width="30"
+ height="30"
+ className="mb-1"
+ priority
+ quality={100}
+ />
+ <TicketNumber number={ticketNumber} />
+ <span>Launch Week X</span>
+ <span>{LWX_DATE}</span>
+ </div>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/Ticket/TicketForm.tsx b/apps/www/components/LaunchWeek/X/Ticket/TicketForm.tsx
new file mode 100644
index 00000000000..f2b57a047c7
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Ticket/TicketForm.tsx
@@ -0,0 +1,138 @@
+import { useState, useEffect } from 'react'
+import { SupabaseClient } from '@supabase/supabase-js'
+import { useRouter } from 'next/router'
+import { SITE_ORIGIN } from '~/lib/constants'
+import { Button, IconCheckCircle } from 'ui'
+
+import useConfData from '~/components/LaunchWeek/hooks/use-conf-data'
+import TicketPresence from './TicketPresence'
+
+type FormState = 'default' | 'loading' | 'error'
+
+export default function TicketForm() {
+ const [formState, setFormState] = useState<FormState>('default')
+ const [realtimeChannel, setRealtimeChannel] = useState<ReturnType<
+ SupabaseClient['channel']
+ > | null>(null)
+ const [errorMsg] = useState('')
+ const { supabase, session, setUserData, ticketState, setTicketState, userData } = useConfData()
+ const router = useRouter()
+
+ // Triggered on session
+ async function fetchUser() {
+ if (supabase && session?.user && !userData.id) {
+ const username = session.user.user_metadata.user_name
+ const name = session.user.user_metadata.full_name
+ const email = session.user.email
+ await supabase
+ .from('lwx_tickets')
+ .insert({ email, name, username, referred_by: router.query?.referral ?? null })
+ .eq('email', email)
+ .select()
+ .single()
+ .then(async ({ error }: any) => {
+ // If error because of duplicate email, ignore and proceed, otherwise sign out.
+ if (error && error?.code !== '23505') {
+ setFormState('error')
+ return supabase.auth.signOut()
+ }
+ const { data } = await supabase
+ .from('lwx_tickets_golden')
+ .select('*')
+ .eq('username', username)
+ .single()
+ if (data) {
+ setUserData(data)
+ }
+
+ setFormState('default')
+
+ // Prefetch GitHub avatar
+ new Image().src = `https://github.com/${username}.png`
+
+ // Prefetch the twitter share URL to eagerly generate the page
+ fetch(`/launch-week/tickets/${username}`).catch((_) => {})
+
+ if (!realtimeChannel) {
+ const channel = supabase
+ .channel('changes')
+ .on(
+ 'postgres_changes',
+ {
+ event: 'UPDATE',
+ schema: 'public',
+ table: 'lwx_tickets',
+ filter: `username=eq.${username}`,
+ },
+ (payload: any) => {
+ const golden = !!payload.new.sharedOnTwitter && !!payload.new.sharedOnLinkedIn
+ setUserData({
+ ...payload.new,
+ golden,
+ })
+ }
+ )
+ .subscribe()
+ setRealtimeChannel(channel)
+ }
+ })
+ }
+ }
+
+ useEffect(() => {
+ fetchUser()
+
+ return () => {
+ // Cleanup realtime subscription on unmount
+ realtimeChannel?.unsubscribe()
+ }
+ }, [session])
+
+ async function handleGithubSignIn() {
+ if (formState !== 'default') {
+ setFormState('default')
+ return
+ }
+
+ setFormState('loading')
+ setTicketState('loading')
+
+ const redirectTo = `${SITE_ORIGIN}/launch-week/${
+ userData.username ? '?referral=' + userData.username : ''
+ }`
+
+ supabase?.auth.signInWithOAuth({
+ provider: 'github',
+ options: {
+ redirectTo,
+ },
+ })
+ }
+
+ return formState === 'error' ? (
+ <div className="h-full">
+ <div>{errorMsg}</div>
+ <Button
+ type="secondary"
+ onClick={() => {
+ setFormState('default')
+ setTicketState('registration')
+ }}
+ >
+ Try Again
+ </Button>
+ </div>
+ ) : (
+ <div className="flex flex-col h-full gap-10 items-center justify-center relative z-20">
+ <Button
+ type="secondary"
+ disabled={formState === 'loading' || Boolean(session)}
+ onClick={handleGithubSignIn}
+ iconLeft={session && <IconCheckCircle />}
+ loading={formState === 'loading'}
+ >
+ Claim your ticket
+ </Button>
+ </div>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/Ticket/TicketHeader.tsx b/apps/www/components/LaunchWeek/X/Ticket/TicketHeader.tsx
new file mode 100644
index 00000000000..1cbf1f371f4
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Ticket/TicketHeader.tsx
@@ -0,0 +1,13 @@
+import React from 'react'
+
+interface Props {
+ golden?: boolean
+}
+
+export default function TicketHeader({ golden = false }: Props) {
+ return (
+ <div className="relative z-10 w-full inline-flex mt-4 md:mt-6 h-10 font-mono uppercase">
+ Launch Week X
+ </div>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/Ticket/TicketNumber.tsx b/apps/www/components/LaunchWeek/X/Ticket/TicketNumber.tsx
new file mode 100644
index 00000000000..f3bac81f784
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Ticket/TicketNumber.tsx
@@ -0,0 +1,21 @@
+import { cn } from 'ui'
+
+type Props = {
+ number: number | undefined
+ golden?: boolean
+}
+
+export default function TicketNumber({ number, golden = false }: Props) {
+ const numDigits = `${number}`.length
+ const prefix = `00000000`.slice(numDigits)
+ const ticketNumberText = `NO ${prefix}${number}`
+
+ return (
+ // [text-shadow:_0_0_2px_rgb(255_255_255_/_50%)]
+ <span
+ className={cn('w-[max-content] leading-[1]', golden ? 'text-[#7E868C]' : 'text-[#575E61]')}
+ >
+ {ticketNumberText}
+ </span>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/Ticket/TicketPresence.tsx b/apps/www/components/LaunchWeek/X/Ticket/TicketPresence.tsx
new file mode 100644
index 00000000000..01c5080b175
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Ticket/TicketPresence.tsx
@@ -0,0 +1,80 @@
+import React, { useEffect, useState } from 'react'
+import { SupabaseClient } from '@supabase/supabase-js'
+import useConfData from '~/components/LaunchWeek/hooks/use-conf-data'
+import solutions from '~/data/Solutions'
+import { cn } from 'ui'
+
+const TicketPresence = () => {
+ const { supabase, ticketState } = useConfData()
+ const hasTicket = ticketState === 'ticket'
+ const [realtimeChannel, setRealtimeChannel] = useState<ReturnType<
+ SupabaseClient['channel']
+ > | null>(null)
+ const [onlineUsers, setOnlineUsers] = useState<any[]>([])
+ const isSingular = onlineUsers.length === 1
+ const lowTraffic = onlineUsers.length < 5
+
+ useEffect(() => {
+ // Listen to realtime presence
+ if (!realtimeChannel && supabase) {
+ const lwxRoom = supabase?.channel('lwx_online', {
+ config: { broadcast: { self: true, ack: true } },
+ })
+
+ setRealtimeChannel(lwxRoom)
+ const userStatus = {}
+
+ lwxRoom
+ ?.on('presence', { event: 'sync' }, () => {
+ const newState = lwxRoom.presenceState()
+ const users = [...Object.entries(newState).map(([_, value]) => value[0])]
+ const uniqueUsrs = users.filter(onlyUnique)
+ setOnlineUsers(uniqueUsrs)
+ })
+ .subscribe(async (status) => {
+ if (status !== 'SUBSCRIBED') {
+ return null
+ }
+ await lwxRoom.track(userStatus)
+ })
+ }
+
+ return () => {
+ realtimeChannel?.unsubscribe()
+ }
+ }, [])
+
+ return (
+ <div
+ className={cn(
+ 'text-foreground-muted text-xs flex items-center transition-opacity',
+ hasTicket && 'text-sm opacity-80'
+ // lowTraffic && 'opacity-0'
+ )}
+ >
+ <svg
+ className="h-5 w-5 stroke-foreground-lighter animate-pulse mr-2"
+ xmlns="http://www.w3.org/2000/svg"
+ fill="none"
+ viewBox="0 0 24 24"
+ aria-hidden="true"
+ >
+ <path
+ stroke="text-foreground"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ strokeWidth="1.5"
+ d={solutions.realtime.icon}
+ />
+ </svg>
+ {onlineUsers.length} {isSingular ? 'person is' : 'people are'}{' '}
+ {hasTicket ? 'customizing' : 'generating'} their ticket
+ </div>
+ )
+}
+
+function onlyUnique(value: any, index: number, array: any[]) {
+ return array.indexOf(value) === index
+}
+
+export default TicketPresence
diff --git a/apps/www/components/LaunchWeek/X/Ticket/TicketProfile.tsx b/apps/www/components/LaunchWeek/X/Ticket/TicketProfile.tsx
new file mode 100644
index 00000000000..fa00383cd79
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Ticket/TicketProfile.tsx
@@ -0,0 +1,41 @@
+import { cn } from 'ui'
+import useConfData from '~/components/LaunchWeek/hooks/use-conf-data'
+
+export default function TicketProfile() {
+ const { userData: user } = useConfData()
+ const { username, name, metadata, golden } = user
+
+ const HAS_ROLE = !!metadata?.role
+ const HAS_COMPANY = !!metadata?.company
+ const HAS_NO_META = !HAS_ROLE && !HAS_COMPANY
+
+ return (
+ <div className="relative z-10 flex gap-4">
+ <div
+ className={cn(
+ 'text-foreground-light flex flex-col gap-1 text-left text-xl md:max-w-[300px]',
+ golden ? 'text-[#7E868C]' : 'text-[#8B9092]'
+ )}
+ >
+ <p
+ className={cn(
+ 'text-2xl text-foreground leading-[105%]',
+ golden ? 'text-[#11181C]' : 'text-white'
+ )}
+ >
+ {name || username || 'Your Name'}
+ </p>
+ {HAS_NO_META && username && <p className="text-foreground-lighter">@{username}</p>}
+ <div>
+ {HAS_ROLE && <span>{metadata?.role}</span>}
+ {HAS_COMPANY && (
+ <span>
+ {HAS_ROLE && <span> at </span>}
+ {metadata?.company}
+ </span>
+ )}
+ </div>
+ </div>
+ </div>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/Ticket/TicketingFlow.tsx b/apps/www/components/LaunchWeek/X/Ticket/TicketingFlow.tsx
new file mode 100644
index 00000000000..1ba52de3741
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Ticket/TicketingFlow.tsx
@@ -0,0 +1,183 @@
+import React from 'react'
+import Image from 'next/image'
+import Link from 'next/link'
+import { AnimatePresence, m, LazyMotion, domAnimation } from 'framer-motion'
+import { cn } from 'ui'
+import { DEFAULT_TRANSITION, INITIAL_BOTTOM, getAnimation } from '~/lib/animations'
+import { LWX_DATE, LWX_LAUNCH_DATE } from '~/lib/constants'
+import useWinningChances from '../../hooks/useWinningChances'
+
+import useConfData from '~/components/LaunchWeek/hooks/use-conf-data'
+import SectionContainer from '~/components/Layouts/SectionContainer'
+import TicketContainer from '~/components/LaunchWeek/X/Ticket/TicketContainer'
+import LWXBackground from '../LWXBackground'
+import TicketForm from './TicketForm'
+import CountdownComponent from '../Countdown'
+import LaunchWeekPrizeSection from '../LaunchWeekPrizeSection'
+import TicketPresence from './TicketPresence'
+import TicketActions from './TicketActions'
+
+const TicketingFlow = () => {
+ const { ticketState, userData } = useConfData()
+
+ const isLoading = ticketState === 'loading'
+ const isRegistering = ticketState === 'registration'
+ const hasTicket = ticketState === 'ticket'
+ const hasPlatinumTicket = userData.golden
+
+ const transition = DEFAULT_TRANSITION
+ const initial = INITIAL_BOTTOM
+ const animate = getAnimation({ duration: 1 })
+ const exit = { opacity: 0, transition: { ...transition, duration: 0.2 } }
+
+ const winningChances = useWinningChances()
+
+ return (
+ <>
+ <SectionContainer className="relative flex flex-col !pt-8 lg:!pt-20 items-center gap-5 text-center h-auto lg:min-h-[886px]">
+ <h1 className="sr-only">Supabase Launch Week X | {LWX_DATE}</h1>
+ {!hasTicket && (
+ <div className="flex flex-col items-center gap-1 text-light font-mono uppercase ">
+ <p className="flex items-center gap-3 leading-none">
+ <span className="text-lg text-foreground tracking-[2px]">Launch Week</span>{' '}
+ <Image
+ src="/images/launchweek/lwx/logos/lwx_logo.svg"
+ alt="Supabase Launch Week X icon"
+ width={16}
+ height={16}
+ />
+ </p>
+ <CountdownComponent date={LWX_LAUNCH_DATE} showCard={false} />
+ </div>
+ )}
+ <div className="relative min-h-[500px] md:min-h-[634px] z-10 w-full flex flex-col justify-center items-center gap-5 md:gap-10 text-center">
+ <LazyMotion features={domAnimation}>
+ <AnimatePresence exitBeforeEnter key={ticketState}>
+ {isLoading && (
+ <m.div
+ key="loading"
+ initial={exit}
+ animate={animate}
+ exit={exit}
+ className="relative w-full -mt-5 md:mt-3 lg:mt-10 xl:mt-8 2xl:mt-6 pb-64 flex flex-col items-center gap-6 text-foreground"
+ >
+ <div className="hidden">
+ <TicketForm />
+ </div>
+ <svg
+ className="animate-spinner opacity-50 w-5 h-5 md:w-6 md:h-6"
+ width="100%"
+ height="100%"
+ viewBox="0 0 62 61"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M61 31C61 14.4315 47.5685 1 31 1C14.4315 1 1 14.4315 1 31"
+ stroke="white"
+ strokeWidth="2"
+ />
+ </svg>
+ </m.div>
+ )}
+ {isRegistering && (
+ <m.div
+ key="registration"
+ initial={initial}
+ animate={animate}
+ exit={exit}
+ className="relative w-full flex flex-col items-center gap-6 text-foreground"
+ >
+ <div className="w-full min-h-[200px] md:min-h-[400px] flex items-center" />
+ <div className="flex flex-col items-center justify-center font-mono uppercase gap-0 leading-0">
+ <span>{LWX_DATE}</span>
+ </div>
+ <p className="text-foreground-lighter">
+ Join us for a week of announcing new features,
+ <br className="hidden md:block" /> and find new ways to level up your
+ development.
+ </p>
+ <TicketForm />
+ <TicketPresence />
+ </m.div>
+ )}
+ {hasTicket && (
+ <m.div
+ key="ticket"
+ initial={initial}
+ animate={animate}
+ exit={exit}
+ className="w-full flex flex-col xl:flex-row items-center xl:justify-center xl:items-start gap-8 md:gap-10 xl:gap-20 text-foreground"
+ >
+ <div className="w-full ld:w-auto min-h-[400px] mt-3 md:mt-12 xl:mt-0 max-w-2xl flex flex-col items-center">
+ <TicketContainer />
+ </div>
+ <div className="order-first xl:h-full max-w-md gap-3 flex flex-col items-center justify-center xl:items-start xl:justify-start xl:text-left">
+ {hasPlatinumTicket ? (
+ <p className="text-2xl lg:text-3xl">
+ <span className="text-foreground-lighter">Congrats!</span> You've maximized
+ your chances and have a platinum ticket now.
+ </p>
+ ) : winningChances !== 2 ? (
+ <p className="text-2xl lg:text-3xl">
+ <span className="text-foreground-lighter">You're in!</span>{' '}
+ <span className="">Now share your ticket to win limited swag.</span>
+ </p>
+ ) : (
+ <p className="text-2xl lg:text-3xl">
+ <span className="text-foreground-lighter">Just one more.</span>{' '}
+ <span className="">Keep sharing to increase your chances.</span>
+ </p>
+ )}
+ {!hasPlatinumTicket && <TicketPresence />}
+ <div className="w-full h-auto text-center md:text-left border border-muted flex flex-col md:flex-row items-stretch rounded-lg bg-[#060809] mt-2 md:mt-8 overflow-hidden">
+ <div className="flex flex-col md:w-2/3 gap-1 pb-6">
+ {hasPlatinumTicket ? (
+ <p className="p-6 pb-3">
+ Stay tuned after Launch Week X to know if you won.
+ </p>
+ ) : (
+ <p className="p-6 pb-3">
+ Win a keyboard and other{' '}
+ <Link href="#prizes" className="underline">
+ awards
+ </Link>
+ .
+ </p>
+ )}
+ <div className="w-full px-6">
+ <TicketActions />
+ </div>
+ </div>
+ <div className="hidden md:block relative h-auto w-full pl-6 pt-6">
+ <Image
+ src="/images/launchweek/lwx/swag/lwx_keyboard_preview.png"
+ alt="Supabase Launch Week X keyboard prize"
+ width={300}
+ height={300}
+ className="object-cover object-left-top w-full h-full"
+ />
+ </div>
+ </div>
+ </div>
+ </m.div>
+ )}
+ </AnimatePresence>
+ </LazyMotion>
+ </div>
+
+ <LWXBackground
+ className={cn(
+ 'absolute z-0 top-0 left-0 right-0 bottom-0 w-full flex items-center justify-center opacity-100 transition-opacity',
+ hasTicket && 'opacity-20'
+ )}
+ />
+ </SectionContainer>
+ <SectionContainer className="!pt-4 lg:pb-40">
+ <LaunchWeekPrizeSection />
+ </SectionContainer>
+ </>
+ )
+}
+
+export default TicketingFlow
diff --git a/apps/www/components/LaunchWeek/X/Ticket/ticket-copy.module.css b/apps/www/components/LaunchWeek/X/Ticket/ticket-copy.module.css
new file mode 100644
index 00000000000..65007c67559
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Ticket/ticket-copy.module.css
@@ -0,0 +1,190 @@
+.wrapper {
+ color: var(--lw-secondary-color);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ animation-delay: 2.6s;
+ flex-direction: column;
+}
+
+:global(.ticket-generated) .wrapper {
+ animation-delay: 1.2s;
+}
+
+.label {
+ width: 100%;
+ margin-bottom: var(--space-2x);
+}
+
+.label-wrapper {
+ display: flex;
+ align-items: center;
+ max-width: 400px;
+ width: 100%;
+ justify-content: space-between;
+}
+
+@media (min-width: 768px) {
+ .wrapper {
+ flex-direction: row;
+ }
+
+ .label {
+ width: auto;
+ margin-right: 10px;
+ margin-bottom: 0px;
+ }
+
+ .label-wrapper {
+ width: auto;
+ }
+}
+
+.field {
+ position: relative;
+ border-radius: var(--space-2x);
+ overflow: hidden;
+ background: var(--gray);
+}
+
+@media (min-width: 768px) {
+ .field {
+ padding-right: 50px;
+ }
+ .field.desktop-copy-disabled {
+ padding-right: 0px;
+ }
+}
+
+.mobile-copy {
+ margin-bottom: 10px;
+ display: flex;
+}
+
+.mobile-copy-disabled.mobile-copy-disabled {
+ display: none;
+}
+
+.mobile-copy * {
+ color: var(--lw-secondary-color);
+ transition: color 0.2s ease;
+}
+
+.mobile-copy:hover * {
+ color: #fff;
+ transition: color 0.2s ease;
+}
+
+.field * {
+ color: var(--lw-secondary-color);
+ transition: color 0.2s ease;
+}
+
+.field:hover * {
+ color: #fff;
+ transition: color 0.2s ease;
+}
+
+.url {
+ width: calc(100vw - 36px);
+ user-select: all;
+ overflow-x: scroll;
+ white-space: nowrap;
+ display: block;
+
+ padding: var(--space-2x) 14px;
+ -ms-overflow-style: none; /* IE and Edge */
+ scrollbar-width: none; /* Firefox */
+}
+
+@media (min-width: 436px) {
+ .url {
+ width: 400px;
+ }
+}
+
+@media (min-width: 768px) {
+ .url {
+ width: 400px;
+ }
+ .mobile-copy {
+ margin-bottom: 0;
+ display: none;
+ }
+}
+
+.url::-webkit-scrollbar {
+ display: none;
+}
+
+/* .fade {
+ position: absolute;
+ background: linear-gradient(90deg, rgba(37, 39, 41, 0%) 0%, #252729 100%);
+ top: 0;
+ bottom: 0;
+ right: 0px;
+ width: 50px;
+ z-index: 1;
+ display: block;
+ border-radius: var(--space-2x);
+ pointer-events: none;
+} */
+
+.desktop-copy.desktop-copy-disabled {
+ display: none;
+}
+
+@media (min-width: 768px) {
+ .fade {
+ right: 50px;
+ }
+ .fade.desktop-copy-disabled {
+ right: 0px;
+ }
+}
+
+.copied {
+ display: flex;
+ z-index: 2;
+ align-items: center;
+ justify-content: flex-end;
+ opacity: 0;
+ transition: opacity 0.2s ease !important;
+}
+
+.copied.visible {
+ opacity: 1;
+}
+
+.copy-button {
+ background: none;
+ outline: none;
+ border: none;
+ cursor: pointer;
+ z-index: 2;
+ border-radius: var(--space-2x);
+ width: 40px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-right: -10px;
+}
+
+@media (min-width: 768px) {
+ .copied {
+ position: absolute;
+ right: 50px;
+ top: 0px;
+ bottom: 0px;
+ background: linear-gradient(90deg, rgba(37, 39, 41, 0%) 0px, #252729 40px);
+ padding-left: 50px;
+ }
+ .copy-button {
+ position: absolute;
+ top: 0px;
+ right: 0px;
+ bottom: 0px;
+ margin-right: 0px;
+ width: 50px;
+ }
+}
diff --git a/apps/www/components/LaunchWeek/X/Ticket/ticket-visual.module.css b/apps/www/components/LaunchWeek/X/Ticket/ticket-visual.module.css
new file mode 100644
index 00000000000..f399e967aa1
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Ticket/ticket-visual.module.css
@@ -0,0 +1,70 @@
+.visual {
+ /* transform: translateZ(0); */
+ background: linear-gradient(
+ 30deg,
+ hsla(274, 100%, 77%, 0.05) 0%,
+ hsla(200, 43%, 1%, 0.2) 30%,
+ hsla(200, 43%, 1%, 0.2) 70%,
+ hsla(151, 50%, 53%, 0.1) 100%
+ ),
+ hsla(200, 43%, 1%, 0.8);
+ /* background: hsla(200, 43%, 1%, 0.2); */
+ box-shadow: 0px 1px 27px rgba(158, 68, 239, 0.06),
+ /* 0 0 0 1px rgba(121, 89, 134, 0.25), */ 0 10px 20px 0px rgba(20, 17, 21, 0.8),
+ inset 0 0.2px 1px 0.2px rgba(214, 210, 210, 0.4),
+ inset -0.4px -0.4px 1px -0.3px rgba(74, 252, 175, 0.4);
+ /* border: 1px solid rgba(0, 0, 0, 0.05); */
+ /* border-radius: 16px; */
+
+ -webkit-backdrop-filter: blur(2px);
+ backdrop-filter: blur(2px);
+
+ /* border: 1px solid #1c1c1c; */
+ /* animation: 2s ease-in-out infinite alternate; */
+
+ background-repeat: no-repeat;
+ background-size: contain;
+}
+
+.visual--gold {
+ background: radial-gradient(#fcdf9d50, #dbb33340);
+}
+
+.visual--gold::before {
+ content: ' ';
+ position: absolute;
+ inset: 0;
+ filter: drop-shadow(0 0 60px #fcdf9d);
+ background: radial-gradient(#fcdf9d50, #dbb33320);
+ /* border: 1px solid #dbb33320; */
+}
+
+@keyframes opacity-pulse {
+ from {
+ opacity: 0.5;
+ }
+
+ to {
+ opacity: 1;
+ }
+}
+
+@keyframes svg-shadow {
+ from {
+ filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 4px #d99f0c) drop-shadow(0 0 6px #d99f0c);
+ }
+
+ to {
+ filter: drop-shadow(0 0 10px #fff) drop-shadow(0 0 6px #d99f0c) drop-shadow(0 0 9px #d99f0c);
+ }
+}
+
+@keyframes blank-svg-shadow {
+ from {
+ filter: drop-shadow(0 0 2px #bada55) drop-shadow(0 0 2px #bada55) drop-shadow(0 0 2px #bada55);
+ }
+
+ to {
+ filter: drop-shadow(0 0 3px #bada55) drop-shadow(0 0 2px #bada55) drop-shadow(0 0 2px #bada55);
+ }
+}
diff --git a/apps/www/components/LaunchWeek/X/Ticket/ticket.module.css b/apps/www/components/LaunchWeek/X/Ticket/ticket.module.css
new file mode 100644
index 00000000000..66abf10d905
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/Ticket/ticket.module.css
@@ -0,0 +1,141 @@
+.ticket-hero {
+ background: linear-gradient(137.46deg, rgba(125, 196, 176, 0.04) 0%, rgba(255, 255, 255, 0) 100%),
+ linear-gradient(137.46deg, rgba(255, 255, 255, 0) 6.19%, rgba(255, 255, 255, 0) 103.29%);
+ z-index: 10;
+ box-shadow: 0 1px 1px rgba(131, 6, 184, 0.1), 0 1px 1px rgba(128, 6, 184, 0.1),
+ 0 20px 30px -30px rgba(76, 195, 138, 0.05), 0 80px 40px -40px rgba(128, 6, 184, 0.04),
+ inset 0.25px 0.3px 0px 0.3px rgba(209, 243, 227, 0.1),
+ inset 0.25px 0.3px 0px 0.3px rgba(76, 195, 138, 0.02),
+ inset 0 -3px 0 -2px rgba(255, 255, 255, 0.08), 0px 4px 20px rgba(118, 7, 170, 0.1);
+}
+
+.hero {
+ line-height: 1.15;
+ letter-spacing: -0.05em;
+ font-weight: 400;
+ margin: 0;
+ text-align: center;
+}
+
+@media (min-width: 768px) {
+ .hero {
+ line-height: 1;
+ }
+}
+
+.description {
+ font-size: 20px;
+ line-height: 1.4;
+ color: var(--lw-secondary-color);
+ text-align: center;
+ margin: 30px auto;
+ max-width: 350px;
+}
+
+@media (min-width: 768px) {
+ .description {
+ font-size: 24px;
+ max-width: 415px;
+ }
+}
+
+.ticket-text {
+ margin-bottom: 30px;
+}
+
+.ticket-layout {
+ display: grid;
+ grid-template-columns: 1fr;
+ gap: 45px;
+ margin: auto;
+ padding: var(--space-4x);
+ padding-top: 64px;
+ padding-bottom: 64px;
+}
+
+@media (min-width: 1200px) {
+ .ticket-layout {
+ padding-top: 0;
+ padding-bottom: 0;
+ }
+}
+
+.ticket-share-layout {
+ align-items: center;
+ margin-bottom: auto;
+}
+
+.ticket-visual:before {
+ left: 50%;
+ top: -7.5%;
+ transform: translateZ(0) translateX(-50%) rotate(90deg);
+}
+
+.ticket-visual:after {
+ left: 50%;
+ bottom: -7.5%;
+ transform: translateZ(0) translateX(-50%) rotate(90deg);
+}
+
+@media (min-width: 768px) {
+ .ticket-visual:before {
+ top: 50%;
+ left: -7%;
+ transform: translateZ(0) translateY(-50%);
+ }
+
+ .ticket-visual:after {
+ top: 50%;
+ left: 96%;
+ transform: translateZ(0) translateY(-50%);
+ }
+}
+
+.ticket-actions {
+ margin-top: 70px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-direction: column;
+}
+
+.ticket-copy {
+ margin-top: 30px;
+}
+
+.ticket-actions-placeholder {
+ height: 280px;
+}
+
+@media (min-width: 768px) {
+ .ticket-actions {
+ flex-direction: row;
+ }
+ .ticket-actions-placeholder {
+ height: 157px;
+ }
+}
+
+@media (min-width: 1200px) {
+ .ticket-layout {
+ grid-template-columns: 1fr 1fr;
+ }
+ .hero {
+ text-align: left;
+ }
+ .description {
+ text-align: left;
+ margin: 30px 0;
+ }
+}
+
+.gold-text {
+ color: #f4cf72;
+ text-shadow: 0 0 1px rgba(0, 0, 0, 0.5), 0 0 4px rgba(0, 0, 0, 0.1);
+}
+
+@media (min-width: 768px) {
+ .gold-text {
+ color: #e4b641;
+ }
+}
diff --git a/apps/www/components/LaunchWeek/X/TicketBrickWall.tsx b/apps/www/components/LaunchWeek/X/TicketBrickWall.tsx
new file mode 100644
index 00000000000..1df8ef8964d
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/TicketBrickWall.tsx
@@ -0,0 +1,50 @@
+import Link from 'next/link'
+import React, { useEffect, useRef, useState } from 'react'
+import { Button } from 'ui'
+import { useBreakpoint } from 'common/hooks/useBreakpoint'
+import { UserData } from '~/components/LaunchWeek/hooks/use-conf-data'
+import { TicketBrickWallSlider } from './TicketBrickWallSlider'
+
+type user = UserData
+
+interface Props {
+ users: user[]
+}
+
+export default function TicketBrickWall({ users }: Props) {
+ const isMobile = useBreakpoint(768)
+
+ return (
+ <div className="relative pb-16 pt-16 md:pt-28">
+ <div className="mx-auto">
+ <div className="max-w-[38rem] mb-8 mx-auto">
+ <h2 className="text-center radial-gradient-text-500">Tickets from the community</h2>
+ </div>
+ <div
+ className="grid py-4 relative
+ before:content-[' '] before:absolute before:inset-0 before:right-auto before:w-1/4 before:bg-gradient-to-r before:from-[#020405] before:to-[#02040500] before:z-10 before:pointer-events-none
+ after:content-[' '] after:absolute after:inset-0 after:left-auto after:w-1/4 after:bg-gradient-to-l after:from-[#020405] after:to-[#02040500] after:z-10 after:pointer-events-none
+ "
+ >
+ <TicketBrickWallSlider users={users.slice(0, isMobile ? 5 : 7)} />
+ <TicketBrickWallSlider
+ users={users.slice(isMobile ? 5 : 7, isMobile ? 11 : 14)}
+ reverse
+ />
+ {isMobile && <TicketBrickWallSlider users={users.slice(11, 17)} speed={6000} />}
+ </div>
+ <div className="flex justify-center w-full mx-auto mt-2 lg:mt-4">
+ <Button
+ asChild
+ type="outline"
+ size="medium"
+ onClick={() => window.scrollTo(0, 0)}
+ className="text-white"
+ >
+ <Link href="/launch-week/8/tickets">View all tickets</Link>
+ </Button>
+ </div>
+ </div>
+ </div>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/TicketBrickWallSlider.tsx b/apps/www/components/LaunchWeek/X/TicketBrickWallSlider.tsx
new file mode 100644
index 00000000000..589a06da539
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/TicketBrickWallSlider.tsx
@@ -0,0 +1,83 @@
+import Image from 'next/image'
+import Link from 'next/link'
+import { UserData } from '~/components/LaunchWeek/hooks/use-conf-data'
+
+import { Swiper, SwiperSlide } from 'swiper/react'
+
+import 'swiper/swiper.min.css'
+
+interface Props {
+ users: UserData[]
+ reverse?: boolean
+ speed?: number
+ animate?: boolean
+}
+
+export function TicketBrickWallSlider({ users, reverse, speed = 50000, animate }: Props) {
+ const STORAGE_URL = 'https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lw8'
+ const BUCKET_FOLDER_VERSION = 'v1'
+ const getOgUrl = (username: string, isGold: boolean) =>
+ `${STORAGE_URL}/tickets/${
+ isGold ? 'golden' : 'regular'
+ }/${BUCKET_FOLDER_VERSION}/${username}.png`
+
+ return (
+ <div className="relative h-auto w-full m-0 overflow-hidden mb-2.5">
+ <div
+ className={[
+ 'flex swiper-transition-linear ticket-brick-swiper',
+ reverse && '-translate-x-20 w-[calc(100vw+400px)]',
+ ].join(' ')}
+ >
+ <Swiper
+ centeredSlides={true}
+ spaceBetween={10}
+ slidesPerView={5}
+ loop={true}
+ watchOverflow
+ threshold={2}
+ updateOnWindowResize
+ breakpoints={{
+ 320: {
+ slidesPerView: reverse ? 4.5 : 2.5,
+ },
+ 720: {
+ slidesPerView: reverse ? 5.5 : 3.5,
+ },
+ 1440: {
+ slidesPerView: reverse ? 6.5 : 5,
+ },
+ }}
+ >
+ {users.map((user, i) => (
+ <SwiperSlide key={user.username}>
+ <Link
+ href={`/launch-week/8/tickets/${user.username}`}
+ key={user.username}
+ className="relative !w-[230px] md:w-[450px] !h-[200px] rounded-md md:rounded-lg transition-transform"
+ >
+ <div className="relative w-full pt-[50%] transform rounded-md md:rounded-lg overflow-hidden bg-gradient-to-b from-[#22282a] to-[#030A0C]">
+ <div className="absolute inset-[1px] w-[calc(100%-2px)] h-[calc(100%-2px)] rounded-md md:rounded-lg overflow-hidden p-[1px]">
+ <Image
+ src={
+ getOgUrl(user.username!, !!user.golden) ??
+ '/images/launchweek/8/lw8-ticket-empty.jpg'
+ }
+ alt={user.username ?? ''}
+ layout="fill"
+ objectFit="cover"
+ objectPosition="center"
+ placeholder="blur"
+ blurDataURL="/images/launchweek/8/lw8-ticket-empty.jpg"
+ className="absolute inset-[1px] rounded-md md:rounded-lg"
+ />
+ </div>
+ </div>
+ </Link>
+ </SwiperSlide>
+ ))}
+ </Swiper>
+ </div>
+ </div>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/TicketsGrid.tsx b/apps/www/components/LaunchWeek/X/TicketsGrid.tsx
new file mode 100644
index 00000000000..fb8388687fe
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/TicketsGrid.tsx
@@ -0,0 +1,101 @@
+import { motion } from 'framer-motion'
+import Image from 'next/image'
+import Link from 'next/link'
+import { useBreakpoint } from 'common/hooks/useBreakpoint'
+import { UserData } from '../hooks/use-conf-data'
+
+interface Props {
+ loadedUsers: UserData[]
+ isLoading: boolean
+ pageCount: number
+ offset: number
+}
+
+export default function TicketsGrid({ loadedUsers, isLoading, pageCount, offset }: Props) {
+ const STORAGE_URL = 'https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lwx'
+ const getTicketImageUrl = (username: string, isGold: boolean) =>
+ `${STORAGE_URL}/tickets/${isGold ? 'platinum' : 'regular'}/${username}.png`
+ const isMobile = useBreakpoint(1024)
+ const isTablet = useBreakpoint(1280)
+ const horizontalOffset = isMobile ? 8 : 20
+
+ return (
+ <div
+ className={['grid grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-3 py-12 relative'].join(' ')}
+ >
+ {loadedUsers?.map((user, i) => {
+ const rowTickets = isMobile ? 2 : isTablet ? 3 : 4
+ const divider = Math.floor(i / rowTickets)
+ const isOddRow = divider % 2 === 0
+ // Delay should be no more than pageCount for new loaded users
+ const recalculatedDelay = i >= pageCount * 2 ? (i - pageCount * (offset - 1)) / 15 : i / 15
+ const imgUrl =
+ getTicketImageUrl(user.username!, !!user.golden) ??
+ '/images/launchweek/lwx/tickets/placeholder.png'
+
+ console.log(imgUrl)
+
+ return (
+ <Link
+ href={`/launch-week/tickets/${user.username}`}
+ key={`${user.username}-000${i}`}
+ onClick={() => window.scrollTo(0, 0)}
+ legacyBehavior
+ passHref
+ >
+ <motion.a
+ className="relative w-full p-[1px] rounded-lg sm:rounded-xl overflow-hidden hover:cursor-pointer bg-gradient-to-b from-[#58585860] to-[#ffffff10]"
+ initial={{
+ opacity: 0,
+ y: 20,
+ x: isOddRow ? horizontalOffset : -horizontalOffset,
+ }}
+ animate={{
+ opacity: 1,
+ y: 0,
+ x: isOddRow ? horizontalOffset : -horizontalOffset,
+ transition: {
+ duration: 0.4,
+ ease: [0.24, 0.25, 0.05, 1],
+ delay: recalculatedDelay,
+ },
+ }}
+ >
+ <div className="relative inset-0 w-full pt-[50%] bg-[#2f2e2e] overflow-hidden rounded-lg sm:rounded-xl">
+ <Image
+ src={imgUrl}
+ alt={user.username ?? ''}
+ layout="fill"
+ objectFit="cover"
+ objectPosition="center"
+ placeholder="blur"
+ blurDataURL="/images/launchweek/lwx/tickets/placeholder.png"
+ />
+ </div>
+ </motion.a>
+ </Link>
+ )
+ })}
+ {isLoading &&
+ Array.from({ length: pageCount }, (_, i) => (
+ <motion.div
+ className="relative rounded-lg sm:rounded-xl overflow-hidden h-0 w-full pt-[50%]"
+ initial={{ opacity: 0, y: 20 }}
+ animate={{
+ opacity: 1,
+ y: 0,
+ transition: {
+ duration: 0.4,
+ ease: [0.24, 0.25, 0.05, 1],
+ delay: i / 15,
+ },
+ }}
+ >
+ <div className="absolute inset-0 rounded-lg sm:rounded-xl bg-gradient-to-b from-[#1c1c1c] to-[#121212] p-[1px] overflow-hidden">
+ <div className="absolute inset-[1px] rounded-lg sm:rounded-xl bg-gradient-to-b from-[#1c1c1c] to-[#121212]" />
+ </div>
+ </motion.div>
+ ))}
+ </div>
+ )
+}
diff --git a/apps/www/components/LaunchWeek/X/X.tsx b/apps/www/components/LaunchWeek/X/X.tsx
new file mode 100644
index 00000000000..e713c19964f
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/X.tsx
@@ -0,0 +1,28 @@
+import React from 'react'
+import { cn } from 'ui'
+
+interface Props {
+ className?: string
+}
+
+const X = ({ className }: Props) => {
+ return (
+ <svg
+ width="167"
+ height="166"
+ viewBox="0 0 167 166"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ className={cn(className)}
+ >
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M83.2578 41.5977L41.8555 0.195312V0.629051H0.886507V41.5977H0.453125L41.8555 83L0.453125 124.402V165.805H41.8555L83.2578 124.402L124.66 165.805H166.062V124.402L124.66 83L166.062 41.5977V0.195312H124.66L83.2578 41.5977ZM83.2578 41.5977L124.66 83V41.5977H83.2578ZM83.2578 124.402L41.8555 83L41.8555 124.402H83.2578Z"
+ fill="currentColor"
+ />
+ </svg>
+ )
+}
+
+export default X
diff --git a/apps/www/components/LaunchWeek/X/ticket-brick-wall-slider.module.css b/apps/www/components/LaunchWeek/X/ticket-brick-wall-slider.module.css
new file mode 100644
index 00000000000..164e683b3a2
--- /dev/null
+++ b/apps/www/components/LaunchWeek/X/ticket-brick-wall-slider.module.css
@@ -0,0 +1,3 @@
+.swiper-wrapper .swiper-slide {
+ width: 300px !important;
+}
diff --git a/apps/www/components/LaunchWeek/hooks/use-conf-data.ts b/apps/www/components/LaunchWeek/hooks/use-conf-data.ts
index e8ba6d233c8..af69a659ff5 100644
--- a/apps/www/components/LaunchWeek/hooks/use-conf-data.ts
+++ b/apps/www/components/LaunchWeek/hooks/use-conf-data.ts
@@ -1,7 +1,7 @@
import { Session, SupabaseClient } from '@supabase/supabase-js'
import { createContext, useContext } from 'react'
-export type PageState = 'registration' | 'ticket'
+export type TicketState = 'registration' | 'ticket' | 'loading'
export type UserData = {
id?: string
@@ -22,11 +22,14 @@ export type UserData = {
}
type ConfDataContextType = {
- supabase: SupabaseClient | any
+ supabase: SupabaseClient | null
session: Session | null
userData: UserData
setUserData: React.Dispatch<React.SetStateAction<UserData>>
- setPageState: React.Dispatch<React.SetStateAction<PageState>>
+ ticketState: TicketState
+ setTicketState: React.Dispatch<React.SetStateAction<TicketState>>
+ showCustomizationForm?: boolean
+ setShowCustomizationForm?: React.Dispatch<React.SetStateAction<boolean>>
}
export const ConfDataContext = createContext<ConfDataContextType | null>(null)
diff --git a/apps/www/components/Nav/HamburgerMenu.tsx b/apps/www/components/Nav/HamburgerMenu.tsx
index db34c64febd..7eb40b392a5 100644
--- a/apps/www/components/Nav/HamburgerMenu.tsx
+++ b/apps/www/components/Nav/HamburgerMenu.tsx
@@ -13,8 +13,7 @@ const HamburgerButton = (props: HamburgerButtonProps) => (
>
<button
className={cn(
- 'text-foreground-lighter focus:ring-brand bg-background hover:bg-surface-100 inline-flex items-center justify-center rounded-md p-2 focus:outline-none focus:ring-2 focus:ring-inset',
- props.showLaunchWeekNavMode && '!bg-transparent border border-[#be9eea]'
+ 'text-foreground-lighter focus:ring-brand bg-background hover:bg-surface-100 inline-flex items-center justify-center rounded-md p-2 focus:outline-none focus:ring-2 focus:ring-inset'
)}
aria-expanded="false"
>
@@ -25,7 +24,7 @@ const HamburgerButton = (props: HamburgerButtonProps) => (
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
- stroke={props.showLaunchWeekNavMode ? '#be9eea' : 'currentColor'}
+ stroke="currentColor"
aria-hidden="true"
>
<path
diff --git a/apps/www/components/Nav/index.tsx b/apps/www/components/Nav/index.tsx
index ca22f0b8216..9ad3ff3d2ed 100644
--- a/apps/www/components/Nav/index.tsx
+++ b/apps/www/components/Nav/index.tsx
@@ -5,7 +5,7 @@ import { useRouter } from 'next/router'
import { useTheme } from 'next-themes'
import { useWindowSize } from 'react-use'
-import { Button, cn } from 'ui'
+import { Announcement, Button, LWXCountdownBanner, cn } from 'ui'
import {
NavigationMenu,
NavigationMenuContent,
@@ -71,6 +71,9 @@ const Nav = () => {
return (
<>
+ <Announcement>
+ <LWXCountdownBanner />
+ </Announcement>
<div className="sticky top-0 z-40 transform" style={{ transform: 'translate3d(0,0,999px)' }}>
<div
className={cn(
diff --git a/apps/www/data/Footer.ts b/apps/www/data/Footer.ts
index 0cbbbf93d85..8ea8a83776c 100644
--- a/apps/www/data/Footer.ts
+++ b/apps/www/data/Footer.ts
@@ -33,7 +33,7 @@ const footerData = [
url: '/pricing',
},
{
- text: 'Launch Week 8',
+ text: 'Launch Week X',
url: '/launch-week',
},
],
diff --git a/apps/www/lib/constants.ts b/apps/www/lib/constants.ts
index bcaeffc5dd8..709b5f8148d 100644
--- a/apps/www/lib/constants.ts
+++ b/apps/www/lib/constants.ts
@@ -38,7 +38,9 @@ export const TWITTER_USER_NAME = 'supabase'
export const LW7_DATE = 'April 10th 2023'
export const LW8_DATE = 'August 7-11'
export const LW8_LAUNCH_DATE = '2023-08-07T09:00:00.000-07:00'
+export const LWX_DATE = 'Dec 11-15 / 8am PT'
+export const LWX_LAUNCH_DATE = '2023-12-11T08:00:00.000-08:00'
export const TWEET_TEXT =
- '#SupaLaunchWeek 8 is coming August 7-11! Join the party and generate your custom ticket for a chance to win swag ✨'
-export const TWEET_TEXT_GOLDEN = `I turned my #SupaLaunchWeek 8 ticket GOLD! 🌟😎🌟\n\n`
+ '#SupaLaunchWeek 𝗫 is coming December 11-15 🚀\n\nClaim your ticket for a chance to win @supabase swag: \n\n🔗'
+export const TWEET_TEXT_GOLDEN = `I turned my #SupaLaunchWeek X ticket Platinum! 🩶😎\n\nClaim your own ticket: \n\n🔗`
export const SITE_NAME = 'Supabase'
diff --git a/apps/www/pages/launch-week/8/index.tsx b/apps/www/pages/launch-week/8/index.tsx
new file mode 100644
index 00000000000..9c2577fe526
--- /dev/null
+++ b/apps/www/pages/launch-week/8/index.tsx
@@ -0,0 +1,214 @@
+import { useState, useEffect } from 'react'
+import { GetServerSideProps } from 'next'
+import dynamic from 'next/dynamic'
+import Head from 'next/head'
+import Image from 'next/image'
+import { useRouter } from 'next/router'
+import { NextSeo } from 'next-seo'
+import { createClient, Session, SupabaseClient } from '@supabase/supabase-js'
+import { SITE_ORIGIN, SITE_URL } from '~/lib/constants'
+
+import DefaultLayout from '~/components/Layouts/Default'
+import { TicketState, ConfDataContext, UserData } from '~/components/LaunchWeek/hooks/use-conf-data'
+import SectionContainer from '~/components/Layouts/SectionContainer'
+import { LaunchWeekLogoHeader } from '~/components/LaunchWeek/8/LaunchWeekLogoHeader'
+import { Meetup } from '~/components/LaunchWeek/8/LW8Meetups'
+import LW8CalloutsSection from '~/components/LaunchWeek/8/LW8CalloutsSection'
+
+import 'swiper/swiper.min.css'
+
+const AnimatedParticles = dynamic(
+ () => import('~/components/LaunchWeek/8/AnimatedParticles/ParticlesCanvas')
+)
+const LW8Releases = dynamic(() => import('~/components/LaunchWeek/8/Releases'))
+const LW8Meetups = dynamic(() => import('~/components/LaunchWeek/8/LW8Meetups'))
+const LWArchive = dynamic(() => import('~/components/LaunchWeek/8/LWArchive'))
+const LaunchWeekPrizeSection = dynamic(
+ () => import('~/components/LaunchWeek/8/LaunchWeekPrizeSection')
+)
+const TicketBrickWall = dynamic(() => import('~/components/LaunchWeek/8/TicketBrickWall'))
+const CTABanner = dynamic(() => import('~/components/CTABanner'))
+
+interface Props {
+ users?: UserData[]
+ meetups?: Meetup[]
+}
+
+const supabaseAdmin = createClient(
+ process.env.NEXT_PUBLIC_MISC_USE_URL ?? 'http://localhost:54321',
+ // ANON KEY
+ process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!
+)
+
+export default function TicketHome({ users, meetups }: Props) {
+ const { query } = useRouter()
+
+ const TITLE = 'Supabase Launch Week 8'
+ const DESCRIPTION = 'Supabase Launch Week 8 | 7–11 August 2023'
+ const OG_IMAGE = `${SITE_ORIGIN}/images/launchweek/8/lw8-og.jpg`
+
+ const ticketNumber = query.ticketNumber?.toString()
+ const bgImageId = query.bgImageId?.toString()
+ const [supabase, setSupabase] = useState<SupabaseClient | null>(null)
+ const [session, setSession] = useState<Session | null>(null)
+
+ const [initialDarkMode] = useState('dark')
+
+ const defaultUserData = {
+ id: query.id?.toString(),
+ ticketNumber: ticketNumber ? parseInt(ticketNumber, 10) : undefined,
+ name: query.name?.toString(),
+ username: query.username?.toString(),
+ golden: !!query.golden,
+ bgImageId: bgImageId ? parseInt(bgImageId, 10) : undefined,
+ }
+
+ const [userData, setUserData] = useState<UserData>(defaultUserData)
+ const [ticketState, setTicketState] = useState<TicketState>('ticket')
+
+ useEffect(() => {
+ if (!supabase) {
+ setSupabase(
+ createClient(
+ process.env.NEXT_PUBLIC_MISC_USE_URL!,
+ process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!
+ )
+ )
+ }
+ }, [])
+
+ useEffect(() => {
+ if (supabase) {
+ supabase.auth.getSession().then(({ data: { session } }) => setSession(session))
+ const {
+ data: { subscription },
+ } = supabase.auth.onAuthStateChange((event, session) => {
+ setSession(session)
+ })
+
+ return () => subscription.unsubscribe()
+ }
+ }, [supabase])
+
+ useEffect(() => {
+ document.body.classList.add('bg-[#020405]')
+
+ return () => {
+ if (document.body.classList.contains('bg-[#020405]')) {
+ document.body.classList.remove('bg-[#020405]')
+ }
+ }
+ }, [])
+
+ return (
+ <>
+ <NextSeo
+ title={TITLE}
+ description={DESCRIPTION}
+ openGraph={{
+ title: TITLE,
+ description: DESCRIPTION,
+ url: SITE_URL,
+ images: [
+ {
+ url: OG_IMAGE,
+ },
+ ],
+ }}
+ />
+ <Head>
+ <meta
+ name="viewport"
+ content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
+ />
+ </Head>
+ <ConfDataContext.Provider
+ value={{
+ supabase,
+ session,
+ userData,
+ setUserData,
+ ticketState,
+ setTicketState,
+ }}
+ >
+ <DefaultLayout>
+ <div className="-mt-[65px]">
+ <div className="relative">
+ <div className="relative z-10">
+ <SectionContainer className="relative flex flex-col justify-around items-center min-h-[500px] !py-4 md:!py-8 lg:!pb-0 gap-2 md:gap-4 !px-0 !mx-auto">
+ <div className="absolute bottom-0 z-10 w-full flex flex-col items-center justify-end gap-4 px-6">
+ <LaunchWeekLogoHeader />
+ </div>
+ <div className="absolute inset-0 z-0 flex items-center justify-center">
+ <AnimatedParticles />
+ <Image
+ src="/images/launchweek/8/stars.svg"
+ alt="starts background"
+ layout="fill"
+ objectFit="cover"
+ className="opacity-70 pointer-events-none"
+ draggable={false}
+ />
+ </div>
+ </SectionContainer>
+ </div>
+ <div className="absolute w-full aspect-[1/1] md:aspect-[1.5/1] lg:aspect-[2.5/1] inset-0 z-0">
+ <Image
+ src="/images/launchweek/8/LW8-gradient.png"
+ layout="fill"
+ objectFit="cover"
+ objectPosition="top"
+ priority
+ draggable={false}
+ alt="Launch Week 8 gradient background"
+ />
+ </div>
+ </div>
+
+ <div id="twitter-spaces">
+ <SectionContainer className="!pt-10 lg:!pt-14 !pb-0" id="hackathon">
+ <LW8CalloutsSection />
+ </SectionContainer>
+ </div>
+
+ <SectionContainer className="!pt-0">
+ <LW8Releases />
+ </SectionContainer>
+
+ <SectionContainer id="meetups" className="!pt-0">
+ <LW8Meetups meetups={meetups} />
+ </SectionContainer>
+
+ <SectionContainer id="archive">
+ <LWArchive />
+ </SectionContainer>
+
+ <SectionContainer className="!px-4 w-full">
+ <LaunchWeekPrizeSection />
+ </SectionContainer>
+ {users && <TicketBrickWall users={users.slice(0, 17)} />}
+ </div>
+ <CTABanner className="!bg-[#020405] border-t-0" />
+ </DefaultLayout>
+ </ConfDataContext.Provider>
+ </>
+ )
+}
+
+export const getServerSideProps: GetServerSideProps = async () => {
+ // fetch users for the TicketBrickWall
+ const { data: users } = await supabaseAdmin!
+ .from('lw8_tickets_golden')
+ .select('username, golden')
+ .limit(17)
+
+ const { data: meetups } = await supabaseAdmin!.from('lw8_meetups').select('*')
+
+ return {
+ props: {
+ users,
+ meetups,
+ },
+ }
+}
diff --git a/apps/www/pages/launch-week/8/tickets/[username].tsx b/apps/www/pages/launch-week/8/tickets/[username].tsx
new file mode 100644
index 00000000000..1728399aac2
--- /dev/null
+++ b/apps/www/pages/launch-week/8/tickets/[username].tsx
@@ -0,0 +1,180 @@
+import { useEffect, useState } from 'react'
+import { NextSeo } from 'next-seo'
+import { GetStaticProps, GetStaticPaths } from 'next'
+import Image from 'next/image'
+import Error from 'next/error'
+import dynamic from 'next/dynamic'
+import { Session, SupabaseClient, createClient } from '@supabase/supabase-js'
+import { useTheme } from 'next-themes'
+
+import DefaultLayout from '~/components/Layouts/Default'
+import SectionContainer from '~/components/Layouts/SectionContainer'
+import TicketContainer from '~/components/LaunchWeek/8/Ticket/TicketContainer'
+import { SITE_URL } from '~/lib/constants'
+import { TicketState, ConfDataContext, UserData } from '~/components/LaunchWeek/hooks/use-conf-data'
+
+const LaunchWeekPrizeSection = dynamic(
+ () => import('~/components/LaunchWeek/8/LaunchWeekPrizeSection')
+)
+const TicketBrickWall = dynamic(() => import('~/components/LaunchWeek/8/TicketBrickWall'))
+const CTABanner = dynamic(() => import('~/components/CTABanner'))
+
+interface Props {
+ user: UserData
+ users: UserData[]
+ ogImageUrl: string
+}
+
+const supabaseAdmin = createClient(
+ process.env.NEXT_PUBLIC_MISC_USE_URL ?? 'http://localhost:54321',
+ // ANON KEY
+ process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!
+)
+
+export default function UsernamePage({ user, users, ogImageUrl }: Props) {
+ const { username, ticketNumber, name } = user
+
+ const TITLE = `${name ? name + '’s' : 'Get your'} #SupaLaunchWeek Ticket`
+ const DESCRIPTION =
+ 'Supabase Launch Week 8 | 7–11 August 2023 | Generate your ticket & win awesome swag.'
+ const OG_URL = `${SITE_URL}/tickets/${username}`
+
+ const [supabase, setSupabase] = useState<SupabaseClient | null>(null)
+ const [session, setSession] = useState<Session | null>(null)
+ const { resolvedTheme, setTheme } = useTheme()
+ const [initialDarkMode] = useState(resolvedTheme?.includes('dark'))
+
+ const [ticketState, setTicketState] = useState<TicketState>('ticket')
+
+ if (!ticketNumber) {
+ return <Error statusCode={404} />
+ }
+
+ useEffect(() => {
+ if (!supabase) {
+ setSupabase(
+ createClient(
+ process.env.NEXT_PUBLIC_MISC_USE_URL!,
+ process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!
+ )
+ )
+ }
+ }, [])
+
+ return (
+ <>
+ <NextSeo
+ title={TITLE}
+ openGraph={{
+ title: TITLE,
+ description: DESCRIPTION,
+ url: OG_URL,
+ images: [
+ {
+ url: ogImageUrl,
+ width: 1200,
+ height: 630,
+ },
+ ],
+ }}
+ />
+ <ConfDataContext.Provider
+ value={{
+ supabase,
+ session,
+ userData: user,
+ setUserData: () => null,
+ ticketState,
+ setTicketState,
+ }}
+ >
+ <DefaultLayout>
+ <div className="-mt-[65px]">
+ <div className="relative">
+ <div className="relative z-10">
+ <SectionContainer className="relative z-10 flex flex-col justify-around items-center gap-2 lg:!pb-0 md:gap-4 !px-2 !mx-auto md:min-h-[auto]">
+ <div className="pt-12 lg:pt-24">
+ {supabase && (
+ <TicketContainer
+ user={user}
+ referrals={user.referrals ?? 0}
+ supabase={supabase}
+ sharePage
+ />
+ )}
+ </div>
+ </SectionContainer>
+ <div className="absolute w-full aspect-[1/1] md:aspect-[1.5/1] lg:aspect-[2.5/1] inset-0 z-0 pointer-events-none">
+ <Image
+ src="/images/launchweek/8/LW8-gradient.png"
+ fill
+ className="object-cover object-top"
+ priority
+ draggable={false}
+ alt="Launch Week 8 gradient background"
+ />
+ </div>
+ </div>
+ </div>
+ <SectionContainer className="">
+ <LaunchWeekPrizeSection />
+ </SectionContainer>
+ {users && <TicketBrickWall users={users.slice(0, 17)} />}
+ </div>
+ <CTABanner className="!bg-[#020405] border-t-0" />
+ </DefaultLayout>
+ </ConfDataContext.Provider>
+ </>
+ )
+}
+
+export const getStaticProps: GetStaticProps = async ({ params }) => {
+ const username = params?.username?.toString() || null
+ let user
+
+ // fetch users for the TicketBrickWall
+ const { data: users } = await supabaseAdmin!.from('lw8_tickets_golden').select().limit(17)
+
+ fetch(
+ `https://obuldanrptloktxcffvn.supabase.co/functions/v1/lw8-ticket?username=${encodeURIComponent(
+ username ?? ''
+ )}`
+ ).catch((_) => {})
+
+ // fetch a specific user
+ if (username) {
+ const { data } = await supabaseAdmin!
+ .from('lw8_tickets_golden')
+ .select('name, username, ticketNumber, metadata, golden')
+ .eq('username', username)
+ .single()
+
+ user = data
+ }
+
+ const BUCKET_FOLDER_VERSION = 'v1'
+
+ const ogImageUrl = `https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lw8/og/${
+ user?.golden ? 'golden' : 'regular'
+ }/${BUCKET_FOLDER_VERSION}/${username}.png`
+
+ return {
+ props: {
+ user: {
+ ...user,
+ username,
+ },
+ ogImageUrl,
+ users,
+ key: username,
+ },
+ revalidate: 5,
+ }
+}
+
+export const getStaticPaths: GetStaticPaths = async () => {
+ return Promise.resolve({
+ paths: [],
+ fallback: 'blocking',
+ })
+}
diff --git a/apps/www/pages/launch-week/8/tickets/index.tsx b/apps/www/pages/launch-week/8/tickets/index.tsx
new file mode 100644
index 00000000000..97959b9e885
--- /dev/null
+++ b/apps/www/pages/launch-week/8/tickets/index.tsx
@@ -0,0 +1,184 @@
+import { useEffect, useRef, useState } from 'react'
+import { GetServerSideProps } from 'next'
+import { NextSeo } from 'next-seo'
+import Image from 'next/image'
+import { Button } from 'ui'
+import Link from 'next/link'
+import { motion } from 'framer-motion'
+import { createClient } from '@supabase/supabase-js'
+import { debounce } from 'lodash'
+
+import { SITE_ORIGIN, SITE_URL } from '~/lib/constants'
+import { useTheme } from 'next-themes'
+
+import DefaultLayout from '~/components/Layouts/Default'
+import SectionContainer from '~/components/Layouts/SectionContainer'
+import { UserData } from '~/components/LaunchWeek/hooks/use-conf-data'
+import CTABanner from '~/components/CTABanner'
+import TicketsGrid from '~/components/LaunchWeek/8/TicketsGrid'
+
+interface Props {
+ users: UserData[]
+}
+
+const supabaseAdmin = createClient(
+ process.env.NEXT_PUBLIC_MISC_USE_URL ?? 'http://localhost:54321',
+ process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!
+)
+
+const generateOgs = async (users: UserData[]) => {
+ users?.map(async (user) => {
+ const ogImageUrl = `https://obuldanrptloktxcffvn.supabase.co/functions/v1/lw8-ticket-og?username=${encodeURIComponent(
+ user.username ?? ''
+ )}${!!user.golden ? '&golden=true' : ''}`
+ return await fetch(ogImageUrl)
+ })
+}
+
+export default function TicketsPage({ users }: Props) {
+ const ref = useRef(null)
+ const PAGE_COUNT = 20
+ const TITLE = '#SupaLaunchWeek Tickets'
+ const DESCRIPTION = 'Supabase Launch Week 8 | 7–11 August 2023'
+ const OG_IMAGE = `${SITE_ORIGIN}/images/launchweek/8/lw8-og.jpg`
+
+ const { resolvedTheme, setTheme } = useTheme()
+ const [initialDarkMode] = useState(resolvedTheme?.includes('dark'))
+ const [isLoading, setIsLoading] = useState(false)
+ const [offset, setOffset] = useState(1)
+ const [isLast, setIsLast] = useState(false)
+ const [hasLoaded, setHasLoaded] = useState(false)
+ const [loadedUsers, setLoadedUsers] = useState<any[]>(users)
+
+ useEffect(() => {
+ loadMoreUsers(offset)
+ }, [hasLoaded])
+
+ const loadUsers = async (offset: number) => {
+ const from = offset * PAGE_COUNT
+ return await supabaseAdmin!
+ .from('lw8_tickets_golden')
+ .select('*')
+ .range(from, from + PAGE_COUNT - 1)
+ .order('createdAt', { ascending: false })
+ }
+
+ const loadMoreUsers = async (offset: number) => {
+ if (isLast) return
+ setIsLoading(true)
+ setOffset((prev) => prev + 1)
+ const { data: users } = await loadUsers(offset)
+ setLoadedUsers((prevUsers) => [...prevUsers, ...(users as any[])])
+ if ((users as any[]).length < PAGE_COUNT) setIsLast(true)
+ setIsLoading(false)
+ }
+
+ const handleScroll = () => {
+ if (ref.current && typeof window !== 'undefined') {
+ const rect = (ref.current as HTMLDivElement)?.getBoundingClientRect()
+ const isInView = rect.bottom <= (window.innerHeight || document.documentElement.clientHeight)
+ setHasLoaded((prev) => !prev && isInView)
+ }
+ }
+
+ useEffect(() => {
+ const handleDebouncedScroll = debounce(() => !isLast && handleScroll(), 200)
+
+ window.addEventListener('scroll', handleDebouncedScroll)
+
+ return () => {
+ window.removeEventListener('scroll', handleDebouncedScroll)
+ }
+ }, [])
+
+ useEffect(() => {
+ setTheme('dark')
+ document.body.className = 'dark bg-[#020405]'
+ return () => {
+ document.body.className = ''
+ setTheme('dark')
+ }
+ }, [])
+
+ return (
+ <>
+ <NextSeo
+ title={TITLE}
+ openGraph={{
+ title: TITLE,
+ description: DESCRIPTION,
+ url: `${SITE_URL}/tickets`,
+ images: [
+ {
+ url: OG_IMAGE,
+ },
+ ],
+ }}
+ />
+ <DefaultLayout>
+ <div className="">
+ <SectionContainer className="z-10">
+ <div className="text-center relative z-10 text-white mb-4 lg:mb-10">
+ <motion.div
+ className="max-w-[38rem] mx-auto px-4 flex flex-col items-center gap-4"
+ initial={{ y: -20, opacity: 0 }}
+ whileInView={{ y: 0, opacity: 1 }}
+ viewport={{ once: true, margin: '-150px' }}
+ transition={{ type: 'spring', bounce: 0, delay: 0.2 }}
+ >
+ <h2 className="text-4xl">Launch Week 8 tickets</h2>
+ <p className="text-[#9296AA]">
+ Join us on August 11th for Launch Week 8's final day{' '}
+ <br className="hidden md:inline-block" /> and find out if you are one of the lucky
+ winners.
+ </p>
+ <div className="mt-1">
+ <Button asChild type="outline" size="medium">
+ <Link href="/launch-week">Go to Launch Week 8</Link>
+ </Button>
+ </div>
+ </motion.div>
+ </div>
+ <div ref={ref}>
+ <TicketsGrid
+ loadedUsers={loadedUsers}
+ isLoading={isLoading}
+ pageCount={PAGE_COUNT}
+ offset={offset}
+ />
+ </div>
+ </SectionContainer>
+ <div className="absolute w-full aspect-[1/1] md:aspect-[1.5/1] lg:aspect-[2.5/1] inset-0 z-0 pointer-events-none">
+ <Image
+ src="/images/launchweek/8/LW8-gradient.png"
+ layout="fill"
+ objectFit="cover"
+ objectPosition="top"
+ priority
+ draggable={false}
+ alt=""
+ />
+ </div>
+ </div>
+ <CTABanner className="!bg-[#020405] border-t-0" />
+ </DefaultLayout>
+ </>
+ )
+}
+
+export const getServerSideProps: GetServerSideProps = async ({ req, res }) => {
+ const { data: users } = await supabaseAdmin!
+ .from('lw8_tickets_golden')
+ .select('*')
+ .order('createdAt', { ascending: false })
+ .limit(20)
+
+ // Generate og images of not present
+ generateOgs(users as any[])
+
+ return {
+ props: {
+ users,
+ },
+ }
+}
diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsx
index 012b5967271..efd29b07ee2 100644
--- a/apps/www/pages/launch-week/index.tsx
+++ b/apps/www/pages/launch-week/index.tsx
@@ -1,60 +1,27 @@
import { useState, useEffect } from 'react'
-import { GetServerSideProps } from 'next'
-import dynamic from 'next/dynamic'
-import Head from 'next/head'
-import Image from 'next/image'
import { useRouter } from 'next/router'
import { NextSeo } from 'next-seo'
-import { createClient, Session, SupabaseClient } from '@supabase/supabase-js'
+import { Session } from '@supabase/supabase-js'
import { SITE_ORIGIN, SITE_URL } from '~/lib/constants'
+import supabase from '~/lib/supabaseMisc'
+import FaviconImports from '~/components/LaunchWeek/X/FaviconImports'
import DefaultLayout from '~/components/Layouts/Default'
-import { PageState, ConfDataContext, UserData } from '~/components/LaunchWeek/hooks/use-conf-data'
-import SectionContainer from '~/components/Layouts/SectionContainer'
-import { LaunchWeekLogoHeader } from '~/components/LaunchWeek/8/LaunchWeekLogoHeader'
-import { Meetup } from '~/components/LaunchWeek/8/LW8Meetups'
-import LW8CalloutsSection from '~/components/LaunchWeek/8/LW8CalloutsSection'
+import { TicketState, ConfDataContext, UserData } from '~/components/LaunchWeek/hooks/use-conf-data'
+import TicketingFlow from '~/components/LaunchWeek/X/Ticket/TicketingFlow'
-import { useTheme } from 'next-themes'
+export default function TicketHome() {
+ const { basePath, query } = useRouter()
-import 'swiper/swiper.min.css'
-
-const AnimatedParticles = dynamic(
- () => import('~/components/LaunchWeek/8/AnimatedParticles/ParticlesCanvas')
-)
-const LW8Releases = dynamic(() => import('~/components/LaunchWeek/8/Releases'))
-const LW8Meetups = dynamic(() => import('~/components/LaunchWeek/8/LW8Meetups'))
-const LWArchive = dynamic(() => import('~/components/LaunchWeek/8/LWArchive'))
-const LaunchWeekPrizeSection = dynamic(
- () => import('~/components/LaunchWeek/8/LaunchWeekPrizeSection')
-)
-const TicketBrickWall = dynamic(() => import('~/components/LaunchWeek/8/TicketBrickWall'))
-const CTABanner = dynamic(() => import('~/components/CTABanner'))
-
-interface Props {
- users?: UserData[]
- meetups?: Meetup[]
-}
-
-const supabaseAdmin = createClient(
- process.env.NEXT_PUBLIC_MISC_USE_URL ?? 'http://localhost:54321',
- // ANON KEY
- process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!
-)
-
-export default function TicketHome({ users, meetups }: Props) {
- const { query } = useRouter()
-
- const TITLE = 'Supabase Launch Week 8'
- const DESCRIPTION = 'Supabase Launch Week 8 | 7–11 August 2023'
- const OG_IMAGE = `${SITE_ORIGIN}/images/launchweek/8/lw8-og.jpg`
+ const TITLE = 'Supabase Launch Week X | 11-15 December 2023'
+ const DESCRIPTION =
+ 'Claim your ticket for a chance to win Supabase swag and join us for a week of announcing new features.'
+ const OG_IMAGE = `${SITE_ORIGIN}/images/launchweek/lwx/lwx-og.jpg`
const ticketNumber = query.ticketNumber?.toString()
const bgImageId = query.bgImageId?.toString()
- const [supabase, setSupabase] = useState<SupabaseClient | null>(null)
const [session, setSession] = useState<Session | null>(null)
-
- const [initialDarkMode] = useState('dark')
+ const [showCustomizationForm, setShowCustomizationForm] = useState<boolean>(false)
const defaultUserData = {
id: query.id?.toString(),
@@ -66,18 +33,7 @@ export default function TicketHome({ users, meetups }: Props) {
}
const [userData, setUserData] = useState<UserData>(defaultUserData)
- const [_, setPageState] = useState<PageState>('ticket')
-
- useEffect(() => {
- if (!supabase) {
- setSupabase(
- createClient(
- process.env.NEXT_PUBLIC_MISC_USE_URL!,
- process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!
- )
- )
- }
- }, [])
+ const [ticketState, setTicketState] = useState<TicketState>('loading')
useEffect(() => {
if (supabase) {
@@ -93,15 +49,25 @@ export default function TicketHome({ users, meetups }: Props) {
}, [supabase])
useEffect(() => {
- document.body.classList.add('bg-[#020405]')
+ document.body.classList.add('bg-[#060809]')
return () => {
- if (document.body.classList.contains('bg-[#020405]')) {
- document.body.classList.remove('bg-[#020405]')
+ if (document.body.classList.contains('bg-[#060809]')) {
+ document.body.classList.remove('bg-[#060809]')
}
}
}, [])
+ useEffect(() => {
+ if (session?.user) {
+ if (userData?.id) {
+ return setTicketState('ticket')
+ }
+ return setTicketState('loading')
+ }
+ if (!session) return setTicketState('registration')
+ }, [session, userData])
+
return (
<>
<NextSeo
@@ -118,98 +84,23 @@ export default function TicketHome({ users, meetups }: Props) {
],
}}
/>
- <Head>
- <meta
- name="viewport"
- content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
- />
- </Head>
+ <FaviconImports />
<ConfDataContext.Provider
value={{
supabase,
session,
userData,
setUserData,
- setPageState,
+ ticketState,
+ setTicketState,
+ showCustomizationForm,
+ setShowCustomizationForm,
}}
>
<DefaultLayout>
- <div className="-mt-[65px]">
- <div className="relative">
- <div className="relative z-10">
- <SectionContainer className="relative flex flex-col justify-around items-center min-h-[500px] !py-4 md:!py-8 lg:!pb-0 gap-2 md:gap-4 !px-0 !mx-auto">
- <div className="absolute bottom-0 z-10 w-full flex flex-col items-center justify-end gap-4 px-6">
- <LaunchWeekLogoHeader />
- </div>
- <div className="absolute inset-0 z-0 flex items-center justify-center">
- <AnimatedParticles />
- <Image
- src="/images/launchweek/8/stars.svg"
- alt="starts background"
- layout="fill"
- objectFit="cover"
- className="opacity-70 pointer-events-none"
- draggable={false}
- />
- </div>
- </SectionContainer>
- </div>
- <div className="absolute w-full aspect-[1/1] md:aspect-[1.5/1] lg:aspect-[2.5/1] inset-0 z-0">
- <Image
- src="/images/launchweek/8/LW8-gradient.png"
- layout="fill"
- objectFit="cover"
- objectPosition="top"
- priority
- draggable={false}
- alt="Launch Week 8 gradient background"
- />
- </div>
- </div>
-
- <div id="twitter-spaces">
- <SectionContainer className="!pt-10 lg:!pt-14 !pb-0" id="hackathon">
- <LW8CalloutsSection />
- </SectionContainer>
- </div>
-
- <SectionContainer className="!pt-0">
- <LW8Releases />
- </SectionContainer>
-
- <SectionContainer id="meetups" className="!pt-0">
- <LW8Meetups meetups={meetups} />
- </SectionContainer>
-
- <SectionContainer id="archive">
- <LWArchive />
- </SectionContainer>
-
- <SectionContainer className="!px-4 w-full">
- <LaunchWeekPrizeSection />
- </SectionContainer>
- {users && <TicketBrickWall users={users.slice(0, 17)} />}
- </div>
- <CTABanner className="!bg-[#020405] border-t-0" />
+ <TicketingFlow />
</DefaultLayout>
</ConfDataContext.Provider>
</>
)
}
-
-export const getServerSideProps: GetServerSideProps = async () => {
- // fetch users for the TicketBrickWall
- const { data: users } = await supabaseAdmin!
- .from('lw8_tickets_golden')
- .select('username, golden')
- .limit(17)
-
- const { data: meetups } = await supabaseAdmin!.from('lw8_meetups').select('*')
-
- return {
- props: {
- users,
- meetups,
- },
- }
-}
diff --git a/apps/www/pages/launch-week/tickets/[username].tsx b/apps/www/pages/launch-week/tickets/[username].tsx
index 6b343798ba2..5d12797356e 100644
--- a/apps/www/pages/launch-week/tickets/[username].tsx
+++ b/apps/www/pages/launch-week/tickets/[username].tsx
@@ -1,22 +1,25 @@
import { useEffect, useState } from 'react'
import { NextSeo } from 'next-seo'
import { GetStaticProps, GetStaticPaths } from 'next'
-import Image from 'next/image'
+import Link from 'next/link'
import Error from 'next/error'
import dynamic from 'next/dynamic'
-import { Session, SupabaseClient, createClient } from '@supabase/supabase-js'
import { useTheme } from 'next-themes'
+import { Session } from '@supabase/supabase-js'
+import { Button } from 'ui'
+import { SITE_URL } from '~/lib/constants'
+import supabase from '~/lib/supabaseMisc'
+import FaviconImports from '~/components/LaunchWeek/X/FaviconImports'
import DefaultLayout from '~/components/Layouts/Default'
import SectionContainer from '~/components/Layouts/SectionContainer'
-import TicketContainer from '~/components/LaunchWeek/8/Ticket/TicketContainer'
-import { SITE_URL } from '~/lib/constants'
-import { PageState, ConfDataContext, UserData } from '~/components/LaunchWeek/hooks/use-conf-data'
+import { TicketState, ConfDataContext, UserData } from '~/components/LaunchWeek/hooks/use-conf-data'
+import LWXBackground from '~/components/LaunchWeek/X/LWXBackground'
+const LWXTicketContainer = dynamic(() => import('~/components/LaunchWeek/X/Ticket/TicketContainer'))
const LaunchWeekPrizeSection = dynamic(
- () => import('~/components/LaunchWeek/8/LaunchWeekPrizeSection')
+ () => import('~/components/LaunchWeek/X/LaunchWeekPrizeSection')
)
-const TicketBrickWall = dynamic(() => import('~/components/LaunchWeek/8/TicketBrickWall'))
const CTABanner = dynamic(() => import('~/components/CTABanner'))
interface Props {
@@ -25,39 +28,30 @@ interface Props {
ogImageUrl: string
}
-const supabaseAdmin = createClient(
- process.env.NEXT_PUBLIC_MISC_USE_URL ?? 'http://localhost:54321',
- // ANON KEY
- process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!
-)
-
-export default function UsernamePage({ user, users, ogImageUrl }: Props) {
+export default function UsernamePage({ user, ogImageUrl }: Props) {
const { username, ticketNumber, name } = user
const TITLE = `${name ? name + '’s' : 'Get your'} #SupaLaunchWeek Ticket`
- const DESCRIPTION =
- 'Supabase Launch Week 8 | 7–11 August 2023 | Generate your ticket & win awesome swag.'
+ const DESCRIPTION = `Claim and share your Supabase Launch Week X ticket for a chance to win Supabase swag.`
const OG_URL = `${SITE_URL}/tickets/${username}`
- const [supabase, setSupabase] = useState<SupabaseClient | null>(null)
const [session, setSession] = useState<Session | null>(null)
const { resolvedTheme, setTheme } = useTheme()
const [initialDarkMode] = useState(resolvedTheme?.includes('dark'))
- const [pageState, setPageState] = useState<PageState>('ticket')
+ const [ticketState, setTicketState] = useState<TicketState>('ticket')
if (!ticketNumber) {
return <Error statusCode={404} />
}
useEffect(() => {
- if (!supabase) {
- setSupabase(
- createClient(
- process.env.NEXT_PUBLIC_MISC_USE_URL!,
- process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!
- )
- )
+ document.body.classList.add('bg-[#060809]')
+
+ return () => {
+ if (document.body.classList.contains('bg-[#060809]')) {
+ document.body.classList.remove('bg-[#060809]')
+ }
}
}, [])
@@ -78,50 +72,45 @@ export default function UsernamePage({ user, users, ogImageUrl }: Props) {
],
}}
/>
+ <FaviconImports />
<ConfDataContext.Provider
value={{
supabase,
session,
userData: user,
setUserData: () => null,
- setPageState,
+ ticketState,
+ setTicketState,
}}
>
<DefaultLayout>
<div className="-mt-[65px]">
- <div className="relative">
- <div className="relative z-10">
- <SectionContainer className="relative z-10 flex flex-col justify-around items-center gap-2 lg:!pb-0 md:gap-4 !px-2 !mx-auto md:min-h-[auto]">
- <div className="pt-12 lg:pt-24">
- {supabase && (
- <TicketContainer
- user={user}
- referrals={user.referrals ?? 0}
- supabase={supabase}
- sharePage
- />
- )}
- </div>
- </SectionContainer>
- <div className="absolute w-full aspect-[1/1] md:aspect-[1.5/1] lg:aspect-[2.5/1] inset-0 z-0 pointer-events-none">
- <Image
- src="/images/launchweek/8/LW8-gradient.png"
- layout="fill"
- objectFit="cover"
- objectPosition="top"
- priority
- draggable={false}
- alt="Launch Week 8 gradient background"
- />
- </div>
+ <SectionContainer className="relative z-10 flex flex-col justify-around items-center gap-2 md:gap-10 !px-2 !mx-auto md:min-h-[auto]">
+ <div className="w-full min-h-[400px] pt-24 flex items-center">
+ <LWXTicketContainer />
+ </div>
+ <div className="flex flex-col items-center justify-center text-center gap-2 max-w-lg">
+ <h1 className="text-2xl">
+ {name}'s
+ <br />
+ Launch Week X Ticket
+ </h1>
+ <span className="text-foreground-lighter">
+ Claim your own ticket and share it for a chance to win.
+ </span>
</div>
- </div>
- <SectionContainer className="">
- <LaunchWeekPrizeSection />
+ <Button type="secondary" asChild>
+ <Link href={`${SITE_URL}${username ? '?referral=' + username : ''}`}>
+ Join Launch Week X
+ </Link>
+ </Button>
</SectionContainer>
- {users && <TicketBrickWall users={users.slice(0, 17)} />}
+ <LWXBackground className="absolute z-0 top-0 left-0 right-0 w-full flex items-center justify-center opacity-20" />
</div>
- <CTABanner className="!bg-[#020405] border-t-0" />
+ <SectionContainer className="!pt-4 !pb-0">
+ <LaunchWeekPrizeSection />
+ </SectionContainer>
+ <CTABanner className="!bg-[#060809] border-t-0" />
</DefaultLayout>
</ConfDataContext.Provider>
</>
@@ -132,19 +121,21 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
const username = params?.username?.toString() || null
let user
- // fetch users for the TicketBrickWall
- const { data: users } = await supabaseAdmin!.from('lw8_tickets_golden').select().limit(17)
-
fetch(
- `https://obuldanrptloktxcffvn.supabase.co/functions/v1/lw8-ticket?username=${encodeURIComponent(
+ `https://obuldanrptloktxcffvn.supabase.co/functions/v1/lwx-og?username=${encodeURIComponent(
username ?? ''
)}`
- ).catch((_) => {})
+ )
+ fetch(
+ `https://obuldanrptloktxcffvn.supabase.co/functions/v1/lwx-ticket?username=${encodeURIComponent(
+ username ?? ''
+ )}`
+ )
// fetch a specific user
if (username) {
- const { data } = await supabaseAdmin!
- .from('lw8_tickets_golden')
+ const { data } = await supabase!
+ .from('lwx_tickets_golden')
.select('name, username, ticketNumber, metadata, golden')
.eq('username', username)
.single()
@@ -152,11 +143,9 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
user = data
}
- const BUCKET_FOLDER_VERSION = 'v1'
-
- const ogImageUrl = `https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lw8/og/${
- user?.golden ? 'golden' : 'regular'
- }/${BUCKET_FOLDER_VERSION}/${username}.png`
+ const ogImageUrl = `https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lwx/og/${
+ user?.golden ? 'platinum' : 'regular'
+ }/${username}.png`
return {
props: {
@@ -165,7 +154,6 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
username,
},
ogImageUrl,
- users,
key: username,
},
revalidate: 5,
diff --git a/apps/www/pages/launch-week/tickets/index.tsx b/apps/www/pages/launch-week/tickets/index.tsx
index 97959b9e885..0ccd35a12dd 100644
--- a/apps/www/pages/launch-week/tickets/index.tsx
+++ b/apps/www/pages/launch-week/tickets/index.tsx
@@ -1,36 +1,31 @@
import { useEffect, useRef, useState } from 'react'
import { GetServerSideProps } from 'next'
import { NextSeo } from 'next-seo'
-import Image from 'next/image'
import { Button } from 'ui'
import Link from 'next/link'
import { motion } from 'framer-motion'
-import { createClient } from '@supabase/supabase-js'
import { debounce } from 'lodash'
import { SITE_ORIGIN, SITE_URL } from '~/lib/constants'
import { useTheme } from 'next-themes'
+import FaviconImports from '~/components/LaunchWeek/X/FaviconImports'
import DefaultLayout from '~/components/Layouts/Default'
import SectionContainer from '~/components/Layouts/SectionContainer'
import { UserData } from '~/components/LaunchWeek/hooks/use-conf-data'
import CTABanner from '~/components/CTABanner'
-import TicketsGrid from '~/components/LaunchWeek/8/TicketsGrid'
+import TicketsGrid from '~/components/LaunchWeek/X/TicketsGrid'
+import supabase from '../../../lib/supabaseMisc'
interface Props {
users: UserData[]
}
-const supabaseAdmin = createClient(
- process.env.NEXT_PUBLIC_MISC_USE_URL ?? 'http://localhost:54321',
- process.env.NEXT_PUBLIC_MISC_USE_ANON_KEY!
-)
-
const generateOgs = async (users: UserData[]) => {
users?.map(async (user) => {
- const ogImageUrl = `https://obuldanrptloktxcffvn.supabase.co/functions/v1/lw8-ticket-og?username=${encodeURIComponent(
+ const ogImageUrl = `https://obuldanrptloktxcffvn.supabase.co/functions/v1/lwx-ticket?username=${encodeURIComponent(
user.username ?? ''
- )}${!!user.golden ? '&golden=true' : ''}`
+ )}${!!user.golden ? '&platinum=true' : ''}`
return await fetch(ogImageUrl)
})
}
@@ -38,9 +33,9 @@ const generateOgs = async (users: UserData[]) => {
export default function TicketsPage({ users }: Props) {
const ref = useRef(null)
const PAGE_COUNT = 20
- const TITLE = '#SupaLaunchWeek Tickets'
- const DESCRIPTION = 'Supabase Launch Week 8 | 7–11 August 2023'
- const OG_IMAGE = `${SITE_ORIGIN}/images/launchweek/8/lw8-og.jpg`
+ const TITLE = '#SupaLaunchWeek X Tickets'
+ const DESCRIPTION = 'Supabase Launch Week X | 11-15 December 2023'
+ const OG_IMAGE = `${SITE_ORIGIN}/images/launchweek/lwx/lwx-og.jpg`
const { resolvedTheme, setTheme } = useTheme()
const [initialDarkMode] = useState(resolvedTheme?.includes('dark'))
@@ -56,8 +51,8 @@ export default function TicketsPage({ users }: Props) {
const loadUsers = async (offset: number) => {
const from = offset * PAGE_COUNT
- return await supabaseAdmin!
- .from('lw8_tickets_golden')
+ return await supabase!
+ .from('lwx_tickets_golden')
.select('*')
.range(from, from + PAGE_COUNT - 1)
.order('createdAt', { ascending: false })
@@ -93,7 +88,7 @@ export default function TicketsPage({ users }: Props) {
useEffect(() => {
setTheme('dark')
- document.body.className = 'dark bg-[#020405]'
+ document.body.className = 'dark bg-[#060809]'
return () => {
document.body.className = ''
setTheme('dark')
@@ -115,6 +110,7 @@ export default function TicketsPage({ users }: Props) {
],
}}
/>
+ <FaviconImports />
<DefaultLayout>
<div className="">
<SectionContainer className="z-10">
@@ -126,15 +122,14 @@ export default function TicketsPage({ users }: Props) {
viewport={{ once: true, margin: '-150px' }}
transition={{ type: 'spring', bounce: 0, delay: 0.2 }}
>
- <h2 className="text-4xl">Launch Week 8 tickets</h2>
- <p className="text-[#9296AA]">
- Join us on August 11th for Launch Week 8's final day{' '}
- <br className="hidden md:inline-block" /> and find out if you are one of the lucky
- winners.
+ <h2 className="text-4xl">Launch Week X tickets</h2>
+ <p className="text-foreground-light">
+ Join us on Launch Week X's final day <br className="hidden md:inline-block" /> and
+ find out if you are one of the lucky winners.
</p>
<div className="mt-1">
<Button asChild type="outline" size="medium">
- <Link href="/launch-week">Go to Launch Week 8</Link>
+ <Link href="/launch-week">Go to Launch Week X</Link>
</Button>
</div>
</motion.div>
@@ -148,37 +143,27 @@ export default function TicketsPage({ users }: Props) {
/>
</div>
</SectionContainer>
- <div className="absolute w-full aspect-[1/1] md:aspect-[1.5/1] lg:aspect-[2.5/1] inset-0 z-0 pointer-events-none">
- <Image
- src="/images/launchweek/8/LW8-gradient.png"
- layout="fill"
- objectFit="cover"
- objectPosition="top"
- priority
- draggable={false}
- alt=""
- />
- </div>
</div>
- <CTABanner className="!bg-[#020405] border-t-0" />
+ <CTABanner className="!bg-[#060809] border-t-0" />
</DefaultLayout>
</>
)
}
export const getServerSideProps: GetServerSideProps = async ({ req, res }) => {
- const { data: users } = await supabaseAdmin!
- .from('lw8_tickets_golden')
+ let { data: lwx_tickets, error } = await supabase
+ .from('lwx_tickets_golden')
.select('*')
+
.order('createdAt', { ascending: false })
.limit(20)
// Generate og images of not present
- generateOgs(users as any[])
+ generateOgs(lwx_tickets as any[])
return {
props: {
- users,
+ users: lwx_tickets,
},
}
}
diff --git a/apps/www/public/images/launchweek/lwx/favicon/android-icon-144x144.png b/apps/www/public/images/launchweek/lwx/favicon/android-icon-144x144.png
new file mode 100644
index 00000000000..506f698dcfc
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/android-icon-144x144.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/android-icon-192x192.png b/apps/www/public/images/launchweek/lwx/favicon/android-icon-192x192.png
new file mode 100644
index 00000000000..8faecbb2fd9
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/android-icon-192x192.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/android-icon-36x36.png b/apps/www/public/images/launchweek/lwx/favicon/android-icon-36x36.png
new file mode 100644
index 00000000000..4cbdd055562
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/android-icon-36x36.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/android-icon-48x48.png b/apps/www/public/images/launchweek/lwx/favicon/android-icon-48x48.png
new file mode 100644
index 00000000000..ca84a9b890a
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/android-icon-48x48.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/android-icon-72x72.png b/apps/www/public/images/launchweek/lwx/favicon/android-icon-72x72.png
new file mode 100644
index 00000000000..bd42557183d
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/android-icon-72x72.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/android-icon-96x96.png b/apps/www/public/images/launchweek/lwx/favicon/android-icon-96x96.png
new file mode 100644
index 00000000000..60f2b9096a0
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/android-icon-96x96.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/apple-icon-114x114.png b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-114x114.png
new file mode 100644
index 00000000000..80d0c582012
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-114x114.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/apple-icon-120x120.png b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-120x120.png
new file mode 100644
index 00000000000..949ed7bceda
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-120x120.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/apple-icon-144x144.png b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-144x144.png
new file mode 100644
index 00000000000..709ba013512
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-144x144.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/apple-icon-152x152.png b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-152x152.png
new file mode 100644
index 00000000000..02461308882
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-152x152.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/apple-icon-180x180.png b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-180x180.png
new file mode 100644
index 00000000000..7d7f622fcf3
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-180x180.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/apple-icon-57x57.png b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-57x57.png
new file mode 100644
index 00000000000..116c858092c
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-57x57.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/apple-icon-60x60.png b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-60x60.png
new file mode 100644
index 00000000000..881b6b7ebd9
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-60x60.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/apple-icon-72x72.png b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-72x72.png
new file mode 100644
index 00000000000..3fcd62f1247
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-72x72.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/apple-icon-76x76.png b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-76x76.png
new file mode 100644
index 00000000000..d69550a721a
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-76x76.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/apple-icon-precomposed.png b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-precomposed.png
new file mode 100644
index 00000000000..2be77f6016c
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/apple-icon-precomposed.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/apple-icon.png b/apps/www/public/images/launchweek/lwx/favicon/apple-icon.png
new file mode 100644
index 00000000000..2be77f6016c
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/apple-icon.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/browserconfig.xml b/apps/www/public/images/launchweek/lwx/favicon/browserconfig.xml
new file mode 100644
index 00000000000..c5541482230
--- /dev/null
+++ b/apps/www/public/images/launchweek/lwx/favicon/browserconfig.xml
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8"?>
+<browserconfig><msapplication><tile><square70x70logo src="/ms-icon-70x70.png"/><square150x150logo src="/ms-icon-150x150.png"/><square310x310logo src="/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>
\ No newline at end of file
diff --git a/apps/www/public/images/launchweek/lwx/favicon/favicon-16x16.png b/apps/www/public/images/launchweek/lwx/favicon/favicon-16x16.png
new file mode 100644
index 00000000000..72a5cf6f2e0
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/favicon-16x16.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/favicon-32x32.png b/apps/www/public/images/launchweek/lwx/favicon/favicon-32x32.png
new file mode 100644
index 00000000000..b539159fc98
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/favicon-32x32.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/favicon-96x96.png b/apps/www/public/images/launchweek/lwx/favicon/favicon-96x96.png
new file mode 100644
index 00000000000..16a749e42ff
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/favicon-96x96.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/favicon.ico b/apps/www/public/images/launchweek/lwx/favicon/favicon.ico
new file mode 100644
index 00000000000..7d655c34117
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/favicon.ico differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/manifest.json b/apps/www/public/images/launchweek/lwx/favicon/manifest.json
new file mode 100644
index 00000000000..3b557aab8c6
--- /dev/null
+++ b/apps/www/public/images/launchweek/lwx/favicon/manifest.json
@@ -0,0 +1,41 @@
+{
+ "name": "App",
+ "icons": [
+ {
+ "src": "/android-icon-36x36.png",
+ "sizes": "36x36",
+ "type": "image/png",
+ "density": "0.75"
+ },
+ {
+ "src": "/android-icon-48x48.png",
+ "sizes": "48x48",
+ "type": "image/png",
+ "density": "1.0"
+ },
+ {
+ "src": "/android-icon-72x72.png",
+ "sizes": "72x72",
+ "type": "image/png",
+ "density": "1.5"
+ },
+ {
+ "src": "/android-icon-96x96.png",
+ "sizes": "96x96",
+ "type": "image/png",
+ "density": "2.0"
+ },
+ {
+ "src": "/android-icon-144x144.png",
+ "sizes": "144x144",
+ "type": "image/png",
+ "density": "3.0"
+ },
+ {
+ "src": "/android-icon-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png",
+ "density": "4.0"
+ }
+ ]
+}
diff --git a/apps/www/public/images/launchweek/lwx/favicon/ms-icon-144x144.png b/apps/www/public/images/launchweek/lwx/favicon/ms-icon-144x144.png
new file mode 100644
index 00000000000..709ba013512
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/ms-icon-144x144.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/ms-icon-150x150.png b/apps/www/public/images/launchweek/lwx/favicon/ms-icon-150x150.png
new file mode 100644
index 00000000000..2979e7c1a2d
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/ms-icon-150x150.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/ms-icon-310x310.png b/apps/www/public/images/launchweek/lwx/favicon/ms-icon-310x310.png
new file mode 100644
index 00000000000..a7ddba063be
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/ms-icon-310x310.png differ
diff --git a/apps/www/public/images/launchweek/lwx/favicon/ms-icon-70x70.png b/apps/www/public/images/launchweek/lwx/favicon/ms-icon-70x70.png
new file mode 100644
index 00000000000..cc9e06b7526
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/favicon/ms-icon-70x70.png differ
diff --git a/apps/www/public/images/launchweek/lwx/loading-circle.svg b/apps/www/public/images/launchweek/lwx/loading-circle.svg
new file mode 100644
index 00000000000..59eb7c8be8c
--- /dev/null
+++ b/apps/www/public/images/launchweek/lwx/loading-circle.svg
@@ -0,0 +1,17 @@
+<svg width="70" height="61" viewBox="0 0 70 61" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g filter="url(#filter0_d_528_3692)">
+<path d="M65 31C65 14.4315 51.5685 1 35 1C18.4315 1 5 14.4315 5 31" stroke="white" stroke-width="2"/>
+</g>
+<defs>
+<filter id="filter0_d_528_3692" x="0" y="0" width="70" height="39" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feOffset dy="4"/>
+<feGaussianBlur stdDeviation="2"/>
+<feComposite in2="hardAlpha" operator="out"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_528_3692"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_528_3692" result="shape"/>
+</filter>
+</defs>
+</svg>
diff --git a/apps/www/public/images/launchweek/lwx/logos/lwx_logo.png b/apps/www/public/images/launchweek/lwx/logos/lwx_logo.png
new file mode 100644
index 00000000000..ba204d468ba
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/logos/lwx_logo.png differ
diff --git a/apps/www/public/images/launchweek/lwx/logos/lwx_logo.svg b/apps/www/public/images/launchweek/lwx/logos/lwx_logo.svg
new file mode 100644
index 00000000000..2efafc043a7
--- /dev/null
+++ b/apps/www/public/images/launchweek/lwx/logos/lwx_logo.svg
@@ -0,0 +1,4 @@
+<svg width="160" height="160" viewBox="0 0 160 160" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M119.881 0.275879H159.749V40.1517H119.881H119.874H80.0055L119.874 0.283661V0.275879H119.881ZM119.874 40.1522H159.749L119.874 80.028V40.1522ZM0.25 119.904H40.1219L40.1258 119.904H79.9977L40.1258 159.776V159.78H40.1219H0.250003L0.25 119.904ZM40.1258 119.903H0.250003L40.1258 80.0275L40.1258 119.903Z" fill="#D9D9D9"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M40.1258 0.279774L79.9977 40.1517L40.1258 40.1517H0.25V0.275896L40.1219 0.275879L40.1258 0.275896V0.279774ZM79.9977 40.1522H40.1258H40.1219H0.25L40.1219 80.0241V80.027V80.028H40.1229L79.9977 119.903V80.028V80.027V40.1522ZM119.881 80.027H119.88L80.0055 40.1522V80.027V80.028V119.903H119.874V119.903H159.749L119.881 80.0353V80.028V80.027ZM119.877 159.78H119.874V159.776L80.0016 119.904H119.874L119.877 119.904H159.749V159.78H119.877Z" fill="#D9D9D9"/>
+</svg>
diff --git a/apps/www/public/images/launchweek/lwx/logos/supabase_lwx_logo_dark.png b/apps/www/public/images/launchweek/lwx/logos/supabase_lwx_logo_dark.png
new file mode 100644
index 00000000000..0c22deb3123
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/logos/supabase_lwx_logo_dark.png differ
diff --git a/apps/www/public/images/launchweek/lwx/logos/supabase_lwx_logo_dark.svg b/apps/www/public/images/launchweek/lwx/logos/supabase_lwx_logo_dark.svg
new file mode 100644
index 00000000000..26c7158b2b3
--- /dev/null
+++ b/apps/www/public/images/launchweek/lwx/logos/supabase_lwx_logo_dark.svg
@@ -0,0 +1,32 @@
+<svg width="170" height="174" viewBox="0 0 170 174" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g filter="url(#filter0_ii_549_23213)">
+<path d="M84.6264 9.56965C84.5216 2.58624 75.6969 -0.410766 71.3447 5.05894L5.6671 87.5989C-2.08494 97.3412 4.86786 111.709 17.3344 111.709H85.2555L86.054 164.899C86.1589 171.882 94.9835 174.879 99.3357 169.41L165.013 86.8698C172.765 77.1275 165.812 62.7597 153.346 62.7597H84.9764L84.6264 9.56965Z" fill="url(#paint0_angular_549_23213)"/>
+</g>
+<path d="M85.4241 9.5644L85.424 9.55767C85.3078 1.82161 75.5368 -1.49076 70.7205 4.56227L5.04291 87.1022C-3.12707 97.3697 4.20329 112.507 17.3344 112.507H84.4697L85.2564 164.911C85.3726 172.647 95.1435 175.959 99.9599 169.907L99.3723 169.439L99.9599 169.907L165.637 87.3664L165.013 86.8698L165.637 87.3664C173.807 77.0989 166.477 61.962 153.346 61.962H85.7688L85.4241 9.5644Z" stroke="url(#paint1_linear_549_23213)" stroke-opacity="0.1" stroke-width="1.59537"/>
+<defs>
+<filter id="filter0_ii_549_23213" x="-5.57192" y="-5.74483" width="188.205" height="185.958" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feOffset dx="-6.38149" dy="-6.38149"/>
+<feGaussianBlur stdDeviation="6.38149"/>
+<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"/>
+<feBlend mode="normal" in2="shape" result="effect1_innerShadow_549_23213"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feOffset dx="22.3352" dy="6.38149"/>
+<feGaussianBlur stdDeviation="6.38149"/>
+<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
+<feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.02 0"/>
+<feBlend mode="normal" in2="effect1_innerShadow_549_23213" result="effect2_innerShadow_549_23213"/>
+</filter>
+<radialGradient id="paint0_angular_549_23213" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(85.34 62.6657) rotate(90) scale(198.202 198.202)">
+<stop stop-color="#3E484B"/>
+<stop offset="1" stop-color="#1C2828"/>
+</radialGradient>
+<linearGradient id="paint1_linear_549_23213" x1="85.34" y1="2.23425" x2="135.982" y2="172.234" gradientUnits="userSpaceOnUse">
+<stop stop-color="white"/>
+<stop offset="1" stop-color="#F3F3F3"/>
+</linearGradient>
+</defs>
+</svg>
diff --git a/apps/www/public/images/launchweek/lwx/logos/supabase_lwx_logo_light.png b/apps/www/public/images/launchweek/lwx/logos/supabase_lwx_logo_light.png
new file mode 100644
index 00000000000..1aa099517a9
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/logos/supabase_lwx_logo_light.png differ
diff --git a/apps/www/public/images/launchweek/lwx/logos/supabase_lwx_logo_light.svg b/apps/www/public/images/launchweek/lwx/logos/supabase_lwx_logo_light.svg
new file mode 100644
index 00000000000..797cf719d41
--- /dev/null
+++ b/apps/www/public/images/launchweek/lwx/logos/supabase_lwx_logo_light.svg
@@ -0,0 +1,28 @@
+<svg width="171" height="175" viewBox="0 0 171 175" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g filter="url(#filter0_ii_549_23214)">
+<path d="M84.6353 9.93012C84.5304 2.94671 75.7057 -0.0502928 71.3535 5.41941L5.67589 87.9593C-2.07616 97.7016 4.87665 112.069 17.3432 112.069H85.2644L86.0629 165.26C86.1678 172.243 94.9923 175.239 99.3446 169.77L165.022 87.2302C172.774 77.4879 165.821 63.1202 153.355 63.1202H84.9852L84.6353 9.93012Z" fill="url(#paint0_angular_549_23214)"/>
+</g>
+<path d="M85.6353 9.92354L85.6352 9.91511C85.5161 1.98815 75.5051 -1.4042 70.571 4.79677L4.89339 87.3367C-3.38259 97.7374 4.04354 113.069 17.3432 113.069H84.2793L85.063 165.275C85.1821 173.202 95.193 176.593 100.127 170.393L99.3446 169.77L100.127 170.393L165.805 87.8529L165.022 87.2302L165.805 87.8529C174.08 77.4521 166.654 62.1202 153.355 62.1202H85.9787L85.6353 9.92354Z" stroke="#858585" stroke-width="2"/>
+<defs>
+<filter id="filter0_ii_549_23214" x="-5.96841" y="-5.78951" width="189.016" height="186.768" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feOffset dx="-6.38149" dy="-6.38149"/>
+<feGaussianBlur stdDeviation="6.38149"/>
+<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"/>
+<feBlend mode="normal" in2="shape" result="effect1_innerShadow_549_23214"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feOffset dx="22.3352" dy="6.38149"/>
+<feGaussianBlur stdDeviation="6.38149"/>
+<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
+<feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0"/>
+<feBlend mode="normal" in2="effect1_innerShadow_549_23214" result="effect2_innerShadow_549_23214"/>
+</filter>
+<radialGradient id="paint0_angular_549_23214" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(85.3489 63.8428) rotate(90) scale(197.385 197.385)">
+<stop stop-color="white"/>
+<stop offset="1" stop-color="#DEDEDE"/>
+</radialGradient>
+</defs>
+</svg>
diff --git a/apps/www/public/images/launchweek/lwx/lwx-og.jpg b/apps/www/public/images/launchweek/lwx/lwx-og.jpg
new file mode 100644
index 00000000000..6bc1650c6d4
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/lwx-og.jpg differ
diff --git a/apps/www/public/images/launchweek/lwx/lwx_bg.svg b/apps/www/public/images/launchweek/lwx/lwx_bg.svg
new file mode 100644
index 00000000000..286282f9a6e
--- /dev/null
+++ b/apps/www/public/images/launchweek/lwx/lwx_bg.svg
@@ -0,0 +1,9 @@
+<svg width="830" height="540" viewBox="0 0 830 540" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M373.688 42.002H415.09M373.688 42.002V83.4043M373.688 42.002V0.599609M373.688 42.002H332.285M415.09 42.002V83.4043M415.09 42.002L373.688 0.599609M415.09 42.002H456.492M415.09 42.002L456.492 83.4043M415.09 42.002L456.492 0.599609M415.09 83.4043H373.688M415.09 83.4043V124.807M415.09 83.4043H456.492M373.688 83.4043L332.285 42.002M373.688 83.4043V124.807M373.688 83.4043L332.285 124.807M373.688 83.4043L415.09 124.807M373.688 83.4043H332.285M373.688 0.599609H332.285M332.285 0.599609V42.002M332.285 0.599609H290.883M332.285 42.002V83.4043M332.285 42.002H290.883M332.285 42.002L290.883 83.4043M456.492 166.209V124.807M456.492 166.209L415.09 124.807M456.492 166.209H497.895M456.492 166.209H415.09M456.492 166.209L415.09 207.611M415.09 124.807H456.492M415.09 124.807H373.688M415.09 124.807L373.688 166.209M415.09 124.807V166.209M456.492 124.807H497.895M456.492 124.807V83.4043M456.492 83.4043V42.002M456.492 83.4043L497.895 124.807M456.492 83.4043L497.895 42.002M456.492 83.4043H497.895M456.492 42.002V0.599609M456.492 42.002H497.895M415.09 207.611V166.209M415.09 207.611L373.688 166.209M373.688 166.209H415.09M373.688 166.209V124.807M373.688 166.209H332.285M415.09 373.221V331.818M415.09 373.221L373.688 331.818M415.09 373.221L456.492 331.818M415.09 373.221H373.688M415.09 373.221V414.623M415.09 373.221H456.492M415.09 373.221L456.492 414.623M373.688 331.818H415.09M373.688 331.818L415.09 290.416M373.688 331.818V373.221M373.688 331.818H332.285M415.09 331.818H456.492M415.09 331.818V290.416M497.895 124.807V166.209M497.895 124.807H539.297M497.895 124.807V83.4043M497.895 124.807L539.297 166.209M497.895 166.209H539.297M497.895 166.209V207.611M497.895 0.599609H456.492M497.895 0.599609V42.002M497.895 0.599609H539.297M497.895 42.002V83.4043M497.895 42.002H539.297M497.895 42.002L539.297 83.4043M373.688 124.807H332.285M456.492 331.818L415.09 290.416M456.492 331.818H497.895M456.492 331.818V373.221M332.285 124.807V166.209M332.285 124.807H290.883M332.285 124.807V83.4043M332.285 124.807L290.883 166.209M332.285 166.209H290.883M332.285 166.209V207.611M332.285 83.4043H290.883M497.895 83.4043H539.297M249.48 83.4043H208.078M249.48 83.4043V124.807M249.48 83.4043V42.002M249.48 83.4043H290.883M208.078 83.4043V124.807M208.078 83.4043L166.676 124.807M208.078 83.4043L249.48 42.002M208.078 83.4043H166.676M208.078 83.4043V42.002M208.078 124.807H249.48M208.078 124.807V166.209M208.078 124.807H166.676M249.48 124.807L208.078 166.209M249.48 124.807L290.883 83.4043M249.48 124.807V166.209M249.48 124.807H290.883M290.883 42.002H249.48M290.883 42.002V83.4043M290.883 42.002V0.599609M249.48 42.002L290.883 0.599609M249.48 42.002V0.599609M249.48 42.002H208.078M290.883 83.4043V124.807M290.883 0.599609H249.48M208.078 166.209H166.676M208.078 166.209H249.48M208.078 166.209V207.611M208.078 166.209L166.676 207.611M166.676 124.807V166.209M166.676 124.807H125.273M166.676 124.807V83.4043M166.676 124.807L125.273 166.209M166.676 166.209H125.273M166.676 166.209V207.611M249.48 0.599609H208.078M249.48 166.209H290.883M249.48 166.209V207.611M580.699 83.4043H622.102M580.699 83.4043V124.807M580.699 83.4043V42.002M580.699 83.4043H539.297M622.102 83.4043V124.807M622.102 83.4043L663.504 124.807M622.102 83.4043L580.699 42.002M622.102 83.4043H663.504M622.102 83.4043V42.002M622.102 124.807H580.699M622.102 124.807V166.209M622.102 124.807H663.504M580.699 124.807L622.102 166.209M580.699 124.807L539.297 83.4043M580.699 124.807V166.209M580.699 124.807H539.297M539.297 42.002H580.699M539.297 42.002V83.4043M539.297 42.002V0.599609M580.699 42.002L539.297 0.599609M580.699 42.002V0.599609M580.699 42.002H622.102M539.297 83.4043V124.807M539.297 0.599609H580.699M622.102 166.209H663.504M622.102 166.209H580.699M622.102 166.209V207.611M622.102 166.209L663.504 207.611M663.504 124.807V166.209M663.504 124.807H704.906M663.504 124.807V83.4043M663.504 124.807L704.906 166.209M663.504 166.209H704.906M663.504 166.209V207.611M580.699 0.599609H622.102M580.699 166.209H539.297M580.699 166.209V207.611M290.883 124.807V166.209M290.883 166.209V207.611M290.883 166.209L249.48 207.611M539.297 124.807V166.209M539.297 166.209V207.611M539.297 166.209L580.699 207.611M166.676 83.4043H125.273M166.676 83.4043V42.002M125.273 83.4043V124.807M125.273 83.4043L83.8711 124.807M125.273 83.4043L166.676 42.002M125.273 83.4043H83.8711M125.273 83.4043V42.002M125.273 124.807V166.209M125.273 124.807H83.8711M208.078 42.002H166.676M208.078 42.002V0.599609M166.676 42.002L208.078 0.599609M166.676 42.002V0.599609M166.676 42.002H125.273M208.078 0.599609H166.676M125.273 166.209H83.8711M125.273 166.209V207.611M125.273 166.209L83.8711 207.611M83.8711 124.807V166.209M83.8711 124.807H42.4687M83.8711 124.807V83.4043M83.8711 124.807L42.4688 166.209M83.8711 166.209H42.4688M83.8711 166.209V207.611M166.676 0.599609H125.273M663.504 83.4043H704.906M663.504 83.4043V42.002M704.906 83.4043V124.807M704.906 83.4043L746.309 124.807M704.906 83.4043L663.504 42.002M704.906 83.4043H746.309M704.906 83.4043V42.002M704.906 124.807V166.209M704.906 124.807H746.309M622.102 42.002H663.504M622.102 42.002V0.599609M663.504 42.002L622.102 0.599609M663.504 42.002V0.599609M663.504 42.002H704.906M622.102 0.599609H663.504M704.906 166.209H746.309M704.906 166.209V207.611M704.906 166.209L746.309 207.611M746.309 124.807V166.209M746.309 124.807H787.711M746.309 124.807V83.4043M746.309 124.807L787.711 166.209M746.309 166.209H787.711M746.309 166.209V207.611M663.504 0.599609H704.906M83.8711 83.4043H42.4687M83.8711 83.4043V42.002M42.4687 83.4043V124.807M42.4687 83.4043L1.06641 124.807M42.4687 83.4043L83.8711 42.002M42.4687 83.4043H1.06641M42.4687 83.4043L42.4688 42.002M42.4687 124.807L42.4688 166.209M42.4687 124.807H1.06641M125.273 42.002H83.8711M125.273 42.002V0.599609M83.8711 42.002L125.273 0.599609M83.8711 42.002V0.599609M83.8711 42.002H42.4688M125.273 0.599609H83.8711M42.4688 166.209H1.06641M42.4688 166.209V207.611M42.4688 166.209L1.06641 207.611M1.06641 124.807V166.209M1.06641 124.807L1.06641 83.4043M1.06641 166.209L1.06641 207.611M83.8711 0.599609H42.4688M746.309 83.4043H787.711M746.309 83.4043V42.002M787.711 83.4043V124.807M787.711 83.4043L829.113 124.807M787.711 83.4043L746.309 42.002M787.711 83.4043H829.113M787.711 83.4043V42.002M787.711 124.807V166.209M787.711 124.807H829.113M704.906 42.002H746.309M704.906 42.002V0.599609M746.309 42.002L704.906 0.599609M746.309 42.002V0.599609M746.309 42.002H787.711M704.906 0.599609H746.309M787.711 166.209H829.113M787.711 166.209V207.611M787.711 166.209L829.113 207.611M829.113 124.807V166.209M829.113 124.807V83.4043M829.113 166.209V207.611M746.309 0.599609H787.711M787.711 42.002H829.113M787.711 42.002V0.599609M829.113 42.002V83.4043M829.113 42.002L787.711 0.599609M829.113 42.002V0.599609H787.711M42.4688 42.002H1.06641M42.4688 42.002V0.599609M1.06641 42.002V83.4043M1.06641 42.002L42.4688 0.599609M1.06641 42.002V0.599609H42.4688M332.285 207.611V249.014M332.285 207.611L373.688 249.014M332.285 207.611H290.883M332.285 207.611L290.883 249.014M373.688 249.014H332.285M373.688 249.014L332.285 290.416M332.285 249.014H290.883M332.285 249.014V290.416M497.895 207.611V249.014M497.895 207.611L456.492 249.014M497.895 207.611H539.297M497.895 207.611L539.297 249.014M497.895 249.014H456.492M497.895 249.014H539.297M497.895 249.014V290.416M456.492 249.014L497.895 290.416M249.48 249.014H208.078M249.48 249.014V290.416M249.48 249.014V207.611M249.48 249.014H290.883M208.078 249.014V290.416M208.078 249.014L166.676 290.416M208.078 249.014L249.48 207.611M208.078 249.014H166.676M208.078 249.014V207.611M208.078 290.416H249.48M208.078 290.416V331.818M208.078 290.416H166.676M249.48 290.416L208.078 331.818M249.48 290.416L290.883 249.014M249.48 290.416V331.818M249.48 290.416H290.883M290.883 207.611H249.48M290.883 207.611V249.014M249.48 207.611H208.078M290.883 249.014V290.416M208.078 331.818H166.676M208.078 331.818H249.48M208.078 331.818V373.221M208.078 331.818L166.676 373.221M166.676 290.416V331.818M166.676 290.416H125.273M166.676 290.416V249.014M166.676 290.416L125.273 331.818M166.676 331.818H125.273M166.676 331.818V373.221M249.48 331.818H290.883M249.48 331.818V373.221M580.699 249.014H622.102M580.699 249.014V290.416M580.699 249.014V207.611M580.699 249.014H539.297M622.102 249.014V290.416M622.102 249.014L663.504 290.416M622.102 249.014L580.699 207.611M622.102 249.014H663.504M622.102 249.014V207.611M622.102 290.416H580.699M622.102 290.416V331.818M622.102 290.416H663.504M580.699 290.416L622.102 331.818M580.699 290.416L539.297 249.014M580.699 290.416V331.818M580.699 290.416H539.297M539.297 207.611H580.699M539.297 207.611V249.014M580.699 207.611H622.102M539.297 249.014V290.416M622.102 331.818H663.504M622.102 331.818H580.699M622.102 331.818V373.221M622.102 331.818L663.504 373.221M663.504 290.416V331.818M663.504 290.416H704.906M663.504 290.416V249.014M663.504 290.416L704.906 331.818M663.504 331.818H704.906M663.504 331.818V373.221M580.699 331.818H539.297M580.699 331.818V373.221M290.883 290.416H332.285M290.883 290.416V331.818M332.285 290.416L290.883 331.818M332.285 290.416V331.818M290.883 331.818H332.285M290.883 331.818V373.221M290.883 331.818L249.48 373.221M332.285 331.818V373.221M539.297 290.416H497.895M539.297 290.416V331.818M497.895 290.416L539.297 331.818M497.895 290.416V331.818M539.297 331.818H497.895M539.297 331.818V373.221M539.297 331.818L580.699 373.221M497.895 331.818V373.221M166.676 249.014H125.273M166.676 249.014V207.611M125.273 249.014V290.416M125.273 249.014L83.8711 290.416M125.273 249.014L166.676 207.611M125.273 249.014H83.8711M125.273 249.014V207.611M125.273 290.416V331.818M125.273 290.416H83.8711M208.078 207.611H166.676M166.676 207.611H125.273M125.273 331.818H83.8711M125.273 331.818V373.221M125.273 331.818L83.8711 373.221M83.8711 290.416V331.818M83.8711 290.416H42.4687M83.8711 290.416V249.014M83.8711 290.416L42.4688 331.818M83.8711 331.818H42.4688M83.8711 331.818V373.221M663.504 249.014H704.906M663.504 249.014V207.611M704.906 249.014V290.416M704.906 249.014L746.309 290.416M704.906 249.014L663.504 207.611M704.906 249.014H746.309M704.906 249.014V207.611M704.906 290.416V331.818M704.906 290.416H746.309M622.102 207.611H663.504M663.504 207.611H704.906M704.906 331.818H746.309M704.906 331.818V373.221M704.906 331.818L746.309 373.221M746.309 290.416V331.818M746.309 290.416H787.711M746.309 290.416V249.014M746.309 290.416L787.711 331.818M746.309 331.818H787.711M746.309 331.818V373.221M83.8711 249.014H42.4687M83.8711 249.014V207.611M42.4687 249.014V290.416M42.4687 249.014L1.06641 290.416M42.4687 249.014L83.8711 207.611M42.4687 249.014H1.06641M42.4687 249.014L42.4688 207.611M42.4687 290.416L42.4688 331.818M42.4687 290.416H1.06641M125.273 207.611H83.8711M83.8711 207.611H42.4688M42.4688 331.818H1.06641M42.4688 331.818V373.221M42.4688 331.818L1.06641 373.221M1.06641 290.416V331.818M1.06641 290.416L1.06641 249.014M1.06641 331.818L1.06641 373.221M746.309 249.014H787.711M746.309 249.014V207.611M787.711 249.014V290.416M787.711 249.014L829.113 290.416M787.711 249.014L746.309 207.611M787.711 249.014H829.113M787.711 249.014V207.611M787.711 290.416V331.818M787.711 290.416H829.113M704.906 207.611H746.309M746.309 207.611H787.711M787.711 331.818H829.113M787.711 331.818V373.221M787.711 331.818L829.113 373.221M829.113 290.416V331.818M829.113 290.416V249.014M829.113 331.818V373.221M787.711 207.611H829.113M829.113 207.611V249.014M42.4688 207.611H1.06641M1.06641 207.611V249.014M373.688 373.221V414.623M373.688 373.221H332.285M415.09 414.623H373.688M415.09 414.623V456.025M415.09 414.623H456.492M373.688 414.623L332.285 373.221M373.688 414.623V456.025M373.688 414.623L332.285 456.025M373.688 414.623L415.09 456.025M373.688 414.623H332.285M373.688 497.428V538.83M373.688 497.428L415.09 538.83M373.688 497.428H415.09M373.688 497.428V456.025M373.688 497.428L415.09 456.025M373.688 497.428H332.285M415.09 538.83H373.688M415.09 538.83V497.428M415.09 538.83L456.492 497.428M415.09 538.83H456.492M373.688 538.83H332.285M332.285 373.221V414.623M332.285 373.221H290.883M332.285 373.221L290.883 414.623M456.492 497.428V456.025M456.492 497.428L415.09 456.025M456.492 497.428H497.895M456.492 497.428H415.09M456.492 497.428V538.83M415.09 456.025H456.492M415.09 456.025H373.688M415.09 456.025V497.428M456.492 456.025H497.895M456.492 456.025V414.623M456.492 414.623V373.221M456.492 414.623L497.895 456.025M456.492 414.623L497.895 373.221M456.492 414.623H497.895M456.492 373.221H497.895M497.895 456.025V497.428M497.895 456.025H539.297M497.895 456.025V414.623M497.895 456.025L539.297 497.428M497.895 497.428H539.297M497.895 497.428V538.83M497.895 373.221V414.623M497.895 373.221H539.297M497.895 373.221L539.297 414.623M373.688 456.025H332.285M332.285 456.025V497.428M332.285 456.025H290.883M332.285 456.025V414.623M332.285 456.025L290.883 497.428M332.285 497.428H290.883M332.285 497.428V538.83M456.492 538.83H497.895M332.285 414.623H290.883M497.895 414.623H539.297M249.48 414.623H208.078M249.48 414.623V456.025M249.48 414.623V373.221M249.48 414.623H290.883M208.078 414.623V456.025M208.078 414.623L166.676 456.025M208.078 414.623L249.48 373.221M208.078 414.623H166.676M208.078 414.623V373.221M208.078 456.025H249.48M208.078 456.025V497.428M208.078 456.025H166.676M249.48 456.025L208.078 497.428M249.48 456.025L290.883 414.623M249.48 456.025V497.428M249.48 456.025H290.883M290.883 373.221H249.48M290.883 373.221V414.623M249.48 373.221H208.078M290.883 414.623V456.025M208.078 497.428H166.676M208.078 497.428H249.48M208.078 497.428V538.83M208.078 497.428L166.676 538.83M166.676 456.025V497.428M166.676 456.025H125.273M166.676 456.025V414.623M166.676 456.025L125.273 497.428M166.676 497.428H125.273M166.676 497.428V538.83M249.48 497.428H290.883M249.48 497.428V538.83M580.699 414.623H622.102M580.699 414.623V456.025M580.699 414.623V373.221M580.699 414.623H539.297M622.102 414.623V456.025M622.102 414.623L663.504 456.025M622.102 414.623L580.699 373.221M622.102 414.623H663.504M622.102 414.623V373.221M622.102 456.025H580.699M622.102 456.025V497.428M622.102 456.025H663.504M580.699 456.025L622.102 497.428M580.699 456.025L539.297 414.623M580.699 456.025V497.428M580.699 456.025H539.297M539.297 373.221H580.699M539.297 373.221V414.623M580.699 373.221H622.102M539.297 414.623V456.025M622.102 497.428H663.504M622.102 497.428H580.699M622.102 497.428V538.83M622.102 497.428L663.504 538.83M663.504 456.025V497.428M663.504 456.025H704.906M663.504 456.025V414.623M663.504 456.025L704.906 497.428M663.504 497.428H704.906M663.504 497.428V538.83M580.699 497.428H539.297M580.699 497.428V538.83M290.883 456.025V497.428M290.883 497.428V538.83M290.883 497.428L249.48 538.83M539.297 456.025V497.428M539.297 497.428V538.83M539.297 497.428L580.699 538.83M166.676 414.623H125.273M166.676 414.623V373.221M125.273 414.623V456.025M125.273 414.623L83.8711 456.025M125.273 414.623L166.676 373.221M125.273 414.623H83.8711M125.273 414.623V373.221M125.273 456.025V497.428M125.273 456.025H83.8711M208.078 373.221H166.676M166.676 373.221H125.273M125.273 497.428H83.8711M125.273 497.428V538.83M125.273 497.428L83.8711 538.83M83.8711 456.025V497.428M83.8711 456.025H42.4687M83.8711 456.025V414.623M83.8711 456.025L42.4688 497.428M83.8711 497.428H42.4688M83.8711 497.428V538.83M663.504 414.623H704.906M663.504 414.623V373.221M704.906 414.623V456.025M704.906 414.623L746.309 456.025M704.906 414.623L663.504 373.221M704.906 414.623H746.309M704.906 414.623V373.221M704.906 456.025V497.428M704.906 456.025H746.309M622.102 373.221H663.504M663.504 373.221H704.906M704.906 497.428H746.309M704.906 497.428V538.83M704.906 497.428L746.309 538.83M746.309 456.025V497.428M746.309 456.025H787.711M746.309 456.025V414.623M746.309 456.025L787.711 497.428M746.309 497.428H787.711M746.309 497.428V538.83M83.8711 414.623H42.4687M83.8711 414.623V373.221M42.4687 414.623V456.025M42.4687 414.623L1.06641 456.025M42.4687 414.623L83.8711 373.221M42.4687 414.623H1.06641M42.4687 414.623L42.4688 373.221M42.4687 456.025L42.4688 497.428M42.4687 456.025H1.06641M125.273 373.221H83.8711M83.8711 373.221H42.4688M42.4688 497.428H1.06641M42.4688 497.428V538.83M42.4688 497.428L1.06641 538.83M1.06641 456.025V497.428M1.06641 456.025L1.06641 414.623M1.06641 497.428L1.06641 538.83M746.309 414.623H787.711M746.309 414.623V373.221M787.711 414.623V456.025M787.711 414.623L829.113 456.025M787.711 414.623L746.309 373.221M787.711 414.623H829.113M787.711 414.623V373.221M787.711 456.025V497.428M787.711 456.025H829.113M704.906 373.221H746.309M746.309 373.221H787.711M787.711 497.428H829.113M787.711 497.428V538.83M787.711 497.428L829.113 538.83M829.113 456.025V497.428M829.113 456.025V414.623M829.113 497.428V538.83M787.711 373.221H829.113M829.113 373.221V414.623M42.4688 373.221H1.06641M1.06641 373.221V414.623M249.48 538.83H290.883M249.48 538.83H208.078M290.883 538.83H332.285M580.699 538.83H539.297M580.699 538.83H622.102M539.297 538.83H497.895M166.676 538.83H208.078M166.676 538.83H125.273M663.504 538.83H622.102M663.504 538.83H704.906M83.8711 538.83H125.273M83.8711 538.83H42.4688M746.309 538.83H704.906M746.309 538.83H787.711M829.113 538.83H787.711M1.06641 538.83H42.4688" stroke="url(#paint0_radial_398_21630)" stroke-width="0.5"/>
+<defs>
+<radialGradient id="paint0_radial_398_21630" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(415.09 269.715) rotate(90) scale(269.115 414.023)">
+<stop stop-color="#303030"/>
+<stop offset="1" stop-color="#303030" stop-opacity="0"/>
+</radialGradient>
+</defs>
+</svg>
diff --git a/apps/www/public/images/launchweek/lwx/swag/lwx_keyboard.png b/apps/www/public/images/launchweek/lwx/swag/lwx_keyboard.png
new file mode 100644
index 00000000000..c9fc9374326
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/swag/lwx_keyboard.png differ
diff --git a/apps/www/public/images/launchweek/lwx/swag/lwx_keyboard_preview.png b/apps/www/public/images/launchweek/lwx/swag/lwx_keyboard_preview.png
new file mode 100644
index 00000000000..ae49a00a37a
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/swag/lwx_keyboard_preview.png differ
diff --git a/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_bg_platinum.png b/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_bg_platinum.png
new file mode 100644
index 00000000000..f082f63e7e1
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_bg_platinum.png differ
diff --git a/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_bg_platinum.svg b/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_bg_platinum.svg
new file mode 100644
index 00000000000..4a2edbb5303
--- /dev/null
+++ b/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_bg_platinum.svg
@@ -0,0 +1,124 @@
+<svg width="786" height="390" viewBox="0 0 786 390" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_539_24082)">
+<rect width="786" height="390" fill="url(#paint0_linear_539_24082)"/>
+<g style="mix-blend-mode:screen" opacity="0.4">
+<rect x="501.945" y="-76.4521" width="101.778" height="671.06" transform="rotate(45 501.945 -76.4521)" fill="url(#paint1_linear_539_24082)"/>
+</g>
+<g style="mix-blend-mode:screen" opacity="0.4">
+<rect x="789.945" y="-76.4521" width="101.778" height="671.06" transform="rotate(45 789.945 -76.4521)" fill="url(#paint2_linear_539_24082)"/>
+</g>
+<g style="mix-blend-mode:screen" opacity="0.4">
+<rect x="501.945" y="-76.4521" width="101.778" height="671.06" transform="rotate(45 501.945 -76.4521)" fill="url(#paint3_linear_539_24082)"/>
+</g>
+<g style="mix-blend-mode:screen" opacity="0.4">
+<rect x="341.344" y="-204.052" width="101.778" height="671.06" transform="rotate(45 341.344 -204.052)" fill="url(#paint4_linear_539_24082)"/>
+</g>
+<mask id="mask0_539_24082" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="-231" y="-291" width="1635" height="1075">
+<rect x="-231" y="-291" width="1634.96" height="1074.97" fill="url(#paint5_radial_539_24082)"/>
+</mask>
+<g mask="url(#mask0_539_24082)">
+<path d="M518.408 -165.724H590.489M518.408 -165.724V-93.6428H590.489V-165.724M518.408 -165.724V-237.807L590.489 -165.724M446.329 -237.807H518.41V-165.726M446.329 -237.807V-165.726M446.329 -237.807H374.248V-165.726M518.41 -165.726H446.329M518.41 -165.726V-93.6428M446.329 -165.726L518.41 -93.6428M446.329 -165.726V-93.6428M446.329 -165.726H374.248M446.329 -165.726L374.248 -93.6428M518.41 -93.6428V-21.5621H446.329M518.41 -93.6428L446.329 -21.5621M518.41 -93.6428H446.329M662.574 -93.6452V-165.726L590.492 -165.726L662.574 -93.6452ZM662.574 -93.6452H734.655V-21.5639L662.574 -93.6452ZM590.495 122.604V50.5227M518.414 50.5227H590.495M590.495 50.5227H662.576M590.495 410.924V338.842M590.495 410.924L518.414 338.842H590.495M590.495 410.924L662.576 338.842H590.495M590.495 410.924L662.576 410.922V338.839M590.495 410.924L662.576 338.839M590.495 410.924V483.005H662.576L590.495 410.924ZM734.653 -21.5621H662.571M734.653 -21.5621L662.571 -93.6434M734.653 -21.5621V50.521L806.734 50.5192V122.602M734.653 -21.5621L806.734 -21.5639V-93.6452H734.653V-21.5621ZM662.571 -21.5621V-93.6434M662.571 -21.5621V50.521M662.571 -93.6434V-165.726M662.571 -93.6434L734.653 -165.726M734.653 -237.807H662.571V-165.726M734.653 -237.807V-165.726M734.653 -237.807H806.734V-165.726M662.571 -165.726H734.653M734.653 -165.726H806.734M734.653 -165.726L806.734 -93.6428M734.653 -165.726V-93.6428H806.734M518.408 50.521L590.489 -21.5603H518.408V50.3485M446.329 -21.5621V50.521L374.248 50.5192M446.329 -21.5621L374.248 -21.5639V-93.6452H446.329V-21.5621ZM446.329 -21.5621L374.248 50.5192M590.495 -165.726H662.576V-237.807L590.495 -165.726ZM590.495 -165.726V-93.6428H662.576L590.495 -165.726ZM518.408 -93.6452H590.489V-21.5639M518.408 -93.6452L590.489 -21.5639M518.408 -93.6452H446.326V-21.5639L518.408 -93.6452ZM518.408 -93.6452V-21.5639H590.489M590.495 -21.5639H662.576V-93.6452H590.495V-21.5639ZM590.495 -21.5639V50.5192M590.495 -21.5639L518.414 50.5192H590.495M590.495 -21.5639L662.576 50.5192H590.495M446.329 -93.6428H374.248M302.163 -21.5639H230.082V-93.6452H302.163V-21.5639ZM302.163 -21.5639V50.5192M302.163 -21.5639L230.082 50.5192M302.163 -21.5639L374.244 -21.5621M302.163 -21.5639L374.244 -93.6434V-21.5621M374.242 -165.724H302.16M374.242 -165.724V-93.6428H302.16V-165.724M374.242 -165.724V-237.807M302.16 -165.724L374.242 -237.807M302.16 -165.724V-237.807H374.242M374.248 -165.726V-93.6428M230.084 50.521V-21.5603H302.165L230.084 50.521ZM230.084 50.521V122.604M230.084 50.521L158.003 122.604M230.084 50.521H158.003V122.604M157.997 -21.5621H230.078M157.997 -21.5621L230.078 -93.6434V-21.5621M157.997 -21.5621V50.521M157.997 -21.5621L85.9154 -21.5639V-93.6452H157.997V-21.5621ZM157.997 -21.5621L85.9154 50.5192M230.078 -21.5621V50.521H157.997M157.997 50.521L85.9154 50.5192M157.997 50.521V122.604M302.163 -165.724V-93.6428H230.082M302.163 -165.724L230.082 -93.6428M302.163 -165.724L230.082 -165.726M302.163 -165.724V-237.807H230.082V-165.726M230.082 -93.6428V-165.726M230.082 50.5192H302.163M230.082 50.5192V122.602M302.163 50.5192L374.244 50.521V-21.5621M302.163 50.5192V-21.5603L374.244 -21.5621M302.163 50.5192V122.604M878.802 -21.5639H950.884V-93.6452H878.802V-21.5639ZM878.802 -21.5639V50.5192M878.802 -21.5639L950.884 50.5192M878.802 -21.5639L806.721 -21.5621M878.802 -21.5639L806.721 -93.6434V-21.5621M806.74 -165.724H878.821M806.74 -165.724V-93.6428H878.821V-165.724M806.74 -165.724V-237.807M878.821 -165.724L806.74 -237.807M878.821 -165.724V-237.807H806.74M806.734 -165.726V-93.6428M950.89 50.521V-21.5603H878.808L950.89 50.521ZM950.89 50.521V122.604M950.89 50.521L1022.97 122.604M950.89 50.521H1022.97V122.604M1022.97 -21.5621H950.887M1022.97 -21.5621L950.887 -93.6434V-21.5621M1022.97 -21.5621V50.521M1022.97 -21.5621L1095.05 -21.5639V-93.6452H1022.97V-21.5621ZM1022.97 -21.5621L1095.05 50.5192M950.887 -21.5621V50.521H1022.97M1022.97 50.521L1095.05 50.5192M1022.97 50.521V122.604M878.802 -165.724V-93.6428H950.884M878.802 -165.724L950.884 -93.6428M878.802 -165.724L950.884 -165.726M878.802 -165.724V-237.807H950.884V-165.726M950.884 -93.6428V-165.726M950.884 50.5192H878.802M950.884 50.5192V122.602M878.802 50.5192L806.721 50.521V-21.5621M878.802 50.5192V-21.5603L806.721 -21.5621M878.802 50.5192V122.604M374.242 50.521V-21.5603H446.323L374.242 50.521ZM374.242 50.521V122.604M374.242 50.521L302.16 122.604M374.242 50.521H302.16V122.604M374.248 50.5192V122.602M590.495 266.758V338.839M518.414 338.839H590.495M590.495 338.839H662.576M806.74 50.521V-21.5603H734.659M806.74 50.521V122.604M806.74 50.521L878.821 122.604M806.74 50.521H878.821V122.604M230.084 -165.724H158.003M230.084 -165.724V-93.6428H158.003V-165.724M230.084 -165.724V-237.807M158.003 -165.724L230.084 -237.807M158.003 -165.724V-237.807H230.084M85.9178 50.521V-21.5603H157.999L85.9178 50.521ZM85.9178 50.521V122.604M85.9178 50.521L13.8365 122.604M85.9178 50.521H13.8365V122.604M13.8389 -21.5621H85.9202M13.8389 -21.5621L85.9202 -93.6434L85.9202 -21.5621M13.8389 -21.5621V50.521M13.8389 -21.5621L-58.2424 -21.5639V-93.6452H13.8389V-21.5621ZM13.8389 -21.5621L-58.2424 50.5192M85.9202 -21.5621V50.521H13.8389M13.8389 50.521L-58.2424 50.5192M13.8389 50.521V122.604M157.997 -165.724V-93.6428H85.9154M157.997 -165.724L85.9154 -93.6428M157.997 -165.724L85.9154 -165.726M157.997 -165.724V-237.807H85.9154V-165.726M85.9154 -93.6428V-165.726M85.9154 50.5192V122.602M950.89 -165.724H1022.97M950.89 -165.724V-93.6428H1022.97V-165.724M950.89 -165.724V-237.807M1022.97 -165.724L950.89 -237.807M1022.97 -165.724V-237.807H950.89M1095.05 50.521V-21.5603H1022.97L1095.05 50.521ZM1095.05 50.521V122.604M1095.05 50.521L1167.13 122.604M1095.05 50.521H1167.13V122.604M1167.13 -21.5621H1095.05M1167.13 -21.5621L1095.05 -93.6434V-21.5621M1167.13 -21.5621V50.521M1167.13 -21.5621L1239.22 -21.5639V-93.6452H1167.13V-21.5621ZM1167.13 -21.5621L1239.22 50.5192M1095.05 -21.5621V50.521H1167.13M1167.13 50.521L1239.22 50.5192M1167.13 50.521V122.604M1022.97 -165.724V-93.6428H1095.05M1022.97 -165.724L1095.05 -93.6428M1022.97 -165.724L1095.05 -165.726M1022.97 -165.724V-237.807H1095.05V-165.726M1095.05 -93.6428V-165.726M1095.05 50.5192V122.602M85.9178 -165.724H13.8365M85.9178 -165.724V-93.6428H13.8365V-165.724M85.9178 -165.724V-237.807M13.8365 -165.724L85.9178 -237.807M13.8365 -165.724V-237.807H85.9178M-58.2483 50.521L-58.2483 -21.5603H13.833L-58.2483 50.521ZM-58.2483 50.521V122.604M-58.2483 50.521L-130.33 122.604M-58.2483 50.521H-130.33L-130.33 122.604M-130.327 -21.5621H-58.2459M-130.327 -21.5621L-58.2459 -93.6434V-21.5621M-130.327 -21.5621V50.521H-58.2459V-21.5621M13.8389 -165.724V-93.6428H-58.2424M13.8389 -165.724L-58.2424 -93.6428M13.8389 -165.724L-58.2424 -165.726M13.8389 -165.724V-237.807H-58.2424V-165.726M-58.2424 -93.6428V-165.726M-58.2424 50.5192V122.602M1095.05 -165.724H1167.13M1095.05 -165.724V-93.6428H1167.13V-165.724M1095.05 -165.724V-237.807M1167.13 -165.724L1095.05 -237.807M1167.13 -165.724V-237.807H1095.05M1239.21 50.521V-21.5603H1167.13L1239.21 50.521ZM1239.21 50.521V122.604M1239.21 50.521L1311.29 122.604M1239.21 50.521H1311.29V122.604M1311.29 -21.5621H1239.21M1311.29 -21.5621L1239.21 -93.6434V-21.5621M1311.29 -21.5621V50.521H1239.21V-21.5621M1167.13 -165.724V-93.6428H1239.22M1167.13 -165.724L1239.22 -93.6428M1167.13 -165.724L1239.22 -165.726M1167.13 -165.724V-237.807H1239.22V-165.726M1239.22 -93.6428V-165.726M1239.22 50.5192V122.602M1239.21 -165.724H1311.29M1239.21 -165.724V-93.6428H1311.29V-165.724M1239.21 -165.724V-237.807M1311.29 -165.724L1239.21 -237.807M1311.29 -165.724V-237.807H1239.21M-58.2483 -165.724H-130.33M-58.2483 -165.724V-93.6428H-130.33V-165.724M-58.2483 -165.724V-237.807M-130.33 -165.724L-58.2483 -237.807M-130.33 -165.724L-130.33 -237.807H-58.2483M446.329 122.604V194.685M446.329 122.604L374.248 122.602M446.329 122.604L374.248 194.685M518.41 194.685H446.329M446.329 194.685H374.248M734.655 122.604V194.685H663.345M662.574 194.685L662.868 194.391M374.242 122.604H302.16M374.242 122.604V194.685H302.16V122.604M374.248 122.602V194.685M230.084 338.841V266.759H302.165L230.084 338.841ZM230.084 338.841V410.924M230.084 338.841L158.003 410.924M230.084 338.841H158.003V410.924M157.997 266.758H230.078M157.997 266.758L230.078 194.676V266.758M157.997 266.758V338.841M157.997 266.758L85.9154 338.839M230.078 266.758V338.841H157.997M157.997 338.841L85.9154 338.839M157.997 338.841V410.924M302.163 122.604V194.685H230.082M302.163 122.604L230.082 194.685M302.163 122.604L230.082 122.602M230.082 194.685V122.602M302.163 266.758V338.839M302.163 266.758L230.082 338.839M302.163 266.758H374.244M302.163 266.758L374.244 194.676V266.758M230.082 338.839H302.163M230.082 338.839V410.922M302.163 338.839L374.244 338.841V266.758M302.163 338.839V410.924M806.74 122.604H878.821M806.74 122.604V194.685H878.821V122.604M806.734 122.602H734.653M806.734 122.602V194.685M734.653 122.602L806.734 194.685M734.653 122.602V194.685H806.734M950.89 338.841V266.759H878.808L950.89 338.841ZM950.89 338.841V410.924M950.89 338.841L1022.97 410.924M950.89 338.841H1022.97V410.924M1022.97 266.758H950.887M1022.97 266.758L950.887 194.676V266.758M1022.97 266.758V338.841M1022.97 266.758L1095.05 338.839M950.887 266.758V338.841H1022.97M1022.97 338.841L1095.05 338.839M1022.97 338.841V410.924M878.802 122.604V194.685H950.884M878.802 122.604L950.884 194.685M878.802 122.604L950.884 122.602M950.884 194.685V122.602M878.802 266.758V338.839M878.802 266.758L950.884 338.839M878.802 266.758H806.721M878.802 266.758L806.721 194.676V266.758M950.884 338.839H878.802M950.884 338.839V410.922M878.802 338.839L806.721 338.841V266.758M878.802 338.839V410.924M374.242 338.841V266.759H446.323L374.242 338.841ZM374.242 338.841V410.924M374.242 338.841L302.16 410.924M374.242 338.841H302.16V410.924M518.408 194.683H446.326V266.764M446.329 266.758L374.248 338.839M374.248 338.839H446.329V410.922M374.248 338.839V410.922M806.74 338.841V266.759H734.659L806.74 338.841ZM806.74 338.841V410.924M806.74 338.841L878.821 410.924M806.74 338.841H878.821V410.924M734.655 194.683V266.764M734.653 266.758L806.734 338.839M806.734 338.839H734.653V410.922M806.734 338.839V410.922M230.084 122.604H158.003M230.084 122.604V194.685H158.003V122.604M85.9178 338.841V266.759H157.999L85.9178 338.841ZM85.9178 338.841V410.924M85.9178 338.841L13.8365 410.924M85.9178 338.841H13.8365V410.924M13.8389 266.758H85.9202M13.8389 266.758L85.9202 194.676L85.9202 266.758M13.8389 266.758V338.841M13.8389 266.758L-58.2424 338.839M85.9202 266.758V338.841H13.8389M13.8389 338.841L-58.2424 338.839M13.8389 338.841V410.924M157.997 122.604V194.685H85.9154M157.997 122.604L85.9154 194.685M157.997 122.604L85.9154 122.602M85.9154 194.685V122.602M85.9154 338.839V410.922M950.89 122.604H1022.97M950.89 122.604V194.685H1022.97V122.604M1095.05 338.841V266.759H1022.97L1095.05 338.841ZM1095.05 338.841V410.924M1095.05 338.841L1167.13 410.924M1095.05 338.841H1167.13V410.924M1167.13 266.758H1095.05M1167.13 266.758L1095.05 194.676V266.758M1167.13 266.758V338.841M1167.13 266.758L1239.22 338.839M1095.05 266.758V338.841H1167.13M1167.13 338.841L1239.22 338.839M1167.13 338.841V410.924M1022.97 122.604V194.685H1095.05M1022.97 122.604L1095.05 194.685M1022.97 122.604L1095.05 122.602M1095.05 194.685V122.602M1095.05 338.839V410.922M85.9178 122.604H13.8365M85.9178 122.604V194.685H13.8365V122.604M-58.2483 338.841L-58.2483 266.759H13.833L-58.2483 338.841ZM-58.2483 338.841V410.924M-58.2483 338.841L-130.33 410.924M-58.2483 338.841H-130.33L-130.33 410.924M-130.327 266.758H-58.2459M-130.327 266.758L-58.2459 194.676V266.758M-130.327 266.758V338.841H-58.2459V266.758M13.8389 122.604V194.685H-58.2424M13.8389 122.604L-58.2424 194.685M13.8389 122.604L-58.2424 122.602M-58.2424 194.685V122.602M-58.2424 338.839V410.922M1095.05 122.604H1167.13M1095.05 122.604V194.685H1167.13V122.604M1239.21 338.841V266.759H1167.13L1239.21 338.841ZM1239.21 338.841V410.924M1239.21 338.841L1311.29 410.924M1239.21 338.841H1311.29V410.924M1311.29 266.758H1239.21M1311.29 266.758L1239.21 194.676V266.758M1311.29 266.758V338.841H1239.21V266.758M1167.13 122.604V194.685H1239.22M1167.13 122.604L1239.22 194.685M1167.13 122.604L1239.22 122.602M1239.22 194.685V122.602M1239.22 338.839V410.922M1239.21 122.604H1311.29M1239.21 122.604V194.685H1311.29V122.604M-58.2483 122.604H-130.33M-58.2483 122.604V194.685H-130.33V122.604M518.408 410.924H590.489M518.408 410.924V483.005H590.489V410.924M518.408 410.924V338.841L590.489 410.924M518.408 627.169V699.25M518.408 627.169L590.489 699.25H518.408M518.408 627.169V555.087H590.489L518.408 627.169ZM518.408 627.169H446.326V699.25H518.408M518.41 338.841V410.922M518.41 410.922H446.329M518.41 410.922V483.005M446.329 410.922L518.41 483.005M446.329 410.922V483.005M446.329 410.922H374.248M446.329 410.922L374.248 483.005M518.41 483.005V555.086M518.41 483.005L446.329 555.086M518.41 483.005H446.329M662.574 627.169V555.087H590.492L662.574 627.169ZM662.574 627.169H734.655V699.25H662.574V627.169ZM662.574 483.003V410.921H590.492L662.574 483.003ZM662.574 483.003H734.655V555.084L662.574 483.003ZM590.495 699.248V627.166M590.495 699.248L518.414 627.166M590.495 699.248L662.576 627.166H590.495M518.414 627.166H590.495M518.414 627.166L590.495 555.084M590.495 627.166V555.084M590.495 627.166L662.576 627.169M734.653 555.086H662.571M734.653 555.086L662.571 483.004M734.653 555.086V627.169M734.653 555.086L806.734 555.084V483.003H734.653V555.086ZM734.653 555.086L806.734 627.167M662.571 555.086V483.004M662.571 555.086V627.169H734.653M662.571 483.004V410.922M662.571 483.004L734.653 410.922M734.653 627.169L806.734 627.167M734.653 627.169V699.25H806.734V627.167M662.571 338.841V410.922M662.571 410.922H734.653M734.653 410.922H806.734M734.653 410.922L806.734 483.005M734.653 410.922V483.005H806.734M446.329 555.086H518.41M446.329 555.086V627.169M446.329 555.086L374.248 555.084V483.003H446.329V555.086ZM446.329 555.086L374.248 627.167M518.41 555.086V627.169H446.329M446.329 627.169L374.248 627.167M446.329 627.169V699.25H374.248V627.167M662.576 627.169V699.25H590.495L662.576 627.169ZM662.576 627.169L590.495 555.084M518.408 483.003H590.489V555.084M518.408 483.003L590.489 555.084M518.408 483.003H446.326V555.084L518.408 483.003ZM518.408 483.003V555.084H590.489M590.495 555.084H662.576V483.003H590.495V555.084ZM446.329 483.005H374.248M302.163 555.084H230.082V483.003H302.163V555.084ZM302.163 555.084V627.167M302.163 555.084L230.082 627.167M302.163 555.084L374.244 555.086M302.163 555.084L374.244 483.004V555.086M374.242 410.924H302.16M374.242 410.924V483.005H302.16V410.924M374.248 410.922V483.005M230.084 627.169V555.087H302.165L230.084 627.169ZM230.084 627.169V699.25H158.003M230.084 627.169L158.003 699.25M230.084 627.169H158.003V699.25M157.997 555.086H230.078M157.997 555.086L230.078 483.004V555.086M157.997 555.086V627.169M157.997 555.086L85.9154 555.084V483.003H157.997V555.086ZM157.997 555.086L85.9154 627.167M230.078 555.086V627.169H157.997M157.997 627.169L85.9154 627.167M157.997 627.169V699.25H85.9154V627.167M302.163 410.924V483.005H230.082M302.163 410.924L230.082 483.005M302.163 410.924L230.082 410.922M230.082 483.005V410.922M230.082 627.167H302.163M230.082 627.167V699.25H302.163V627.167M302.163 627.167L374.244 627.169V555.086M302.163 627.167V555.087L374.244 555.086M878.802 555.084H950.884V483.003H878.802V555.084ZM878.802 555.084V627.167M878.802 555.084L950.884 627.167M878.802 555.084L806.721 555.086M878.802 555.084L806.721 483.004V555.086M806.74 410.924H878.821M806.74 410.924V483.005H878.821V410.924M806.734 410.922V483.005M950.89 627.169V555.087H878.808L950.89 627.169ZM950.89 627.169V699.25H1022.97M950.89 627.169L1022.97 699.25M950.89 627.169H1022.97V699.25M1022.97 555.086H950.887M1022.97 555.086L950.887 483.004V555.086M1022.97 555.086V627.169M1022.97 555.086L1095.05 555.084V483.003H1022.97V555.086ZM1022.97 555.086L1095.05 627.167M950.887 555.086V627.169H1022.97M1022.97 627.169L1095.05 627.167M1022.97 627.169V699.25H1095.05V627.167M878.802 410.924V483.005H950.884M878.802 410.924L950.884 483.005M878.802 410.924L950.884 410.922M950.884 483.005V410.922M950.884 627.167H878.802M950.884 627.167V699.25H878.802V627.167M878.802 627.167L806.721 627.169V555.086M878.802 627.167V555.087L806.721 555.086M374.242 627.169V555.087H446.323L374.242 627.169ZM374.242 627.169V699.25H302.16M374.242 627.169L302.16 699.25M374.242 627.169H302.16V699.25M806.74 627.169V555.087H734.659L806.74 627.169ZM806.74 627.169V699.25H878.821M806.74 627.169L878.821 699.25M806.74 627.169H878.821V699.25M230.084 410.924H158.003M230.084 410.924V483.005H158.003V410.924M85.9178 627.169V555.087H157.999L85.9178 627.169ZM85.9178 627.169V699.25H13.8365M85.9178 627.169L13.8365 699.25M85.9178 627.169H13.8365V699.25M13.8389 555.086H85.9202M13.8389 555.086L85.9202 483.004L85.9202 555.086M13.8389 555.086V627.169M13.8389 555.086L-58.2424 555.084V483.003H13.8389V555.086ZM13.8389 555.086L-58.2424 627.167M85.9202 555.086V627.169H13.8389M13.8389 627.169L-58.2424 627.167M13.8389 627.169V699.25H-58.2424V627.167M157.997 410.924V483.005H85.9154M157.997 410.924L85.9154 483.005M157.997 410.924L85.9154 410.922M85.9154 483.005V410.922M950.89 410.924H1022.97M950.89 410.924V483.005H1022.97V410.924M1095.05 627.169V555.087H1022.97L1095.05 627.169ZM1095.05 627.169V699.25H1167.13M1095.05 627.169L1167.13 699.25M1095.05 627.169H1167.13V699.25M1167.13 555.086H1095.05M1167.13 555.086L1095.05 483.004V555.086M1167.13 555.086V627.169M1167.13 555.086L1239.22 555.084V483.003H1167.13V555.086ZM1167.13 555.086L1239.22 627.167M1095.05 555.086V627.169H1167.13M1167.13 627.169L1239.22 627.167M1167.13 627.169V699.25H1239.22V627.167M1022.97 410.924V483.005H1095.05M1022.97 410.924L1095.05 483.005M1022.97 410.924L1095.05 410.922M1095.05 483.005V410.922M85.9178 410.924H13.8365M85.9178 410.924V483.005H13.8365V410.924M-58.2483 627.169L-58.2483 555.087H13.833L-58.2483 627.169ZM-58.2483 627.169V699.25H-130.33M-58.2483 627.169L-130.33 699.25M-58.2483 627.169H-130.33V699.25M-130.327 555.086H-58.2459M-130.327 555.086L-58.2459 483.004V555.086M-130.327 555.086V627.169H-58.2459V555.086M13.8389 410.924V483.005H-58.2424M13.8389 410.924L-58.2424 483.005M13.8389 410.924L-58.2424 410.922M-58.2424 483.005V410.922M1095.05 410.924H1167.13M1095.05 410.924V483.005H1167.13V410.924M1239.21 627.169V555.087H1167.13L1239.21 627.169ZM1239.21 627.169V699.25H1311.29M1239.21 627.169L1311.29 699.25M1239.21 627.169H1311.29V699.25M1311.29 555.086H1239.21M1311.29 555.086L1239.21 483.004V555.086M1311.29 555.086V627.169H1239.21V555.086M1167.13 410.924V483.005H1239.22M1167.13 410.924L1239.22 483.005M1167.13 410.924L1239.22 410.922M1239.22 483.005V410.922M1239.21 410.924H1311.29M1239.21 410.924V483.005H1311.29V410.924M-58.2483 410.924H-130.33M-58.2483 410.924V483.005H-130.33V410.924M662.574 50.521V-21.5603H590.492L662.574 50.521ZM734.655 -165.724V-93.6428H662.574L734.655 -165.724ZM374.242 -93.6452H302.16V-21.5639L374.242 -93.6452ZM806.74 -93.6452H878.821V-21.5639L806.74 -93.6452ZM230.084 -93.6452H158.003V-21.5639L230.084 -93.6452ZM950.89 -93.6452H1022.97V-21.5639L950.89 -93.6452ZM85.9178 -93.6452H13.8365V-21.5639L85.9178 -93.6452ZM1095.05 -93.6452H1167.13V-21.5639L1095.05 -93.6452ZM1239.21 -93.6452H1311.29V-21.5639L1239.21 -93.6452ZM-58.2483 -93.6452H-130.33V-21.5639L-58.2483 -93.6452ZM302.163 194.683H230.082V266.764H302.163V194.683ZM374.242 194.683H302.16V266.764L374.242 194.683ZM878.802 194.683H950.884V266.764H878.802V194.683ZM806.74 194.683H878.821V266.764L806.74 194.683ZM446.329 194.683H374.248V266.764H446.329V194.683ZM734.653 194.683H806.734V266.764H734.653V194.683ZM157.997 194.683H85.9154V266.764H157.997V194.683ZM230.084 194.683H158.003V266.764L230.084 194.683ZM1022.97 194.683H1095.05V266.764H1022.97V194.683ZM950.89 194.683H1022.97V266.764L950.89 194.683ZM13.8389 194.683H-58.2424V266.764H13.8389V194.683ZM85.9178 194.683H13.8365V266.764L85.9178 194.683ZM1167.13 194.683H1239.22V266.764H1167.13V194.683ZM1095.05 194.683H1167.13V266.764L1095.05 194.683ZM1239.21 194.683H1311.29V266.764L1239.21 194.683ZM-58.2483 194.683H-130.33V266.764L-58.2483 194.683ZM734.655 410.924V483.005H662.574L734.655 410.924ZM374.242 483.003H302.16V555.084L374.242 483.003ZM806.74 483.003H878.821V555.084L806.74 483.003ZM230.084 483.003H158.003V555.084L230.084 483.003ZM950.89 483.003H1022.97V555.084L950.89 483.003ZM85.9178 483.003H13.8365V555.084L85.9178 483.003ZM1095.05 483.003H1167.13V555.084L1095.05 483.003ZM1239.21 483.003H1311.29V555.084L1239.21 483.003ZM-58.2483 483.003H-130.33V555.084L-58.2483 483.003Z" stroke="white"/>
+</g>
+<g filter="url(#filter0_di_539_24082)">
+<path d="M662.408 50.9627C662.782 50.5918 663.288 50.3838 663.815 50.3838H733.074C734.178 50.3838 735.074 51.2792 735.074 52.3838V121.638C735.074 122.168 734.863 122.676 734.489 123.051L663.078 194.588L662.995 124.456C662.993 123.355 662.103 122.462 661.002 122.458L590.464 122.208L662.408 50.9627Z" fill="url(#paint6_angular_539_24082)" style="mix-blend-mode:difference" shape-rendering="crispEdges"/>
+<path d="M517.999 338.709C518.531 338.709 519.041 338.497 519.416 338.12L590.874 266.371L520.846 266.62C519.735 266.624 518.834 265.723 518.838 264.612L519.143 194.29L447.335 266.042C446.959 266.417 446.748 266.926 446.748 267.457V336.709C446.748 337.814 447.644 338.709 448.748 338.709H517.999Z" fill="url(#paint7_angular_539_24082)" style="mix-blend-mode:difference" shape-rendering="crispEdges"/>
+<path d="M517.557 50.5294C518.086 50.5294 518.593 50.7386 518.968 51.1112L590.464 122.208L663.078 194.588L734.323 266.31C734.695 266.684 734.904 267.191 734.904 267.719V336.807C734.904 337.912 734.009 338.807 732.904 338.807H663.786C663.254 338.807 662.744 338.595 662.368 338.218L590.874 266.371L519.143 194.29L447.012 122.795C446.633 122.42 446.42 121.908 446.42 121.375V52.5294C446.42 51.4249 447.316 50.5295 448.42 50.5294L517.557 50.5294Z" fill="url(#paint8_angular_539_24082)" style="mix-blend-mode:difference" shape-rendering="crispEdges"/>
+</g>
+<g filter="url(#filter1_d_539_24082)">
+<path d="M663.078 194.588L734.489 123.051C734.863 122.676 735.074 122.168 735.074 121.638V52.3838C735.074 51.2792 734.178 50.3838 733.074 50.3838H663.815C663.288 50.3838 662.782 50.5918 662.408 50.9627L590.464 122.208M663.078 194.588L662.995 124.456C662.993 123.355 662.103 122.462 661.002 122.458L590.464 122.208M663.078 194.588L590.464 122.208M663.078 194.588L734.323 266.31C734.695 266.684 734.904 267.191 734.904 267.719V336.807C734.904 337.912 734.009 338.807 732.904 338.807H663.786C663.254 338.807 662.744 338.595 662.368 338.218L590.874 266.371M590.464 122.208L518.968 51.1112C518.593 50.7386 518.086 50.5294 517.557 50.5294L448.42 50.5294C447.316 50.5295 446.42 51.4249 446.42 52.5294V121.375C446.42 121.908 446.633 122.42 447.012 122.795L519.143 194.29M590.874 266.371L519.416 338.12C519.041 338.497 518.531 338.709 517.999 338.709H448.748C447.644 338.709 446.748 337.814 446.748 336.709V267.457C446.748 266.926 446.959 266.417 447.335 266.042L519.143 194.29M590.874 266.371L520.846 266.62C519.735 266.624 518.834 265.723 518.838 264.612L519.143 194.29M590.874 266.371L519.143 194.29" stroke="url(#paint9_linear_539_24082)" shape-rendering="crispEdges"/>
+</g>
+<g style="mix-blend-mode:color-burn" filter="url(#filter2_f_539_24082)">
+<ellipse cx="598.487" cy="-16.3943" rx="573.34" ry="417.538" fill="#9D9D9D"/>
+</g>
+</g>
+<defs>
+<filter id="filter0_di_539_24082" x="429.42" y="38.3838" width="322.653" height="322.423" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feOffset dy="5"/>
+<feGaussianBlur stdDeviation="8.5"/>
+<feComposite in2="hardAlpha" operator="out"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.733529 0 0 0 0 0.733529 0 0 0 0 0.733529 0 0 0 0.4 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_539_24082"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_539_24082" result="shape"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feOffset dx="-2" dy="-2"/>
+<feGaussianBlur stdDeviation="2"/>
+<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.18 0"/>
+<feBlend mode="normal" in2="shape" result="effect2_innerShadow_539_24082"/>
+</filter>
+<filter id="filter1_d_539_24082" x="388.77" y="-7.26621" width="403.953" height="403.723" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feOffset/>
+<feGaussianBlur stdDeviation="28.575"/>
+<feComposite in2="hardAlpha" operator="out"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_539_24082"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_539_24082" result="shape"/>
+</filter>
+<filter id="filter2_f_539_24082" x="-180.853" y="-639.932" width="1558.68" height="1247.08" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feGaussianBlur stdDeviation="103" result="effect1_foregroundBlur_539_24082"/>
+</filter>
+<linearGradient id="paint0_linear_539_24082" x1="257.358" y1="-30.9085" x2="685.119" y2="388.42" gradientUnits="userSpaceOnUse">
+<stop stop-color="white"/>
+<stop offset="0.257613" stop-color="#D4D5D6"/>
+<stop offset="0.349618" stop-color="#CDD1D2"/>
+<stop offset="1" stop-color="#C1C1C1"/>
+</linearGradient>
+<linearGradient id="paint1_linear_539_24082" x1="593.634" y1="75.4107" x2="552.834" y2="594.608" gradientUnits="userSpaceOnUse">
+<stop stop-color="white" stop-opacity="0"/>
+<stop offset="1" stop-color="#919799"/>
+</linearGradient>
+<linearGradient id="paint2_linear_539_24082" x1="1119.07" y1="328.808" x2="640.354" y2="569.194" gradientUnits="userSpaceOnUse">
+<stop stop-color="white" stop-opacity="0"/>
+<stop offset="1" stop-color="white" stop-opacity="0.06"/>
+</linearGradient>
+<linearGradient id="paint3_linear_539_24082" x1="593.634" y1="75.4107" x2="552.834" y2="594.608" gradientUnits="userSpaceOnUse">
+<stop stop-color="white" stop-opacity="0"/>
+<stop offset="1" stop-color="#919799"/>
+</linearGradient>
+<linearGradient id="paint4_linear_539_24082" x1="433.033" y1="-52.1889" x2="392.233" y2="467.008" gradientUnits="userSpaceOnUse">
+<stop stop-color="white" stop-opacity="0"/>
+<stop offset="1" stop-color="#919799"/>
+</linearGradient>
+<radialGradient id="paint5_radial_539_24082" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(609.948 23.6208) rotate(92.1429) scale(627.546 954.456)">
+<stop stop-color="#D9D9D9"/>
+<stop offset="1" stop-color="#D9D9D9" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint6_angular_539_24082" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(663.06 194.021) rotate(45) scale(260.355 260.531)">
+<stop offset="0.00212703" stop-color="#E1E1E1"/>
+<stop offset="0.249763" stop-color="#D1D1D1"/>
+<stop offset="0.500815" stop-color="white"/>
+<stop offset="0.619792" stop-color="#E0E0E0"/>
+<stop offset="0.755338" stop-color="white"/>
+<stop offset="0.998186" stop-color="#DDDDDD"/>
+</radialGradient>
+<radialGradient id="paint7_angular_539_24082" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(663.06 194.021) rotate(45) scale(260.355 260.531)">
+<stop offset="0.00212703" stop-color="#E1E1E1"/>
+<stop offset="0.249763" stop-color="#D1D1D1"/>
+<stop offset="0.500815" stop-color="white"/>
+<stop offset="0.619792" stop-color="#E0E0E0"/>
+<stop offset="0.755338" stop-color="white"/>
+<stop offset="0.998186" stop-color="#DDDDDD"/>
+</radialGradient>
+<radialGradient id="paint8_angular_539_24082" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(663.06 194.021) rotate(45) scale(260.355 260.531)">
+<stop offset="0.00212703" stop-color="#E1E1E1"/>
+<stop offset="0.249763" stop-color="#D1D1D1"/>
+<stop offset="0.500815" stop-color="white"/>
+<stop offset="0.619792" stop-color="#E0E0E0"/>
+<stop offset="0.755338" stop-color="white"/>
+<stop offset="0.998186" stop-color="#DDDDDD"/>
+</radialGradient>
+<linearGradient id="paint9_linear_539_24082" x1="571.064" y1="32.1559" x2="773.846" y2="333.486" gradientUnits="userSpaceOnUse">
+<stop stop-color="white"/>
+<stop offset="0.542658" stop-color="#E6E6E6"/>
+</linearGradient>
+<clipPath id="clip0_539_24082">
+<rect width="786" height="390" fill="white"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_bg_regular.png b/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_bg_regular.png
new file mode 100644
index 00000000000..302efb67be2
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_bg_regular.png differ
diff --git a/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_bg_regular.svg b/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_bg_regular.svg
new file mode 100644
index 00000000000..0914f6a7239
--- /dev/null
+++ b/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_bg_regular.svg
@@ -0,0 +1,117 @@
+<svg width="786" height="390" viewBox="0 0 786 390" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_539_24057)">
+<rect width="786" height="390" fill="url(#paint0_linear_539_24057)"/>
+<rect x="501.945" y="-76.4521" width="101.778" height="671.06" transform="rotate(45 501.945 -76.4521)" fill="url(#paint1_linear_539_24057)"/>
+<rect x="789.945" y="-76.4521" width="101.778" height="671.06" transform="rotate(45 789.945 -76.4521)" fill="url(#paint2_linear_539_24057)"/>
+<rect x="341.344" y="-203.052" width="101.778" height="671.06" transform="rotate(45 341.344 -203.052)" fill="url(#paint3_linear_539_24057)"/>
+<mask id="mask0_539_24057" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="-231" y="-291" width="1635" height="1075">
+<rect x="-231" y="-291" width="1634.96" height="1074.97" fill="url(#paint4_radial_539_24057)"/>
+</mask>
+<g mask="url(#mask0_539_24057)">
+<path d="M518.408 -165.724H590.489M518.408 -165.724V-93.6428H590.489V-165.724M518.408 -165.724V-237.807L590.489 -165.724M446.329 -237.807H518.41V-165.726M446.329 -237.807V-165.726M446.329 -237.807H374.248V-165.726M518.41 -165.726H446.329M518.41 -165.726V-93.6428M446.329 -165.726L518.41 -93.6428M446.329 -165.726V-93.6428M446.329 -165.726H374.248M446.329 -165.726L374.248 -93.6428M518.41 -93.6428V-21.5621H446.329M518.41 -93.6428L446.329 -21.5621M518.41 -93.6428H446.329M662.574 -93.6452V-165.726L590.492 -165.726L662.574 -93.6452ZM662.574 -93.6452H734.655V-21.5639L662.574 -93.6452ZM590.495 122.604V50.5227M590.495 122.604L518.414 50.5227H590.495M590.495 122.604L662.576 50.5227H590.495M590.495 410.924V338.842M590.495 410.924L518.414 338.842H590.495M590.495 410.924L662.576 338.842H590.495M590.495 410.924L662.576 410.922V338.839M590.495 410.924L662.576 338.839M590.495 410.924V483.005H662.576L590.495 410.924ZM734.653 -21.5621H662.571M734.653 -21.5621L662.571 -93.6434M734.653 -21.5621V50.521M734.653 -21.5621L806.734 -21.5639V-93.6452H734.653V-21.5621ZM662.571 -21.5621V-93.6434M662.571 -21.5621V50.521H734.653M662.571 -93.6434V-165.726M662.571 -93.6434L734.653 -165.726M734.653 50.521L806.734 50.5192V122.602M734.653 50.521V122.602M734.653 -237.807H662.571V-165.726M734.653 -237.807V-165.726M734.653 -237.807H806.734V-165.726M662.571 -165.726H734.653M734.653 -165.726H806.734M734.653 -165.726L806.734 -93.6428M734.653 -165.726V-93.6428H806.734M518.408 50.521L590.489 -21.5603H518.408V50.3485M446.329 -21.5621V50.521M446.329 -21.5621L374.248 -21.5639V-93.6452H446.329V-21.5621ZM446.329 -21.5621L374.248 50.5192M446.329 50.521H518.41M446.329 50.521L374.248 50.5192M446.329 50.521V122.604M590.495 -165.726H662.576V-237.807L590.495 -165.726ZM590.495 -165.726V-93.6428H662.576L590.495 -165.726ZM518.408 -93.6452H590.489V-21.5639M518.408 -93.6452L590.489 -21.5639M518.408 -93.6452H446.326V-21.5639L518.408 -93.6452ZM518.408 -93.6452V-21.5639H590.489M590.495 -21.5639H662.576V-93.6452H590.495V-21.5639ZM590.495 -21.5639V50.5192M590.495 -21.5639L518.414 50.5192H590.495M590.495 -21.5639L662.576 50.5192H590.495M446.329 -93.6428H374.248M302.163 -21.5639H230.082V-93.6452H302.163V-21.5639ZM302.163 -21.5639V50.5192M302.163 -21.5639L230.082 50.5192M302.163 -21.5639L374.244 -21.5621M302.163 -21.5639L374.244 -93.6434V-21.5621M374.242 -165.724H302.16M374.242 -165.724V-93.6428H302.16V-165.724M374.242 -165.724V-237.807M302.16 -165.724L374.242 -237.807M302.16 -165.724V-237.807H374.242M374.248 -165.726V-93.6428M230.084 50.521V-21.5603H302.165L230.084 50.521ZM230.084 50.521V122.604M230.084 50.521L158.003 122.604M230.084 50.521H158.003V122.604M157.997 -21.5621H230.078M157.997 -21.5621L230.078 -93.6434V-21.5621M157.997 -21.5621V50.521M157.997 -21.5621L85.9154 -21.5639V-93.6452H157.997V-21.5621ZM157.997 -21.5621L85.9154 50.5192M230.078 -21.5621V50.521H157.997M157.997 50.521L85.9154 50.5192M157.997 50.521V122.604M302.163 -165.724V-93.6428H230.082M302.163 -165.724L230.082 -93.6428M302.163 -165.724L230.082 -165.726M302.163 -165.724V-237.807H230.082V-165.726M230.082 -93.6428V-165.726M230.082 50.5192H302.163M230.082 50.5192V122.602M302.163 50.5192L374.244 50.521V-21.5621M302.163 50.5192V-21.5603L374.244 -21.5621M302.163 50.5192V122.604M878.802 -21.5639H950.884V-93.6452H878.802V-21.5639ZM878.802 -21.5639V50.5192M878.802 -21.5639L950.884 50.5192M878.802 -21.5639L806.721 -21.5621M878.802 -21.5639L806.721 -93.6434V-21.5621M806.74 -165.724H878.821M806.74 -165.724V-93.6428H878.821V-165.724M806.74 -165.724V-237.807M878.821 -165.724L806.74 -237.807M878.821 -165.724V-237.807H806.74M806.734 -165.726V-93.6428M950.89 50.521V-21.5603H878.808L950.89 50.521ZM950.89 50.521V122.604M950.89 50.521L1022.97 122.604M950.89 50.521H1022.97V122.604M1022.97 -21.5621H950.887M1022.97 -21.5621L950.887 -93.6434V-21.5621M1022.97 -21.5621V50.521M1022.97 -21.5621L1095.05 -21.5639V-93.6452H1022.97V-21.5621ZM1022.97 -21.5621L1095.05 50.5192M950.887 -21.5621V50.521H1022.97M1022.97 50.521L1095.05 50.5192M1022.97 50.521V122.604M878.802 -165.724V-93.6428H950.884M878.802 -165.724L950.884 -93.6428M878.802 -165.724L950.884 -165.726M878.802 -165.724V-237.807H950.884V-165.726M950.884 -93.6428V-165.726M950.884 50.5192H878.802M950.884 50.5192V122.602M878.802 50.5192L806.721 50.521V-21.5621M878.802 50.5192V-21.5603L806.721 -21.5621M878.802 50.5192V122.604M374.242 50.521V-21.5603H446.323L374.242 50.521ZM374.242 50.521V122.604M374.242 50.521L302.16 122.604M374.242 50.521H302.16V122.604M374.248 50.5192V122.602M590.495 266.758V338.839M590.495 266.758L518.414 338.839H590.495M590.495 266.758L662.576 338.839M590.495 338.839H662.576M806.74 50.521V-21.5603H734.659M806.74 50.521V122.604M806.74 50.521L878.821 122.604M806.74 50.521H878.821V122.604M230.084 -165.724H158.003M230.084 -165.724V-93.6428H158.003V-165.724M230.084 -165.724V-237.807M158.003 -165.724L230.084 -237.807M158.003 -165.724V-237.807H230.084M85.9178 50.521V-21.5603H157.999L85.9178 50.521ZM85.9178 50.521V122.604M85.9178 50.521L13.8365 122.604M85.9178 50.521H13.8365V122.604M13.8389 -21.5621H85.9202M13.8389 -21.5621L85.9202 -93.6434L85.9202 -21.5621M13.8389 -21.5621V50.521M13.8389 -21.5621L-58.2424 -21.5639V-93.6452H13.8389V-21.5621ZM13.8389 -21.5621L-58.2424 50.5192M85.9202 -21.5621V50.521H13.8389M13.8389 50.521L-58.2424 50.5192M13.8389 50.521V122.604M157.997 -165.724V-93.6428H85.9154M157.997 -165.724L85.9154 -93.6428M157.997 -165.724L85.9154 -165.726M157.997 -165.724V-237.807H85.9154V-165.726M85.9154 -93.6428V-165.726M85.9154 50.5192V122.602M950.89 -165.724H1022.97M950.89 -165.724V-93.6428H1022.97V-165.724M950.89 -165.724V-237.807M1022.97 -165.724L950.89 -237.807M1022.97 -165.724V-237.807H950.89M1095.05 50.521V-21.5603H1022.97L1095.05 50.521ZM1095.05 50.521V122.604M1095.05 50.521L1167.13 122.604M1095.05 50.521H1167.13V122.604M1167.13 -21.5621H1095.05M1167.13 -21.5621L1095.05 -93.6434V-21.5621M1167.13 -21.5621V50.521M1167.13 -21.5621L1239.22 -21.5639V-93.6452H1167.13V-21.5621ZM1167.13 -21.5621L1239.22 50.5192M1095.05 -21.5621V50.521H1167.13M1167.13 50.521L1239.22 50.5192M1167.13 50.521V122.604M1022.97 -165.724V-93.6428H1095.05M1022.97 -165.724L1095.05 -93.6428M1022.97 -165.724L1095.05 -165.726M1022.97 -165.724V-237.807H1095.05V-165.726M1095.05 -93.6428V-165.726M1095.05 50.5192V122.602M85.9178 -165.724H13.8365M85.9178 -165.724V-93.6428H13.8365V-165.724M85.9178 -165.724V-237.807M13.8365 -165.724L85.9178 -237.807M13.8365 -165.724V-237.807H85.9178M-58.2483 50.521L-58.2483 -21.5603H13.833L-58.2483 50.521ZM-58.2483 50.521V122.604M-58.2483 50.521L-130.33 122.604M-58.2483 50.521H-130.33L-130.33 122.604M-130.327 -21.5621H-58.2459M-130.327 -21.5621L-58.2459 -93.6434V-21.5621M-130.327 -21.5621V50.521H-58.2459V-21.5621M13.8389 -165.724V-93.6428H-58.2424M13.8389 -165.724L-58.2424 -93.6428M13.8389 -165.724L-58.2424 -165.726M13.8389 -165.724V-237.807H-58.2424V-165.726M-58.2424 -93.6428V-165.726M-58.2424 50.5192V122.602M1095.05 -165.724H1167.13M1095.05 -165.724V-93.6428H1167.13V-165.724M1095.05 -165.724V-237.807M1167.13 -165.724L1095.05 -237.807M1167.13 -165.724V-237.807H1095.05M1239.21 50.521V-21.5603H1167.13L1239.21 50.521ZM1239.21 50.521V122.604M1239.21 50.521L1311.29 122.604M1239.21 50.521H1311.29V122.604M1311.29 -21.5621H1239.21M1311.29 -21.5621L1239.21 -93.6434V-21.5621M1311.29 -21.5621V50.521H1239.21V-21.5621M1167.13 -165.724V-93.6428H1239.22M1167.13 -165.724L1239.22 -93.6428M1167.13 -165.724L1239.22 -165.726M1167.13 -165.724V-237.807H1239.22V-165.726M1239.22 -93.6428V-165.726M1239.22 50.5192V122.602M1239.21 -165.724H1311.29M1239.21 -165.724V-93.6428H1311.29V-165.724M1239.21 -165.724V-237.807M1311.29 -165.724L1239.21 -237.807M1311.29 -165.724V-237.807H1239.21M-58.2483 -165.724H-130.33M-58.2483 -165.724V-93.6428H-130.33V-165.724M-58.2483 -165.724V-237.807M-130.33 -165.724L-58.2483 -237.807M-130.33 -165.724L-130.33 -237.807H-58.2483M446.329 122.604V194.685M446.329 122.604L518.41 194.685H446.329M446.329 122.604L374.248 122.602M446.329 122.604L374.248 194.685M446.329 194.685H374.248M662.574 194.685L662.868 194.391L734.655 122.604V194.685H663.345M374.242 122.604H302.16M374.242 122.604V194.685H302.16V122.604M374.248 122.602V194.685M230.084 338.841V266.759H302.165L230.084 338.841ZM230.084 338.841V410.924M230.084 338.841L158.003 410.924M230.084 338.841H158.003V410.924M157.997 266.758H230.078M157.997 266.758L230.078 194.676V266.758M157.997 266.758V338.841M157.997 266.758L85.9154 338.839M230.078 266.758V338.841H157.997M157.997 338.841L85.9154 338.839M157.997 338.841V410.924M302.163 122.604V194.685H230.082M302.163 122.604L230.082 194.685M302.163 122.604L230.082 122.602M230.082 194.685V122.602M302.163 266.758V338.839M302.163 266.758L230.082 338.839M302.163 266.758H374.244M302.163 266.758L374.244 194.676V266.758M230.082 338.839H302.163M230.082 338.839V410.922M302.163 338.839L374.244 338.841V266.758M302.163 338.839V410.924M806.74 122.604H878.821M806.74 122.604V194.685H878.821V122.604M806.734 122.602H734.653M806.734 122.602V194.685M734.653 122.602L806.734 194.685M734.653 122.602V194.685H806.734M950.89 338.841V266.759H878.808L950.89 338.841ZM950.89 338.841V410.924M950.89 338.841L1022.97 410.924M950.89 338.841H1022.97V410.924M1022.97 266.758H950.887M1022.97 266.758L950.887 194.676V266.758M1022.97 266.758V338.841M1022.97 266.758L1095.05 338.839M950.887 266.758V338.841H1022.97M1022.97 338.841L1095.05 338.839M1022.97 338.841V410.924M878.802 122.604V194.685H950.884M878.802 122.604L950.884 194.685M878.802 122.604L950.884 122.602M950.884 194.685V122.602M878.802 266.758V338.839M878.802 266.758L950.884 338.839M878.802 266.758H806.721M878.802 266.758L806.721 194.676V266.758M950.884 338.839H878.802M950.884 338.839V410.922M878.802 338.839L806.721 338.841V266.758M878.802 338.839V410.924M374.242 338.841V266.759H446.323L374.242 338.841ZM374.242 338.841V410.924M374.242 338.841L302.16 410.924M374.242 338.841H302.16V410.924M374.248 338.839H446.329M374.248 338.839L446.329 266.758V338.839M374.248 338.839V410.922M446.329 338.839L518.41 338.841V410.922M446.329 338.839V410.922M806.74 338.841V266.759H734.659L806.74 338.841ZM806.74 338.841V410.924M806.74 338.841L878.821 410.924M806.74 338.841H878.821V410.924M662.574 194.683L734.655 266.764V194.683M806.734 338.839H734.653M806.734 338.839L734.653 266.758V338.839M806.734 338.839V410.922M734.653 338.839L662.571 338.841V410.922M734.653 338.839V410.922M230.084 122.604H158.003M230.084 122.604V194.685H158.003V122.604M85.9178 338.841V266.759H157.999L85.9178 338.841ZM85.9178 338.841V410.924M85.9178 338.841L13.8365 410.924M85.9178 338.841H13.8365V410.924M13.8389 266.758H85.9202M13.8389 266.758L85.9202 194.676L85.9202 266.758M13.8389 266.758V338.841M13.8389 266.758L-58.2424 338.839M85.9202 266.758V338.841H13.8389M13.8389 338.841L-58.2424 338.839M13.8389 338.841V410.924M157.997 122.604V194.685H85.9154M157.997 122.604L85.9154 194.685M157.997 122.604L85.9154 122.602M85.9154 194.685V122.602M85.9154 338.839V410.922M950.89 122.604H1022.97M950.89 122.604V194.685H1022.97V122.604M1095.05 338.841V266.759H1022.97L1095.05 338.841ZM1095.05 338.841V410.924M1095.05 338.841L1167.13 410.924M1095.05 338.841H1167.13V410.924M1167.13 266.758H1095.05M1167.13 266.758L1095.05 194.676V266.758M1167.13 266.758V338.841M1167.13 266.758L1239.22 338.839M1095.05 266.758V338.841H1167.13M1167.13 338.841L1239.22 338.839M1167.13 338.841V410.924M1022.97 122.604V194.685H1095.05M1022.97 122.604L1095.05 194.685M1022.97 122.604L1095.05 122.602M1095.05 194.685V122.602M1095.05 338.839V410.922M85.9178 122.604H13.8365M85.9178 122.604V194.685H13.8365V122.604M-58.2483 338.841L-58.2483 266.759H13.833L-58.2483 338.841ZM-58.2483 338.841V410.924M-58.2483 338.841L-130.33 410.924M-58.2483 338.841H-130.33L-130.33 410.924M-130.327 266.758H-58.2459M-130.327 266.758L-58.2459 194.676V266.758M-130.327 266.758V338.841H-58.2459V266.758M13.8389 122.604V194.685H-58.2424M13.8389 122.604L-58.2424 194.685M13.8389 122.604L-58.2424 122.602M-58.2424 194.685V122.602M-58.2424 338.839V410.922M1095.05 122.604H1167.13M1095.05 122.604V194.685H1167.13V122.604M1239.21 338.841V266.759H1167.13L1239.21 338.841ZM1239.21 338.841V410.924M1239.21 338.841L1311.29 410.924M1239.21 338.841H1311.29V410.924M1311.29 266.758H1239.21M1311.29 266.758L1239.21 194.676V266.758M1311.29 266.758V338.841H1239.21V266.758M1167.13 122.604V194.685H1239.22M1167.13 122.604L1239.22 194.685M1167.13 122.604L1239.22 122.602M1239.22 194.685V122.602M1239.22 338.839V410.922M1239.21 122.604H1311.29M1239.21 122.604V194.685H1311.29V122.604M-58.2483 122.604H-130.33M-58.2483 122.604V194.685H-130.33V122.604M518.408 410.924H590.489M518.408 410.924V483.005H590.489V410.924M518.408 410.924V338.841L590.489 410.924M518.408 627.169V699.25M518.408 627.169L590.489 699.25H518.408M518.408 627.169V555.087H590.489L518.408 627.169ZM518.408 627.169H446.326V699.25H518.408M518.41 410.922H446.329M518.41 410.922V483.005M446.329 410.922L518.41 483.005M446.329 410.922V483.005M446.329 410.922H374.248M446.329 410.922L374.248 483.005M518.41 483.005V555.086M518.41 483.005L446.329 555.086M518.41 483.005H446.329M662.574 627.169V555.087H590.492L662.574 627.169ZM662.574 627.169H734.655V699.25H662.574V627.169ZM662.574 483.003V410.921H590.492L662.574 483.003ZM662.574 483.003H734.655V555.084L662.574 483.003ZM590.495 699.248V627.166M590.495 699.248L518.414 627.166M590.495 699.248L662.576 627.166H590.495M518.414 627.166H590.495M518.414 627.166L590.495 555.084M590.495 627.166V555.084M590.495 627.166L662.576 627.169M734.653 555.086H662.571M734.653 555.086L662.571 483.004M734.653 555.086V627.169M734.653 555.086L806.734 555.084V483.003H734.653V555.086ZM734.653 555.086L806.734 627.167M662.571 555.086V483.004M662.571 555.086V627.169H734.653M662.571 483.004V410.922M662.571 483.004L734.653 410.922M734.653 627.169L806.734 627.167M734.653 627.169V699.25H806.734V627.167M662.571 410.922H734.653M734.653 410.922H806.734M734.653 410.922L806.734 483.005M734.653 410.922V483.005H806.734M446.329 555.086H518.41M446.329 555.086V627.169M446.329 555.086L374.248 555.084V483.003H446.329V555.086ZM446.329 555.086L374.248 627.167M518.41 555.086V627.169H446.329M446.329 627.169L374.248 627.167M446.329 627.169V699.25H374.248V627.167M662.576 627.169V699.25H590.495L662.576 627.169ZM662.576 627.169L590.495 555.084M518.408 483.003H590.489V555.084M518.408 483.003L590.489 555.084M518.408 483.003H446.326V555.084L518.408 483.003ZM518.408 483.003V555.084H590.489M590.495 555.084H662.576V483.003H590.495V555.084ZM446.329 483.005H374.248M302.163 555.084H230.082V483.003H302.163V555.084ZM302.163 555.084V627.167M302.163 555.084L230.082 627.167M302.163 555.084L374.244 555.086M302.163 555.084L374.244 483.004V555.086M374.242 410.924H302.16M374.242 410.924V483.005H302.16V410.924M374.248 410.922V483.005M230.084 627.169V555.087H302.165L230.084 627.169ZM230.084 627.169V699.25H158.003M230.084 627.169L158.003 699.25M230.084 627.169H158.003V699.25M157.997 555.086H230.078M157.997 555.086L230.078 483.004V555.086M157.997 555.086V627.169M157.997 555.086L85.9154 555.084V483.003H157.997V555.086ZM157.997 555.086L85.9154 627.167M230.078 555.086V627.169H157.997M157.997 627.169L85.9154 627.167M157.997 627.169V699.25H85.9154V627.167M302.163 410.924V483.005H230.082M302.163 410.924L230.082 483.005M302.163 410.924L230.082 410.922M230.082 483.005V410.922M230.082 627.167H302.163M230.082 627.167V699.25H302.163V627.167M302.163 627.167L374.244 627.169V555.086M302.163 627.167V555.087L374.244 555.086M878.802 555.084H950.884V483.003H878.802V555.084ZM878.802 555.084V627.167M878.802 555.084L950.884 627.167M878.802 555.084L806.721 555.086M878.802 555.084L806.721 483.004V555.086M806.74 410.924H878.821M806.74 410.924V483.005H878.821V410.924M806.734 410.922V483.005M950.89 627.169V555.087H878.808L950.89 627.169ZM950.89 627.169V699.25H1022.97M950.89 627.169L1022.97 699.25M950.89 627.169H1022.97V699.25M1022.97 555.086H950.887M1022.97 555.086L950.887 483.004V555.086M1022.97 555.086V627.169M1022.97 555.086L1095.05 555.084V483.003H1022.97V555.086ZM1022.97 555.086L1095.05 627.167M950.887 555.086V627.169H1022.97M1022.97 627.169L1095.05 627.167M1022.97 627.169V699.25H1095.05V627.167M878.802 410.924V483.005H950.884M878.802 410.924L950.884 483.005M878.802 410.924L950.884 410.922M950.884 483.005V410.922M950.884 627.167H878.802M950.884 627.167V699.25H878.802V627.167M878.802 627.167L806.721 627.169V555.086M878.802 627.167V555.087L806.721 555.086M374.242 627.169V555.087H446.323L374.242 627.169ZM374.242 627.169V699.25H302.16M374.242 627.169L302.16 699.25M374.242 627.169H302.16V699.25M806.74 627.169V555.087H734.659L806.74 627.169ZM806.74 627.169V699.25H878.821M806.74 627.169L878.821 699.25M806.74 627.169H878.821V699.25M230.084 410.924H158.003M230.084 410.924V483.005H158.003V410.924M85.9178 627.169V555.087H157.999L85.9178 627.169ZM85.9178 627.169V699.25H13.8365M85.9178 627.169L13.8365 699.25M85.9178 627.169H13.8365V699.25M13.8389 555.086H85.9202M13.8389 555.086L85.9202 483.004L85.9202 555.086M13.8389 555.086V627.169M13.8389 555.086L-58.2424 555.084V483.003H13.8389V555.086ZM13.8389 555.086L-58.2424 627.167M85.9202 555.086V627.169H13.8389M13.8389 627.169L-58.2424 627.167M13.8389 627.169V699.25H-58.2424V627.167M157.997 410.924V483.005H85.9154M157.997 410.924L85.9154 483.005M157.997 410.924L85.9154 410.922M85.9154 483.005V410.922M950.89 410.924H1022.97M950.89 410.924V483.005H1022.97V410.924M1095.05 627.169V555.087H1022.97L1095.05 627.169ZM1095.05 627.169V699.25H1167.13M1095.05 627.169L1167.13 699.25M1095.05 627.169H1167.13V699.25M1167.13 555.086H1095.05M1167.13 555.086L1095.05 483.004V555.086M1167.13 555.086V627.169M1167.13 555.086L1239.22 555.084V483.003H1167.13V555.086ZM1167.13 555.086L1239.22 627.167M1095.05 555.086V627.169H1167.13M1167.13 627.169L1239.22 627.167M1167.13 627.169V699.25H1239.22V627.167M1022.97 410.924V483.005H1095.05M1022.97 410.924L1095.05 483.005M1022.97 410.924L1095.05 410.922M1095.05 483.005V410.922M85.9178 410.924H13.8365M85.9178 410.924V483.005H13.8365V410.924M-58.2483 627.169L-58.2483 555.087H13.833L-58.2483 627.169ZM-58.2483 627.169V699.25H-130.33M-58.2483 627.169L-130.33 699.25M-58.2483 627.169H-130.33V699.25M-130.327 555.086H-58.2459M-130.327 555.086L-58.2459 483.004V555.086M-130.327 555.086V627.169H-58.2459V555.086M13.8389 410.924V483.005H-58.2424M13.8389 410.924L-58.2424 483.005M13.8389 410.924L-58.2424 410.922M-58.2424 483.005V410.922M1095.05 410.924H1167.13M1095.05 410.924V483.005H1167.13V410.924M1239.21 627.169V555.087H1167.13L1239.21 627.169ZM1239.21 627.169V699.25H1311.29M1239.21 627.169L1311.29 699.25M1239.21 627.169H1311.29V699.25M1311.29 555.086H1239.21M1311.29 555.086L1239.21 483.004V555.086M1311.29 555.086V627.169H1239.21V555.086M1167.13 410.924V483.005H1239.22M1167.13 410.924L1239.22 483.005M1167.13 410.924L1239.22 410.922M1239.22 483.005V410.922M1239.21 410.924H1311.29M1239.21 410.924V483.005H1311.29V410.924M-58.2483 410.924H-130.33M-58.2483 410.924V483.005H-130.33V410.924M662.574 50.521V-21.5603H590.492L662.574 50.521ZM734.655 -165.724V-93.6428H662.574L734.655 -165.724ZM374.242 -93.6452H302.16V-21.5639L374.242 -93.6452ZM806.74 -93.6452H878.821V-21.5639L806.74 -93.6452ZM230.084 -93.6452H158.003V-21.5639L230.084 -93.6452ZM950.89 -93.6452H1022.97V-21.5639L950.89 -93.6452ZM85.9178 -93.6452H13.8365V-21.5639L85.9178 -93.6452ZM1095.05 -93.6452H1167.13V-21.5639L1095.05 -93.6452ZM1239.21 -93.6452H1311.29V-21.5639L1239.21 -93.6452ZM-58.2483 -93.6452H-130.33V-21.5639L-58.2483 -93.6452ZM302.163 194.683H230.082V266.764H302.163V194.683ZM374.242 194.683H302.16V266.764L374.242 194.683ZM878.802 194.683H950.884V266.764H878.802V194.683ZM806.74 194.683H878.821V266.764L806.74 194.683ZM446.329 194.683H374.248V266.764H446.329V194.683ZM518.408 194.683H446.326V266.764L518.408 194.683ZM734.653 194.683H806.734V266.764H734.653V194.683ZM157.997 194.683H85.9154V266.764H157.997V194.683ZM230.084 194.683H158.003V266.764L230.084 194.683ZM1022.97 194.683H1095.05V266.764H1022.97V194.683ZM950.89 194.683H1022.97V266.764L950.89 194.683ZM13.8389 194.683H-58.2424V266.764H13.8389V194.683ZM85.9178 194.683H13.8365V266.764L85.9178 194.683ZM1167.13 194.683H1239.22V266.764H1167.13V194.683ZM1095.05 194.683H1167.13V266.764L1095.05 194.683ZM1239.21 194.683H1311.29V266.764L1239.21 194.683ZM-58.2483 194.683H-130.33V266.764L-58.2483 194.683ZM734.655 410.924V483.005H662.574L734.655 410.924ZM374.242 483.003H302.16V555.084L374.242 483.003ZM806.74 483.003H878.821V555.084L806.74 483.003ZM230.084 483.003H158.003V555.084L230.084 483.003ZM950.89 483.003H1022.97V555.084L950.89 483.003ZM85.9178 483.003H13.8365V555.084L85.9178 483.003ZM1095.05 483.003H1167.13V555.084L1095.05 483.003ZM1239.21 483.003H1311.29V555.084L1239.21 483.003ZM-58.2483 483.003H-130.33V555.084L-58.2483 483.003Z" stroke="#1B2226"/>
+</g>
+<g filter="url(#filter0_dii_539_24057)">
+<path d="M662.408 50.9627C662.782 50.5918 663.288 50.3838 663.815 50.3838H733.074C734.178 50.3838 735.074 51.2792 735.074 52.3838V121.638C735.074 122.168 734.863 122.676 734.489 123.051L663.078 194.588L662.995 124.456C662.993 123.355 662.103 122.462 661.002 122.458L590.464 122.208L662.408 50.9627Z" fill="url(#paint5_radial_539_24057)" fill-opacity="0.14" shape-rendering="crispEdges"/>
+<path d="M662.408 50.9627C662.782 50.5918 663.288 50.3838 663.815 50.3838H733.074C734.178 50.3838 735.074 51.2792 735.074 52.3838V121.638C735.074 122.168 734.863 122.676 734.489 123.051L663.078 194.588L662.995 124.456C662.993 123.355 662.103 122.462 661.002 122.458L590.464 122.208L662.408 50.9627Z" fill="url(#paint6_angular_539_24057)" fill-opacity="0.39" style="mix-blend-mode:difference" shape-rendering="crispEdges"/>
+<path d="M517.999 338.709C518.531 338.709 519.041 338.497 519.416 338.12L590.874 266.371L520.846 266.62C519.735 266.624 518.834 265.723 518.838 264.612L519.143 194.29L447.335 266.042C446.959 266.417 446.748 266.926 446.748 267.457V336.709C446.748 337.814 447.644 338.709 448.748 338.709H517.999Z" fill="url(#paint7_radial_539_24057)" fill-opacity="0.14" shape-rendering="crispEdges"/>
+<path d="M517.999 338.709C518.531 338.709 519.041 338.497 519.416 338.12L590.874 266.371L520.846 266.62C519.735 266.624 518.834 265.723 518.838 264.612L519.143 194.29L447.335 266.042C446.959 266.417 446.748 266.926 446.748 267.457V336.709C446.748 337.814 447.644 338.709 448.748 338.709H517.999Z" fill="url(#paint8_angular_539_24057)" fill-opacity="0.39" style="mix-blend-mode:difference" shape-rendering="crispEdges"/>
+<path d="M517.557 50.5294C518.086 50.5294 518.593 50.7386 518.968 51.1112L590.464 122.208L663.078 194.588L734.323 266.31C734.695 266.684 734.904 267.191 734.904 267.719V336.807C734.904 337.912 734.009 338.807 732.904 338.807H663.786C663.254 338.807 662.744 338.595 662.368 338.218L590.874 266.371L519.143 194.29L447.012 122.795C446.633 122.42 446.42 121.908 446.42 121.375V52.5294C446.42 51.4249 447.316 50.5295 448.42 50.5294L517.557 50.5294Z" fill="url(#paint9_radial_539_24057)" fill-opacity="0.14" shape-rendering="crispEdges"/>
+<path d="M517.557 50.5294C518.086 50.5294 518.593 50.7386 518.968 51.1112L590.464 122.208L663.078 194.588L734.323 266.31C734.695 266.684 734.904 267.191 734.904 267.719V336.807C734.904 337.912 734.009 338.807 732.904 338.807H663.786C663.254 338.807 662.744 338.595 662.368 338.218L590.874 266.371L519.143 194.29L447.012 122.795C446.633 122.42 446.42 121.908 446.42 121.375V52.5294C446.42 51.4249 447.316 50.5295 448.42 50.5294L517.557 50.5294Z" fill="url(#paint10_angular_539_24057)" fill-opacity="0.39" style="mix-blend-mode:difference" shape-rendering="crispEdges"/>
+<path d="M663.078 194.588L734.489 123.051C734.863 122.676 735.074 122.168 735.074 121.638V52.3838C735.074 51.2792 734.178 50.3838 733.074 50.3838H663.815C663.288 50.3838 662.782 50.5918 662.408 50.9627L590.464 122.208M663.078 194.588L662.995 124.456C662.993 123.355 662.103 122.462 661.002 122.458L590.464 122.208M663.078 194.588L590.464 122.208M663.078 194.588L734.323 266.31C734.695 266.684 734.904 267.191 734.904 267.719V336.807C734.904 337.912 734.009 338.807 732.904 338.807H663.786C663.254 338.807 662.744 338.595 662.368 338.218L590.874 266.371M590.464 122.208L518.968 51.1112C518.593 50.7386 518.086 50.5294 517.557 50.5294L448.42 50.5294C447.316 50.5295 446.42 51.4249 446.42 52.5294V121.375C446.42 121.908 446.633 122.42 447.012 122.795L519.143 194.29M590.874 266.371L519.416 338.12C519.041 338.497 518.531 338.709 517.999 338.709H448.748C447.644 338.709 446.748 337.814 446.748 336.709V267.457C446.748 266.926 446.959 266.417 447.335 266.042L519.143 194.29M590.874 266.371L520.846 266.62C519.735 266.624 518.834 265.723 518.838 264.612L519.143 194.29M590.874 266.371L519.143 194.29" stroke="url(#paint11_linear_539_24057)" shape-rendering="crispEdges"/>
+</g>
+</g>
+<defs>
+<filter id="filter0_dii_539_24057" x="388.77" y="-7.26621" width="403.953" height="403.723" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feOffset/>
+<feGaussianBlur stdDeviation="28.575"/>
+<feComposite in2="hardAlpha" operator="out"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_539_24057"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_539_24057" result="shape"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feOffset dx="-2" dy="-2"/>
+<feGaussianBlur stdDeviation="2"/>
+<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
+<feBlend mode="normal" in2="shape" result="effect2_innerShadow_539_24057"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feOffset dx="2" dy="2"/>
+<feGaussianBlur stdDeviation="2.5"/>
+<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
+<feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.1 0"/>
+<feBlend mode="normal" in2="effect2_innerShadow_539_24057" result="effect3_innerShadow_539_24057"/>
+</filter>
+<linearGradient id="paint0_linear_539_24057" x1="520.912" y1="-50.2277" x2="405.041" y2="393.147" gradientUnits="userSpaceOnUse">
+<stop stop-color="#0E1315"/>
+<stop offset="1" stop-color="#060809"/>
+</linearGradient>
+<linearGradient id="paint1_linear_539_24057" x1="503.664" y1="273.396" x2="605.582" y2="234.042" gradientUnits="userSpaceOnUse">
+<stop stop-color="#090D0D"/>
+<stop offset="1" stop-color="#070B0C" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint2_linear_539_24057" x1="791.664" y1="273.396" x2="893.582" y2="234.042" gradientUnits="userSpaceOnUse">
+<stop stop-color="#090D0D"/>
+<stop offset="1" stop-color="#070B0C" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint3_linear_539_24057" x1="343.062" y1="146.797" x2="444.981" y2="107.442" gradientUnits="userSpaceOnUse">
+<stop stop-color="#090D0D"/>
+<stop offset="1" stop-color="#070B0C" stop-opacity="0"/>
+</linearGradient>
+<radialGradient id="paint4_radial_539_24057" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(586.482 246.487) rotate(90) scale(404.241 614.823)">
+<stop stop-color="#D9D9D9"/>
+<stop offset="1" stop-color="#D9D9D9" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint5_radial_539_24057" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(451.422 55.6849) rotate(41.9428) scale(348.911 309.176)">
+<stop stop-color="white"/>
+<stop offset="0.194164" stop-color="white"/>
+<stop offset="0.571134"/>
+<stop offset="1" stop-color="#080808"/>
+</radialGradient>
+<radialGradient id="paint6_angular_539_24057" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(663.06 194.021) rotate(43.8978) scale(212.741 212.885)">
+<stop offset="0.00212703" stop-color="#262C2C"/>
+<stop offset="0.249763" stop-color="#7E858D"/>
+<stop offset="0.500815" stop-color="#9DA7A7"/>
+<stop offset="0.504181" stop-color="#414B4B"/>
+<stop offset="0.755338" stop-color="#979F9F"/>
+<stop offset="0.998186" stop-color="#8FA8AA"/>
+</radialGradient>
+<radialGradient id="paint7_radial_539_24057" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(451.422 55.6849) rotate(41.9428) scale(348.911 309.176)">
+<stop stop-color="white"/>
+<stop offset="0.194164" stop-color="white"/>
+<stop offset="0.571134"/>
+<stop offset="1" stop-color="#080808"/>
+</radialGradient>
+<radialGradient id="paint8_angular_539_24057" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(663.06 194.021) rotate(43.8978) scale(212.741 212.885)">
+<stop offset="0.00212703" stop-color="#262C2C"/>
+<stop offset="0.249763" stop-color="#7E858D"/>
+<stop offset="0.500815" stop-color="#9DA7A7"/>
+<stop offset="0.504181" stop-color="#414B4B"/>
+<stop offset="0.755338" stop-color="#979F9F"/>
+<stop offset="0.998186" stop-color="#8FA8AA"/>
+</radialGradient>
+<radialGradient id="paint9_radial_539_24057" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(451.422 55.6849) rotate(41.9428) scale(348.911 309.176)">
+<stop stop-color="white"/>
+<stop offset="0.194164" stop-color="white"/>
+<stop offset="0.571134"/>
+<stop offset="1" stop-color="#080808"/>
+</radialGradient>
+<radialGradient id="paint10_angular_539_24057" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(663.06 194.021) rotate(43.8978) scale(212.741 212.885)">
+<stop offset="0.00212703" stop-color="#262C2C"/>
+<stop offset="0.249763" stop-color="#7E858D"/>
+<stop offset="0.500815" stop-color="#9DA7A7"/>
+<stop offset="0.504181" stop-color="#414B4B"/>
+<stop offset="0.755338" stop-color="#979F9F"/>
+<stop offset="0.998186" stop-color="#8FA8AA"/>
+</radialGradient>
+<linearGradient id="paint11_linear_539_24057" x1="488.235" y1="38.1482" x2="759.564" y2="315.766" gradientUnits="userSpaceOnUse">
+<stop stop-color="#8A8A8A"/>
+<stop offset="0.626409" stop-color="#3F4141"/>
+<stop offset="0.995941" stop-color="#1E1E1E"/>
+</linearGradient>
+<clipPath id="clip0_539_24057">
+<rect width="786" height="390" fill="white"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_platinum_mobile.png b/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_platinum_mobile.png
new file mode 100644
index 00000000000..10883513fa3
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_platinum_mobile.png differ
diff --git a/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_regular_mobile.png b/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_regular_mobile.png
new file mode 100644
index 00000000000..d2bdabe59da
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/tickets/lwx_ticket_regular_mobile.png differ
diff --git a/apps/www/public/images/launchweek/lwx/tickets/placeholder.png b/apps/www/public/images/launchweek/lwx/tickets/placeholder.png
new file mode 100644
index 00000000000..50c0fffa330
Binary files /dev/null and b/apps/www/public/images/launchweek/lwx/tickets/placeholder.png differ
diff --git a/apps/www/supabase/functions/lwx-og/README.md b/apps/www/supabase/functions/lwx-og/README.md
new file mode 100644
index 00000000000..cabd55a1077
--- /dev/null
+++ b/apps/www/supabase/functions/lwx-og/README.md
@@ -0,0 +1,22 @@
+# Open Graph (OG) Image Generation with Supabase Storage CDN Caching
+
+Generate Open Graph images with Deno and Supabase Edge Functions and cache the generated image with Supabase Storage CDN.
+
+- Docs: https://deno.land/x/[email protected]
+- Examples: https://vercel.com/docs/concepts/functions/edge-functions/og-image-examples
+- Demo: https://obuldanrptloktxcffvn.supabase.co/functions/v1/lwx-ticket?username=thorwebdev
+
+## Run locally
+
+```bash
+supabase start
+supabase functions serve lwx-og --no-verify-jwt --env-file ./supabase/.env.local
+```
+
+Navigate to http://localhost:54321/functions/v1/lwx-ticket?username=thorwebdev
+
+## Deploy
+
+```bash
+supabase functions deploy lwx-og --no-verify-jwt
+```
diff --git a/apps/www/supabase/functions/lwx-og/handler.tsx b/apps/www/supabase/functions/lwx-og/handler.tsx
new file mode 100644
index 00000000000..ac809e4dafe
--- /dev/null
+++ b/apps/www/supabase/functions/lwx-og/handler.tsx
@@ -0,0 +1,341 @@
+import React from 'https://esm.sh/[email protected]?deno-std=0.140.0'
+import { ImageResponse } from 'https://deno.land/x/[email protected]/mod.ts'
+import { createClient } from 'https://esm.sh/@supabase/[email protected]'
+
+const corsHeaders = {
+ 'Access-Control-Allow-Origin': '*',
+ 'Access-Control-Allow-Headers': 'authorization, x-client-info, apikey, content-type',
+}
+
+const STORAGE_URL = 'https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lwx'
+
+// Load custom font
+const FONT_URL = `${STORAGE_URL}/font/CircularStd-Book.otf`
+const MONO_FONT_URL = `${STORAGE_URL}/font/SourceCodePro-Regular.ttf?t=2023-07-18T13%3A03%3A29.474Z`
+const font = fetch(new URL(FONT_URL, import.meta.url)).then((res) => res.arrayBuffer())
+const mono_font = fetch(new URL(MONO_FONT_URL, import.meta.url)).then((res) => res.arrayBuffer())
+const BUCKET_FOLDER_VERSION = 'v1'
+
+const LW_TABLE = 'lwx_tickets'
+
+const STYLING_CONGIF = {
+ REG: {
+ BACKGROUND: '#303030',
+ FOREGROUND: '#F8F9FA',
+ FOREGROUND_LIGHT: '#8B9092',
+ BORDER: '#303030',
+ },
+ PLATINUM: {
+ BACKGROUND: '#f1f1f1',
+ FOREGROUND: '#11181C',
+ FOREGROUND_LIGHT: '#6c7277',
+ BORDER: '#CFCFCF',
+ },
+}
+
+export async function handler(req: Request) {
+ const url = new URL(req.url)
+ const username = url.searchParams.get('username') ?? url.searchParams.get('amp;username')
+ const assumePlatinum = url.searchParams.get('platinum') ?? url.searchParams.get('amp;platinum')
+ const userAgent = req.headers.get('user-agent')
+
+ try {
+ if (!username) throw new Error('missing username param')
+
+ const supabaseAdminClient = createClient(
+ // Supabase API URL - env var exported by default when deployed.
+ Deno.env.get('MISC_USE_URL') ?? '',
+ // Supabase API SERVICE ROLE KEY - env var exported by default when deployed.
+ Deno.env.get('MISC_USE_ANON_KEY') ?? ''
+ )
+
+ // Track social shares
+ if (userAgent?.toLocaleLowerCase().includes('twitter')) {
+ await supabaseAdminClient
+ .from(LW_TABLE)
+ .update({ sharedOnTwitter: 'now' })
+ .eq('username', username)
+ .is('sharedOnTwitter', null)
+ } else if (userAgent?.toLocaleLowerCase().includes('linkedin')) {
+ await supabaseAdminClient
+ .from(LW_TABLE)
+ .update({ sharedOnLinkedIn: 'now' })
+ .eq('username', username)
+ .is('sharedOnLinkedIn', null)
+ }
+
+ // Get ticket data
+ const { data, error } = await supabaseAdminClient
+ .from(LW_TABLE)
+ .select('name, ticketNumber, sharedOnTwitter, sharedOnLinkedIn, metadata')
+ .eq('username', username)
+ .maybeSingle()
+
+ if (error) console.log('fetch error', error.message)
+ if (!data) throw new Error(error?.message ?? 'user not found')
+ console.log('ticket data', data)
+ const { name, ticketNumber, metadata } = data
+
+ const platinum = (!!data?.sharedOnTwitter && !!data?.sharedOnLinkedIn) ?? false
+ console.log('assumePlatinum??', assumePlatinum)
+ console.log('platinum??', platinum)
+ if (assumePlatinum && !platinum) return await fetch(`${STORAGE_URL}/assets/golden_no_meme.png`)
+ console.log('no meme??')
+
+ // Else, generate image and upload to storage.
+ const BACKGROUND = {
+ REG: {
+ OG: `${STORAGE_URL}/assets/og_bg_regular.png?t=2023-11-27T22%3A32%3A21.973Z`,
+ BG: `${STORAGE_URL}/assets/lwx_ticket_bg_regular.png`,
+ LOGO: `${STORAGE_URL}/assets/logos/supabase_logo_reg.png`,
+ // LOGO: `${STORAGE_URL}/assets/logos/supabase_lwx_logo_dark.png`,
+ },
+ PLATINUM: {
+ OG: `${STORAGE_URL}/assets/og_bg_platinum.png?t=2023-11-27T22%3A31%3A58.719Z`,
+ BG: `${STORAGE_URL}/assets/lwx_ticket_bg_platinum.png`,
+ LOGO: `${STORAGE_URL}/assets/logos/supabase_logo_platinum.png`,
+ // LOGO: `${STORAGE_URL}/assets/logos/supabase_lwx_logo_light.png`,
+ },
+ }
+
+ const fontData = await font
+ const monoFontData = await mono_font
+ const numDigits = `${Number(ticketNumber)}`.length
+ const prefix = `00000000`.slice(numDigits)
+ const HAS_ROLE = !!metadata?.role
+ const HAS_COMPANY = !!metadata?.company
+ const HAS_LOCATION = !!metadata?.location
+ const HAS_NO_META = !HAS_ROLE && !HAS_COMPANY && !HAS_LOCATION
+ const OG_WIDTH = 1200
+ const OG_HEIGHT = 628
+ const TICKET_WIDTH = 1000
+ const TICKET_HEIGHT = TICKET_WIDTH / 2
+ const TICKET_PADDING_X = 60
+ const TICKET_PADDING_Y = 60
+ const OG_PADDING_X = (OG_WIDTH - TICKET_WIDTH) / 2
+ const OG_PADDING_Y = (OG_HEIGHT - TICKET_HEIGHT) / 2
+
+ console.log(BACKGROUND)
+
+ const generatedTicketImage = new ImageResponse(
+ (
+ <>
+ <div
+ style={{
+ width: '1200px',
+ height: '628px',
+ position: 'relative',
+ fontFamily: '"Circular"',
+ color: STYLING_CONGIF[platinum ? 'PLATINUM' : 'REG'].FOREGROUND,
+ overflow: 'hidden',
+ display: 'flex',
+ flexDirection: 'column',
+ padding: '60px',
+ justifyContent: 'space-between',
+ }}
+ >
+ {/* Background */}
+ <img
+ width="1202"
+ height="632"
+ style={{
+ position: 'absolute',
+ top: '-1px',
+ left: '-1px',
+ bottom: '-1px',
+ right: '-1px',
+ zIndex: '0',
+ }}
+ src={platinum ? BACKGROUND.PLATINUM.OG : BACKGROUND.REG.OG}
+ />
+ {/* Ticket */}
+ <img
+ width={TICKET_WIDTH}
+ height={TICKET_HEIGHT}
+ style={{
+ position: 'absolute',
+ top: OG_PADDING_Y,
+ left: OG_PADDING_X,
+ bottom: 0,
+ right: '0',
+ zIndex: '1',
+ margin: 'auto',
+ borderRadius: '20px',
+ border: `1px solid ${STYLING_CONGIF[platinum ? 'PLATINUM' : 'REG'].BORDER}`,
+ boxShadow: '0px 4px 45px rgba(0, 0, 0, 0.3)',
+ }}
+ src={platinum ? BACKGROUND.PLATINUM.BG : BACKGROUND.REG.BG}
+ />
+
+ {/* Name & username */}
+ <div
+ style={{
+ display: 'flex',
+ alignItems: 'flex-start',
+ justifyContent: 'center',
+ flexDirection: 'column',
+ position: 'absolute',
+ top: OG_PADDING_Y + TICKET_PADDING_Y,
+ left: OG_PADDING_X + TICKET_PADDING_X,
+ width: '530',
+ height: 'auto',
+ overflow: 'hidden',
+ textOverflow: 'clip',
+ textAlign: 'left',
+ marginBottom: '10px',
+ }}
+ >
+ <p
+ style={{
+ color: STYLING_CONGIF[platinum ? 'PLATINUM' : 'REG'].FOREGROUND,
+ margin: '0',
+ padding: '0',
+ fontSize: '36',
+ lineHeight: '105%',
+ display: 'flex',
+ marginBottom: '10px',
+ }}
+ >
+ {name ?? username}
+ </p>
+
+ <div
+ style={{
+ color: STYLING_CONGIF[platinum ? 'PLATINUM' : 'REG'].FOREGROUND_LIGHT,
+ opacity: 0.8,
+ display: 'flex',
+ fontSize: '32',
+ margin: '0',
+ }}
+ >
+ {HAS_NO_META && username && `@${username}`}
+ {HAS_ROLE && `${metadata.role}`}
+ {HAS_COMPANY && `${HAS_ROLE ? ' at ' : ''}${metadata.company} `}
+ </div>
+ </div>
+ <div
+ style={{
+ position: 'absolute',
+ bottom: OG_PADDING_Y + TICKET_PADDING_Y,
+ left: OG_PADDING_X + TICKET_PADDING_X,
+ display: 'flex',
+ gap: '10',
+ alignItems: 'flex-start',
+ justifyContent: 'center',
+ flexDirection: 'column',
+ fontFamily: '"SourceCodePro"',
+ fontSize: '23',
+ textTransform: 'uppercase',
+ letterSpacing: '0.35rem',
+ lineHeight: '120%',
+ }}
+ >
+ <div style={{ display: 'flex', marginBottom: '10', marginLeft: '-10' }}>
+ <img
+ src={platinum ? BACKGROUND['PLATINUM']['LOGO'] : BACKGROUND['REG']['LOGO']}
+ width={65}
+ height={65}
+ />
+ </div>
+ {/* Ticket No */}
+ <p
+ style={{
+ color: STYLING_CONGIF[platinum ? 'PLATINUM' : 'REG'].FOREGROUND_LIGHT,
+ margin: '0',
+ marginBottom: '5',
+ display: 'flex',
+ }}
+ >
+ {`NO ${prefix}${ticketNumber}`}
+ </p>
+ <p
+ style={{
+ margin: '0',
+ marginBottom: '5',
+ display: 'flex',
+ }}
+ >
+ Launch Week X
+ </p>
+ <p
+ style={{
+ margin: '0',
+ }}
+ >
+ DEC 11-15 / 8AM PT
+ </p>
+ </div>
+ </div>
+ </>
+ ),
+ {
+ width: OG_WIDTH,
+ height: OG_HEIGHT,
+ fonts: [
+ {
+ name: 'Circular',
+ data: fontData,
+ style: 'normal',
+ },
+ {
+ name: 'SourceCodePro',
+ data: monoFontData,
+ style: 'normal',
+ },
+ ],
+ headers: {
+ 'content-type': 'image/png',
+ 'cache-control': 'public, max-age=31536000, s-maxage=31536000, no-transform, immutable',
+ 'cdn-cache-control': 'max-age=31536000',
+ },
+ }
+ )
+
+ console.log('generatedTicketImage', generatedTicketImage)
+
+ // Upload image to storage.
+ const { error: storageError } = await supabaseAdminClient.storage
+ .from('images')
+ .upload(
+ `lwx/og/${platinum ? 'platinum' : 'regular'}/${username}.png`,
+ generatedTicketImage.body!,
+ {
+ contentType: 'image/png',
+ // cacheControl: `${60 * 60 * 24 * 7}`,
+ cacheControl: `0`,
+ // Update cached og image, people might need to update info
+ upsert: true,
+ }
+ )
+
+ console.log('storageError?', storageError)
+ if (storageError) throw new Error(`storageError: ${storageError.message}`)
+
+ console.log('lwx-ticket username', username)
+ console.log('lwx-ticket platinum?', platinum)
+ // Generate og image
+ fetch('https://obuldanrptloktxcffvn.supabase.co/functions/v1/lwx-ticket-og', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ Authorization:
+ 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im9idWxkYW5ycHRsb2t0eGNmZnZuIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTIyNjkzMjYsImV4cCI6MjAwNzg0NTMyNn0.1S6qpBbHtEmGuMsIx5UOhRiFd4YbVv-yLTrLk6tVGmM',
+ },
+ body: JSON.stringify({
+ username,
+ platinum,
+ }),
+ }).catch((err) => console.log('generate og err', err))
+
+ const NEW_TIMESTAMP = new Date()
+
+ return await fetch(
+ `${STORAGE_URL}/og/${platinum ? 'platinum' : 'regular'}/${username}.png?t=${NEW_TIMESTAMP}`
+ )
+ } catch (error) {
+ return new Response(JSON.stringify({ error: error.message }), {
+ headers: { ...corsHeaders, 'Content-Type': 'application/json' },
+ status: 400,
+ })
+ }
+}
diff --git a/apps/www/supabase/functions/lwx-og/index.ts b/apps/www/supabase/functions/lwx-og/index.ts
new file mode 100644
index 00000000000..fa23a1d689c
--- /dev/null
+++ b/apps/www/supabase/functions/lwx-og/index.ts
@@ -0,0 +1,11 @@
+// Follow this setup guide to integrate the Deno language server with your editor:
+// https://deno.land/manual/getting_started/setup_your_environment
+// This enables autocomplete, go to definition, etc.
+
+import { serve } from 'https://deno.land/[email protected]/http/server.ts'
+
+import { handler } from './handler.tsx'
+
+console.log(`Function "lwx-og" up and running`)
+
+serve(handler)
diff --git a/apps/www/supabase/functions/lwx-ticket-og/handler.tsx b/apps/www/supabase/functions/lwx-ticket-og/handler.tsx
new file mode 100644
index 00000000000..f53369e85c5
--- /dev/null
+++ b/apps/www/supabase/functions/lwx-ticket-og/handler.tsx
@@ -0,0 +1,118 @@
+import React from 'https://esm.sh/[email protected]?deno-std=0.140.0'
+import { ImageResponse } from 'https://deno.land/x/[email protected]/mod.ts'
+import { createClient } from 'https://esm.sh/@supabase/[email protected]'
+
+const corsHeaders = {
+ 'Access-Control-Allow-Origin': '*',
+ 'Access-Control-Allow-Headers': 'authorization, x-client-info, apikey, content-type',
+}
+
+const STORAGE_URL = 'https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lwx'
+const BUCKET_FOLDER_VERSION = 'v1'
+
+export async function handler(req: Request) {
+ try {
+ if (req.method !== 'POST') throw new Error('method not supported')
+ const {
+ username = 'fsansalvadore',
+ platinum = false,
+ }: {
+ username: string
+ platinum?: boolean
+ } = await req.json()
+
+ console.log('lwx-ticket-og username', username)
+ console.log('lwx-ticket-og platinum?', platinum)
+
+ const timestamp = encodeURI(new Date().toISOString())
+ const ticketImg = `${STORAGE_URL}/tickets/${
+ platinum ? 'platinum' : 'regular'
+ }/${BUCKET_FOLDER_VERSION}/${username}.png?t=${timestamp}`
+
+ console.log('ticketImg', ticketImg)
+
+ const ticketWidth = 1100
+ const ticketHeight = ticketWidth / 2
+ const BG = {
+ REG: `${STORAGE_URL}/assets/og_bg_regular.png`,
+ PLATINUM: `${STORAGE_URL}/assets/og_bg_platinum.png`,
+ }
+
+ const geneartedOGImage = new ImageResponse(
+ (
+ <div
+ style={{
+ width: '1200px',
+ height: '628px',
+ position: 'relative',
+ backgroundImage: BG[platinum ? 'PLATINUM' : 'REG'],
+ backgroundSize: 'cover',
+ backgroundPosition: 'center',
+ overflow: 'hidden',
+ display: 'flex',
+ flexDirection: 'column',
+ padding: '60px',
+ alignItems: 'center',
+ justifyContent: 'center',
+ }}
+ >
+ {/* Ticket */}
+ <img
+ width={ticketWidth}
+ height={ticketHeight}
+ src={ticketImg}
+ style={{
+ borderRadius: '26px',
+ boxShadow: '0px 4px 25px rgba(0, 0, 0, 0.2)',
+ }}
+ />
+ </div>
+ ),
+ {
+ width: 1200,
+ height: 628,
+ headers: {
+ 'content-type': 'image/png',
+ 'cache-control': 'public, max-age=31536000, s-maxage=31536000, no-transform, immutable',
+ 'cdn-cache-control': 'max-age=31536000',
+ },
+ }
+ )
+
+ console.log('geneartedOGImage', geneartedOGImage)
+
+ // Upload image to storage.
+ const supabaseAdminClient = createClient(
+ // Supabase API URL - env var exported by default when deployed.
+ Deno.env.get('MISC_USE_URL') ?? '',
+ // Supabase API SERVICE ROLE KEY - env var exported by default when deployed.
+ Deno.env.get('MISC_USE_ANON_KEY') ?? ''
+ )
+
+ // return geneartedOGImage
+ const { error: storageError } = await supabaseAdminClient.storage
+ .from('images')
+ .upload(
+ `lwx/og/${platinum ? 'platinum' : 'regular'}/${BUCKET_FOLDER_VERSION}/${username}.png`,
+ geneartedOGImage.body!,
+ {
+ contentType: 'image/png',
+ cacheControl: '0',
+ upsert: true,
+ }
+ )
+
+ console.log('storageError?', storageError)
+ if (storageError) throw new Error(`storageError: ${storageError.message}`)
+
+ return new Response(JSON.stringify({ success: true }), {
+ headers: { ...corsHeaders, 'Content-Type': 'application/json' },
+ status: 200,
+ })
+ } catch (error) {
+ return new Response(JSON.stringify({ error: error.message }), {
+ headers: { ...corsHeaders, 'Content-Type': 'application/json' },
+ status: 400,
+ })
+ }
+}
diff --git a/apps/www/supabase/functions/lwx-ticket-og/index.ts b/apps/www/supabase/functions/lwx-ticket-og/index.ts
new file mode 100644
index 00000000000..3440b822311
--- /dev/null
+++ b/apps/www/supabase/functions/lwx-ticket-og/index.ts
@@ -0,0 +1,11 @@
+// Follow this setup guide to integrate the Deno language server with your editor:
+// https://deno.land/manual/getting_started/setup_your_environment
+// This enables autocomplete, go to definition, etc.
+
+import { serve } from 'https://deno.land/[email protected]/http/server.ts'
+
+import { handler } from './handler.tsx'
+
+console.log(`Function "lwx-ticket-og" up and running`)
+
+serve(handler)
diff --git a/apps/www/supabase/functions/lwx-ticket/README.md b/apps/www/supabase/functions/lwx-ticket/README.md
new file mode 100644
index 00000000000..07ad9c0ca8f
--- /dev/null
+++ b/apps/www/supabase/functions/lwx-ticket/README.md
@@ -0,0 +1,22 @@
+# Open Graph (OG) Image Generation with Supabase Storage CDN Caching
+
+Generate Open Graph images with Deno and Supabase Edge Functions and cache the generated image with Supabase Storage CDN.
+
+- Docs: https://deno.land/x/[email protected]
+- Examples: https://vercel.com/docs/concepts/functions/edge-functions/og-image-examples
+- Demo: https://obuldanrptloktxcffvn.supabase.co/functions/v1/lwx-ticket?username=thorwebdev
+
+## Run locally
+
+```bash
+supabase start
+supabase functions serve lwx-ticket --no-verify-jwt --env-file ./supabase/.env.local
+```
+
+Navigate to http://localhost:54321/functions/v1/lwx-ticket?username=thorwebdev
+
+## Deploy
+
+```bash
+supabase functions deploy lwx-ticket --no-verify-jwt
+```
diff --git a/apps/www/supabase/functions/lwx-ticket/handler.tsx b/apps/www/supabase/functions/lwx-ticket/handler.tsx
new file mode 100644
index 00000000000..82a15b2a152
--- /dev/null
+++ b/apps/www/supabase/functions/lwx-ticket/handler.tsx
@@ -0,0 +1,309 @@
+import React from 'https://esm.sh/[email protected]?deno-std=0.140.0'
+import { ImageResponse } from 'https://deno.land/x/[email protected]/mod.ts'
+import { createClient } from 'https://esm.sh/@supabase/[email protected]'
+
+const corsHeaders = {
+ 'Access-Control-Allow-Origin': '*',
+ 'Access-Control-Allow-Headers': 'authorization, x-client-info, apikey, content-type',
+}
+
+const STORAGE_URL = 'https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lwx'
+
+// Load custom font
+const FONT_URL = `${STORAGE_URL}/font/CircularStd-Book.otf`
+const MONO_FONT_URL = `${STORAGE_URL}/font/SourceCodePro-Regular.ttf?t=2023-07-18T13%3A03%3A29.474Z`
+const font = fetch(new URL(FONT_URL, import.meta.url)).then((res) => res.arrayBuffer())
+const mono_font = fetch(new URL(MONO_FONT_URL, import.meta.url)).then((res) => res.arrayBuffer())
+const BUCKET_FOLDER_VERSION = 'v1'
+
+const LW_TABLE = 'lwx_tickets'
+
+const STYLING_CONGIF = {
+ REG: {
+ BACKGROUND: '#303030',
+ FOREGROUND: '#F8F9FA',
+ FOREGROUND_LIGHT: '#707070',
+ },
+ PLATINUM: {
+ BACKGROUND: '#f1f1f1',
+ FOREGROUND: '#11181C',
+ FOREGROUND_LIGHT: '#7E868C',
+ },
+}
+
+export async function handler(req: Request) {
+ const url = new URL(req.url)
+ const username = url.searchParams.get('username') ?? url.searchParams.get('amp;username')
+ const assumePlatinum = url.searchParams.get('platinum') ?? url.searchParams.get('amp;platinum')
+ const userAgent = req.headers.get('user-agent')
+
+ try {
+ if (!username) throw new Error('missing username param')
+
+ const supabaseAdminClient = createClient(
+ // Supabase API URL - env var exported by default when deployed.
+ Deno.env.get('MISC_USE_URL') ?? '',
+ // Supabase API SERVICE ROLE KEY - env var exported by default when deployed.
+ Deno.env.get('MISC_USE_ANON_KEY') ?? ''
+ )
+
+ // Track social shares
+ if (userAgent?.toLocaleLowerCase().includes('twitter')) {
+ await supabaseAdminClient
+ .from(LW_TABLE)
+ .update({ sharedOnTwitter: 'now' })
+ .eq('username', username)
+ .is('sharedOnTwitter', null)
+ } else if (userAgent?.toLocaleLowerCase().includes('linkedin')) {
+ await supabaseAdminClient
+ .from(LW_TABLE)
+ .update({ sharedOnLinkedIn: 'now' })
+ .eq('username', username)
+ .is('sharedOnLinkedIn', null)
+ }
+
+ // Get ticket data
+ const { data, error } = await supabaseAdminClient
+ .from(LW_TABLE)
+ .select('name, ticketNumber, sharedOnTwitter, sharedOnLinkedIn, metadata')
+ .eq('username', username)
+ .maybeSingle()
+
+ if (error) console.log('fetch error', error.message)
+ if (!data) throw new Error(error?.message ?? 'user not found')
+ console.log('ticket data', data)
+ const { name, ticketNumber, metadata } = data
+
+ const platinum = (!!data?.sharedOnTwitter && !!data?.sharedOnLinkedIn) ?? false
+ console.log('assumePlatinum??', assumePlatinum)
+ console.log('platinum??', platinum)
+ if (assumePlatinum && !platinum) return await fetch(`${STORAGE_URL}/assets/golden_no_meme.png`)
+ console.log('no meme??')
+
+ // Else, generate image and upload to storage.
+ const BACKGROUND = {
+ REG: {
+ BG: `${STORAGE_URL}/assets/lwx_ticket_bg_regular.png?t=2023-11-27T12%3A35%3A58.316Z`,
+ LOGO: `${STORAGE_URL}/assets/logos/supabase_logo_reg.png`,
+ },
+ PLATINUM: {
+ BG: `${STORAGE_URL}/assets/lwx_ticket_bg_platinum.png?t=2023-11-27T12%3A35%3A58.316Z`,
+ LOGO: `${STORAGE_URL}/assets/logos/supabase_logo_platinum.png`,
+ },
+ }
+
+ const fontData = await font
+ const monoFontData = await mono_font
+ const numDigits = `${Number(ticketNumber)}`.length
+ const prefix = `00000000`.slice(numDigits)
+ const HAS_ROLE = !!metadata?.role
+ const HAS_COMPANY = !!metadata?.company
+ const HAS_LOCATION = !!metadata?.location
+ const HAS_NO_META = !HAS_ROLE && !HAS_COMPANY && !HAS_LOCATION
+
+ const generatedTicketImage = new ImageResponse(
+ (
+ <>
+ <div
+ style={{
+ width: '1200px',
+ height: '628px',
+ position: 'relative',
+ backgroundColor: STYLING_CONGIF[platinum ? 'PLATINUM' : 'REG'].BACKGROUND,
+ color: STYLING_CONGIF[platinum ? 'PLATINUM' : 'REG'].FOREGROUND,
+ fontFamily: '"Circular"',
+ overflow: 'hidden',
+ display: 'flex',
+ flexDirection: 'column',
+ padding: '60px',
+ justifyContent: 'space-between',
+ }}
+ >
+ {/* Background */}
+ <img
+ width="1202"
+ height="632"
+ style={{
+ position: 'absolute',
+ top: '-1px',
+ left: '-1px',
+ bottom: '-1px',
+ right: '-1px',
+ zIndex: '0',
+ }}
+ src={platinum ? BACKGROUND['PLATINUM'].BG : BACKGROUND['REG'].BG}
+ />
+
+ {/* Name & username */}
+ <div
+ style={{
+ display: 'flex',
+ alignItems: 'flex-start',
+ justifyContent: 'center',
+ flexDirection: 'column',
+ position: 'absolute',
+ top: '70',
+ left: '80',
+ width: '530',
+ height: 'auto',
+ overflow: 'hidden',
+ textOverflow: 'clip',
+ textAlign: 'left',
+ marginBottom: '10px',
+ }}
+ >
+ <p
+ style={{
+ color: STYLING_CONGIF[platinum ? 'PLATINUM' : 'REG'].FOREGROUND,
+ margin: '0',
+ padding: '0',
+ fontSize: '44',
+ lineHeight: '105%',
+ display: 'flex',
+ marginBottom: '10px',
+ }}
+ >
+ {name ?? username}
+ </p>
+
+ {/* Username */}
+ <div
+ style={{
+ color: STYLING_CONGIF[platinum ? 'PLATINUM' : 'REG'].FOREGROUND_LIGHT,
+ opacity: 0.8,
+ display: 'flex',
+ fontSize: '38',
+ margin: '0',
+ }}
+ >
+ {HAS_NO_META && username && `@${username}`}
+ {HAS_ROLE && `${metadata.role}`}
+ {HAS_COMPANY && `${HAS_ROLE ? ' at ' : ''}${metadata.company} `}
+ </div>
+ </div>
+ <div
+ style={{
+ position: 'absolute',
+ bottom: '75',
+ left: '80',
+ display: 'flex',
+ gap: '10',
+ alignItems: 'flex-start',
+ justifyContent: 'center',
+ flexDirection: 'column',
+ fontFamily: '"SourceCodePro"',
+ fontSize: '26',
+ textTransform: 'uppercase',
+ letterSpacing: '0.35rem',
+ lineHeight: '120%',
+ }}
+ >
+ <div style={{ display: 'flex', marginBottom: '10', marginLeft: '-10' }}>
+ <img
+ src={platinum ? BACKGROUND['PLATINUM']['LOGO'] : BACKGROUND['REG']['LOGO']}
+ width={65}
+ height={65}
+ />
+ </div>
+ {/* Ticket No */}
+ <p
+ style={{
+ color: STYLING_CONGIF[platinum ? 'PLATINUM' : 'REG'].FOREGROUND_LIGHT,
+ margin: '0',
+ marginBottom: '5',
+ display: 'flex',
+ }}
+ >
+ {`NO ${prefix}${ticketNumber}`}
+ </p>
+ <p
+ style={{
+ margin: '0',
+ marginBottom: '5',
+ display: 'flex',
+ }}
+ >
+ Launch Week X
+ </p>
+ <p
+ style={{
+ margin: '0',
+ }}
+ >
+ DEC 11-15 / 8AM PT
+ </p>
+ </div>
+ </div>
+ </>
+ ),
+ {
+ width: 1200,
+ height: 628,
+ fonts: [
+ {
+ name: 'Circular',
+ data: fontData,
+ style: 'normal',
+ },
+ {
+ name: 'SourceCodePro',
+ data: monoFontData,
+ style: 'normal',
+ },
+ ],
+ headers: {
+ 'content-type': 'image/png',
+ 'cache-control': 'public, max-age=31536000, s-maxage=31536000, no-transform, immutable',
+ 'cdn-cache-control': 'max-age=31536000',
+ },
+ }
+ )
+
+ // Upload image to storage.
+ const { error: storageError } = await supabaseAdminClient.storage
+ .from('images')
+ .upload(
+ `lwx/tickets/${platinum ? 'platinum' : 'regular'}/${username}.png`,
+ generatedTicketImage.body!,
+ {
+ contentType: 'image/png',
+ // cacheControl: `${60 * 60 * 24 * 7}`,
+ cacheControl: `0`,
+ // Update cached og image, people might need to update info
+ upsert: true,
+ }
+ )
+
+ console.log('storageError?', storageError)
+ if (storageError) throw new Error(`storageError: ${storageError.message}`)
+
+ console.log('lwx-ticket username', username)
+ console.log('lwx-ticket platinum?', platinum)
+ // Generate og image
+ // fetch('https://obuldanrptloktxcffvn.supabase.co/functions/v1/lwx-ticket-og', {
+ // method: 'POST',
+ // headers: {
+ // 'Content-Type': 'application/json',
+ // Authorization:
+ // 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im9idWxkYW5ycHRsb2t0eGNmZnZuIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTIyNjkzMjYsImV4cCI6MjAwNzg0NTMyNn0.1S6qpBbHtEmGuMsIx5UOhRiFd4YbVv-yLTrLk6tVGmM',
+ // },
+ // body: JSON.stringify({
+ // username,
+ // platinum,
+ // }),
+ // }).catch((err) => console.log('generate og err', err))
+
+ const NEW_TIMESTAMP = new Date()
+
+ return await fetch(
+ `${STORAGE_URL}/tickets/${
+ platinum ? 'platinum' : 'regular'
+ }/${username}.png?t=${NEW_TIMESTAMP}`
+ )
+ } catch (error) {
+ return new Response(JSON.stringify({ error: error.message }), {
+ headers: { ...corsHeaders, 'Content-Type': 'application/json' },
+ status: 400,
+ })
+ }
+}
diff --git a/apps/www/supabase/functions/lwx-ticket/index.ts b/apps/www/supabase/functions/lwx-ticket/index.ts
new file mode 100644
index 00000000000..b01f560e8f6
--- /dev/null
+++ b/apps/www/supabase/functions/lwx-ticket/index.ts
@@ -0,0 +1,11 @@
+// Follow this setup guide to integrate the Deno language server with your editor:
+// https://deno.land/manual/getting_started/setup_your_environment
+// This enables autocomplete, go to definition, etc.
+
+import { serve } from 'https://deno.land/[email protected]/http/server.ts'
+
+import { handler } from './handler.tsx'
+
+console.log(`Function "lwx-ticket" up and running`)
+
+serve(handler)
diff --git a/apps/www/tailwind.config.js b/apps/www/tailwind.config.js
index 3b57ed14514..dff49b90dc7 100644
--- a/apps/www/tailwind.config.js
+++ b/apps/www/tailwind.config.js
@@ -23,8 +23,13 @@ module.exports = config({
slideIn: {
'0%, 100%': { transform: 'translate3d(0,0,0)' },
},
- spin: {
- '0%, 100%': { transform: 'rotate(360deg)' },
+ spinner: {
+ '0%': {
+ transform: 'rotate(0deg)',
+ },
+ '100%': {
+ transform: 'rotate(360deg)',
+ },
},
marquee: {
'0%': { transform: 'translateX(0%)' },
@@ -39,7 +44,7 @@ module.exports = config({
animation: {
'flash-code': 'flash-code 1s forwards',
'flash-code-slow': 'flash-code 2s forwards',
- spin: 'spin 1s both infinite',
+ spinner: 'spinner 1s both infinite',
marquee: 'marquee 35s linear infinite',
'pulse-radar': 'pulse-radar 3s linear infinite',
},
diff --git a/package-lock.json b/package-lock.json
index 137d7e4d40b..8084c3939d1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -34040,8 +34040,9 @@
},
"node_modules/turbo": {
"version": "1.10.16",
+ "resolved": "https://registry.npmjs.org/turbo/-/turbo-1.10.16.tgz",
+ "integrity": "sha512-2CEaK4FIuSZiP83iFa9GqMTQhroW2QryckVqUydmg4tx78baftTOS0O+oDAhvo9r9Nit4xUEtC1RAHoqs6ZEtg==",
"dev": true,
- "license": "MPL-2.0",
"bin": {
"turbo": "bin/turbo"
},
@@ -34054,6 +34055,19 @@
"turbo-windows-arm64": "1.10.16"
}
},
+ "node_modules/turbo-darwin-64": {
+ "version": "1.10.16",
+ "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-1.10.16.tgz",
+ "integrity": "sha512-+Jk91FNcp9e9NCLYlvDDlp2HwEDp14F9N42IoW3dmHI5ZkGSXzalbhVcrx3DOox3QfiNUHxzWg4d7CnVNCuuMg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
"node_modules/turbo-darwin-arm64": {
"version": "1.10.16",
"cpu": [
@@ -34066,6 +34080,58 @@
"darwin"
]
},
+ "node_modules/turbo-linux-64": {
+ "version": "1.10.16",
+ "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-1.10.16.tgz",
+ "integrity": "sha512-PpqEZHwLoizQ6sTUvmImcRmACyRk9EWLXGlqceogPZsJ1jTRK3sfcF9fC2W56zkSIzuLEP07k5kl+ZxJd8JMcg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/turbo-linux-arm64": {
+ "version": "1.10.16",
+ "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-1.10.16.tgz",
+ "integrity": "sha512-TMjFYz8to1QE0fKVXCIvG/4giyfnmqcQIwjdNfJvKjBxn22PpbjeuFuQ5kNXshUTRaTJihFbuuCcb5OYFNx4uw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/turbo-windows-64": {
+ "version": "1.10.16",
+ "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-1.10.16.tgz",
+ "integrity": "sha512-+jsf68krs0N66FfC4/zZvioUap/Tq3sPFumnMV+EBo8jFdqs4yehd6+MxIwYTjSQLIcpH8KoNMB0gQYhJRLZzw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/turbo-windows-arm64": {
+ "version": "1.10.16",
+ "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-1.10.16.tgz",
+ "integrity": "sha512-sKm3hcMM1bl0B3PLG4ifidicOGfoJmOEacM5JtgBkYM48ncMHjkHfFY7HrJHZHUnXM4l05RQTpLFoOl/uIo2HQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
"node_modules/type": {
"version": "1.2.0",
"license": "ISC"
diff --git a/packages/ui/index.tsx b/packages/ui/index.tsx
index b85d1e45088..a4399ff1c98 100644
--- a/packages/ui/index.tsx
+++ b/packages/ui/index.tsx
@@ -44,6 +44,7 @@ export * from './src/components/ConsentToast'
export * from './src/components/ContextMenu'
export * from './src/components/ExpandableVideo'
export * from './src/components/PrivacySettings'
+export * from './src/components/PromoToast'
export * from './src/components/Popover'
export * from './src/layout/PortalToast'
diff --git a/packages/ui/src/components/CountdownWidget/Countdown.tsx b/packages/ui/src/components/CountdownWidget/Countdown.tsx
new file mode 100644
index 00000000000..e8394b6128f
--- /dev/null
+++ b/packages/ui/src/components/CountdownWidget/Countdown.tsx
@@ -0,0 +1,35 @@
+import React from 'react'
+import Countdown from 'react-countdown'
+import { CountdownWidget } from 'ui'
+
+const CountdownComponent = ({
+ date,
+ showCard = true,
+}: {
+ date: string | number | Date
+ showCard?: boolean
+}) => {
+ if (!date) return null
+
+ const renderer = ({ days, hours, minutes, seconds, completed }: any) => {
+ if (completed) {
+ // Render a completed state
+ return null
+ } else {
+ // Render countdown
+ return (
+ <CountdownWidget
+ days={days}
+ hours={hours}
+ minutes={minutes}
+ seconds={seconds}
+ showCard={showCard}
+ />
+ )
+ }
+ }
+
+ return <Countdown date={new Date(date)} renderer={renderer} />
+}
+
+export default CountdownComponent
diff --git a/packages/ui/src/components/CountdownWidget/CountdownStep.tsx b/packages/ui/src/components/CountdownWidget/CountdownStep.tsx
index 35af4febab2..30ba161a0bf 100644
--- a/packages/ui/src/components/CountdownWidget/CountdownStep.tsx
+++ b/packages/ui/src/components/CountdownWidget/CountdownStep.tsx
@@ -1,3 +1,6 @@
+import { useEffect, useState } from 'react'
+import { cn } from '../../lib/utils'
+
interface CountdownStepProps {
value: string | number
unit: string
@@ -5,22 +8,32 @@ interface CountdownStepProps {
}
function CountdownStep({ value, unit, showCard = true }: CountdownStepProps) {
+ const [isMounted, setIsMounted] = useState(false)
+ const valueWithZero = (value as number) > 9 ? value : '0' + value
+
+ useEffect(() => {
+ setIsMounted(true)
+ }, [])
+
+ if (!isMounted) return null
+
return (
<div
- className={[
+ className={cn(
+ 'font-mono uppercase text-foreground-lighter tracking-[0.05rem] text-sm',
showCard
- ? 'rounded-md p-[1px] overflow-hidden bg-gradient-to-b from-[#514b6130] to-[#514b6100]'
- : '',
- ].join(' ')}
+ ? 'rounded-md p-[1px] overflow-hidden bg-gradient-to-b from-border-muted to-border-muted/20'
+ : 'tracking-[0.1rem]'
+ )}
>
<div
- className={[
+ className={cn(
showCard
- ? 'py-1 px-2 rounded-md w-11 leading-4 flex items-center justify-center bg-gradient-to-b from-[#51269c40] to-[#DBB8BF10] backdrop-blur-md'
- : 'flex items-center justify-center w-9 py-1 px-1',
- ].join(' ')}
+ ? 'py-1 px-2 rounded-md w-11 leading-4 flex items-center justify-center bg-black backdrop-blur-md'
+ : 'flex items-center justify-center w-7 py-1 px-1'
+ )}
>
- <span className="m-0">{value}</span>
+ <span className="m-0">{valueWithZero}</span>
<span>{unit}</span>
</div>
</div>
diff --git a/packages/ui/src/components/CountdownWidget/CountdownWidget.tsx b/packages/ui/src/components/CountdownWidget/CountdownWidget.tsx
index 9019c7dc6ed..4038d4cb63d 100644
--- a/packages/ui/src/components/CountdownWidget/CountdownWidget.tsx
+++ b/packages/ui/src/components/CountdownWidget/CountdownWidget.tsx
@@ -9,22 +9,26 @@ interface CountdownWidgetProps {
}
function CountdownWidget({ days, hours, minutes, seconds, showCard = true }: CountdownWidgetProps) {
+ const Colon = () => <span className="text-xs mx-px text-foreground-lighter">:</span>
+
return (
<div className="flex gap-1 items-center">
{days !== undefined && (
<>
- <CountdownStep value={days} unit="d" showCard={showCard} /> :
+ <CountdownStep value={days} unit="d" showCard={showCard} />
+ <Colon />
</>
)}
{hours !== undefined && (
<>
- <CountdownStep value={hours} unit="h" showCard={showCard} /> :
+ <CountdownStep value={hours} unit="h" showCard={showCard} />
+ <Colon />
</>
)}
{minutes !== undefined && (
<>
<CountdownStep value={minutes} unit="m" showCard={showCard} />
- {seconds !== undefined && ' :'}
+ {seconds !== undefined && <Colon />}
</>
)}
{seconds !== undefined && <CountdownStep value={seconds} unit="s" showCard={showCard} />}
diff --git a/packages/ui/src/components/PromoToast/PromoBg.tsx b/packages/ui/src/components/PromoToast/PromoBg.tsx
new file mode 100644
index 00000000000..9a4e40f2d8e
--- /dev/null
+++ b/packages/ui/src/components/PromoToast/PromoBg.tsx
@@ -0,0 +1,165 @@
+import { cn } from '../../lib/utils'
+
+interface Props {
+ className?: string
+}
+
+const PromoBg = ({ className }: Props) => {
+ return (
+ <svg
+ className={cn('', className)}
+ width="349"
+ height="195"
+ viewBox="0 0 349 195"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <g clip-path="url(#clip0_558_2902)">
+ <rect width="349" height="195" rx="8" fill="hsl(var(--background-alternative-default))" />
+ <path
+ d="M233.234 -24.4339L255.919 -26.0767M233.234 -24.4339L234.876 -1.74894M233.234 -24.4339L231.591 -47.119M233.234 -24.4339L210.548 -22.791M255.919 -26.0767L257.561 -3.3917M255.919 -26.0767L231.591 -47.119M255.919 -26.0767L278.603 -27.7194M255.919 -26.0767L280.246 -5.03439M255.919 -26.0767L276.961 -50.4044L278.603 -27.7194M257.561 -3.3917L234.876 -1.74894M257.561 -3.3917L259.204 19.2934M257.561 -3.3917L280.246 -5.03439M234.876 -1.74894L210.548 -22.791M234.876 -1.74894L236.519 20.9361M234.876 -1.74894L213.834 22.5788M234.876 -1.74894L259.204 19.2934M234.876 -1.74894L212.191 -0.106216M231.591 -47.119L208.906 -45.476M208.906 -45.476L210.548 -22.791M208.906 -45.476L186.22 -43.8331M210.548 -22.791L212.191 -0.106216M210.548 -22.791L187.863 -21.1483M210.548 -22.791L189.506 1.53674M283.531 40.3356L281.889 17.6506M283.531 40.3356L259.204 19.2934M283.531 40.3356L306.216 38.6929M283.531 40.3356L260.847 41.9783M283.531 40.3356L262.49 64.6634M259.204 19.2934L281.889 17.6506M259.204 19.2934L236.519 20.9361M259.204 19.2934L238.162 43.6211M259.204 19.2934L280.246 -5.03439M259.204 19.2934L260.847 41.9783M281.889 17.6506L304.573 16.0079M281.889 17.6506L280.246 -5.03439M280.246 -5.03439L278.603 -27.7194M280.246 -5.03439L304.573 16.0079M280.246 -5.03439L301.288 -29.3621M280.246 -5.03439L302.931 -6.67716M280.246 -5.03439L304.574 16.0079M278.603 -27.7194L276.96 -50.4044L299.645 -52.0471M278.603 -27.7194L301.288 -29.3621M262.49 64.6634L260.847 41.9783M262.49 64.6634L238.162 43.6211M238.162 43.6211L260.847 41.9783M238.162 43.6211L236.519 20.9361M238.162 43.6211L215.477 45.264M269.062 155.403L267.419 132.718M269.062 155.403L244.734 134.361M269.062 155.403L290.104 131.075M269.062 155.403L246.376 157.046M269.062 155.403L270.704 178.088M269.062 155.403L291.746 153.761M269.062 155.403L293.389 176.446M269.062 155.403L248.019 179.731M244.734 134.361L267.419 132.718M244.734 134.361L265.776 110.033M244.734 134.361L222.048 136.004M244.734 134.361L246.376 157.046M267.419 132.718L290.104 131.075M267.419 132.718L265.776 110.033M304.573 16.0079L306.216 38.6929M304.573 16.0079L327.258 14.3651L325.616 -8.31985M304.573 16.0079L302.931 -6.67716M304.573 16.0079L328.901 37.0501M306.216 38.6929L328.901 37.0501M306.216 38.6929L307.859 61.3781M299.645 -52.0471L301.288 -29.3621M299.645 -52.0471L322.33 -53.6899M301.288 -29.3621L302.931 -6.67716M301.288 -29.3621L323.973 -31.0049M301.288 -29.3621L325.616 -8.31985M236.519 20.9361L213.834 22.5788M290.104 131.075L265.776 110.033M290.104 131.075L291.746 153.761M213.834 22.5788L215.477 45.264M213.834 22.5788L191.149 24.2218M213.834 22.5788L212.191 -0.106216M213.834 22.5788L192.791 46.9067M215.477 45.264L192.791 46.9067M215.477 45.264L217.119 67.949M212.191 -0.106216L189.506 1.53674M302.931 -6.67716L325.616 -8.31985M302.931 -6.67716L304.574 16.0079M166.822 3.17947L144.137 4.82223M166.822 3.17947L168.465 25.8645M166.822 3.17947L165.18 -19.5058M144.137 4.82223L145.78 27.5072M144.137 4.82223L123.095 29.1501M144.137 4.82223L165.18 -19.5058M144.137 4.82223L142.495 -17.8628M145.78 27.5072L168.465 25.8645M145.78 27.5072L123.095 29.1501M145.78 27.5072L147.422 50.1922M168.465 25.8645L170.108 48.5495M168.465 25.8645L147.423 50.1922M168.465 25.8645L191.15 24.2217M168.465 25.8645L189.507 1.5367L191.15 24.2217M187.863 -21.1483L165.178 -19.5055M187.863 -21.1483L189.506 1.53674M187.863 -21.1483L186.22 -43.8331M165.178 -19.5055L166.821 3.1795M165.178 -19.5055L186.22 -43.8331M165.178 -19.5055L163.535 -42.1903L186.22 -43.8331M166.821 3.1795L189.506 1.53674M166.821 3.1795L168.464 25.8644M189.506 1.53674L168.464 25.8644M189.506 1.53674L191.149 24.2218M147.422 50.1922L145.779 27.5072L168.464 25.8644M147.422 50.1922L168.464 25.8644M147.422 50.1922L124.737 51.8349M147.422 50.1922L149.065 72.8772M147.422 50.1922L126.38 74.52M123.095 29.1501L124.737 51.8349M123.095 29.1501L100.41 30.7927M123.095 29.1501L121.452 6.46492M123.095 29.1501L144.136 4.82219M123.095 29.1501L102.052 53.4779M124.737 51.8349L102.052 53.4779M124.737 51.8349L126.38 74.52M165.18 -19.5058L142.495 -17.8628M165.18 -19.5058L163.537 -42.1905L140.852 -40.5478L142.495 -17.8628M147.423 50.1922L170.108 48.5495M147.423 50.1922L149.066 72.8772M170.108 48.5495L192.793 46.9067L191.15 24.2217M170.108 48.5495L171.751 71.2345M348.302 -9.9628L370.987 -11.6056M348.302 -9.9628L349.944 12.7222M348.302 -9.9628L346.659 -32.6476M370.987 -11.6056L372.629 11.0794M370.987 -11.6056L395.314 9.43697M370.987 -11.6056L346.659 -32.6476M370.987 -11.6056L393.671 -13.2482M370.987 -11.6056L369.343 -34.2903M372.629 11.0794L349.944 12.7222M372.629 11.0794L374.271 33.7647M372.629 11.0794L395.314 9.43697M349.944 12.7222L374.271 33.7647M349.944 12.7222L351.587 35.4074M349.944 12.7222L327.259 14.3652M349.944 12.7222L325.617 -8.31982L327.259 14.3652M323.973 -31.0049L346.658 -32.6476M323.973 -31.0049L325.616 -8.31985M323.973 -31.0049L322.33 -53.6899M346.658 -32.6476L348.301 -9.96262M346.658 -32.6476L322.33 -53.6899M346.658 -32.6476L345.015 -55.3326L322.33 -53.6899M348.301 -9.96262L325.616 -8.31985M348.301 -9.96262L349.943 12.7224L325.616 -8.31985M374.271 33.7647L396.957 32.122M374.271 33.7647L351.587 35.4074M374.271 33.7647L375.914 56.4495M374.271 33.7647L398.599 54.8067M395.314 9.43697L396.957 32.122M395.314 9.43697L417.999 7.79399M395.314 9.43697L393.671 -13.2482M395.314 9.43697L419.642 30.4793M396.957 32.122L419.642 30.4793M396.957 32.122L398.599 54.8067M346.659 -32.6476L369.343 -34.2903M346.659 -32.6476L345.016 -55.3328L367.701 -56.9755M351.587 35.4074L328.902 37.0502M351.587 35.4074L353.23 58.0922M191.149 24.2218L192.791 46.9067M192.791 46.9067L194.434 69.5918M192.791 46.9067L171.749 71.2345M192.791 46.9067L170.106 48.5495L171.749 71.2345M328.902 37.0502L327.259 14.3652M328.902 37.0502L304.574 16.0079M328.902 37.0502L330.545 59.7349M328.902 37.0502L353.23 58.0922M304.574 16.0079L327.259 14.3652M328.901 37.0501L330.544 59.7351M121.452 6.46492L98.767 8.10768M121.452 6.46492L119.809 -16.2201M121.452 6.46492L144.136 4.82219M98.767 8.10768L100.41 30.7927M98.767 8.10768L77.7243 32.4356M98.767 8.10768L119.809 -16.2201M98.767 8.10768L97.1243 -14.5773M100.41 30.7927L77.7243 32.4356M100.41 30.7927L102.051 53.4777M142.494 -17.8628L119.809 -16.2201M142.494 -17.8628L144.136 4.82219M142.494 -17.8628L140.851 -40.5478M119.809 -16.2201L140.851 -40.5478M119.809 -16.2201L118.166 -38.9051M119.809 -16.2201L97.1243 -14.5773M140.851 -40.5478L118.166 -38.9051M102.051 53.4777L100.409 30.7926L123.094 29.1499L102.051 53.4777ZM102.051 53.4777L79.367 55.1204M102.051 53.4777L103.694 76.1627M102.051 53.4777L81.0091 77.8054M77.7243 32.4356L79.367 55.1204M77.7243 32.4356L55.0393 34.0781M77.7243 32.4356L76.0816 9.75037M77.7243 32.4356L56.6827 56.7633M77.7243 32.4356L98.7659 8.10764M79.367 55.1204L56.6827 56.7633M79.367 55.1204L81.0091 77.8054M118.166 -38.9051L95.4816 -37.2623L97.1243 -14.5773M102.052 53.4779L103.695 76.1627M393.671 -13.2482L416.356 -14.891M393.671 -13.2482L392.028 -35.9331M416.356 -14.891L417.999 7.79399M416.356 -14.891L440.684 6.1513M416.356 -14.891L392.028 -35.9331M416.356 -14.891L439.042 -16.5337M416.356 -14.891L414.714 -37.576M417.999 7.79399L419.642 30.4793M417.999 7.79399L440.684 6.1513M369.343 -34.2903L392.028 -35.9331M369.343 -34.2903L367.701 -56.9755M392.028 -35.9331L367.701 -56.9755M392.028 -35.9331L390.386 -58.6183M392.028 -35.9331L414.714 -37.576M367.701 -56.9755L390.386 -58.6183M419.642 30.4793L442.327 28.8365M419.642 30.4793L421.285 53.164M419.642 30.4793L443.97 51.5213M440.684 6.1513L442.327 28.8365M440.684 6.1513L463.369 4.50854M440.684 6.1513L439.042 -16.5337M440.684 6.1513L465.012 27.1934M442.327 28.8365L465.012 27.1934M442.327 28.8365L443.97 51.5213M390.386 -58.6183L413.071 -60.261M76.0816 9.75037L53.3965 11.3931M76.0816 9.75037L74.4382 -12.9346M76.0816 9.75037L98.7659 8.10764M53.3965 11.3931L55.0393 34.0781M53.3965 11.3931L32.3538 35.7211M53.3965 11.3931L74.4382 -12.9346M53.3965 11.3931L30.7122 13.0361M53.3965 11.3931L51.7545 -11.2917M53.3965 11.3931L32.355 35.7209L30.7122 13.0361M55.0393 34.0781L56.6827 56.7633M55.0393 34.0781L32.3538 35.7211M55.0393 34.0781L56.6816 56.7633L33.9965 58.4061L32.3538 35.7211M97.1232 -14.5774L74.4382 -12.9346M97.1232 -14.5774L98.7659 8.10764M97.1232 -14.5774L95.4804 -37.2621M74.4382 -12.9346L95.4804 -37.2621M74.4382 -12.9346L72.7954 -35.6194M74.4382 -12.9346L51.7545 -11.2917M95.4804 -37.2621L72.7954 -35.6194M56.6827 56.7633L58.3254 79.4481M56.6827 56.7633L35.6404 81.0909M56.6827 56.7633L33.9977 58.4061L35.6404 81.0909M72.7954 -35.6194L50.1118 -33.9767M439.042 -16.5337L461.727 -18.1765M439.042 -16.5337L437.399 -39.2188M461.727 -18.1765L463.369 4.50854M461.727 -18.1765L486.054 2.86584M461.727 -18.1765L437.399 -39.2188M461.727 -18.1765L484.412 -19.8194M461.727 -18.1765L460.084 -40.8617M463.369 4.50854L465.012 27.1934M463.369 4.50854L486.054 2.86584M414.714 -37.576L437.399 -39.2188M414.714 -37.576L413.071 -60.261M437.399 -39.2188L413.071 -60.261M437.399 -39.2188L435.756 -61.9038M437.399 -39.2188L460.084 -40.8617M413.071 -60.261L435.756 -61.9038M465.012 27.1934L487.697 25.5506M465.012 27.1934L466.655 49.8786M465.012 27.1934L489.34 48.2358M486.054 2.86584L487.697 25.5506M486.054 2.86584L484.412 -19.8194M487.697 25.5506L489.34 48.2358M435.756 -61.9038L458.441 -63.5464M460.084 -40.8617L482.769 -42.5044M460.084 -40.8617L458.441 -63.5464M482.769 -42.5044L484.412 -19.8194M482.769 -42.5044L458.441 -63.5464M482.769 -42.5044L481.126 -65.1892L458.441 -63.5464M51.7545 -11.2917L29.0695 -9.64892M51.7545 -11.2917L50.1118 -33.9767M29.0695 -9.64892L30.7122 13.0361M29.0695 -9.64892L50.1118 -33.9767M29.0695 -9.64892L27.4268 -32.3339L50.1118 -33.9767M217.119 67.949L218.762 90.634M217.119 67.949L241.447 88.9913M217.119 67.949L194.434 69.5918M217.119 67.949L196.077 92.2768M217.119 67.949L196.078 92.2766M241.447 88.9913L218.762 90.634M241.447 88.9913L220.406 113.319M218.762 90.634L196.078 92.2766M218.762 90.634L220.406 113.319M307.859 61.3781L309.502 84.0631M307.859 61.3781L286.817 85.7059M307.859 61.3781L330.544 59.7351M307.859 61.3781L332.186 82.4204M309.502 84.0631L286.817 85.7059M309.502 84.0631L332.186 82.4204M309.502 84.0631L311.144 106.748M309.502 84.0631L311.145 106.748M286.817 85.7059L311.145 106.748M173.393 93.9195L150.708 95.5623M173.393 93.9195L175.036 116.604M173.393 93.9195L171.751 71.2345M150.708 95.5623L152.351 118.247M150.708 95.5623L129.666 119.89M150.708 95.5623L171.751 71.2345M150.708 95.5623L149.066 72.8772M152.351 118.247L175.036 116.604M152.351 118.247L129.666 119.89M152.351 118.247L153.993 140.932M175.036 116.604L176.679 139.29M175.036 116.604L153.994 140.932M175.036 116.604L197.721 114.962M175.036 116.604L196.078 92.2766M194.434 69.5918L171.749 71.2345M194.434 69.5918L196.077 92.2768M171.749 71.2345L173.392 93.9195M173.392 93.9195L196.077 92.2768M173.392 93.9195L175.035 116.604M196.077 92.2768L175.035 116.604M153.993 140.932L152.35 118.247L175.035 116.604M153.993 140.932L175.035 116.604M153.993 140.932L131.308 142.575M153.993 140.932L155.635 163.617M153.993 140.932L132.95 165.26M129.666 119.89L131.308 142.575M129.666 119.89L106.981 121.533M129.666 119.89L128.023 97.2052M129.666 119.89L150.707 95.5622M129.666 119.89L108.623 144.218M131.308 142.575L108.623 144.218M131.308 142.575L132.95 165.26M171.751 71.2345L149.066 72.8772M153.994 140.932L176.679 139.29M153.994 140.932L155.637 163.617M176.679 139.29L199.364 137.647M176.679 139.29L178.322 161.974M354.873 80.7775L377.558 79.1347M354.873 80.7775L356.515 103.462M354.873 80.7775L353.23 58.0922M354.873 80.7775L332.187 82.42M377.558 79.1347L379.2 101.82M377.558 79.1347L401.885 100.177M377.558 79.1347L353.23 58.0922M377.558 79.1347L400.242 77.4918M377.558 79.1347L375.914 56.4495M379.2 101.82L356.515 103.462M379.2 101.82L380.842 124.505M379.2 101.82L401.885 100.177M356.515 103.462L380.842 124.505M356.515 103.462L332.187 82.42M356.515 103.462L358.158 126.147M356.515 103.462L333.83 105.105M330.545 59.7349L353.23 58.0922M330.545 59.7349L332.187 82.42M353.23 58.0922L375.914 56.4495M332.187 82.42L333.83 105.105M330.544 59.7351L332.186 82.4204M332.186 82.4204L333.829 105.105L311.144 106.748M380.842 124.505L403.528 122.862M380.842 124.505L358.158 126.147M380.842 124.505L382.485 147.19M380.842 124.505L405.17 145.547M401.885 100.177L403.528 122.862M401.885 100.177L424.57 98.534M401.885 100.177L400.242 77.4918M401.885 100.177L426.213 121.219M403.528 122.862L426.213 121.219M403.528 122.862L405.17 145.547M358.158 126.147L335.473 127.79M358.158 126.147L359.801 148.832M196.078 92.2766L197.721 114.962M197.721 114.962L220.406 113.319M197.721 114.962L199.364 137.647M220.406 113.319L222.048 136.004M220.406 113.319L199.364 137.647M199.362 137.647L197.72 114.962L220.405 113.319L199.362 137.647ZM199.362 137.647L201.005 160.332M199.362 137.647L178.32 161.974M199.362 137.647L176.677 139.29L178.32 161.974M199.364 137.647L222.048 136.004M199.364 137.647L201.006 160.332M222.048 136.004L223.691 158.689M311.144 106.748L312.787 129.433M311.144 106.748L335.472 127.79M335.473 127.79L333.83 105.105M335.473 127.79L311.145 106.748M335.473 127.79L337.115 150.475M335.473 127.79L359.801 148.832M311.145 106.748L333.83 105.105M335.472 127.79L312.787 129.433M335.472 127.79L337.114 150.475M312.787 129.433L290.102 131.076L291.744 153.761M312.787 129.433L314.429 152.118M128.023 97.2052L105.338 98.8479M128.023 97.2052L126.38 74.52M128.023 97.2052L150.707 95.5622M105.338 98.8479L106.981 121.533M105.338 98.8479L84.2952 123.175M105.338 98.8479L126.38 74.52M105.338 98.8479L103.695 76.1627M106.981 121.533L84.2952 123.175M106.981 121.533L108.622 144.218M149.065 72.8772L126.38 74.52M149.065 72.8772L150.707 95.5622M126.38 74.52L103.695 76.1627M108.622 144.218L106.979 121.533L129.664 119.89L108.622 144.218ZM108.622 144.218L85.9379 145.861M108.622 144.218L110.265 166.903M108.622 144.218L87.58 168.546M84.2952 123.175L85.9379 145.861M84.2952 123.175L61.6102 124.818M84.2952 123.175L82.6525 100.491M84.2952 123.175L63.2536 147.503M84.2952 123.175L105.337 98.8477M85.9379 145.861L63.2536 147.503M85.9379 145.861L87.58 168.546M108.623 144.218L110.266 166.903M400.242 77.4918L422.927 75.849M400.242 77.4918L398.599 54.8067M422.927 75.849L424.57 98.534M422.927 75.849L447.255 96.8913M422.927 75.849L398.599 54.8067M422.927 75.849L445.613 74.2063M422.927 75.849L421.285 53.164M424.57 98.534L426.213 121.219M424.57 98.534L447.255 96.8913M375.914 56.4495L398.599 54.8067M398.599 54.8067L421.285 53.164M426.213 121.219L448.898 119.576M426.213 121.219L427.856 143.904M426.213 121.219L450.541 142.261M447.255 96.8913L448.898 119.576M447.255 96.8913L469.94 95.2486M447.255 96.8913L445.613 74.2063M447.255 96.8913L471.583 117.934M448.898 119.576L471.583 117.934M448.898 119.576L450.541 142.261M82.6525 100.491L59.9675 102.133M82.6525 100.491L81.0091 77.8054M82.6525 100.491L105.337 98.8477M59.9675 102.133L61.6102 124.818M59.9675 102.133L38.9247 126.461M59.9675 102.133L81.0091 77.8054M59.9675 102.133L37.2832 103.776M59.9675 102.133L58.3254 79.4481M59.9675 102.133L38.9259 126.461L37.2832 103.776M61.6102 124.818L63.2536 147.503M61.6102 124.818L38.9247 126.461M61.6102 124.818L63.2525 147.503L40.5675 149.146L38.9247 126.461M103.694 76.1627L81.0091 77.8054M103.694 76.1627L105.337 98.8477M81.0091 77.8054L58.3254 79.4481M63.2536 147.503L64.8963 170.188M63.2536 147.503L42.2113 171.831M63.2536 147.503L40.5686 149.146L42.2113 171.831M445.613 74.2063L468.298 72.5636M445.613 74.2063L443.97 51.5213M468.298 72.5636L469.94 95.2486M468.298 72.5636L492.625 93.6059M468.298 72.5636L443.97 51.5213M468.298 72.5636L490.983 70.9208M468.298 72.5636L466.655 49.8786M469.94 95.2486L471.583 117.934M469.94 95.2486L492.625 93.6059M421.285 53.164L443.97 51.5213M443.97 51.5213L466.655 49.8786M471.583 117.934L494.268 116.291M471.583 117.934L473.226 140.619M471.583 117.934L495.911 138.976M492.625 93.6059L494.268 116.291M492.625 93.6059L490.983 70.9208M494.268 116.291L495.911 138.976M466.655 49.8786L489.34 48.2358M489.34 48.2358L490.983 70.9208M58.3254 79.4481L35.6404 81.0909M35.6404 81.0909L37.2832 103.776M246.376 157.046L248.019 179.731M246.376 157.046L269.061 155.404L244.733 134.361L246.376 157.046ZM246.376 157.046L223.691 158.689M270.704 178.088L248.019 179.731M270.704 178.088L272.346 200.773M270.704 178.088L293.389 176.446M248.019 179.731L223.691 158.689M248.019 179.731L249.662 202.416M248.019 179.731L226.977 204.059M248.019 179.731L272.346 200.773M248.019 179.731L225.334 181.374M251.305 225.101L252.947 247.786M251.305 225.101L275.632 246.143L252.947 247.786M251.305 225.101L249.662 202.416M251.305 225.101L272.346 200.773M251.305 225.101L228.619 226.744M252.947 247.786L230.262 249.429M223.691 158.689L225.334 181.374M223.691 158.689L201.006 160.332M223.691 158.689L202.649 183.017M296.674 221.816L295.031 199.131M296.674 221.816L272.346 200.773M296.674 221.816L319.358 220.173M296.674 221.816L298.318 244.501M272.346 200.773L295.031 199.131M272.346 200.773L249.662 202.416M272.346 200.773L293.389 176.446M272.346 200.773L273.991 223.458M272.346 200.773L251.306 225.101M272.346 200.773L296.676 221.816M295.031 199.131L317.715 197.488M295.031 199.131L293.389 176.446M293.389 176.446L291.746 153.761M293.389 176.446L316.073 174.803M293.389 176.446L314.429 152.118M293.389 176.446L317.717 197.488M275.633 246.143L273.991 223.458M275.633 246.143L251.306 225.101M275.633 246.143L296.676 221.816M275.633 246.143L298.318 244.501M251.306 225.101L273.991 223.458M273.991 223.458L296.676 221.816M317.715 197.488L295.03 199.131L293.387 176.446M317.715 197.488L293.387 176.446M317.715 197.488L319.358 220.173M317.715 197.488L340.4 195.845L338.757 173.16M317.715 197.488L316.073 174.803M317.715 197.488L342.043 218.53M293.387 176.446L291.744 153.761M293.387 176.446L314.429 152.118M319.358 220.173L342.043 218.53M319.358 220.173L321.001 242.858M291.744 153.761L314.429 152.118M314.429 152.118L316.073 174.803M314.429 152.118L337.114 150.475M314.429 152.118L338.757 173.16M249.662 202.416L226.977 204.059M296.676 221.816L298.318 244.501M226.977 204.059L228.619 226.744M226.977 204.059L204.292 205.702M226.977 204.059L225.334 181.374M226.977 204.059L205.935 228.387M228.619 226.744L205.935 228.387M228.619 226.744L230.262 249.429M298.318 244.501L321.001 242.858M225.334 181.374L202.649 183.017M316.073 174.803L338.757 173.16M316.073 174.803L317.717 197.488M179.964 184.66L157.279 186.302M179.964 184.66L181.607 207.345M179.964 184.66L178.322 161.974M157.279 186.302L158.922 208.987M157.279 186.302L136.237 210.63M157.279 186.302L178.322 161.974M157.279 186.302L155.637 163.617M158.922 208.987L181.607 207.345M158.922 208.987L136.237 210.63M158.922 208.987L160.564 231.672M181.607 207.345L183.25 230.03M181.607 207.345L160.565 231.672M181.607 207.345L204.292 205.702M181.607 207.345L202.649 183.017M201.005 160.332L178.32 161.974M201.005 160.332L202.648 183.017M178.32 161.974L179.963 184.659M179.963 184.659L202.648 183.017M179.963 184.659L181.606 207.344M202.648 183.017L181.606 207.344M201.006 160.332L202.649 183.017M202.649 183.017L204.292 205.702M160.564 231.672L158.921 208.987L181.606 207.344M160.564 231.672L181.606 207.344M160.564 231.672L137.879 233.315M160.564 231.672L162.206 254.357L139.521 256M160.564 231.672L139.521 256M136.237 210.63L137.879 233.315M136.237 210.63L113.552 212.273M136.237 210.63L134.594 187.945M136.237 210.63L115.194 234.958M136.237 210.63L157.278 186.302M137.879 233.315L115.194 234.958M137.879 233.315L139.521 256M178.322 161.974L155.637 163.617M160.565 231.672L183.25 230.03M160.565 231.672L162.207 254.357L184.893 252.714L183.25 230.03M183.25 230.03L205.935 228.387M361.443 171.517L384.128 169.875M361.443 171.517L363.086 194.202M361.443 171.517L359.801 148.832M361.443 171.517L338.758 173.16M384.128 169.875L385.771 192.56M384.128 169.875L408.456 190.917M384.128 169.875L359.801 148.832M384.128 169.875L406.813 168.232M384.128 169.875L382.485 147.19M385.771 192.56L363.086 194.202M385.771 192.56L387.413 215.245M385.771 192.56L408.456 190.917M363.086 194.202L387.413 215.245M363.086 194.202L338.758 173.16M363.086 194.202L364.729 216.887M363.086 194.202L340.402 195.845M337.115 150.475L359.801 148.832M337.115 150.475L338.758 173.16M359.801 148.832L382.485 147.19M338.758 173.16L340.402 195.845M337.114 150.475L338.757 173.16M387.413 215.245L410.098 213.602M387.413 215.245L364.729 216.887M387.413 215.245L389.056 237.93M387.413 215.245L411.741 236.287M408.456 190.917L410.098 213.602M408.456 190.917L431.141 189.274M408.456 190.917L406.813 168.232M408.456 190.917L432.784 211.959M410.098 213.602L432.784 211.959M410.098 213.602L411.741 236.287M364.729 216.887L342.045 218.53M364.729 216.887L366.372 239.572M204.292 205.702L205.935 228.387M205.933 228.387L204.29 205.702L226.975 204.059L205.933 228.387ZM205.933 228.387L207.576 251.072L184.891 252.714M205.933 228.387L184.891 252.714M205.933 228.387L183.248 230.029L184.891 252.714M205.935 228.387L207.577 251.072L230.262 249.429M342.045 218.53L340.402 195.845M342.045 218.53L317.717 197.488M342.045 218.53L343.687 241.215L366.372 239.572M342.045 218.53L366.372 239.572M317.717 197.488L340.402 195.845M342.043 218.53L343.686 241.215L321.001 242.858M134.594 187.945L111.909 189.588M134.594 187.945L132.95 165.26M134.594 187.945L157.278 186.302M111.909 189.588L113.552 212.273M111.909 189.588L90.8661 213.915M111.909 189.588L132.95 165.26M111.909 189.588L110.266 166.903M113.552 212.273L115.194 234.958M113.552 212.273L90.8661 213.915M155.635 163.617L132.95 165.26M155.635 163.617L157.278 186.302M132.95 165.26L110.266 166.903M115.194 234.958L92.5088 236.601M115.194 234.958L116.837 257.643M115.194 234.958L94.1518 259.286M90.8661 213.915L92.5088 236.601M90.8661 213.915L68.1811 215.558M90.8661 213.915L89.2234 191.23M90.8661 213.915L69.8245 238.243M90.8661 213.915L111.908 189.588M92.5088 236.601L69.8245 238.243M92.5088 236.601L94.1518 259.286M406.813 168.232L429.498 166.589M406.813 168.232L405.17 145.547M429.498 166.589L431.141 189.274M429.498 166.589L453.826 187.631M429.498 166.589L405.17 145.547M429.498 166.589L452.183 164.946M429.498 166.589L427.856 143.904M431.141 189.274L432.784 211.959M431.141 189.274L453.826 187.631M382.485 147.19L405.17 145.547M405.17 145.547L427.856 143.904M432.784 211.959L455.469 210.316M432.784 211.959L434.426 234.644M432.784 211.959L457.111 233.001M453.826 187.631L455.469 210.316M453.826 187.631L476.511 185.989M453.826 187.631L452.183 164.946M453.826 187.631L478.154 208.674M455.469 210.316L478.154 208.674M455.469 210.316L457.111 233.001M89.2234 191.23L66.5384 192.873M89.2234 191.23L87.58 168.546M89.2234 191.23L111.908 189.588M66.5384 192.873L68.1811 215.558M66.5384 192.873L45.4956 217.201M66.5384 192.873L87.58 168.546M66.5384 192.873L43.8541 194.516M66.5384 192.873L64.8963 170.188M66.5384 192.873L45.4968 217.201L43.8541 194.516M68.1811 215.558L69.8245 238.243M68.1811 215.558L45.4956 217.201M68.1811 215.558L69.8234 238.243L47.1384 239.886L45.4956 217.201M110.265 166.903L87.58 168.546M110.265 166.903L111.908 189.588M87.58 168.546L64.8963 170.188M69.8245 238.243L71.4672 260.928M69.8245 238.243L48.7822 262.571M69.8245 238.243L47.1395 239.886L48.7822 262.571M452.183 164.946L474.868 163.304M452.183 164.946L450.541 142.261M474.868 163.304L476.511 185.989M474.868 163.304L499.196 184.346M474.868 163.304L450.541 142.261M474.868 163.304L497.554 161.661M474.868 163.304L473.226 140.619M476.511 185.989L478.154 208.674M476.511 185.989L499.196 184.346M427.856 143.904L450.541 142.261M450.541 142.261L473.226 140.619M478.154 208.674L500.839 207.031M478.154 208.674L479.797 231.359M478.154 208.674L502.482 229.716M499.196 184.346L500.839 207.031M499.196 184.346L497.554 161.661M500.839 207.031L502.482 229.716M473.226 140.619L495.911 138.976M495.911 138.976L497.554 161.661M64.8963 170.188L42.2113 171.831M42.2113 171.831L43.8541 194.516M366.372 239.572L389.056 237.93M139.521 256L116.837 257.643M411.741 236.287L389.056 237.93M411.741 236.287L434.426 234.644M94.1518 259.286L116.837 257.643M94.1518 259.286L71.4672 260.928M457.111 233.001L434.426 234.644M457.111 233.001L479.797 231.359M502.482 229.716L479.797 231.359M48.7822 262.571L71.4672 260.928M255.92 -26.0738L233.235 -24.431L234.878 -1.74599L255.92 -26.0738Z"
+ stroke="hsl(var(--border-stronger))"
+ strokeWidth="0.284772"
+ />
+ <g filter="url(#filter0_d_558_2902)">
+ <path
+ d="M283.537 40.7317L306.078 39.0993L307.711 61.6412L286.801 85.8154L285.169 63.2736L262.627 64.906L283.537 40.7317Z"
+ fill="url(#paint0_radial_558_2902)"
+ fillOpacity="0.14"
+ shapeRendering="crispEdges"
+ />
+ <path
+ d="M244.983 134.164L265.892 109.99L243.35 111.622L241.718 89.0802L220.808 113.254L222.441 135.796L244.983 134.164Z"
+ fill="url(#paint1_radial_558_2902)"
+ fillOpacity="0.14"
+ shapeRendering="crispEdges"
+ />
+ <path
+ d="M238.453 43.9965L262.627 64.906L286.801 85.8154L310.976 106.725L312.608 129.267L290.066 130.899L265.892 109.99L241.718 89.0802L217.544 68.1708L215.911 45.6289L238.453 43.9965Z"
+ fill="url(#paint2_radial_558_2902)"
+ fillOpacity="0.14"
+ shapeRendering="crispEdges"
+ />
+ <path
+ d="M286.801 85.8154L307.711 61.6412L306.078 39.0993L283.537 40.7317L262.627 64.906M286.801 85.8154L285.169 63.2736L262.627 64.906M286.801 85.8154L262.627 64.906M286.801 85.8154L310.976 106.725L312.608 129.267L290.066 130.899L265.892 109.99M262.627 64.906L238.453 43.9965L215.911 45.6289L217.544 68.1708L241.718 89.0802M265.892 109.99L244.983 134.164L222.441 135.796L220.808 113.254L241.718 89.0802M265.892 109.99L243.35 111.622L241.718 89.0802M265.892 109.99L241.718 89.0802"
+ stroke="url(#paint3_linear_558_2902)"
+ strokeWidth="0.426545"
+ shapeRendering="crispEdges"
+ />
+ </g>
+ <rect
+ x="-5.47168"
+ y="-46.7805"
+ width="515.894"
+ height="339.196"
+ transform="rotate(-4.14192 -5.47168 -46.7805)"
+ fill="url(#paint4_radial_558_2902)"
+ />
+ </g>
+ <rect
+ x="0.5"
+ y="0.5"
+ width="348"
+ height="194"
+ rx="7.5"
+ stroke="hsl(var(--background-alternative-default))"
+ />
+ <defs>
+ {/* <filter
+ id="filter0_d_558_2902"
+ x="194.355"
+ y="17.5438"
+ width="139.808"
+ height="139.808"
+ filterUnits="userSpaceOnUse"
+ colorInterpolationFilters="sRGB"
+ >
+ <feFlood floodOpacity="0" result="BackgroundImageFix" />
+ <feColorMatrix
+ in="SourceAlpha"
+ type="matrix"
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
+ result="hardAlpha"
+ />
+ <feOffset />
+ <feGaussianBlur stdDeviation="10.6636" />
+ <feComposite in2="hardAlpha" operator="out" />
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" />
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_558_2902" />
+ <feBlend
+ mode="normal"
+ in="SourceGraphic"
+ in2="effect1_dropShadow_558_2902"
+ result="shape"
+ />
+ </filter> */}
+ <radialGradient
+ id="paint0_radial_558_2902"
+ cx="0"
+ cy="0"
+ r="1"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(217.594 47.173) rotate(46.9725) scale(272.067 241.104)"
+ >
+ <stop stopColor="hsl(var(--foreground-lighter))" />
+ <stop offset="0.194164" stopColor="hsl(var(--foreground-lighter))" />
+ <stop offset="0.571134" />
+ <stop offset="1" stopColor="hsl(var(--foreground-lighter))" />
+ </radialGradient>
+ <radialGradient
+ id="paint1_radial_558_2902"
+ cx="0"
+ cy="0"
+ r="1"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(217.594 47.173) rotate(46.9725) scale(272.067 241.104)"
+ >
+ <stop stopColor="hsl(var(--foreground-lighter))" />
+ <stop offset="0.194164" stopColor="hsl(var(--foreground-lighter))" />
+ <stop offset="0.571134" />
+ <stop offset="1" stopColor="hsl(var(--foreground-lighter))" />
+ </radialGradient>
+ <radialGradient
+ id="paint2_radial_558_2902"
+ cx="0"
+ cy="0"
+ r="1"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(217.594 47.173) rotate(46.9725) scale(272.067 241.104)"
+ >
+ <stop stopColor="hsl(var(--foreground-lighter))" />
+ <stop offset="0.194164" stopColor="hsl(var(--foreground-lighter))" />
+ <stop offset="0.571134" />
+ <stop offset="1" stopColor="hsl(var(--foreground-lighter))" />
+ </radialGradient>
+ <linearGradient
+ id="paint3_linear_558_2902"
+ x1="228.696"
+ y1="40.8579"
+ x2="319.801"
+ y2="121.437"
+ gradientUnits="userSpaceOnUse"
+ >
+ <stop stopColor="hsl(var(--border-stronger))" />
+ <stop offset="0.410781" stopColor="hsl(var(--border-default))" />
+ </linearGradient>
+ <radialGradient
+ id="paint4_radial_558_2902"
+ cx="0"
+ cy="0"
+ r="1"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(252.475 122.817) rotate(90) scale(127.553 194)"
+ >
+ <stop stopColor="hsl(var(--background-alternative-default))" stopOpacity="0" />
+ <stop offset="1" stopColor="hsl(var(--background-alternative-default))" />
+ </radialGradient>
+ <clipPath id="clip0_558_2902">
+ <rect width="349" height="195" rx="8" fill="hsl(var(--foreground-default))" />
+ </clipPath>
+ </defs>
+ </svg>
+ )
+}
+
+export default PromoBg
diff --git a/packages/ui/src/components/PromoToast/PromoToast.tsx b/packages/ui/src/components/PromoToast/PromoToast.tsx
new file mode 100644
index 00000000000..62db37c023f
--- /dev/null
+++ b/packages/ui/src/components/PromoToast/PromoToast.tsx
@@ -0,0 +1,52 @@
+import { isBrowser } from 'common'
+import Image from 'next/image'
+import Link from 'next/link'
+import { useState } from 'react'
+import { Button } from 'ui'
+import announcement from '../../layout/banners/data/Announcement.json'
+import CountdownComponent from '../CountdownWidget/Countdown'
+import PromoBg from './PromoBg'
+
+const PromoToast = () => {
+ const [visible, setVisible] = useState(true)
+ const LWXLogo =
+ 'https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lwx/assets/lwx_logo.svg?t=2023-11-22T17%3A45%3A52.077Z'
+
+ if (!isBrowser) return null
+ const handleHide = () => {
+ setVisible(false)
+ localStorage?.setItem('supabase-hide-promo-toast', 'true')
+ }
+ const shouldShowToast = isBrowser && localStorage?.getItem('supabase-hide-promo-toast') !== 'true'
+
+ if (!visible || !shouldShowToast) {
+ return null
+ }
+
+ return (
+ <div className="grid gap-4 fixed z-50 bottom-8 right-8 w-[80vw] sm:w-[350px] bg-alternative hover:bg-alternative transition-colors border border-default rounded p-6 shadow-lg overflow-hidden">
+ <div className="relative z-10 text-foreground flex flex-col text-base uppercase tracking-[1px]">
+ <div className="flex gap-1.5 items-center">
+ <p>Launch Week</p>
+ <Image src={LWXLogo} alt="Supabase Launch Week X Logo" width={14} height={14} />
+ </div>
+ <span className="font-mono text-sm">Dec 11-15 / 8am PT</span>
+ <CountdownComponent date={new Date(announcement.launchDate)} showCard={false} />
+ </div>
+
+ <div className="relative z-10 flex items-center space-x-2">
+ <Button asChild type="secondary">
+ <Link target="_blank" rel="noreferrer" href="https://supabase.com/launch-week">
+ Claim your ticket
+ </Link>
+ </Button>
+ <Button type="default" onClick={handleHide}>
+ Dismiss
+ </Button>
+ </div>
+ <PromoBg className="absolute z-0 inset-0 w-full h-auto my-auto -right-3 left-auto" />
+ </div>
+ )
+}
+
+export default PromoToast
diff --git a/packages/ui/src/components/PromoToast/index.ts b/packages/ui/src/components/PromoToast/index.ts
new file mode 100644
index 00000000000..13665ac5eea
--- /dev/null
+++ b/packages/ui/src/components/PromoToast/index.ts
@@ -0,0 +1,3 @@
+import PromoToast from './PromoToast'
+
+export default PromoToast
diff --git a/packages/ui/src/layout/banners/Announcement.tsx b/packages/ui/src/layout/banners/Announcement.tsx
index c97099d15f7..615f7e3e341 100644
--- a/packages/ui/src/layout/banners/Announcement.tsx
+++ b/packages/ui/src/layout/banners/Announcement.tsx
@@ -32,7 +32,7 @@ const Announcement = ({
const isLaunchWeekSection = router.pathname.includes('launch-week')
// override to hide announcement
- if (!show || !announcement.show || isHomePage) return null
+ if (!show || !announcement.show || isHomePage || isLaunchWeekSection) return null
// construct the key for the announcement, based on the title text
const announcementKey = 'announcement_' + announcement.text.replace(/ /g, '')
@@ -59,7 +59,7 @@ const Announcement = ({
return (
<div
onClick={() => window.location.assign(announcement.link)}
- className={['relative z-40 w-full cursor-pointer', className].join(' ')}
+ className={['relative z-40 h-[55px] w-full cursor-pointer', className].join(' ')}
>
{!isLaunchWeekSection && (
<div
diff --git a/packages/ui/src/layout/banners/LWXCountdownBanner/Countdown.tsx b/packages/ui/src/layout/banners/LWXCountdownBanner/Countdown.tsx
new file mode 100644
index 00000000000..e8394b6128f
--- /dev/null
+++ b/packages/ui/src/layout/banners/LWXCountdownBanner/Countdown.tsx
@@ -0,0 +1,35 @@
+import React from 'react'
+import Countdown from 'react-countdown'
+import { CountdownWidget } from 'ui'
+
+const CountdownComponent = ({
+ date,
+ showCard = true,
+}: {
+ date: string | number | Date
+ showCard?: boolean
+}) => {
+ if (!date) return null
+
+ const renderer = ({ days, hours, minutes, seconds, completed }: any) => {
+ if (completed) {
+ // Render a completed state
+ return null
+ } else {
+ // Render countdown
+ return (
+ <CountdownWidget
+ days={days}
+ hours={hours}
+ minutes={minutes}
+ seconds={seconds}
+ showCard={showCard}
+ />
+ )
+ }
+ }
+
+ return <Countdown date={new Date(date)} renderer={renderer} />
+}
+
+export default CountdownComponent
diff --git a/packages/ui/src/layout/banners/LWXCountdownBanner/LWXBannerBg.tsx b/packages/ui/src/layout/banners/LWXCountdownBanner/LWXBannerBg.tsx
new file mode 100644
index 00000000000..5f12e502353
--- /dev/null
+++ b/packages/ui/src/layout/banners/LWXCountdownBanner/LWXBannerBg.tsx
@@ -0,0 +1,224 @@
+export default function LWXBannerBg({ className }: { className?: string }) {
+ return (
+ <div className={className}>
+ <svg
+ width="672"
+ height="33"
+ viewBox="0 0 672 33"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <circle cx="24.75" cy="27.75" r="0.75" fill="#FFFFF9" fillOpacity="0.3" />
+ <circle
+ cx="55.9193"
+ cy="24.9189"
+ r="0.75"
+ transform="rotate(165 55.9193 24.9189)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="68.9193"
+ cy="25.9189"
+ r="0.75"
+ transform="rotate(165 68.9193 25.9189)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="54.2182"
+ cy="14.4814"
+ r="0.75"
+ transform="rotate(165 54.2182 14.4814)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="30.9076"
+ cy="7.90677"
+ r="0.9"
+ transform="rotate(89.5676 30.9076 7.90677)"
+ fill="#FFFFF9"
+ />
+ <circle
+ cx="61.9076"
+ cy="31.9068"
+ r="0.9"
+ transform="rotate(89.5676 61.9076 31.9068)"
+ fill="#FFFFF9"
+ />
+ <circle
+ cx="9.37818"
+ cy="15.1301"
+ r="0.75"
+ transform="rotate(16.7993 9.37818 15.1301)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="39.1633"
+ cy="16.8098"
+ r="0.75"
+ transform="rotate(16.7993 39.1633 16.8098)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="71.3684"
+ cy="3.55194"
+ r="0.75"
+ transform="rotate(16.7993 71.3684 3.55194)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="46.7368"
+ cy="23.4534"
+ r="0.75"
+ transform="rotate(-178.201 46.7368 23.4534)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="58.8931"
+ cy="28.1682"
+ r="0.75"
+ transform="rotate(-178.201 58.8931 28.1682)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="48.1235"
+ cy="12.969"
+ r="0.75"
+ transform="rotate(-178.201 48.1235 12.969)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="1.11724"
+ cy="17.1177"
+ r="0.9"
+ transform="rotate(106.367 1.11724 17.1177)"
+ fill="#FFFFF9"
+ />
+ <circle
+ cx="0.75"
+ cy="0.75"
+ r="0.75"
+ transform="matrix(-1 0 0 1 654.5 25)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="0.75"
+ cy="0.75"
+ r="0.75"
+ transform="matrix(-1 0 0 1 625.5 18)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="0.75"
+ cy="0.75"
+ r="0.75"
+ transform="matrix(0.965926 0.258819 0.258819 -0.965926 614.662 23.4492)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="0.75"
+ cy="0.75"
+ r="0.75"
+ transform="matrix(0.965926 0.258819 0.258819 -0.965926 601.662 24.4492)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="0.75"
+ cy="0.75"
+ r="0.75"
+ transform="matrix(0.965926 0.258819 0.258819 -0.965926 616.363 13.0117)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="0.9"
+ cy="0.9"
+ r="0.9"
+ transform="matrix(-0.0075466 0.999972 0.999972 0.0075466 639.699 5)"
+ fill="#FFFFF9"
+ />
+ <circle
+ cx="0.9"
+ cy="0.9"
+ r="0.9"
+ transform="matrix(-0.0075466 0.999972 0.999972 0.0075466 608.699 29)"
+ fill="#FFFFF9"
+ />
+ <circle
+ cx="0.75"
+ cy="0.75"
+ r="0.75"
+ transform="matrix(-0.957323 0.28902 0.28902 0.957323 662.623 12.1953)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="0.75"
+ cy="0.75"
+ r="0.75"
+ transform="matrix(-0.957323 0.28902 0.28902 0.957323 632.838 13.875)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="0.75"
+ cy="0.75"
+ r="0.75"
+ transform="matrix(-0.957323 0.28902 0.28902 0.957323 600.633 0.617188)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="0.75"
+ cy="0.75"
+ r="0.75"
+ transform="matrix(0.999507 -0.0313981 -0.0313981 -0.999507 624.037 22.2266)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="0.75"
+ cy="0.75"
+ r="0.75"
+ transform="matrix(0.999507 -0.0313981 -0.0313981 -0.999507 611.881 26.9414)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="0.75"
+ cy="0.75"
+ r="0.75"
+ transform="matrix(0.999507 -0.0313981 -0.0313981 -0.999507 622.65 11.7422)"
+ fill="#FFFFF9"
+ fillOpacity="0.3"
+ />
+ <circle
+ cx="0.9"
+ cy="0.9"
+ r="0.9"
+ transform="matrix(0.281787 0.959477 0.959477 -0.281787 669.266 14.5078)"
+ fill="#FFFFF9"
+ />
+ <circle
+ cx="0.9"
+ cy="0.9"
+ r="0.9"
+ transform="matrix(0.281787 0.959477 0.959477 -0.281787 602.266 8.50781)"
+ fill="#FFFFF9"
+ />
+ </svg>
+ </div>
+ )
+}
diff --git a/packages/ui/src/layout/banners/LWXCountdownBanner/LWXCountdownBanner.tsx b/packages/ui/src/layout/banners/LWXCountdownBanner/LWXCountdownBanner.tsx
new file mode 100644
index 00000000000..a52a25f6cf0
--- /dev/null
+++ b/packages/ui/src/layout/banners/LWXCountdownBanner/LWXCountdownBanner.tsx
@@ -0,0 +1,55 @@
+import { useRouter } from 'next/router'
+import announcement from '../data/Announcement.json'
+import Countdown from './Countdown'
+import Image from 'next/image'
+import { Button } from 'ui'
+
+// import VideoPreview from './VideoPreview'
+
+export function LWXCountdownBanner() {
+ const { pathname } = useRouter()
+ const isHomePage = pathname === '/'
+ const isLaunchWeekPage = pathname === '/launch-week'
+ const isLaunchWeekSection = pathname.includes('launch-week')
+ const LWXLogo =
+ 'https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lwx/assets/lwx_logo.svg?t=2023-11-22T17%3A45%3A52.077Z'
+
+ if (isLaunchWeekPage || isHomePage) return null
+
+ return (
+ <div className="relative w-full h-14 p-2 flex items-center group justify-center text-foreground bg-alternative hover:bg-surface-200 dark:bg-[#020405] hover:dark:bg-[#05080a] transition-colors overflow-hidden">
+ <div className="relative z-10 flex items-center justify-center">
+ <div
+ className={[
+ 'w-full flex gap-5 md:gap-10 items-center md:justify-center text-sm',
+ isLaunchWeekSection && '!justify-center',
+ ].join(' ')}
+ >
+ <div className="flex gap-1.5 items-center">
+ <p>Launch Week</p>
+ <Image
+ src={LWXLogo}
+ alt="Supabase Launch Week X Logo"
+ width={14}
+ height={14}
+ className="filter contrast-0 dark:contrast-100"
+ />
+ </div>
+ <div className="hidden sm:block">
+ <Countdown date={new Date(announcement.launchDate)} showCard={false} />
+ </div>
+ <Button
+ onClick={() => null}
+ size="tiny"
+ type="secondary"
+ className="px-2 py-1 !leading-none text-xs"
+ >
+ Claim your ticket
+ </Button>
+ </div>
+ </div>
+ </div>
+ )
+}
+
+export default LWXCountdownBanner
diff --git a/packages/ui/src/layout/banners/LWXCountdownBanner/VideoPreview.tsx b/packages/ui/src/layout/banners/LWXCountdownBanner/VideoPreview.tsx
new file mode 100644
index 00000000000..e35ae0b4a0f
--- /dev/null
+++ b/packages/ui/src/layout/banners/LWXCountdownBanner/VideoPreview.tsx
@@ -0,0 +1,22 @@
+import Image from 'next/image'
+
+const VideoPreview = () => (
+ <div className="relative h-8 !aspect-video flex items-center justify-center rounded overflow-hidden border transition-colors">
+ <div className="absolute z-10 w-2.5 h-2.5 text-white opacity-100">
+ <svg viewBox="0 0 81 91" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M76.5621 37.998C82.3369 41.3321 82.3369 49.6673 76.5621 53.0014L13.2198 89.5721C7.44504 92.9062 0.226562 88.7386 0.226562 82.0704L0.226566 8.92901C0.226566 2.26085 7.44506 -1.90673 13.2199 1.42735L76.5621 37.998Z"
+ fill="currentColor"
+ />
+ </svg>
+ </div>
+ <Image
+ src="https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lw8/assets/yt_d5.jpg?t=2023-08-11T09%3A31%3A39.412Z"
+ alt="Video thumbnail"
+ layout="fill"
+ objectFit="cover"
+ />
+ </div>
+)
+
+export default VideoPreview
diff --git a/packages/ui/src/layout/banners/LWXCountdownBanner/index.ts b/packages/ui/src/layout/banners/LWXCountdownBanner/index.ts
new file mode 100644
index 00000000000..b3babd6ba41
--- /dev/null
+++ b/packages/ui/src/layout/banners/LWXCountdownBanner/index.ts
@@ -0,0 +1 @@
+export { LWXCountdownBanner } from './LWXCountdownBanner'
diff --git a/packages/ui/src/layout/banners/data/Announcement.json b/packages/ui/src/layout/banners/data/Announcement.json
index abb5cec8362..02558093fb9 100644
--- a/packages/ui/src/layout/banners/data/Announcement.json
+++ b/packages/ui/src/layout/banners/data/Announcement.json
@@ -1,7 +1,7 @@
{
"show": true,
- "text": "Supabase Launch Week 8",
- "launchDate": "2023-08-07T09:00:00.000-07:00",
+ "text": "Supabase Launch Week X",
+ "launchDate": "2023-12-11T08:00:00.000-08:00",
"link": "https://supabase.com/launch-week",
"badge": "Get your ticket"
}
diff --git a/packages/ui/src/layout/banners/index.tsx b/packages/ui/src/layout/banners/index.tsx
index 6ffd69263ee..6d7b4a5ce14 100644
--- a/packages/ui/src/layout/banners/index.tsx
+++ b/packages/ui/src/layout/banners/index.tsx
@@ -1,3 +1,4 @@
export { default as Announcement } from './Announcement'
export { default as LWAnnouncement } from './LWAnnouncement'
export { default as LW8CountdownBanner } from './LW8CountdownBanner/LW8CountdownBanner'
+export { default as LWXCountdownBanner } from './LWXCountdownBanner/LWXCountdownBanner'