Skip to content

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

chore: prepare lw7 pre release

Francesco Sansalvadorebd6dea485bff
diff --git a/apps/www/components/LaunchWeek/Releases/LW7/index.tsx b/apps/www/components/LaunchWeek/Releases/LW7/index.tsx
index e47faa89c0a..07b5902de55 100644
--- a/apps/www/components/LaunchWeek/Releases/LW7/index.tsx
+++ b/apps/www/components/LaunchWeek/Releases/LW7/index.tsx
@@ -6,46 +6,73 @@ import SectionContainer from '~/components/Layouts/SectionContainer'
import { createClient, SupabaseClient } from '@supabase/supabase-js'
import { useEffect, useState } from 'react'
-import { useTheme } from 'ui'
-import classNames from 'classnames'
-import { Accordion, Badge, IconExternalLink } from 'ui'
-import { WeekDayProps } from './types6'
+import { Accordion, Badge } from 'ui'
import styleUtils from './styles/utils7.module.css'
import styles from './styles/launchWeek7.module.css'
import Link from 'next/link'
+interface WeekDayProps {
+ title: string
+ shipped: boolean
+ date: string
+ publishedAt: string
+ description: string
+ d: number
+ dd: string
+ youtube_id: string
+ blogpost: string
+ docs: string
+ steps: {
+ title: string
+ blog: string
+ isNew: boolean
+ description: string
+ }[]
+}
+
const days = _days as WeekDayProps[]
-const constellation = [
- [60, 8],
- [13, 20],
- [42, 24],
- [68, 27],
- [23, 42],
- [52, 52],
- [0, 55],
- [33, 65],
- [66, 70],
- [55, 82],
-]
-const CopySvg = () => (
- <svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
+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="#6453C5"
+ stroke="#A69DC9"
+ strokeMiterlimit="10"
+ strokeLinejoin="bevel"
+ />
+ </svg>
+)
+const DocsSvg = () => (
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
- d="M3.71792 10.8251L12.3015 2.24146L14.5953 4.53521L6.01167 13.1188M3.71792 10.8251L2.84219 13.9945L6.01167 13.1188M3.71792 10.8251L6.01167 13.1188"
+ 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="#6453C5"
stroke="#A69DC9"
- stroke-miterlimit="10"
+ strokeMiterlimit="10"
stroke-linejoin="bevel"
/>
</svg>
)
+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="#6453C5"
+ stroke="#A69DC9"
+ strokeMiterlimit="10"
+ strokeLinejoin="bevel"
+ />
+ </svg>
+)
-const SmallCard = ({ className, children }) => (
- <div className="relative p-[1px] bg-gradient-to-b from-[#484848] to-[#1C1C1C] rounded-2xl overflow-hidden">
+const SmallCard = ({ className, children, bgGradient = false }) => (
+ <div className="relative p-[1px] bg-gradient-to-b from-[#48484880] to-[#1C1C1C60] rounded-2xl overflow-hidden shadow-lg">
<div
className={[
- 'rounded-2xl text-sm px-6 py-4 flex flex-col sm:flex-row justify-between items-center',
- styles['lw7-article-card-gradient'],
+ 'rounded-2xl text-sm px-6 py-4 flex flex-col sm:flex-row justify-between items-center backdrop-blur-md',
+ bgGradient ? styles['lw7-article-card-gradient'] : 'bg-[#1c1c1c99]',
className,
].join(' ')}
>
@@ -54,14 +81,24 @@ const SmallCard = ({ className, children }) => (
</div>
)
-export default function LW7Releases() {
- const { isDarkMode } = useTheme()
+const StyledArticleBadge = ({ className, children }) => (
+ <div
+ className={[
+ 'relative bg-gradient-to-br p-[1.5px] from-[#F4FFFA90] to-[#7E7AAD] overflow-hidden rounded-full',
+ className,
+ ].join(' ')}
+ >
+ <div className="!bg-[#1C1C1C] rounded-full !py-1 !px-4 w-full inset-[1px] text-sm border-none dark:from-white dark:to-[#6453C5] dark:border-none backdrop-blur-md">
+ <span className="text-sm text-transparent bg-clip-text bg-gradient-to-r from-[#F4FFFA] to-[#7E7AAD]">
+ {children}
+ </span>
+ </div>
+ </div>
+)
+export default function LW7Releases() {
const [supabase, setSupabase] = useState<SupabaseClient | null>(null)
- const [creators, setCreators] = useState<any>([])
- const [activeCreator, setActiveCreator] = useState<any>(null)
-
useEffect(() => {
if (!supabase) {
setSupabase(
@@ -74,53 +111,32 @@ export default function LW7Releases() {
}, [])
useEffect(() => {
- if (supabase) {
- getCreators()
- }
- }, [supabase])
-
- useEffect(() => {
- document.body.className = isDarkMode ? 'dark bg-[#121212]' : 'light bg-[#fff]'
- }, [isDarkMode])
-
- async function getCreators() {
- try {
- // setLoading(true)
- let supa = await supabase.from('lw6_creators').select()
-
- let { data, error, status } = supa
-
- if (error && status !== 406) {
- throw error
- }
-
- if (data) {
- setCreators(data)
- }
- } catch (error) {
- // alert('Error loading user data!')
- console.log(error)
- } finally {
- // setLoading(false)
- }
- }
+ document.body.className = 'dark bg-[#1C1C1C]'
+ }, [])
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-[380px] items-center">
+ <div className="flex gap-4 w-full sm:w-auto sm:min-w-[240px] md:min-w-[380px] items-center">
<Badge
- className={`!bg-transparent !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#2A1E6C] to-[#12121200] !border-[#6044FF20] dark:from-white dark:to-[#DFFFF1] dark:!border-[#DFFFF1] h-fit relative ${
+ className={`relative inset-0 !bg-transparent !py-1 !px-4 h-fit backdrop-blur-md ${
shipped
- ? 'after:absolute after:rounded-full text-black after:bg-white after:w-full after:h-full after:inset-0 after:bg-gradient-to-br after:from-[#FFFFFF11] after:to-[#32247E35] dark:text-transparent dark:!border-[#163837] after:dark:from-[#14292c] after:dark:to-[#141516] after:border-[#c8d8d9] after:dark:border-[#1f3536] after:-z-10 border-[#DFFFF1]'
- : ''
+ ? 'bg-gradient-to-br from-[#2A1E6C] to-[#2A1E6C00] dark:from-[#2A1E6C] dark:to-[#2A1E6C00] !border-[#6044FF40] dark:!border-[#6044FF40]'
+ : '!border-[#FFFFFF20] dark:!border-[#FFFFFF20]'
}`}
>
- {shipped ? 'Shipped' : 'Coming Soon'}
+ <span className="text-transparent text-sm font-normal bg-clip-text bg-gradient-to-r from-[#F4FFFA] to-[#675FA7]">
+ {shipped ? 'Shipped' : 'Coming Soon'}
+ </span>
</Badge>
<span className="text-scale-900 text-sm">
- {day} ・ {date}
+ <span className="inline sm:hidden md:inline">{day} </span>
+ {date && (
+ <span>
+ <span className="inline sm:hidden md:inline">・</span> {date}
+ </span>
+ )}
</span>
</div>
<span className="text-scale-1200 text-lg mt-3 sm:mt-0">{title}</span>
@@ -135,7 +151,7 @@ export default function LW7Releases() {
<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">
Blog post
<div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2">
- <img src="/images/launchweek/icons-blogpost.svg" className="w-4 h-4"></img>
+ <PencilSvg />
</div>
</div>
</a>
@@ -144,7 +160,7 @@ export default function LW7Releases() {
<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">
Docs
<div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2">
- <img src="/images/launchweek/icons-docs.svg" className="w-4 h-4"></img>
+ <DocsSvg />
</div>
</div>
</a>
@@ -154,7 +170,7 @@ export default function LW7Releases() {
<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">
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-4 h-4"></img>
+ <PlaySvg />
</div>
</div>
</a>
@@ -164,11 +180,23 @@ export default function LW7Releases() {
}
const [preRelease, day1, day2, day3, day4, day5] = days
+ const publishedSections =
+ days
+ .filter((day) => Date.parse(day.publishedAt) <= Date.now())
+ .map((day) => day.d.toString()) ?? []
+
+ const prereleaseShipped = Date.parse(preRelease.publishedAt) <= Date.now()
+ const day1Shipped = Date.parse(day1.publishedAt) <= Date.now()
+ const day2Shipped = Date.parse(day2.publishedAt) <= Date.now()
+ const day3Shipped = Date.parse(day3.publishedAt) <= Date.now()
+ const day4Shipped = Date.parse(day4.publishedAt) <= Date.now()
+ const day5Shipped = Date.parse(day5.publishedAt) <= Date.now()
+
return (
<>
<SectionContainer className="!py-0 ">
<div className="grid grid-cols-1 xl:grid-cols-2 gap-4">
- <SmallCard>
+ <SmallCard bgGradient>
<div className="relative flex items-center mb-4 sm:mb-0">
<div className="flex min-w-[20px]">
<svg
@@ -198,14 +226,14 @@ export default function LW7Releases() {
<div className="flex items-center border border-slate-400 bg-gradient-to-r from-[#34323210] to-[#FFFFFF10] 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">
Blog post
<div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2">
- <CopySvg />
+ <PencilSvg />
</div>
</div>
</a>
</Link>
</div>
</SmallCard>
- <SmallCard>
+ <SmallCard bgGradient>
<div className="relative flex items-center mb-4 sm:mb-0">
{/* <div className="flex min-w-[20px]">
<svg
@@ -224,18 +252,16 @@ export default function LW7Releases() {
</svg>
</div> */}
<div className="flex flex-col lg:flex-row">
- <span className="text-black dark:text-white mr-2">
- SupaSpray/April fools something
- </span>
+ <span className="text-black dark:text-white mr-2">SupaClub</span>
</div>
</div>
<div className="flex gap-2 z-10">
- <Link href={'/blog/who-we-hire'} target="_blank" rel="noopener">
+ <Link href={'/blog/supaclub'} target="_blank" rel="noopener">
<a>
<div className="flex items-center border border-slate-400 bg-gradient-to-r from-[#34323210] to-[#FFFFFF10] 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">
Blog post
<div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2">
- <CopySvg />
+ <PencilSvg />
</div>
</div>
</a>
@@ -253,14 +279,7 @@ export default function LW7Releases() {
justified={false}
bordered={false}
chevronAlign="right"
- defaultValue={[
- preRelease.d.toString(),
- day1.d.toString(),
- day2.d.toString(),
- day3.d.toString(),
- day4.d?.toString(),
- day5.d?.toString(),
- ]}
+ defaultValue={publishedSections}
>
<div className="border-b pb-3">
<Accordion.Item
@@ -269,36 +288,55 @@ export default function LW7Releases() {
date={preRelease.date}
day={preRelease.dd}
title={preRelease.title}
- shipped={preRelease.shipped}
+ shipped={prereleaseShipped}
/>
}
- disabled={!preRelease.shipped}
+ disabled={!prereleaseShipped}
className="h-[79px]"
id={preRelease.d.toString()}
>
{preRelease.steps.length > 0 && (
- <div className="h-[400px] flex flex-col lg:flex-row group/preRelease relative overflow-hidden">
- <div
- className="absolute group-hover/preRelease:scale-105 opacity-60 group-hover/preRelease:opacity-100 w-full h-full -z-10 transition-all duration-500"
- style={{
- background: `radial-gradient(650px 150px at 50% 100%, ${
- isDarkMode ? '#310C60' : '#b8e8e7'
- }, transparent)`,
- }}
- ></div>
+ <div className="h-[800px] lg:h-[400px] flex flex-col gap-5 lg:flex-row">
<div
- className={`flex flex-col flex-1 items-center gap-5 lg:items-start lg:justify-between border rounded-xl h-full relative overflow-hidden after:opacity- after:absolute after:bg-no-repeat after:bg-[center_bottom] lg:after:bg-[right_15%_top_100px] xl:after:bg-[right_15%_top_60px] after:bg-[length:300px_180px] after:lg:bg-[length:450px_300px] after:xl:bg-[length:528px_367px] after:dark:bg-[url('/images/launchweek/docs-update-bg.png')] after:bg-[url('/images/launchweek/docs-update-bg-light.png')] after:top-0 after:right-0 after:bottom-0 after:left-0 p-14 text-2xl before:absolute before:w-full before:h-full before:top-52 before:right-0 before:bottom-0 before:left-0 before:border-[#1f3536] before:-z-10 !px-3 sm:!px-14`}
+ className={`relative overflow-hidden group/2 flex-1 flex flex-col items-center gap-5 lg:items-start justify-between basis-1/2 lg:basis-2/3 border rounded-xl h-full p-14 xs:text-2xl text-xl text-center bg-no-repeat bg-[url('/images/launchweek/seven/day0/ai_images.png')] xs:bg-[url('/images/launchweek/seven/day0/ai_images.png')] dark:bg-[url('/images/launchweek/seven/day0/ai_images.png')] xs:dark:bg-[url('/images/launchweek/seven/day0/ai_images.png')] bg-[right_0px_top_0px] lg:bg-[top_0px_bottom_0px_right_0px] bg-cover`}
>
- <div className="flex items-center relative z-10 justify-between flex-col-reverse lg:flex-row lg:justify-start gap-2 text-black dark:text-white">
- <span>{preRelease.description}</span>
- <Badge className="!bg-transparent h-fit lg:ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#4d898c] dark:from-white dark:to-[#DFFFF1] dark:border-[#DFFFF1]">
- Guide
- </Badge>
+ <div
+ className="top-0 absolute group-hover/2:scale-105 opacity-60 group-hover/2:opacity-100 w-full h-full -z-10 transition-all duration-500"
+ style={{
+ background: `radial-gradient(90% 130px at 80% 0px, #4635A7, transparent)`,
+ }}
+ ></div>
+ <div className="flex items-center lg: justify-between flex-col-reverse lg:flex-row lg:justify-start gap-2 text-black dark:text-white">
+ <div>{preRelease.steps[0].title}</div>
+ <StyledArticleBadge className="lg:ml-4">Guide</StyledArticleBadge>
</div>
<SectionButtons
- // docs={preRelease.steps[0].docs}
+ docs={preRelease.steps[0].docs}
blog={preRelease.steps[0].blog}
- // video={'https://www.youtube.com/watch?v=Q1Amk6iDlF8&ab_channel=Supabase'}
+ />
+ </div>
+ <div
+ className={`
+ relative overflow-hidden group/3 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-contain
+ `}
+ >
+ <div
+ className="top-0 absolute group-hover/3:scale-105 opacity-60 group-hover/3:opacity-100 w-full h-full -z-10 transition-all duration-500"
+ style={{
+ background: `radial-gradient(90% 40% at 50% -10%, #4635A7, transparent)`,
+ }}
+ ></div>
+ <div className="flex flex-col items-center gap-2 min-w-[300px]">
+ <StyledArticleBadge>New</StyledArticleBadge>
+ <span className="text-black dark:text-white">
+ {preRelease.steps[1].title}
+ </span>
+ <p className="text-sm text-slate-900">{preRelease.steps[1].description}</p>
+ </div>
+ <SectionButtons
+ docs={preRelease.steps[1].docs}
+ blog={preRelease.steps[1].blog}
/>
</div>
</div>
@@ -312,10 +350,10 @@ export default function LW7Releases() {
date={day1.date}
day={day1.dd}
title={day1.title}
- shipped={day1.shipped}
+ shipped={day1Shipped}
/>
}
- disabled={!day1.shipped}
+ disabled={!day1Shipped}
className="h-[79px]"
id={day1.d.toString()}
>
@@ -324,9 +362,7 @@ export default function LW7Releases() {
<div
className="absolute group-hover/day1:scale-105 opacity-60 group-hover/day1:opacity-100 w-full h-full -z-10 transition-all duration-500"
style={{
- background: `radial-gradient(650px 150px at 50% 100%, ${
- isDarkMode ? '#310C60' : '#b8e8e7'
- }, transparent)`,
+ background: `radial-gradient(650px 150px at 50% 100%, #4635A7, transparent)`,
}}
></div>
<div
@@ -334,9 +370,7 @@ export default function LW7Releases() {
>
<div className="flex items-center relative z-10 justify-between flex-col-reverse lg:flex-row lg:justify-start gap-2 text-black dark:text-white">
<span>{day1.description}</span>
- <Badge className="!bg-transparent h-fit lg:ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#4d898c] dark:from-white dark:to-[#DFFFF1] dark:border-[#DFFFF1]">
- Redesigned
- </Badge>
+ <StyledArticleBadge className="lg:ml-4">Redesigned</StyledArticleBadge>
</div>
<SectionButtons
docs={day1.steps[0].docs}
@@ -355,10 +389,10 @@ export default function LW7Releases() {
date={day2.date}
day={day2.dd}
title={day2.title}
- shipped={day2.shipped}
+ shipped={day2Shipped}
/>
}
- disabled={!day2.shipped}
+ disabled={!day2Shipped}
className="h-[79px]"
id={day2.d.toString()}
>
@@ -370,16 +404,12 @@ export default function LW7Releases() {
<div
className="top-0 absolute group-hover/2:scale-105 opacity-60 group-hover/2:opacity-100 w-full h-full -z-10 transition-all duration-500"
style={{
- background: `radial-gradient(90% 130px at 80% 0px, ${
- isDarkMode ? '#310C60' : '#b8e8e7'
- }, transparent)`,
+ background: `radial-gradient(90% 130px at 80% 0px, #4635A7, transparent)`,
}}
></div>
<div className="flex items-center lg: justify-between flex-col-reverse lg:flex-row lg:justify-start gap-2 text-black dark:text-white">
<div>{day2.steps[0].title}</div>
- <Badge className="!bg-transparent h-fit lg: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-[#DFFFF1]">
- New
- </Badge>
+ <StyledArticleBadge>New</StyledArticleBadge>
</div>
<SectionButtons docs={day2.steps[0].docs} blog={day2.steps[0].blog} />
</div>
@@ -389,15 +419,11 @@ export default function LW7Releases() {
<div
className="top-0 absolute group-hover/3:scale-105 opacity-60 group-hover/3:opacity-100 w-full h-full -z-10 transition-all duration-500"
style={{
- background: `radial-gradient(90% 130px at 50% 0px, ${
- isDarkMode ? '#310C60' : '#6100FF90'
- }, transparent)`,
+ background: `radial-gradient(90% 130px at 50% 0px, #4635A7, transparent)`,
}}
></div>
<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-[#DFFFF1]">
- New
- </Badge>
+ <StyledArticleBadge className="lg:ml-4">New</StyledArticleBadge>
<span className="text-black dark:text-white">{day2.steps[1].title}</span>
<p className="text-sm text-slate-900">{day2.steps[1].description}</p>
</div>
@@ -414,10 +440,10 @@ export default function LW7Releases() {
date={day3.date}
day={day3.dd}
title={day3.title}
- shipped={day3.shipped}
+ shipped={day3Shipped}
/>
}
- disabled={!day3.shipped}
+ disabled={!day3Shipped}
className="h-[79px]"
id={day3.d.toString()}
>
@@ -428,11 +454,7 @@ export default function LW7Releases() {
>
<div className="absolute top-0 right-0 w-full h-full -z-20 ">
<Image
- src={
- isDarkMode
- ? '/images/launchweek/mfa-dark.png'
- : '/images/launchweek/mfa-light.png'
- }
+ src={'/images/launchweek/mfa-dark.png'}
layout="fill"
objectFit="cover"
quality={100}
@@ -441,11 +463,7 @@ export default function LW7Releases() {
</div>
<div className="absolute top-0 right-0 w-full h-full -z-10 opacity-0 group-hover:opacity-100 duration-500 transition-all">
<Image
- src={
- isDarkMode
- ? '/images/launchweek/mfa-dark-hover.png'
- : '/images/launchweek/mfa-light-hover.png'
- }
+ src={'/images/launchweek/mfa-dark-hover.png'}
layout="fill"
objectFit="cover"
quality={100}
@@ -454,9 +472,7 @@ export default function LW7Releases() {
<div className="flex items-center justify-between flex-col-reverse lg:flex-row lg:justify-start text-black dark:text-white">
<span>{day3.steps[0].title}</span>
- <Badge className="!bg-transparent h-fit lg: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-[#DFFFF1]">
- Updated
- </Badge>
+ <StyledArticleBadge className="lg:ml-4">Updated</StyledArticleBadge>
</div>
<SectionButtons docs={day3.steps[0].docs} blog={day3.steps[0].blog} />
</div>
@@ -471,10 +487,10 @@ export default function LW7Releases() {
date={day4.date}
day={day4.dd}
title={day4.title}
- shipped={day4.shipped}
+ shipped={day4Shipped}
/>
}
- disabled={!day4.shipped}
+ disabled={!day4Shipped}
className="h-[79px]"
id={day4.d.toString()}
>
@@ -487,11 +503,7 @@ export default function LW7Releases() {
className={`absolute top-0 right-0 w-full h-full -z-20 ${styles.wrappers}`}
>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/wrappers-visual.svg'
- : '/images/launchweek/wrappers-visual-light.svg'
- }
+ src={'/images/launchweek/wrappers-visual.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -503,11 +515,7 @@ export default function LW7Releases() {
className={`absolute top-0 right-0 w-full h-full -z-10 opacity-0 group-hover/day4:opacity-100 duration-500 transition-all ${styles.wrappers}`}
>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/wrappers-visual-hover.svg'
- : '/images/launchweek/wrappers-visual-hover-light.svg'
- }
+ src={'/images/launchweek/wrappers-visual-hover.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -516,9 +524,7 @@ export default function LW7Releases() {
</div>
<div className="flex items-center flex-col-reverse lg:flex-row text-black dark:text-white">
<span>{day4.steps[0].title}</span>
- <Badge className="!bg-transparent h-fit lg:ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#4d898c] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#DFFFF1]">
- New
- </Badge>
+ <StyledArticleBadge className="lg:ml-4">New</StyledArticleBadge>
</div>
<SectionButtons
docs={day4.steps[0].docs}
@@ -537,10 +543,10 @@ export default function LW7Releases() {
date={day5.date}
day={day5.dd}
title={day5.title}
- shipped={day5.shipped}
+ shipped={day5Shipped}
/>
}
- disabled={!day5.shipped}
+ disabled={!day5Shipped}
className="h-[79px]"
id={day5.d.toString()}
>
@@ -554,11 +560,7 @@ export default function LW7Releases() {
className={`absolute top-0 right-0 w-full h-full -z-20 ${styles.wrappers}`}
>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/vault-visual.svg'
- : '/images/launchweek/vault-visual-light.svg'
- }
+ src={'/images/launchweek/vault-visual.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -570,11 +572,7 @@ export default function LW7Releases() {
className={`absolute top-0 right-0 w-full h-full -z-10 opacity-0 group-hover/day5step1:opacity-100 duration-500 transition-all ${styles.wrappers}`}
>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/vault-visual-hover.svg'
- : '/images/launchweek/vault-visual-hover-light.svg'
- }
+ src={'/images/launchweek/vault-visual-hover.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -583,9 +581,7 @@ export default function LW7Releases() {
</div>
<div className="flex items-center flex-col-reverse lg:flex-row">
<span className="text-black dark:text-white">{day5.steps[0].title}</span>
- <Badge className="!bg-transparent h-fit lg:ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#4d898c] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#DFFFF1]">
- New
- </Badge>
+ <StyledArticleBadge className="lg:ml-4">New</StyledArticleBadge>
</div>
<SectionButtons docs={day5.steps[0].docs} blog={day5.steps[0].blog} />
</div>
@@ -594,11 +590,7 @@ export default function LW7Releases() {
>
<div className={`absolute top-0 right-0 w-full h-full -z-20`}>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/TCE-visual.svg'
- : '/images/launchweek/TCE-visual-light.svg'
- }
+ src={'/images/launchweek/TCE-visual.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -610,11 +602,7 @@ export default function LW7Releases() {
className={`absolute top-0 right-0 w-full h-full -z-10 opacity-0 group-hover/day5step2:opacity-100 duration-500 transition-all`}
>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/TCE-visual-hover.svg'
- : '/images/launchweek/TCE-visual-hover-light.svg'
- }
+ src={'/images/launchweek/TCE-visual-hover.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -622,9 +610,7 @@ export default function LW7Releases() {
/>
</div>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
- <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-[#4d898c] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#DFFFF1]">
- New
- </Badge>
+ <StyledArticleBadge>New</StyledArticleBadge>
<span className="text-black dark:text-white text-center">
{day5.steps[1].title}
</span>
@@ -641,11 +627,7 @@ export default function LW7Releases() {
className={`absolute top-0 right-0 w-full h-full -z-20 ${styles.community_wrappers}`}
>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/community-visual.svg'
- : '/images/launchweek/community-visual-light.svg'
- }
+ src={'/images/launchweek/community-visual.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -657,11 +639,7 @@ export default function LW7Releases() {
className={`absolute top-0 right-0 w-full h-full -z-10 opacity-0 group-hover/community:opacity-100 duration-500 transition-all ${styles.community_wrappers}`}
>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/community-visual-hover.svg'
- : '/images/launchweek/community-visual-light-hover.svg'
- }
+ src={'/images/launchweek/community-visual-hover.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -681,10 +659,7 @@ export default function LW7Releases() {
<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">
Blog post
<div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2">
- <img
- src="/images/launchweek/icons-blogpost.svg"
- className="w-4 h-4"
- ></img>
+ <PencilSvg />
</div>
</div>
</a>
@@ -696,10 +671,7 @@ export default function LW7Releases() {
<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">
Flutterflow
<div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2">
- <img
- src="/images/launchweek/video-icon.svg"
- className="w-4 h-4"
- ></img>
+ <PlaySvg />
</div>
</div>
</a>
@@ -713,10 +685,7 @@ export default function LW7Releases() {
<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">
OneSignal
<div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2">
- <img
- src="/images/launchweek/video-icon.svg"
- className="w-4 h-4"
- ></img>
+ <PlaySvg />
</div>
</div>
</a>
@@ -728,10 +697,7 @@ export default function LW7Releases() {
<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">
NextAuth
<div className="bg-[#eeeeee] dark:bg-[#313131] rounded-full inline-block p-1 ml-2">
- <img
- src="/images/launchweek/video-icon.svg"
- className="w-4 h-4"
- ></img>
+ <PlaySvg />
</div>
</div>
</a>
@@ -746,11 +712,7 @@ export default function LW7Releases() {
>
<div className={`absolute top-0 right-0 w-full h-full -z-20`}>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/PgGraphql-visual.svg'
- : '/images/launchweek/PgGraphql-visual-light.svg'
- }
+ src={'/images/launchweek/PgGraphql-visual.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -762,11 +724,7 @@ export default function LW7Releases() {
className={`absolute top-0 right-0 w-full h-full -z-10 opacity-0 group-hover/day5step2:opacity-100 duration-500 transition-all`}
>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/PgGraphql-visual-hover.svg'
- : '/images/launchweek/PgGraphql-visual-hover-light.svg'
- }
+ src={'/images/launchweek/PgGraphql-visual-hover.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -774,9 +732,7 @@ export default function LW7Releases() {
/>
</div>
<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-[#4d898c] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#DFFFF1]">
- Updated
- </Badge>
+ <StyledArticleBadge>Updated</StyledArticleBadge>
<span className="text-black dark:text-white text-center">
pg_graphql v1.0
</span>
@@ -791,11 +747,7 @@ export default function LW7Releases() {
>
<div className={`absolute top-0 right-0 w-full h-full -z-20`}>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/custom-domains-visual.svg'
- : '/images/launchweek/custom-domains-visual-light.svg'
- }
+ src={'/images/launchweek/custom-domains-visual.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -807,11 +759,7 @@ export default function LW7Releases() {
className={`absolute top-0 right-0 w-full h-full -z-10 opacity-0 group-hover/day5step2:opacity-100 duration-500 transition-all`}
>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/custom-domains-visual-hover.svg'
- : '/images/launchweek/custom-domains-visual-hover-light.svg'
- }
+ src={'/images/launchweek/custom-domains-visual-hover.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -819,9 +767,7 @@ export default function LW7Releases() {
/>
</div>
<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-[#4d898c] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#DFFFF1]">
- New
- </Badge>
+ <StyledArticleBadge>New</StyledArticleBadge>
<span className="text-black dark:text-white text-center">
Custom Domains
</span>
@@ -836,11 +782,7 @@ export default function LW7Releases() {
>
<div className={`absolute top-0 right-0 w-full h-full -z-20`}>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/PITR-visual.svg'
- : '/images/launchweek/PITR-visual-light.svg'
- }
+ src={'/images/launchweek/PITR-visual.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -852,11 +794,7 @@ export default function LW7Releases() {
className={`absolute top-0 right-0 w-full h-full -z-10 opacity-0 group-hover/day5step2:opacity-100 duration-500 transition-all`}
>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/PITR-visual-hover.svg'
- : '/images/launchweek/PITR-visual-hover-light.svg'
- }
+ src={'/images/launchweek/PITR-visual-hover.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -864,9 +802,7 @@ export default function LW7Releases() {
/>
</div>
<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-[#4d898c] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#DFFFF1]">
- New
- </Badge>
+ <StyledArticleBadge>New</StyledArticleBadge>
<span className="text-black dark:text-white text-center">
Point-in-time recovery
</span>
@@ -881,11 +817,7 @@ export default function LW7Releases() {
>
<div className={`absolute top-0 right-0 w-full h-full -z-20`}>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/pg_crdt-visual.svg'
- : '/images/launchweek/pg_crdt-visual-light.svg'
- }
+ src={'/images/launchweek/pg_crdt-visual.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -897,11 +829,7 @@ export default function LW7Releases() {
className={`absolute top-0 right-0 w-full h-full -z-10 opacity-0 group-hover/day5step2:opacity-100 duration-500 transition-all`}
>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/pg_crdt-visual-hover.svg'
- : '/images/launchweek/pg_crdt-visual-hover-light.svg'
- }
+ src={'/images/launchweek/pg_crdt-visual-hover.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -909,9 +837,7 @@ export default function LW7Releases() {
/>
</div>
<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-[#4d898c] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#DFFFF1]">
- Experimental
- </Badge>
+ <StyledArticleBadge>Experimental</StyledArticleBadge>
<span className="text-black dark:text-white text-center">pg_crdt</span>
</div>
<SectionButtons
@@ -924,11 +850,7 @@ export default function LW7Releases() {
>
<div className={`absolute top-0 right-0 w-full h-full -z-20`}>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/postgres-visual.svg'
- : '/images/launchweek/postgres-visual-light.svg'
- }
+ src={'/images/launchweek/postgres-visual.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -940,11 +862,7 @@ export default function LW7Releases() {
className={`absolute top-0 right-0 w-full h-full -z-10 opacity-0 group-hover/day5step2:opacity-100 duration-500 transition-all`}
>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/postgres-visual-hover.svg'
- : '/images/launchweek/postgres-visual-hover-light.svg'
- }
+ src={'/images/launchweek/postgres-visual-hover.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -952,9 +870,7 @@ export default function LW7Releases() {
/>
</div>
<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-[#4d898c] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#DFFFF1]">
- Upgrade
- </Badge>
+ <StyledArticleBadge>Upgrade</StyledArticleBadge>
<span className="text-black dark:text-white text-center">Postgres 15</span>
</div>
<SectionButtons
@@ -967,11 +883,7 @@ export default function LW7Releases() {
>
<div className={`absolute top-0 right-0 w-full h-full -z-20`}>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/PostgREST11-visual.svg'
- : '/images/launchweek/PostgREST11-visual-light.svg'
- }
+ src={'/images/launchweek/PostgREST11-visual.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -983,11 +895,7 @@ export default function LW7Releases() {
className={`absolute top-0 right-0 w-full h-full -z-10 opacity-0 group-hover/day5step2:opacity-100 duration-500 transition-all`}
>
<Image
- src={
- isDarkMode
- ? '/images/launchweek/PostgREST11-visual-hover.svg'
- : '/images/launchweek/PostgREST11-visual-hover-light.svg'
- }
+ src={'/images/launchweek/PostgREST11-visual-hover.svg'}
layout="fill"
objectFit="cover"
quality={100}
@@ -995,9 +903,7 @@ export default function LW7Releases() {
/>
</div>
<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-[#4d898c] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#DFFFF1]">
- Upgrade
- </Badge>
+ <StyledArticleBadge>Upgrade</StyledArticleBadge>
<span className="text-black dark:text-white text-center">PostgREST 11</span>
</div>
<SectionButtons
@@ -1012,235 +918,6 @@ export default function LW7Releases() {
</div>
</Accordion>
</SectionContainer>
-
- <SectionContainer className="!py-20 sm:!pb-40 sm:!pt-10"></SectionContainer>
-
- <SectionContainer className="!pt-0 sm:!pb-20 !pb-40"></SectionContainer>
- <SectionContainer className="!pt-0 sm:!pb-20 !pb-40">
- <div className="flex flex-col mb-16">
- <Badge
- className={`w-fit !bg-transparent !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] dark:from-white dark:to-[#DFFFF1] h-fit relative mb-4 after:absolute after:rounded-full text-black after:bg-white after:w-full after:h-full after:top-0 after:right-0 after:bottom-0 after:left-0 after:bg-gradient-to-br after:from-[#dceef0] after:to-[#FFFFFF] dark:text-transparent dark:!border-[#163837] after:dark:from-[#14292c] after:dark:to-[#141516] after:border-[#c8d8d9] after:dark:border-[#1f3536] after:-z-10 border-[#DFFFF1]`}
- >
- Submissions Closed
- </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-[16px] 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-[16px] 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-[16px] 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-[16px] 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-[16px] 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 mt-24',
- styleUtils.appear,
- styleUtils['appear-third']
- )}
- >
- <div
- className={`flex-1 bg-[url('/images/launchweek/orbit.svg')] bg-auto bg-no-repeat bg-bottom relative min-h-[360px]`} //grid grid-cols-5 grid-rows-5
- >
- {creators.map((creator: any, index: number) => {
- return (
- <div
- className={`justify-self-center absolute overflow-visible`}
- onMouseEnter={() => {
- setActiveCreator(index)
- }}
- style={{
- top: `${constellation[index][0]}%`,
- left: `${constellation[index][1]}%`,
- }}
- >
- <div className="relative group">
- <div className="absolute -inset-0.5 bg-brand-1100 rounded-full opacity-75 group-hover:opacity-100 group-hover:blur-sm transition duration-500"></div>
- <a href={creator.link} target="_blank" rel="noopener">
- <img
- className="relative rounded-full w-12 h-12 border border-brand-900 hover:shadow-md"
- src={creator.profile_picture}
- />
- </a>
- </div>
- </div>
- )
- })}
- </div>
- <div className="flex-1">
- <Badge
- className={`!bg-transparent !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] !border-[#4d898c] dark:from-white dark:to-[#DFFFF1] dark:!border-[#DFFFF1] h-fit relative mb-4 ${
- true
- ? 'after:absolute after:rounded-full text-black after:bg-white after:w-full after:h-full after:top-0 after:right-0 after:bottom-0 after:left-0 after:bg-gradient-to-br after:from-[#dceef0] after:to-[#FFFFFF] dark:text-transparent dark:!border-[#163837] after:dark:from-[#14292c] after:dark:to-[#141516] after:border-[#c8d8d9] after:dark:border-[#1f3536] after:-z-10 border-[#DFFFF1]'
- : ''
- }`}
- >
- Shipped
- </Badge>
- <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 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 mt-2">
- See all the content
- <IconExternalLink size="small" className="inline-block ml-1" />
- </div>
- </a>
- </p>
- {activeCreator !== null && (
- <div className="lg:max-w-[50%] min-h-[120px]">
- <h3 className="dark:text-white">
- {activeCreator !== null
- ? `${creators[activeCreator].first_name} ${creators[activeCreator].last_name}`
- : 'Title'}
- </h3>
- {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}
- <IconExternalLink size="small" className="inline-block ml-2" />
- </span>
- </a>
- </p>
- </div>
- )}
- </div>
- </SectionContainer>
</>
)
}
diff --git a/apps/www/components/LaunchWeek/Releases/LW7/styles/launchWeek7.module.css b/apps/www/components/LaunchWeek/Releases/LW7/styles/launchWeek7.module.css
index f02e4bb4c06..7a1417601cd 100644
--- a/apps/www/components/LaunchWeek/Releases/LW7/styles/launchWeek7.module.css
+++ b/apps/www/components/LaunchWeek/Releases/LW7/styles/launchWeek7.module.css
@@ -25,5 +25,5 @@
}
.lw7-article-card-gradient {
- background: linear-gradient(90deg, #1c1c1c -20%, #20113d 149.46%);
+ background: linear-gradient(90deg, #1c1c1c -20%, #20113d50 150%);
}
diff --git a/apps/www/components/LaunchWeek/lw7_days.json b/apps/www/components/LaunchWeek/lw7_days.json
index 61ba0e23661..1a4fd2b4646 100644
--- a/apps/www/components/LaunchWeek/lw7_days.json
+++ b/apps/www/components/LaunchWeek/lw7_days.json
@@ -3,16 +3,23 @@
"title": "AI generated OG images",
"shipped": true,
"date": "",
+ "publishedAt": "2023-04-04T07:00:00.000-07:00",
"description": "AI generated OG images",
"d": 0,
"dd": "Pre-release",
- "youtube_id": "OpPOaJI_Z28",
+ "youtube_id": "",
"blogpost": "https://supabase.com/blog/new-supabase-docs-built-with-nextjs",
"docs": "https://supabase.com/docs",
"steps": [
{
- "title": "Supabase Docs",
- "blog": "/blog/new-supabase-docs-built-with-nextjs",
+ "title": "AI generated OG images",
+ "blog": "/blog/",
+ "isNew": false,
+ "description": ""
+ },
+ {
+ "title": "Supavisor",
+ "blog": "/blog/",
"docs": "/docs",
"isNew": true,
"description": ""
@@ -21,8 +28,9 @@
},
{
"title": "Self-hosted Logs & observability",
- "shipped": true,
+ "shipped": false,
"date": "10 Apr 2023",
+ "publishedAt": "2023-04-10T07:00:00.000-07:00",
"description": "Supabase Docs",
"d": 1,
"dd": "Monday",
@@ -41,8 +49,9 @@
},
{
"title": "Self-hosted Edge Functions",
- "shipped": true,
+ "shipped": false,
"date": "11 Apr 2023",
+ "publishedAt": "2023-04-11T07:00:00.000-07:00",
"description": "Image Transformations",
"d": 2,
"dd": "Tuesday",
@@ -52,8 +61,8 @@
"steps": [
{
"title": "Image Transformations",
- "blog": "/blog/storage-image-resizing-smart-cdn",
- "docs": "/docs/guides/storage/image-transformations",
+ "blog": "",
+ "docs": "",
"isNew": true,
"description": ""
},
@@ -68,8 +77,9 @@
},
{
"title": "Storage v3 Multipart upload",
- "shipped": true,
+ "shipped": false,
"date": "12 Apr 2023",
+ "publishedAt": "2023-04-12T07:00:00.000-07:00",
"description": "Storage v3 Multipart upload",
"d": 3,
"dd": "Wednesday",
@@ -88,8 +98,9 @@
},
{
"title": "SSO Support for Projects",
- "shipped": true,
+ "shipped": false,
"date": "13 Apr 2023",
+ "publishedAt": "2023-04-13T07:00:00.000-07:00",
"description": "Supabase Wrappers",
"d": 4,
"dd": "Thursday",
@@ -108,8 +119,9 @@
},
{
"title": "Community Highlight",
- "shipped": true,
+ "shipped": false,
"date": "14 Apr 2023",
+ "publishedAt": "2023-04-14T07:00:00.000-07:00",
"description": "Vault Release",
"d": 5,
"dd": "Friday",
diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsx
index 117115e0c28..d8962dfb569 100644
--- a/apps/www/pages/launch-week/index.tsx
+++ b/apps/www/pages/launch-week/index.tsx
@@ -29,7 +29,7 @@ const supabaseAdmin = createClient(
)
export default function TicketHome({ users }: Props) {
- const TITLE = 'Get your #SupaLaunchWeek Ticket'
+ const TITLE = 'Supabase LaunchWeek 7'
const DESCRIPTION = 'Supabase Launch Week 7 | 10–14 April 2023'
const OG_IMAGE = `${SITE_ORIGIN}/images/launchweek/seven/launch-week-7-teaser.jpg`
const [supabase, setSupabase] = useState<SupabaseClient | null>(null)
@@ -130,9 +130,8 @@ export default function TicketHome({ users }: Props) {
)}
</div>
<LaunchWeekPrizeSection className="pt-10 md:pt-20" />
-
- {users && <TicketBrickWall users={users} />}
</SectionContainer>
+ {users && <TicketBrickWall users={users} />}
</div>
<CTABanner />
</DefaultLayout>
diff --git a/apps/www/public/images/launchweek/seven/day0/ai_images.png b/apps/www/public/images/launchweek/seven/day0/ai_images.png
new file mode 100644
index 00000000000..6c652bc9ba7
Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day0/ai_images.png differ