Skip to content

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

Feat/lw page (#10783)

Francisco Mazzoni24daf191bf2d
diff --git a/apps/www/components/LaunchWeek/Ticket/form.tsx b/apps/www/components/LaunchWeek/Ticket/form.tsx
index 3595be0f946..59dbcb902ac 100644
--- a/apps/www/components/LaunchWeek/Ticket/form.tsx
+++ b/apps/www/components/LaunchWeek/Ticket/form.tsx
@@ -169,7 +169,6 @@ export default function Form({ sharePage, align = 'Center' }: Props) {
align === 'Left' ? 'text-center xl:text-left' : 'text-center'
)}
>
- <p className="text-scale-1200 text-base w-full">Coming soon</p>
<p className="text-scale-1000 text-base max-w-[420px]">
Register to get your ticket and stay tuned all week for daily announcements
</p>
diff --git a/apps/www/components/LaunchWeek/lw6_days.json b/apps/www/components/LaunchWeek/lw6_days.json
new file mode 100644
index 00000000000..ff86205a2da
--- /dev/null
+++ b/apps/www/components/LaunchWeek/lw6_days.json
@@ -0,0 +1,62 @@
+[
+ {
+ "title": "Day 1",
+ "shipped": false,
+ "date": "12 Dec 2022",
+ "description": "Day 1",
+ "d": 1,
+ "dd": "Monday",
+ "youtube_id": "OpPOaJI_Z28",
+ "blogpost": "https://supabase.com/blog",
+ "docs": "https://supabase.com/docs",
+ "steps": []
+ },
+ {
+ "title": "Day 2",
+ "shipped": false,
+ "date": "13 Dec 2022",
+ "description": "Day 2",
+ "d": 2,
+ "dd": "Tuesday",
+ "youtube_id": "iqZlPtl_b-I",
+ "blogpost": "https://supabase.com/blog",
+ "docs": "https://supabase.com/docs",
+ "steps": []
+ },
+ {
+ "title": "Day 3",
+ "shipped": false,
+ "date": "14 Dec 2022",
+ "description": "Day 3",
+ "d": 3,
+ "dd": "Wednesday",
+ "youtube_id": "6bGQotxisoY",
+ "blogpost": "https://supabase.com/blog",
+ "docs": "https://supabase.com/docs",
+ "steps": []
+ },
+ {
+ "title": "Day 4",
+ "shipped": false,
+ "date": "15 Dec 2022",
+ "description": "Day 4",
+ "d": 4,
+ "dd": "Thursday",
+ "youtube_id": "CGZr5tybW18",
+ "blogpost": "https://supabase.com/blog",
+ "docs": "https://supabase.com/docs",
+ "steps": []
+ },
+ {
+ "title": "Day 5",
+ "shipped": false,
+ "date": "16 Dec 2022",
+ "description": "Day 5",
+ "d": 5,
+ "dd": "Friday",
+ "youtube_id": "CGZr5tybW18",
+ "blogpost": "https://supabase.com/blog",
+ "docs": "https://supabase.com/docs",
+ "steps": []
+ }
+]
diff --git a/apps/www/components/LaunchWeek/types.d.ts b/apps/www/components/LaunchWeek/types.d.ts
index 767d9d57111..fbea7cf9d0f 100644
--- a/apps/www/components/LaunchWeek/types.d.ts
+++ b/apps/www/components/LaunchWeek/types.d.ts
@@ -18,6 +18,13 @@ export type Product = {
description?: string
}
+export type Step = {
+ title: string
+ url: string
+ docs: string
+ description?: string
+}
+
export interface WeekDayProps {
shipped: boolean
title: string
@@ -32,4 +39,5 @@ export interface WeekDayProps {
index: number
shippingHasStarted?: boolean
youtube_id?: string
+ steps: Step[]
}
diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsx
index 9a3945146f4..7f90355c3d7 100644
--- a/apps/www/pages/launch-week/index.tsx
+++ b/apps/www/pages/launch-week/index.tsx
@@ -1,5 +1,8 @@
+// @ts-nocheck
+
import { NextSeo } from 'next-seo'
-import _days from '~/components/LaunchWeek/days.json'
+
+import _days from '~/components/LaunchWeek/lw6_days.json'
import DefaultLayout from '~/components/Layouts/Default'
import SectionContainer from '~/components/Layouts/SectionContainer'
@@ -11,9 +14,13 @@ import { useTheme } from '~/components/Providers'
import classNames from 'classnames'
import styleUtils from '~/components/LaunchWeek/Ticket/utils.module.css'
import { SITE_ORIGIN } from '~/lib/constants'
+import { Accordion, Badge, IconExternalLink } from 'ui'
+import { WeekDayProps } from '~/components/LaunchWeek/types'
-import { Badge, IconExternalLink } from '~/../../packages/ui'
+import styles from './launchWeek.module.css'
+import Image from 'next/image'
+const days = _days as WeekDayProps[]
const constellation = [
[60, 8],
[13, 20],
@@ -29,13 +36,13 @@ const constellation = [
export default function launchweek() {
const { isDarkMode } = useTheme()
-
const title = 'Launch Week 6'
const description = 'Supabase Launch Week 6 | 12-18 Dec 2022'
const [supabase] = useState(() =>
createClient(process.env.NEXT_PUBLIC_SUPABASE_URL!, process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!)
)
+
const [session, setSession] = useState<Session | null>(null)
const [creators, setCreators] = useState<any>([])
const [activeCreator, setActiveCreator] = useState<any>(null)
@@ -82,6 +89,46 @@ export default function launchweek() {
}
}
+ const AccordionHeader = ({ date, day, title, shipped }: any) => {
+ return (
+ <div className="flex flex-1 flex-col sm:flex-row">
+ <div className="flex gap-4 min-w-[320px] items-center">
+ <Badge className="!bg-transparent !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#598973] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#598973] h-fit">
+ {shipped ? 'Shipped' : 'Coming Soon'}
+ </Badge>
+ <span className="text-scale-900 text-sm">
+ {day} ・ {date}
+ </span>
+ </div>
+ <span className="text-scale-1200 mt-3 sm:mt-0">{title}</span>
+ </div>
+ )
+ }
+
+ const SectionButtons = ({ blog, docs }) => {
+ return (
+ <div className="flex gap-2 z-10">
+ <a href={blog} target="_blank" rel="noopener">
+ <div className="flex items-center border border-slate-400 bg-gradient-to-r from-[#fcfcfc] to-[#f2f2f2] text-black dark:text-white dark:from-[#191919] dark:to-[#464444] rounded-full text-sm py-2 pl-3 pr-2">
+ Blog post
+ <div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2">
+ <IconExternalLink className="text-[#4cc38a] w-3 h-3" />
+ </div>
+ </div>
+ </a>
+ <a href={docs} target="_blank" rel="noopener">
+ <div className="flex items-center border border-slate-400 bg-gradient-to-r from-[#fcfcfc] to-[#f2f2f2] text-black dark:text-white dark:from-[#191919] dark:to-[#464444] rounded-full text-sm py-2 pl-3 pr-2">
+ Docs
+ <div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2">
+ <IconExternalLink className="text-[#4cc38a] w-3 h-3" />
+ </div>
+ </div>
+ </a>
+ </div>
+ )
+ }
+ const [day1, day2, day3, day4, day5] = days
+
return (
<>
<NextSeo
@@ -98,7 +145,7 @@ export default function launchweek() {
}}
/>
<DefaultLayout>
- <SectionContainer className="flex flex-col !pb-1 items-center lg:pt-32 gap-32">
+ <SectionContainer className="flex flex-col !pb-1 items-center lg:pt-32 gap-24">
<div
className={classNames(
styleUtils.appear,
@@ -118,14 +165,16 @@ export default function launchweek() {
</div>
<p className="text-scale-1100 text-sm text-center">Dec 12 – 16 at 8 AM PT | 11 AM ET</p>
</div>
- <div className={classNames(styleUtils.appear, styleUtils['appear-second'])}>
- <TicketContainer
- supabase={supabase}
- session={session}
- defaultUserData={defaultUserData}
- defaultPageState={query.ticketNumber ? 'ticket' : 'registration'}
- />
- </div>
+ {process.env.NEXT_PUBLIC_LW_STARTED && (
+ <div className={classNames(styleUtils.appear, styleUtils['appear-second'])}>
+ <TicketContainer
+ supabase={supabase}
+ session={session}
+ defaultUserData={defaultUserData}
+ defaultPageState={query.ticketNumber ? 'ticket' : 'registration'}
+ />
+ </div>
+ )}
</SectionContainer>
<div
className={classNames(
@@ -154,9 +203,401 @@ export default function launchweek() {
)}
></div>
</div>
+ {process.env.NEXT_PUBLIC_LW_STARTED && (
+ <>
+ <SectionContainer className="!pt-0 ">
+ <div className="border rounded-2xl border-slate-400 text-sm px-5 py-4 flex flex-col sm:flex-row justify-between items-center">
+ <div className="relative flex items-center mb-4 sm:mb-0">
+ <div className="flex">
+ <Image
+ src="/images/launchweek/antcopple.png"
+ className="rounded-xl w-32 h-32"
+ width={128}
+ height={72}
+ ></Image>
+ </div>
+ <div className="flex flex-col lg:flex-row ml-8 sm:ml-10">
+ <span className="text-black dark:text-white mr-2">Who we hire at Supabase</span>
+ <span className="text-slate-900">Fireside chat with founders</span>
+ </div>
+ </div>
+ <div className="flex gap-2 z-10">
+ <a href={'https://youtu.be/-BG9XptyCKI'} target="_blank" rel="noopener">
+ <div className="flex items-center border border-slate-400 bg-gradient-to-r from-[#fcfcfc] to-[#f2f2f2] hover:to-[#d5d5d5] text-black dark:text-white dark:from-[#191919] dark:to-[#464444] dark:hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2 min-w-[130px]">
+ Watch video
+ <div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2">
+ <img src="/images/launchweek/video-icon.svg" className="w-3 h-3"></img>
+ </div>
+ </div>
+ </a>
+ <a href={'/blog/who-we-hire'} target="_blank" rel="noopener">
+ <div className="flex items-center border border-slate-400 bg-gradient-to-r from-[#fcfcfc] to-[#f2f2f2] hover:to-[#d5d5d5] text-black dark:text-white dark:from-[#191919] dark:to-[#464444] dark:hover:to-[#4e4e4e] rounded-full text-sm py-2 pl-3 pr-2 min-w-[142px]">
+ Read blogpost
+ <div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2">
+ <img src="/images/launchweek/blog-icon.svg" className="w-3 h-3"></img>
+ </div>
+ </div>
+ </a>
+ </div>
+ </div>
+ </SectionContainer>
+ <SectionContainer className="!pt-0">
+ <Accordion
+ type="default"
+ openBehaviour="multiple"
+ size="large"
+ className="text-scale-900 dark:text-white"
+ justified={false}
+ bordered={false}
+ chevronAlign="right"
+ >
+ <div className="border-b pb-3">
+ <Accordion.Item
+ header={
+ <AccordionHeader
+ date={day1.date}
+ day={day1.dd}
+ title={day1.title}
+ shipped={day1.shipped}
+ />
+ }
+ disabled={!day1.shipped}
+ className="h-[79px]"
+ id={day1.d.toString()}
+ >
+ {day1.steps.length > 0 && (
+ <div className="h-[400px] flex flex-col lg:flex-row">
+ <div
+ className={`flex flex-col flex-1 justify-between border rounded-xl h-full relative after:opacity-10 xl:after:opacity-90 after:absolute after:bg-no-repeat after:bg-[center_top_50px] lg:after:bg-[right_20%_top_50px] after:bg-contain after:bg-[url('/images/launchweek/docs-update-bg.png')] after:top-0 after:right-0 after:bottom-0 after:left-0 p-14 text-2xl`}
+ >
+ <div className="flex items-center relative z-10">
+ <span>{day1.description}</span>
+ <Badge className="!bg-transparent h-fit ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#598973] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#598973]">
+ Redesigned
+ </Badge>
+ </div>
+
+ <SectionButtons docs={day1.steps[0].docs} blog={day1.steps[0].blog} />
+ </div>
+ </div>
+ )}
+ </Accordion.Item>
+ </div>
+ <div className="border-b pb-3">
+ <Accordion.Item
+ header={
+ <AccordionHeader
+ date={day2.date}
+ day={day2.dd}
+ title={day2.title}
+ shipped={day2.shipped}
+ />
+ }
+ disabled={!day2.shipped}
+ className="h-[79px]"
+ id={day2.d.toString()}
+ >
+ {day2.steps.length > 0 && (
+ <div className="h-[800px] lg:h-[400px] flex flex-col gap-5 lg:flex-row">
+ <div
+ className={`flex-1 flex flex-col justify-between basis-1/2 lg:basis-2/3 border rounded-xl h-full p-14 text-2xl bg-no-repeat bg-[url('/images/launchweek/image-processing-bg-light.png')] dark:bg-[url('/images/launchweek/image-processing-bg.png')] bg-[right_28px_top_35px] bg-contain`}
+ >
+ <div className="flex items-center">
+ <div>{day2.steps[0].title}</div>
+ <Badge className="!bg-transparent h-fit ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#598973] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#598973]">
+ New
+ </Badge>
+ </div>
+ <SectionButtons docs={day2.steps[0].docs} blog={day2.steps[0].blog} />
+ </div>
+ <div
+ className={`flex-1 flex flex-col items-center justify-between basis-1/2 lg:basis-1/3 border rounded-xl h-full bg-no-repeat p-14 text-2xl bg-[url('/images/launchweek/cdn-caching-bg-light.png')] dark:bg-[url('/images/launchweek/cdn-caching-bg.png')] bg-[center_bottom] bg-contain`}
+ >
+ <div className="flex flex-col items-center gap-2 min-w-[300px]">
+ <Badge className="!bg-transparent h-fit text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#598973] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#598973]">
+ New
+ </Badge>
+ <span>{day2.steps[1].title}</span>
+ <p className="text-sm text-slate-900">{day2.steps[1].description}</p>
+ </div>
+ <SectionButtons docs={day2.steps[1].docs} blog={day2.steps[1].blog} />
+ </div>
+ </div>
+ )}
+ </Accordion.Item>
+ </div>
+ <div className="border-b pb-3">
+ <Accordion.Item
+ header={
+ <AccordionHeader
+ date={day3.date}
+ day={day3.dd}
+ title={day3.title}
+ shipped={day3.shipped}
+ />
+ }
+ disabled={!day3.shipped}
+ className="h-[79px]"
+ id={day3.d.toString()}
+ >
+ {day3.steps.length > 0 && (
+ <div className="h-[800px] lg:h-[400px] flex flex-col gap-5 lg:flex-row">
+ <div
+ className={`flex flex-col justify-between flex-1 basis-1/2 lg:basis-2/3 border rounded-xl h-full p-14 text-2xl bg-no-repeat bg-contain bg-[url('/images/launchweek/vault-bg-light.png')] dark:bg-[url('/images/launchweek/vault-bg.png')] bg-[center_bottom]`}
+ >
+ <div className="flex items-center">
+ <span>{day3.steps[0].title}</span>
+ <Badge className="!bg-transparent h-fit ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#598973] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#598973]">
+ New
+ </Badge>
+ </div>
+ <SectionButtons docs={day3.steps[0].docs} blog={day3.steps[0].blog} />
+ </div>
+ <div
+ className={`flex-1 flex flex-col items-center justify-between basis-1/2 lg:basis-1/3 border rounded-xl h-full bg-no-repeat p-14 text-2xl bg-[url('/images/launchweek/encryption-bg-light.png')] dark:bg-[url('/images/launchweek/encryption-bg.svg')] bg-contain bg-[center_center] shadow-[inset_0px_130px_50px_-52p_rgb(10,31,30)]`}
+ >
+ {/* inset 0px 130px 50px -52px #121f1e; */}
+ <div className="flex flex-col items-center gap-2 min-w-[300px]">
+ <Badge className="!bg-transparent h-fit text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#598973] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#598973]">
+ New
+ </Badge>
+ <span className="text-center">{day3.steps[1].title}</span>
+ </div>
+ <SectionButtons docs={day3.steps[1].docs} blog={day3.steps[1].blog} />
+ </div>
+ </div>
+ )}
+ </Accordion.Item>
+ </div>
+ <div className="border-b pb-3">
+ <Accordion.Item
+ header={
+ <AccordionHeader
+ date={day4.date}
+ day={day4.dd}
+ title={day4.title}
+ shipped={day4.shipped}
+ />
+ }
+ disabled={!day4.shipped}
+ className="h-[79px]"
+ id={day4.d.toString()}
+ >
+ {day4.steps.length > 0 && (
+ <div className="h-[400px] flex gap-5">
+ <div
+ className={`flex flex-col justify-between flex-1 border rounded-xl h-full bg-no-repeat p-14 text-2xl bg-[url('/images/launchweek/mfa-bg-light.png')] dark:bg-[url('/images/launchweek/mfa-bg.png')] bg-[bottom_right_30%] bg-contain`}
+ >
+ <div className="flex items-center">
+ <span>{day4.steps[0].title}</span>
+ <Badge className="!bg-transparent h-fit ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-white to-[#1a7a4ca1] border-[#598973]">
+ Updated
+ </Badge>
+ </div>
+ <SectionButtons docs={day4.steps[0].docs} blog={day4.steps[0].blog} />
+ </div>
+ </div>
+ )}
+ </Accordion.Item>
+ </div>
+ <div className="border-b pb-3">
+ <Accordion.Item
+ header={
+ <AccordionHeader
+ date={day5.date}
+ day={day5.dd}
+ title={day5.title}
+ shipped={day5.shipped}
+ />
+ }
+ disabled={!day5.shipped}
+ className="h-[79px]"
+ id={day5.d.toString()}
+ >
+ {day5.steps.length > 0 && (
+ <div className="h-[800px] lg:h-[400px] flex flex-col gap-5 lg:flex-row">
+ <div
+ className={`flex flex-col justify-between flex-1 basis-1/2 lg:basis-2/3 border rounded-xl h-full bg-no-repeat p-14 text-2xl bg-[url('/images/launchweek/wrappers-bg-light.png')] dark:bg-[url('/images/launchweek/wrappers-bg.png')] bg-contain bg-[right]`}
+ >
+ <div className="flex items-center">
+ <span>{day5.steps[0].title}</span>
+ <Badge className="!bg-transparent h-fit ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#598973] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#598973]">
+ New
+ </Badge>
+ </div>
+ <SectionButtons docs={day5.steps[0].docs} blog={day5.steps[0].blog} />
+ </div>
+ <div
+ className={`flex-1 flex flex-col items-center justify-between basis-1/2 lg:basis-1/3 border rounded-xl h-full bg-no-repeat p-14 text-2xl bg-[url('/images/launchweek/pitr-bg-light.png')] dark:bg-[url('/images/launchweek/pitr-bg.png')] bg-cover bg-[center_center]`}
+ >
+ <div className="flex flex-col items-center gap-2 min-w-[300px]">
+ <Badge className="!bg-transparent h-fit text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#598973] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#598973]">
+ New
+ </Badge>
+ <span>{day5.steps[1].title}</span>
+ </div>
+ <SectionButtons docs={day5.steps[1].docs} blog={day5.steps[1].blog} />
+ </div>
+ </div>
+ )}
+ </Accordion.Item>
+ </div>
+ </Accordion>
+ </SectionContainer>
+ </>
+ )}
+ <SectionContainer className="!pt-0 sm:!pb-20 !pb-40">
+ <div className="flex flex-col mb-16">
+ <Badge className="!bg-transparent h-fit text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#598973] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#598973] w-fit after:bg-white mb-4">
+ Happening all week
+ </Badge>
+ <h2 className="text-3xl text-black dark:text-white mb-2">Launch Week Hackathon</h2>
+ <p className="text-slate-900 w-[80%] lg:w-[50%]">
+ The traditional parallel Hackathon is back! Build a new open source project with
+ Supabase and you can win $1500 in GitHub sponsorships and a coveted Supabase Darkmode
+ Keyboard! For more info check the{' '}
+ <a
+ href="https://supabase.com/blog/launch-week-6-hackathon"
+ target="_blank"
+ rel="nooper noreferrer"
+ className="text-brand-900"
+ >
+ blog post
+ </a>
+ .
+ </p>
+ </div>
+ <div className="flex flex-col lg:flex-row gap-10 lg:gap-0">
+ <div className="sm:grid grid-cols-2 grid-rows-2 gap-x-4 gap-y-7 sm:gap-y-10 basis-2/3 flex flex-col">
+ <div className="flex flex-col">
+ <h3 className="text-lg text-black dark:text-white mb-2">Prizes</h3>
+ <p className="text-slate-900 w-[90%] lg:w-[80%]">
+ There are 5 categories to win, with prizes for winners and runner-ups of each
+ category. Each team member gets a prize.
+ </p>
+ </div>
+ <div className="flex flex-col">
+ <h3 className="text-lg text-black dark:text-white mb-2">Judges</h3>
+ <p className="text-slate-900 w-[90%] lg:w-[80%]">
+ The Supabase team will judge all the categories except the Best Edge Functions
+ Project, which will be judged by our friends at Deno.
+ </p>
+ </div>
+ <div className="flex flex-col">
+ <div className="flex flex-col">
+ <h3 className="text-lg text-black dark:text-white mb-2">Community</h3>
+ <p className="text-slate-900 w-[90%] lg:w-[80%]">
+ If you need help or advice when building, find other people to join your team,
+ or if you just want to chill and watch people build, come and join us!
+ </p>
+ <div></div>
+ <a
+ href="https://discord.supabase.com/"
+ rel="noopener noreferrer"
+ className="text-brand-900 flex items-center"
+ target="_blank"
+ >
+ Join our Discord <IconExternalLink size="small" className="inline-block ml-2" />
+ </a>
+ </div>
+ </div>
+ <div className={'flex flex-col'}>
+ <h3 className="text-lg text-black dark:text-white mb-2">Submission</h3>
+ <p className="text-slate-900 w-[90%] lg:w-[80%]">
+ Submit your project through{' '}
+ <a
+ className="text-brand-900"
+ href="https://www.madewithsupabase.com/launch-week-6"
+ target="_blank"
+ >
+ madewithsupabase.com
+ </a>
+ . All submissions must be open source and publically available. Submissions close
+ Monday 19th Dec 00:01 AM PT.
+ </p>
+ </div>
+ </div>
+ <div
+ className={classNames(
+ isDarkMode ? styles.dark_community : styles.community,
+ 'flex basis-1/3 flex-col px-5'
+ )}
+ >
+ <a
+ href="https://github.com/psteinroe/supabase-cache-helpers"
+ target="_blank"
+ rel="noopener noreferrer"
+ className="self-end"
+ >
+ <div className="border border-slate-400 dark:border-[#2E2E2E] rounded-xl pl-5 pr-9 py-4 mb-4 bg-white dark:bg-[#121212] w-fit relative max-w-[250px]">
+ <img
+ src="/images/launchweek/link.svg"
+ className="absolute top-[10px] right-[10px] text-brand-900"
+ ></img>
+ <h3 className="text-black dark:text-white">Supabase Cache Helpers</h3>
+ <p className="text-slate-1000 text-xs">Previous Best Overall Project Winner</p>
+ </div>
+ </a>
+ <a
+ href="https://github.com/pheralb/superui"
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ <div className="border border-slate-400 dark:border-[#2E2E2E] rounded-xl pl-5 pr-9 py-4 mb-4 bg-white dark:bg-[#121212] w-fit relative max-w-[250px]">
+ <img
+ src="/images/launchweek/link.svg"
+ className="absolute top-[10px] right-[10px] text-brand-900"
+ ></img>
+ <h3 className="text-black dark:text-white">Super UI</h3>
+ <p className="text-slate-1000 text-xs">Previous Best Overall Project Runner Up</p>
+ </div>
+ </a>
+ <a
+ href="https://github.com/Myzel394/quid_faciam_hodie"
+ target="_blank"
+ rel="noopener noreferrer"
+ className="self-end"
+ >
+ <div className="border border-slate-400 dark:border-[#2E2E2E] rounded-xl pl-5 pr-9 py-4 mb-4 bg-white dark:bg-[#121212] w-fit relative max-w-[250px]">
+ <img
+ src="/images/launchweek/link.svg"
+ className="absolute top-[10px] right-[10px] text-brand-900"
+ ></img>
+ <h3 className="text-black dark:text-white">Quid Faciam Hodie?</h3>
+ <p className="text-slate-1000 text-xs">Winner Best Flutter Project</p>
+ </div>
+ </a>
+ <a href="https://github.com/laznic/hotdogs" target="_blank" rel="noopener noreferrer">
+ <div className="border border-slate-400 dark:border-[#2E2E2E] rounded-xl pl-5 pr-9 py-4 mb-4 bg-white dark:bg-[#121212] w-fit relative max-w-[250px]">
+ <img
+ src="/images/launchweek/link.svg"
+ className="absolute top-[10px] right-[10px] text-brand-900"
+ ></img>
+ <h3 className="text-black dark:text-white">That Hot Dog Game</h3>
+ <p className="text-slate-1000 text-xs">Previous Winner: Most Fun/Interesting</p>
+ </div>
+ </a>
+ <a
+ href="https://github.com/vvidday/repo-watch"
+ target="_blank"
+ rel="noopener noreferrer"
+ className="self-end"
+ >
+ <div className="border border-slate-400 dark:border-[#2E2E2E] rounded-xl pl-5 pr-9 py-4 bg-white dark:bg-[#121212] w-fit relative max-w-[250px]">
+ <img
+ src="/images/launchweek/link.svg"
+ className="absolute top-[10px] right-[10px] text-brand-900"
+ ></img>
+ <h3 className="text-black dark:text-white">RepoWatch</h3>
+ <p className="text-slate-1000 text-xs">Previous Winner Best Realtime Project</p>
+ </div>
+ </a>
+ </div>
+ </div>
+ </SectionContainer>
<SectionContainer
className={classNames(
- 'flex gap-6 min-h-[350px] !py-3 mb-11 flex-col-reverse md:flex-row',
+ 'flex gap-6 min-h-[350px] !py-3 mb-11 flex-col-reverse md:flex-row mt-24',
styleUtils.appear,
styleUtils['appear-third']
)}
@@ -191,14 +632,14 @@ export default function launchweek() {
</div>
<div className="flex-1">
<Badge className="mb-6 bg-gradient-to-r from-[#0E3737C2] to-[#67947F] hover:to-[#39617D94] dark:hover:to-[#A6FFD899] text-whiteA-1200 dark:text-black font-normal !py-1 !px-4 dark:from-white dark:via-white dark:to-[#1a7a4c75] bg-slate-1200">
- Currently happening
+ Live
</Badge>
- <h2 className="text-4xl dark:text-white mb-2">The Supabase Content Storm</h2>
+ <h2 className="text-3xl dark:text-white mb-2">The Supabase Content Storm</h2>
<p className="text-slate-900 md:max-w-[80%] mb-16">
- We worked with +30 content creators from around the world to drop a mountain of
- content simultaneously!
+ We worked with more than 30 content creators from around the world to drop a mountain
+ of content simultaneously!
<a rel="noopener" target="_blank" href="/blog/the-supabase-content-storm">
- <div className="text-brand-900 flex items-center">
+ <div className="text-brand-900 flex items-center mt-2">
See all the content
<IconExternalLink size="small" className="inline-block ml-1" />
</div>
@@ -211,7 +652,10 @@ export default function launchweek() {
? `${creators[activeCreator].first_name} ${creators[activeCreator].last_name}`
: 'Title'}
</h3>
- <p className="text-brand-900">
+ {activeCreator !== null && (
+ <p className="text-slate-900 ">{creators[activeCreator].description}</p>
+ )}
+ <p className="text-brand-900 mt-1">
<a rel="noopener" target="_blank" href={creators[activeCreator].link}>
<span>
{creators[activeCreator].link_title}
diff --git a/apps/www/pages/launch-week/launchWeek.module.css b/apps/www/pages/launch-week/launchWeek.module.css
index 574027b2053..c37b14deb0e 100644
--- a/apps/www/pages/launch-week/launchWeek.module.css
+++ b/apps/www/pages/launch-week/launchWeek.module.css
@@ -1,3 +1,11 @@
.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);
+}
diff --git a/apps/www/public/images/launchweek/ant.png b/apps/www/public/images/launchweek/ant.png
new file mode 100644
index 00000000000..c0413ad7765
Binary files /dev/null and b/apps/www/public/images/launchweek/ant.png differ
diff --git a/apps/www/public/images/launchweek/antcopple.png b/apps/www/public/images/launchweek/antcopple.png
new file mode 100644
index 00000000000..769cd8b3b4f
Binary files /dev/null and b/apps/www/public/images/launchweek/antcopple.png differ
diff --git a/apps/www/public/images/launchweek/blog-icon.svg b/apps/www/public/images/launchweek/blog-icon.svg
new file mode 100644
index 00000000000..7540a84898d
--- /dev/null
+++ b/apps/www/public/images/launchweek/blog-icon.svg
@@ -0,0 +1,8 @@
+<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M4.57812 5H9.81396" stroke="#4CC38A"/>
+<path d="M4.57812 7H8.01088M12.3433 7H10.8695" stroke="#4CC38A"/>
+<path d="M4.57812 9H6.68417M12.3433 9H8.64858" stroke="#4CC38A"/>
+<path d="M4.57812 11H12.3433" stroke="#4CC38A"/>
+<path d="M13.0927 2.02734H2.46094V14.0273H14.4609V3.08444" stroke="#4CC38A" stroke-miterlimit="10" stroke-linejoin="bevel"/>
+<path d="M7.27023 7.61649L13.8876 0.999099L15.3018 2.41331L8.68445 9.0307L6.41804 9.88289L7.27023 7.61649Z" stroke="#4CC38A" stroke-miterlimit="10" stroke-linejoin="bevel"/>
+</svg>
diff --git a/apps/www/public/images/launchweek/cdn-caching-bg-light.png b/apps/www/public/images/launchweek/cdn-caching-bg-light.png
new file mode 100644
index 00000000000..6fad05721a2
Binary files /dev/null and b/apps/www/public/images/launchweek/cdn-caching-bg-light.png differ
diff --git a/apps/www/public/images/launchweek/cdn-caching-bg.png b/apps/www/public/images/launchweek/cdn-caching-bg.png
new file mode 100644
index 00000000000..bab530bd1ce
Binary files /dev/null and b/apps/www/public/images/launchweek/cdn-caching-bg.png differ
diff --git a/apps/www/public/images/launchweek/copple.png b/apps/www/public/images/launchweek/copple.png
new file mode 100644
index 00000000000..18fbefa8aad
Binary files /dev/null and b/apps/www/public/images/launchweek/copple.png differ
diff --git a/apps/www/public/images/launchweek/docs-update-bg.png b/apps/www/public/images/launchweek/docs-update-bg.png
new file mode 100644
index 00000000000..12de95b1b48
Binary files /dev/null and b/apps/www/public/images/launchweek/docs-update-bg.png differ
diff --git a/apps/www/public/images/launchweek/encryption-bg-light.png b/apps/www/public/images/launchweek/encryption-bg-light.png
new file mode 100644
index 00000000000..9de76cf9127
Binary files /dev/null and b/apps/www/public/images/launchweek/encryption-bg-light.png differ
diff --git a/apps/www/public/images/launchweek/encryption-bg.png b/apps/www/public/images/launchweek/encryption-bg.png
new file mode 100644
index 00000000000..01dff450301
Binary files /dev/null and b/apps/www/public/images/launchweek/encryption-bg.png differ
diff --git a/apps/www/public/images/launchweek/encryption-bg.svg b/apps/www/public/images/launchweek/encryption-bg.svg
new file mode 100644
index 00000000000..4dabc6af972
--- /dev/null
+++ b/apps/www/public/images/launchweek/encryption-bg.svg
@@ -0,0 +1,89 @@
+<svg width="449" height="401" viewBox="0 0 449 401" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M66.7756 213.131C67.9456 213.131 68.8606 212.711 69.5806 212.231L69.1456 211.406C68.4706 211.856 67.7806 212.126 66.9256 212.126C65.3356 212.126 64.1956 211.061 64.1356 209.411H69.8356C69.8656 209.216 69.8806 208.946 69.8806 208.691C69.8806 206.531 68.6506 205.106 66.5656 205.106C64.6756 205.106 62.8606 206.636 62.8606 209.126C62.8606 211.631 64.6156 213.131 66.7756 213.131ZM64.1206 208.511C64.3156 206.981 65.3956 206.081 66.5806 206.081C67.9306 206.081 68.7406 206.951 68.7406 208.511H64.1206ZM72.4847 216.191C74.1347 216.191 75.0197 215.036 75.5897 213.566L78.7847 205.286H77.6147L76.0247 209.591C75.7697 210.281 75.4997 211.076 75.2447 211.796H75.1847C74.8847 211.061 74.5697 210.266 74.2847 209.591L72.4997 205.286H71.2547L74.6597 212.966L74.4497 213.506C74.0597 214.511 73.4597 215.171 72.4397 215.171C72.2147 215.171 71.9747 215.126 71.7797 215.066L71.5247 216.041C71.7797 216.131 72.1397 216.191 72.4847 216.191ZM83.3539 213.116C85.7989 213.116 86.6089 211.616 86.6089 209.771V203.021H81.2389V204.071H85.3639V209.666C85.3639 211.301 84.7339 212.021 83.3239 212.021C82.5589 212.021 81.8089 211.601 81.2389 210.716L80.4289 211.466C81.1039 212.621 82.2439 213.116 83.3539 213.116ZM92.708 203.576C93.293 203.576 93.758 203.156 93.758 202.541C93.758 201.911 93.293 201.476 92.708 201.476C92.123 201.476 91.658 201.911 91.658 202.541C91.658 203.156 92.123 203.576 92.708 203.576ZM89.408 212.936H96.308V211.916H93.473V205.286H89.408V206.291H92.243V211.916H89.408V212.936ZM97.5772 212.936H104.687V211.871H99.0922L104.612 203.771V203.021H98.0572V204.071H103.082L97.5772 212.186V212.936ZM71.3297 232.936H72.6497L74.1197 230.251C74.3747 229.771 74.6297 229.276 74.9147 228.676H74.9747C75.3047 229.276 75.5747 229.786 75.8447 230.266L77.3297 232.936H78.7097L75.7697 227.881L78.5147 223.036H77.1947L75.8447 225.571C75.6047 226.021 75.4097 226.441 75.1397 227.011H75.0797C74.7647 226.441 74.5397 226.021 74.2847 225.571L72.9047 223.036H71.5247L74.2697 227.821L71.3297 232.936ZM80.4589 232.936H81.6439V227.746C81.6439 226.726 81.5239 225.661 81.4789 224.656H81.5089L82.4989 226.681L85.6939 232.936H86.9689V223.036H85.7839V228.181C85.7839 229.216 85.9039 230.341 85.9489 231.316H85.9189L84.9289 229.291L81.7339 223.036H80.4589V232.936ZM92.408 233.116C94.538 233.116 95.843 231.241 95.843 227.956C95.843 224.641 94.538 222.856 92.408 222.856C90.278 222.856 88.973 224.641 88.973 227.956C88.973 231.241 90.278 233.116 92.408 233.116ZM92.408 232.126C91.073 232.126 90.128 230.806 90.128 227.956C90.128 225.091 91.073 223.846 92.408 223.846C93.743 223.846 94.688 225.091 94.688 227.956C94.688 230.806 93.743 232.126 92.408 232.126ZM92.408 228.871C92.903 228.871 93.338 228.496 93.338 227.851C93.338 227.206 92.903 226.831 92.408 226.831C91.913 226.831 91.478 227.206 91.478 227.851C91.478 228.496 91.913 228.871 92.408 228.871Z" fill="url(#paint0_linear_946_100257)"/>
+<path d="M132.276 212.936H133.596L135.066 210.251C135.321 209.771 135.576 209.276 135.861 208.676H135.921C136.251 209.276 136.521 209.786 136.791 210.266L138.276 212.936H139.656L136.716 207.881L139.461 203.036H138.141L136.791 205.571C136.551 206.021 136.356 206.441 136.086 207.011H136.026C135.711 206.441 135.486 206.021 135.231 205.571L133.851 203.036H132.471L135.216 207.821L132.276 212.936ZM141.255 212.936H147.99V211.871H144.84C144.27 211.871 143.64 211.916 143.055 211.961C145.665 209.471 147.465 207.626 147.465 205.766C147.465 204.011 146.265 202.856 144.345 202.856C142.995 202.856 142.05 203.456 141.195 204.356L141.9 205.061C142.515 204.386 143.295 203.861 144.195 203.861C145.605 203.861 146.28 204.686 146.28 205.811C146.28 207.476 144.495 209.216 141.255 212.201V212.936ZM150.354 212.936H151.599V208.751H153.354L155.724 212.936H157.149L154.644 208.616C155.979 208.271 156.849 207.356 156.849 205.811C156.849 203.756 155.409 203.036 153.414 203.036H150.354V212.936ZM151.599 207.731V204.041H153.234C154.764 204.041 155.604 204.506 155.604 205.811C155.604 207.101 154.764 207.731 153.234 207.731H151.599ZM158.944 212.936H160.174V207.596C161.029 206.636 161.614 206.171 162.484 206.171C163.684 206.171 164.164 206.876 164.164 208.346V212.936H165.394V208.181C165.394 206.171 164.599 205.106 162.874 205.106C161.734 205.106 160.894 205.751 160.114 206.621L160.174 204.791V202.031H158.944V212.936ZM170.308 213.131C171.208 213.131 172.078 212.561 172.678 211.916H172.723L172.828 212.936H173.848V202.031H172.618V204.671L172.663 206.111C171.988 205.481 171.343 205.106 170.458 205.106C168.733 205.106 167.143 206.651 167.143 209.126C167.143 211.676 168.403 213.131 170.308 213.131ZM170.563 212.096C169.213 212.096 168.418 210.956 168.418 209.111C168.418 207.356 169.438 206.141 170.698 206.141C171.328 206.141 171.958 206.396 172.618 207.056V210.911C171.973 211.691 171.283 212.096 170.563 212.096ZM145.215 233.116C146.49 233.116 147.525 232.606 148.155 231.976V227.806H145.035V228.841H147V231.436C146.625 231.796 145.98 232.021 145.29 232.021C143.355 232.021 142.26 230.446 142.26 227.956C142.26 225.496 143.475 223.951 145.32 223.951C146.265 223.951 146.85 224.341 147.33 224.851L148.035 224.056C147.48 223.471 146.625 222.856 145.32 222.856C142.77 222.856 140.955 224.791 140.955 227.986C140.955 231.211 142.74 233.116 145.215 233.116ZM150.879 232.936H152.124V228.496H156.159V227.446H152.124V224.086H156.894V223.036H150.879V232.936ZM162.349 223.576C162.934 223.576 163.399 223.156 163.399 222.541C163.399 221.911 162.934 221.476 162.349 221.476C161.764 221.476 161.299 221.911 161.299 222.541C161.299 223.156 161.764 223.576 162.349 223.576ZM159.049 232.936H165.949V231.916H163.114V225.286H159.049V226.291H161.884V231.916H159.049V232.936Z" fill="url(#paint1_linear_946_100257)"/>
+<path d="M207.522 212.936H208.782V209.396L212.082 203.036H210.792L209.367 205.961C208.992 206.726 208.602 207.491 208.212 208.286H208.152C207.747 207.491 207.402 206.741 207.027 205.991L205.542 203.036H204.222L207.522 209.396V212.936ZM213.156 212.936H214.476L215.946 210.251C216.201 209.771 216.456 209.276 216.741 208.676H216.801C217.131 209.276 217.401 209.786 217.671 210.266L219.156 212.936H220.536L217.596 207.881L220.341 203.036H219.021L217.671 205.571C217.431 206.021 217.236 206.441 216.966 207.011H216.906C216.591 206.441 216.366 206.021 216.111 205.571L214.731 203.036H213.351L216.096 207.821L213.156 212.936ZM222.285 212.936H223.47V207.746C223.47 206.726 223.35 205.661 223.305 204.656H223.335L224.325 206.681L227.52 212.936H228.795V203.036H227.61V208.181C227.61 209.216 227.73 210.341 227.775 211.316H227.745L226.755 209.291L223.56 203.036H222.285V212.936ZM235.824 213.131C236.619 213.131 237.129 212.921 237.789 212.666L237.474 211.736C236.934 211.991 236.514 212.111 236.094 212.111C235.224 212.111 234.669 211.616 234.669 210.491V202.031H230.949V203.036H233.439V210.401C233.439 212.201 234.279 213.131 235.824 213.131ZM239.853 212.936H246.003V211.871H243.558V204.086H246.003V203.036H239.853V204.086H242.298V211.871H239.853V212.936ZM217.566 223.576C218.151 223.576 218.616 223.156 218.616 222.541C218.616 221.911 218.151 221.476 217.566 221.476C216.981 221.476 216.516 221.911 216.516 222.541C216.516 223.156 216.981 223.576 217.566 223.576ZM215.256 236.191C217.611 236.191 218.316 234.871 218.316 232.981V225.286H213.696V226.291H217.086V233.086C217.086 234.556 216.696 235.186 215.241 235.186C214.686 235.186 214.101 235.021 213.576 234.766L213.171 235.681C213.756 235.981 214.491 236.191 215.256 236.191ZM225.54 233.131C227.46 233.131 229.14 231.661 229.14 229.126C229.14 226.561 227.46 225.106 225.54 225.106C223.62 225.106 221.94 226.561 221.94 229.126C221.94 231.661 223.62 233.131 225.54 233.131ZM225.54 232.111C224.145 232.111 223.215 230.911 223.215 229.126C223.215 227.341 224.145 226.126 225.54 226.126C226.935 226.126 227.865 227.341 227.865 229.126C227.865 230.911 226.935 232.111 225.54 232.111ZM234.534 223.576C235.119 223.576 235.584 223.156 235.584 222.541C235.584 221.911 235.119 221.476 234.534 221.476C233.949 221.476 233.484 221.911 233.484 222.541C233.484 223.156 233.949 223.576 234.534 223.576ZM231.234 232.936H238.134V231.916H235.299V225.286H231.234V226.291H234.069V231.916H231.234V232.936Z" fill="url(#paint2_linear_946_100257)"/>
+<path d="M278.078 213.131C279.158 213.131 280.178 212.681 280.973 211.931L280.433 211.136C279.818 211.676 279.068 212.111 278.168 212.111C276.488 212.111 275.363 210.911 275.363 209.126C275.363 207.341 276.518 206.126 278.198 206.126C278.963 206.126 279.593 206.456 280.193 207.026L280.808 206.231C280.208 205.616 279.338 205.106 278.153 205.106C275.948 205.106 274.088 206.561 274.088 209.126C274.088 211.661 275.798 213.131 278.078 213.131ZM285.887 213.116C287.792 213.116 289.352 212.051 289.352 210.296C289.352 208.931 288.257 208.061 286.982 207.791V207.716C288.167 207.326 289.022 206.561 289.022 205.361C289.022 203.771 287.657 202.856 285.857 202.856C284.627 202.856 283.592 203.381 282.797 204.101L283.457 204.881C284.087 204.281 284.912 203.861 285.812 203.861C286.982 203.861 287.762 204.476 287.762 205.451C287.762 206.501 286.892 207.311 284.627 207.311V208.271C287.147 208.271 288.107 209.066 288.107 210.266C288.107 211.376 287.117 212.096 285.812 212.096C284.582 212.096 283.697 211.541 283.067 210.911L282.437 211.721C283.142 212.456 284.237 213.116 285.887 213.116ZM294.056 212.936H295.511L298.631 203.036H297.356L295.781 208.391C295.436 209.561 295.196 210.491 294.836 211.661H294.776C294.416 210.491 294.176 209.561 293.831 208.391L292.241 203.036H290.921L294.056 212.936ZM300.726 212.936H302.196L303.036 208.991C303.216 208.121 303.321 207.431 303.441 206.771H303.501C303.651 207.536 303.771 208.256 303.906 208.976L304.776 212.936H306.261L307.851 205.286H306.681L305.811 209.771C305.676 210.491 305.571 211.181 305.436 211.886H305.376C305.226 211.181 305.091 210.491 304.926 209.771L304.026 205.706H302.976L302.091 209.771C301.926 210.476 301.791 211.181 301.656 211.886H301.596C301.491 211.181 301.371 210.491 301.236 209.771L300.351 205.286H299.091L300.726 212.936ZM311.535 212.936H312.795V209.396L316.095 203.036H314.805L313.38 205.961C313.005 206.726 312.615 207.491 312.225 208.286H312.165C311.76 207.491 311.415 206.741 311.04 205.991L309.555 203.036H308.235L311.535 209.396V212.936ZM283.247 232.936H284.597L285.677 228.781C285.827 228.196 285.947 227.581 286.067 226.996H286.112C286.217 227.581 286.337 228.196 286.472 228.781L287.597 232.936H288.977L290.432 223.021H289.247L288.497 229.246C288.437 230.056 288.347 230.881 288.287 231.691H288.227C288.017 230.881 287.792 230.041 287.612 229.246L286.577 225.586H285.692L284.657 229.246C284.462 230.056 284.237 230.881 284.027 231.691H283.982C283.922 230.881 283.817 230.071 283.772 229.246L282.977 223.021H281.732L283.247 232.936ZM294.416 233.116C296.861 233.116 297.671 231.616 297.671 229.771V223.021H292.301V224.071H296.426V229.666C296.426 231.301 295.796 232.021 294.386 232.021C293.621 232.021 292.871 231.601 292.301 230.716L291.491 231.466C292.166 232.621 293.306 233.116 294.416 233.116ZM300.366 232.936H301.596V227.596C302.451 226.636 303.036 226.171 303.906 226.171C305.106 226.171 305.586 226.876 305.586 228.346V232.936H306.816V228.181C306.816 226.171 306.021 225.106 304.296 225.106C303.156 225.106 302.316 225.751 301.536 226.621L301.596 224.791V222.031H300.366V232.936Z" fill="url(#paint3_linear_946_100257)"/>
+<path d="M348.336 213.131C349.416 213.131 350.436 212.681 351.231 211.931L350.691 211.136C350.076 211.676 349.326 212.111 348.426 212.111C346.746 212.111 345.621 210.911 345.621 209.126C345.621 207.341 346.776 206.126 348.456 206.126C349.221 206.126 349.851 206.456 350.451 207.026L351.066 206.231C350.466 205.616 349.596 205.106 348.411 205.106C346.206 205.106 344.346 206.561 344.346 209.126C344.346 211.661 346.056 213.131 348.336 213.131ZM352.935 212.936H359.67V211.871H356.52C355.95 211.871 355.32 211.916 354.735 211.961C357.345 209.471 359.145 207.626 359.145 205.766C359.145 204.011 357.945 202.856 356.025 202.856C354.675 202.856 353.73 203.456 352.875 204.356L353.58 205.061C354.195 204.386 354.975 203.861 355.875 203.861C357.285 203.861 357.96 204.686 357.96 205.811C357.96 207.476 356.175 209.216 352.935 212.201V212.936ZM365.049 213.116C366.969 213.116 368.349 212.036 368.349 209.201V203.036H367.134V209.216C367.134 211.286 366.234 212.021 365.049 212.021C363.864 212.021 362.979 211.286 362.979 209.216V203.036H361.719V209.201C361.719 212.036 363.114 213.116 365.049 213.116ZM374.028 203.576C374.613 203.576 375.078 203.156 375.078 202.541C375.078 201.911 374.613 201.476 374.028 201.476C373.443 201.476 372.978 201.911 372.978 202.541C372.978 203.156 373.443 203.576 374.028 203.576ZM370.728 212.936H377.628V211.916H374.793V205.286H370.728V206.291H373.563V211.916H370.728V212.936ZM381.552 212.936H382.767V206.291H385.827V205.286H382.767V204.896C382.767 203.636 383.307 202.856 384.612 202.856C385.242 202.856 385.707 202.931 386.307 203.231L386.592 202.301C385.902 201.986 385.212 201.851 384.492 201.851C382.482 201.851 381.552 203.066 381.552 204.941V205.286L379.467 205.376V206.291H381.552V212.936ZM359.025 235.396C359.46 235.396 359.82 235.306 360.135 235.186L359.91 234.181C359.73 234.256 359.475 234.331 359.175 234.331C358.155 234.331 357.375 233.896 357.045 233.041C358.86 232.666 360.06 230.761 360.06 227.941C360.06 224.791 358.545 222.841 356.325 222.841C354.09 222.841 352.575 224.776 352.575 227.941C352.575 230.806 353.82 232.726 355.71 233.056C356.205 234.406 357.285 235.396 359.025 235.396ZM356.325 232.036C354.81 232.036 353.85 230.401 353.85 227.941C353.85 225.481 354.81 223.921 356.325 223.921C357.825 223.921 358.785 225.481 358.785 227.941C358.785 230.401 357.825 232.036 356.325 232.036ZM361.809 226.846H368.259V225.916H361.809V226.846ZM361.809 230.056H368.259V229.126H361.809V230.056ZM370.503 226.846H376.953V225.916H370.503V226.846ZM370.503 230.056H376.953V229.126H370.503V230.056Z" fill="url(#paint4_linear_946_100257)"/>
+<rect x="56.457" y="164.4" width="54.8775" height="118.142" fill="url(#paint5_linear_946_100257)" stroke="url(#paint6_linear_946_100257)" stroke-width="0.5"/>
+<rect x="126.762" y="164.4" width="54.8775" height="118.142" fill="url(#paint7_linear_946_100257)" stroke="url(#paint8_linear_946_100257)" stroke-width="0.5"/>
+<rect x="197.07" y="164.4" width="54.8775" height="118.142" fill="url(#paint9_linear_946_100257)" stroke="url(#paint10_linear_946_100257)" stroke-width="0.5"/>
+<rect x="267.367" y="164.4" width="54.8775" height="118.142" fill="url(#paint11_linear_946_100257)" stroke="url(#paint12_linear_946_100257)" stroke-width="0.5"/>
+<rect x="337.668" y="164.4" width="54.8775" height="118.142" fill="url(#paint13_linear_946_100257)" stroke="url(#paint14_linear_946_100257)" stroke-width="0.5"/>
+<rect x="0.472656" y="-0.417969" width="448.055" height="402.196" fill="url(#paint15_radial_946_100257)"/>
+<defs>
+<linearGradient id="paint0_linear_946_100257" x1="83.7109" y1="188.936" x2="83.7109" y2="246.439" gradientUnits="userSpaceOnUse">
+<stop stop-color="#346458"/>
+<stop offset="1" stop-color="#07B07E" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint1_linear_946_100257" x1="153.352" y1="188.936" x2="153.352" y2="246.439" gradientUnits="userSpaceOnUse">
+<stop stop-color="#346458"/>
+<stop offset="1" stop-color="#07B07E" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint2_linear_946_100257" x1="225.537" y1="188.936" x2="225.537" y2="246.439" gradientUnits="userSpaceOnUse">
+<stop stop-color="#346458"/>
+<stop offset="1" stop-color="#07B07E" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint3_linear_946_100257" x1="294.773" y1="188.936" x2="294.773" y2="246.439" gradientUnits="userSpaceOnUse">
+<stop stop-color="#346458"/>
+<stop offset="1" stop-color="#07B07E" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint4_linear_946_100257" x1="365.031" y1="188.936" x2="365.031" y2="246.439" gradientUnits="userSpaceOnUse">
+<stop stop-color="#346458"/>
+<stop offset="1" stop-color="#07B07E" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint5_linear_946_100257" x1="111.335" y1="164.4" x2="118.667" y2="274.002" gradientUnits="userSpaceOnUse">
+<stop stop-color="#133030" stop-opacity="0"/>
+<stop offset="0.473958" stop-color="#577F82" stop-opacity="0.17"/>
+<stop offset="1" stop-color="#131313" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint6_linear_946_100257" x1="83.8958" y1="164.4" x2="83.8958" y2="282.543" gradientUnits="userSpaceOnUse">
+<stop offset="0.078125" stop-color="#121212" stop-opacity="0"/>
+<stop offset="0.489583" stop-color="#375965"/>
+<stop offset="0.859375" stop-color="#121212" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint7_linear_946_100257" x1="181.639" y1="164.4" x2="188.972" y2="274.002" gradientUnits="userSpaceOnUse">
+<stop stop-color="#133030" stop-opacity="0"/>
+<stop offset="0.473958" stop-color="#577F82" stop-opacity="0.17"/>
+<stop offset="1" stop-color="#131313" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint8_linear_946_100257" x1="154.2" y1="164.4" x2="154.2" y2="282.543" gradientUnits="userSpaceOnUse">
+<stop offset="0.078125" stop-color="#121212" stop-opacity="0"/>
+<stop offset="0.489583" stop-color="#375965"/>
+<stop offset="0.859375" stop-color="#121212" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint9_linear_946_100257" x1="251.948" y1="164.4" x2="259.28" y2="274.002" gradientUnits="userSpaceOnUse">
+<stop stop-color="#133030" stop-opacity="0"/>
+<stop offset="0.473958" stop-color="#577F82" stop-opacity="0.17"/>
+<stop offset="1" stop-color="#131313" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint10_linear_946_100257" x1="224.509" y1="164.4" x2="224.509" y2="282.543" gradientUnits="userSpaceOnUse">
+<stop offset="0.078125" stop-color="#121212" stop-opacity="0"/>
+<stop offset="0.489583" stop-color="#375965"/>
+<stop offset="0.859375" stop-color="#121212" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint11_linear_946_100257" x1="322.245" y1="164.4" x2="329.577" y2="274.002" gradientUnits="userSpaceOnUse">
+<stop stop-color="#133030" stop-opacity="0"/>
+<stop offset="0.473958" stop-color="#577F82" stop-opacity="0.17"/>
+<stop offset="1" stop-color="#131313" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint12_linear_946_100257" x1="294.806" y1="164.4" x2="294.806" y2="282.543" gradientUnits="userSpaceOnUse">
+<stop offset="0.078125" stop-color="#121212" stop-opacity="0"/>
+<stop offset="0.489583" stop-color="#375965"/>
+<stop offset="0.859375" stop-color="#121212" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint13_linear_946_100257" x1="392.545" y1="164.4" x2="399.878" y2="274.002" gradientUnits="userSpaceOnUse">
+<stop stop-color="#133030" stop-opacity="0"/>
+<stop offset="0.473958" stop-color="#577F82" stop-opacity="0.17"/>
+<stop offset="1" stop-color="#131313" stop-opacity="0"/>
+</linearGradient>
+<linearGradient id="paint14_linear_946_100257" x1="365.107" y1="164.4" x2="365.107" y2="282.543" gradientUnits="userSpaceOnUse">
+<stop offset="0.078125" stop-color="#121212" stop-opacity="0"/>
+<stop offset="0.489583" stop-color="#375965"/>
+<stop offset="0.859375" stop-color="#121212" stop-opacity="0"/>
+</linearGradient>
+<radialGradient id="paint15_radial_946_100257" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(231.616 219.659) rotate(90) scale(437.142 680.656)">
+<stop stop-color="#121212" stop-opacity="0"/>
+<stop offset="1" stop-color="#121212"/>
+</radialGradient>
+</defs>
+</svg>
diff --git a/apps/www/public/images/launchweek/image-processing-bg-light.png b/apps/www/public/images/launchweek/image-processing-bg-light.png
new file mode 100644
index 00000000000..72eed0b732a
Binary files /dev/null and b/apps/www/public/images/launchweek/image-processing-bg-light.png differ
diff --git a/apps/www/public/images/launchweek/image-processing-bg.png b/apps/www/public/images/launchweek/image-processing-bg.png
new file mode 100644
index 00000000000..ae3334d8502
Binary files /dev/null and b/apps/www/public/images/launchweek/image-processing-bg.png differ
diff --git a/apps/www/public/images/launchweek/link.svg b/apps/www/public/images/launchweek/link.svg
new file mode 100644
index 00000000000..940f584166d
--- /dev/null
+++ b/apps/www/public/images/launchweek/link.svg
@@ -0,0 +1,4 @@
+<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M7.05859 17.333L17.6065 6.78516" stroke="#4F4F4F" stroke-width="0.963216" stroke-linecap="round"/>
+<path d="M7.05859 6.78516H17.6064V17.333" stroke="#4F4F4F" stroke-width="0.963216" stroke-linecap="round"/>
+</svg>
diff --git a/apps/www/public/images/launchweek/mfa-bg-light.png b/apps/www/public/images/launchweek/mfa-bg-light.png
new file mode 100644
index 00000000000..6ee535ba251
Binary files /dev/null and b/apps/www/public/images/launchweek/mfa-bg-light.png differ
diff --git a/apps/www/public/images/launchweek/mfa-bg.png b/apps/www/public/images/launchweek/mfa-bg.png
new file mode 100644
index 00000000000..7ab2738a2e5
Binary files /dev/null and b/apps/www/public/images/launchweek/mfa-bg.png differ
diff --git a/apps/www/public/images/launchweek/pitr-bg-light.png b/apps/www/public/images/launchweek/pitr-bg-light.png
new file mode 100644
index 00000000000..5960c9314bd
Binary files /dev/null and b/apps/www/public/images/launchweek/pitr-bg-light.png differ
diff --git a/apps/www/public/images/launchweek/pitr-bg.png b/apps/www/public/images/launchweek/pitr-bg.png
new file mode 100644
index 00000000000..efc950051d4
Binary files /dev/null and b/apps/www/public/images/launchweek/pitr-bg.png differ
diff --git a/apps/www/public/images/launchweek/vault-bg-light.png b/apps/www/public/images/launchweek/vault-bg-light.png
new file mode 100644
index 00000000000..50ae3c9462f
Binary files /dev/null and b/apps/www/public/images/launchweek/vault-bg-light.png differ
diff --git a/apps/www/public/images/launchweek/vault-bg.png b/apps/www/public/images/launchweek/vault-bg.png
new file mode 100644
index 00000000000..2b927dcbab8
Binary files /dev/null and b/apps/www/public/images/launchweek/vault-bg.png differ
diff --git a/apps/www/public/images/launchweek/video-icon.svg b/apps/www/public/images/launchweek/video-icon.svg
new file mode 100644
index 00000000000..e2a3438dfae
--- /dev/null
+++ b/apps/www/public/images/launchweek/video-icon.svg
@@ -0,0 +1,3 @@
+<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M13.8906 7.99927L9.20953 10.7019L4.52844 13.4045L4.52844 7.99927L4.52844 2.59401L9.20953 5.29664L13.8906 7.99927Z" stroke="#4CC38A" stroke-miterlimit="10" stroke-linejoin="bevel"/>
+</svg>
diff --git a/apps/www/public/images/launchweek/wrappers-bg-light.png b/apps/www/public/images/launchweek/wrappers-bg-light.png
new file mode 100644
index 00000000000..e70745d217c
Binary files /dev/null and b/apps/www/public/images/launchweek/wrappers-bg-light.png differ
diff --git a/apps/www/public/images/launchweek/wrappers-bg.png b/apps/www/public/images/launchweek/wrappers-bg.png
new file mode 100644
index 00000000000..cef57946f8b
Binary files /dev/null and b/apps/www/public/images/launchweek/wrappers-bg.png differ
diff --git a/apps/www/public/images/launchweek/wrappers-bg.svg b/apps/www/public/images/launchweek/wrappers-bg.svg
new file mode 100644
index 00000000000..8698edaf7d2
--- /dev/null
+++ b/apps/www/public/images/launchweek/wrappers-bg.svg
@@ -0,0 +1,63 @@
+<svg width="434" height="315" viewBox="0 0 434 315" fill="none" xmlns="http://www.w3.org/2000/svg" transform="scale(-1,1)">
+<mask id="mask0_660_34120" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="34" y="150" width="141" height="126">
+<ellipse cx="104.25" cy="212.822" rx="59.54" ry="72.9115" transform="rotate(-61.8798 104.25 212.822)" fill="#D9D9D9"/>
+</mask>
+<g mask="url(#mask0_660_34120)">
+<ellipse cx="91.9153" cy="222.503" rx="52.2627" ry="62.4336" transform="rotate(-61.8798 91.9153 222.503)" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<path d="M21.6808 231.928C38.8704 253.899 60.2957 267.589 87.3289 277.842C124.323 281.847 160.487 257.356 150.45 217.864C141.681 183.353 116.187 168.152 77.8932 168.082C39.9327 171.553 25.6479 200.418 32.666 235.327L21.6808 231.928Z" fill="url(#paint0_linear_660_34120)" fill-opacity="0.7"/>
+<ellipse cx="81.4928" cy="234.524" rx="42.7327" ry="52.3296" transform="rotate(-61.8798 81.4928 234.524)" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<ellipse cx="72.8304" cy="243.403" rx="30.8186" ry="41.1949" transform="rotate(-61.8798 72.8304 243.403)" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<ellipse cx="64.5837" cy="254.426" rx="20.3274" ry="29.7799" transform="rotate(-61.8798 64.5837 254.426)" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+</g>
+<ellipse cx="110.501" cy="203.914" rx="70.3434" ry="86.3827" transform="rotate(-61.8798 110.501 203.914)" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<ellipse cx="104.25" cy="212.822" rx="59.54" ry="72.9115" transform="rotate(-61.8798 104.25 212.822)" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<ellipse cx="114.397" cy="193.837" rx="81.0647" ry="99.2702" transform="rotate(-61.8798 114.397 193.837)" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<ellipse cx="122.751" cy="184.278" rx="93.4342" ry="114.392" transform="rotate(-61.8798 122.751 184.278)" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<ellipse cx="130.95" cy="172.177" rx="107.969" ry="131.311" transform="rotate(-61.8798 130.95 172.177)" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<ellipse cx="136.996" cy="162.661" rx="122.268" ry="151.988" transform="rotate(-61.8798 136.996 162.661)" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<ellipse cx="140.488" cy="156.129" rx="133.57" ry="163.629" transform="rotate(-61.8798 140.488 156.129)" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<ellipse cx="143.399" cy="148.888" rx="146.147" ry="177.743" transform="rotate(-61.8798 143.399 148.888)" stroke="#577F82" stroke-linecap="round" stroke-dasharray="0.2 2"/>
+<ellipse cx="143.398" cy="148.889" rx="157.084" ry="191.045" transform="rotate(-61.8798 143.398 148.889)" stroke="#577F82" stroke-linecap="round" stroke-dasharray="0.2 2"/>
+<ellipse cx="144.068" cy="146.636" rx="171.225" ry="208.244" transform="rotate(-61.8798 144.068 146.636)" stroke="#577F82" stroke-linecap="round" stroke-dasharray="0.2 2"/>
+<ellipse cx="144.064" cy="146.636" rx="181.765" ry="221.062" transform="rotate(-61.8798 144.064 146.636)" stroke="#577F82" stroke-linecap="round" stroke-dasharray="0.2 2"/>
+<mask id="mask1_660_34120" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="-70" y="-59" width="433" height="405">
+<path d="M242.575 -16.8122C308.202 18.2551 499.682 265.335 193.697 345.533C187.474 296.498 141.078 274.246 120.307 275.46C106.058 276.292 90.6408 273.057 76.1901 265.335C54.8846 253.949 40.5208 235.395 35.7836 216.11C32.6242 203.249 14.1795 151.358 -69.7906 148.741C-69.7913 -143.039 176.94 -51.8711 242.575 -16.8122Z" fill="#ADEFF3"/>
+</mask>
+<g mask="url(#mask1_660_34120)">
+<path d="M309.472 314.256C284.499 294.503 225.875 261.371 158.429 263.668C141.405 264.248 99.7938 272.304 91.9531 273.021" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<path d="M38.7633 226.199C36.9867 204.538 21.7315 172.228 -13.668 158.73" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<path d="M39.3945 228.794C43.8784 187.088 22.4282 96.8672 -21.7031 74.2246" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<path d="M40.9688 233.941C51.5598 201.98 65.1169 113.217 34.6172 13.8633" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<path d="M46.8086 246.415C56.4017 226.829 81.1974 170.011 95.3052 116.162C109.413 62.3136 117.671 2.97391 120.036 -19.9648" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<path d="M65.3477 260.716C102.51 224.747 190.768 142.185 232.235 110.89C273.703 79.5952 341.445 33.5215 370.133 14.3965" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<path d="M74.6562 267.118C89.3248 256.468 141.15 224.141 208.436 190.759C275.722 157.378 353.395 140.991 383.821 136.971" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<path d="M85.2188 272.189C109.341 258.389 181.119 228.838 254.403 228.576C327.688 228.315 380.564 240.855 397.842 247.157" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<path d="M196.088 343.238C191.762 318.121 169.135 266.373 96.6133 274.933" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<path d="M241.887 -25.6777C202.442 37.1306 89.276 207.05 55.3711 253.732" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+</g>
+<mask id="mask2_660_34120" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="-48" y="178" width="265" height="188">
+<path d="M-0.398959 326.065C155.262 414.688 258.382 331.466 198.973 293.479C171.664 282.165 146.453 271.059 129.63 274.299C112.973 277.508 93.8578 274.774 76.1884 265.332C40.6737 246.352 24.4473 207.456 39.9459 178.455C-102.374 170.119 -35.9137 307.086 -0.398959 326.065Z" fill="#ADEFF3"/>
+</mask>
+<g mask="url(#mask2_660_34120)">
+<path d="M66.7344 339.892C75.2448 327.613 92.1234 293.146 88.2624 267.172" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+<path d="M-14.0547 240.386C-7.99594 236.844 8.25974 229.285 24.8125 227.384C41.3653 225.483 53.6124 233.396 57.6668 237.59" stroke="#577F82" stroke-width="0.5" stroke-linecap="round"/>
+</g>
+<g filter="url(#filter0_f_660_34120)">
+<path d="M20.0955 224.648C41.9148 252.536 72.505 274.928 106.819 287.943C153.776 293.027 205.892 256.253 193.152 206.125C182.022 162.319 137.617 125.82 89.0098 125.731C40.4022 125.645 11.1834 180.337 20.0917 224.648H20.0955Z" fill="url(#paint1_linear_660_34120)" fill-opacity="0.6"/>
+</g>
+<defs>
+<filter id="filter0_f_660_34120" x="-116.377" y="-9.14636" width="446.355" height="432.435" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feGaussianBlur stdDeviation="67.4384" result="effect1_foregroundBlur_660_34120"/>
+</filter>
+<linearGradient id="paint0_linear_660_34120" x1="100.839" y1="198.228" x2="29.4546" y2="274.265" gradientUnits="userSpaceOnUse">
+<stop stop-color="#397D79" stop-opacity="0"/>
+<stop offset="1" stop-color="#00DEA9" stop-opacity="0.91"/>
+</linearGradient>
+<linearGradient id="paint1_linear_660_34120" x1="148.98" y1="54.9662" x2="17.0834" y2="274.049" gradientUnits="userSpaceOnUse">
+<stop stop-color="#39617D" stop-opacity="0.32"/>
+<stop offset="1" stop-color="#00DEC3"/>
+</linearGradient>
+</defs>
+</svg>
diff --git a/packages/ui/src/components/Accordion/Accordion.tsx b/packages/ui/src/components/Accordion/Accordion.tsx
index 3b40089684a..4a802c44ed6 100644
--- a/packages/ui/src/components/Accordion/Accordion.tsx
+++ b/packages/ui/src/components/Accordion/Accordion.tsx
@@ -113,11 +113,12 @@ interface ItemProps {
header: React.ReactNode
id: string
icon?: React.ReactNode
+ disabled?: boolean
}
-export function Item({ children, className, header, id, icon }: ItemProps) {
+export function Item({ children, className, header, id, icon, disabled }: ItemProps) {
const __styles = styleHandler('accordion')
- // const [open, setOpen] = useState(false)
+ const [open, setOpen] = useState(false)
const {
type,
@@ -134,12 +135,24 @@ export function Item({ children, className, header, id, icon }: ItemProps) {
let chevronClasses = [__styles.chevron.base, __styles.chevron.align[chevronAlign]]
// console.log('currentItems', currentItems)
+ if (open && !disabled) {
+ chevronClasses.unshift('!rotate-180')
+ }
return (
- <RadixAccordion.Item value={id} className={__styles.variants[type].container}>
+ <RadixAccordion.Item
+ value={id}
+ className={__styles.variants[type].container}
+ disabled={disabled}
+ onClick={() => {
+ setOpen(!open)
+ }}
+ >
<RadixAccordion.Trigger className={triggerClasses.join(' ')}>
{header}
- <IconChevronDown aria-hidden className={chevronClasses.join(' ')} strokeWidth={2} />
+ {!disabled && (
+ <IconChevronDown aria-hidden className={chevronClasses.join(' ')} strokeWidth={2} />
+ )}
</RadixAccordion.Trigger>
<RadixAccordion.Content className={__styles.variants[type].content}>
<div className={__styles.variants[type].panel}>{children}</div>