Skip to content

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

update lw8 content

Francesco Sansalvadoree3dec5ddf351
diff --git a/apps/www/components/LaunchWeek/8/AnimatedParticles/ParticlesCanvas.tsx b/apps/www/components/LaunchWeek/8/AnimatedParticles/ParticlesCanvas.tsx
index d30c96261f5..c9879188f24 100644
--- a/apps/www/components/LaunchWeek/8/AnimatedParticles/ParticlesCanvas.tsx
+++ b/apps/www/components/LaunchWeek/8/AnimatedParticles/ParticlesCanvas.tsx
@@ -72,7 +72,7 @@ const ParticlesCanvas = () => {
className="relative z-30"
>
<ambientLight intensity={config.lightIntensity} />
- <group position={[0, 70, 0]} scale={[0.75, 0.75, 0.75]}>
+ <group position={[0, 0, 0]} scale={[1, 1, 1]}>
{particles?.map((user: any, index: number) => (
<Particle
key={`particle-${user.username ?? index}`}
diff --git a/apps/www/components/LaunchWeek/8/LW8CalloutsSection.tsx b/apps/www/components/LaunchWeek/8/LW8CalloutsSection.tsx
index ee154398354..406b4f95572 100644
--- a/apps/www/components/LaunchWeek/8/LW8CalloutsSection.tsx
+++ b/apps/www/components/LaunchWeek/8/LW8CalloutsSection.tsx
@@ -16,8 +16,8 @@ const LW8CalloutsSection = () => {
>
<div className="relative flex-shrink flex items-center p-2 w-2/3 lg:w-1/2 md:w-auto">
<div className="flex flex-col gap-1 sm:pl-4">
- <span className="text-white">Join us daily at Twitter Spaces</span>
- <span className="">Friday – Day 5</span>
+ <span className="text-white">Twitter Spaces</span>
+ <span className="">Replay recordings</span>
</div>
</div>
<div className="relative flex !aspect-video h-[80px] md:h-[100px] gap-2 z-10 rounded overflow-hidden">
@@ -37,13 +37,9 @@ const LW8CalloutsSection = () => {
<div className="relative flex-shrink flex items-center p-2 w-2/3 lg:w-1/2 md:w-auto">
<div className="flex flex-col gap-1 sm:pl-4">
<div className="flex items-center gap-3">
- <div className="relative w-2 h-2 flex items-center justify-center">
- <div className="absolute w-2 h-2 rounded-full bg-white" />
- <div className="absolute animate-pulse-radar w-6 h-6 rounded-full bg-white will-change-transform" />
- </div>
<span className="text-white">LW8 Hackathon Aug 4 – Aug 13</span>
</div>
- <span className="">Read more about rules and prizes on the blog</span>
+ <span className="">Finished</span>
</div>
</div>
<div className="relative flex !aspect-video h-[80px] md:h-[100px] gap-2 z-10 rounded overflow-hidden">
diff --git a/apps/www/components/LaunchWeek/8/LaunchWeekLogoHeader.tsx b/apps/www/components/LaunchWeek/8/LaunchWeekLogoHeader.tsx
index d66950f72d1..df14b669215 100644
--- a/apps/www/components/LaunchWeek/8/LaunchWeekLogoHeader.tsx
+++ b/apps/www/components/LaunchWeek/8/LaunchWeekLogoHeader.tsx
@@ -5,8 +5,11 @@ export function LaunchWeekLogoHeader() {
<h1 className="sr-only font-normal uppercase text-[28px] sm:text-[32px]">Launch week 8</h1>
<p className="text-white radial-gradient-text-scale-600 text-lg sm:text-2xl">
<span className="block">August 7th–11th, 2023</span>
- <span>9:00 AM PT</span>
</p>
+ <div className="text-[#9296AA]">
+ <p>A week of announcing new features has come to an end.</p>
+ <p>Thanks to everyone who participated.</p>
+ </div>
</div>
</div>
)
diff --git a/apps/www/components/LaunchWeek/8/Releases/LWAnnouncement.tsx b/apps/www/components/LaunchWeek/8/Releases/LWAnnouncement.tsx
index 9b9a07036c3..7ceebd4e3b2 100644
--- a/apps/www/components/LaunchWeek/8/Releases/LWAnnouncement.tsx
+++ b/apps/www/components/LaunchWeek/8/Releases/LWAnnouncement.tsx
@@ -2,8 +2,8 @@ import React from 'react'
import { SmallCard } from './components'
import Link from 'next/link'
import Image from 'next/image'
-import days from './lw8_data'
-import { ExpandableVideo } from 'ui'
+// import days from './lw8_data'
+// import { ExpandableVideo } from 'ui'
const LWAnnouncement = ({
title,
@@ -12,46 +12,30 @@ const LWAnnouncement = ({
title?: string
isLaunchWeekPage?: boolean
}) => {
- const [_pre, _d1, _d2, _d3, _d4, currentDay] = days
+ // const [_pre, _d1, _d2, _d3, _d4, currentDay] = days
const announcement = (
<>
<div className="relative flex-shrink flex items-center p-2 w-2/3 md:w-auto">
<div className="flex flex-col gap-1 sm:pl-2">
<div className="flex items-center gap-2">
- <div className={['hidden sm:flex min-w-[20px] opacity-50', 'opacity-pulse'].join(' ')}>
- <svg
- width="21"
- height="21"
- viewBox="0 0 21 21"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M5.55025 3.97258C5.94078 4.36311 5.94078 4.99627 5.55025 5.38679C2.81658 8.12046 2.81658 12.5526 5.55025 15.2863C5.94078 15.6768 5.94078 16.31 5.55025 16.7005C5.15973 17.091 4.52656 17.091 4.13604 16.7005C0.62132 13.1858 0.62132 7.4873 4.13604 3.97258C4.52656 3.58206 5.15973 3.58206 5.55025 3.97258ZM15.4498 3.97281C15.8403 3.58229 16.4735 3.58229 16.864 3.97281C20.3787 7.48753 20.3787 13.186 16.864 16.7007C16.4735 17.0913 15.8403 17.0913 15.4498 16.7007C15.0592 16.3102 15.0592 15.677 15.4498 15.2865C18.1834 12.5529 18.1834 8.1207 15.4498 5.38703C15.0592 4.9965 15.0592 4.36334 15.4498 3.97281ZM8.37869 6.80101C8.76921 7.19153 8.76921 7.8247 8.37869 8.21522C7.20711 9.38679 7.20711 11.2863 8.37869 12.4579C8.76921 12.8484 8.76921 13.4816 8.37868 13.8721C7.98816 14.2626 7.355 14.2626 6.96447 13.8721C5.01185 11.9195 5.01185 8.75363 6.96447 6.80101C7.355 6.41048 7.98816 6.41048 8.37869 6.80101ZM12.6213 6.80124C13.0119 6.41072 13.645 6.41072 14.0355 6.80124C15.9882 8.75386 15.9882 11.9197 14.0355 13.8723C13.645 14.2628 13.0119 14.2628 12.6213 13.8723C12.2308 13.4818 12.2308 12.8486 12.6213 12.4581C13.7929 11.2865 13.7929 9.38703 12.6213 8.21545C12.2308 7.82493 12.2308 7.19176 12.6213 6.80124ZM10.5 9.33677C11.0523 9.33677 11.5 9.78449 11.5 10.3368V10.3468C11.5 10.8991 11.0523 11.3468 10.5 11.3468C9.94772 11.3468 9.5 10.8991 9.5 10.3468V10.3368C9.5 9.78449 9.94772 9.33677 10.5 9.33677Z"
- fill="#F2F2F2"
- />
- </svg>
- </div>
- <span className="text-foreground">{title ?? 'Launch Week 8: Day 5'}</span>
+ <span className="text-foreground">Launch Week 8: August 7th–11th</span>
</div>
- <span className="text-foreground-light">{currentDay.steps[0].title}</span>
+ <span className="text-foreground-light">Check out all the announcements</span>
</div>
</div>
<div className="relative flex items-center justify-center !aspect-video h-[80px] md:h-[80px] gap-2 z-10 rounded overflow-hidden">
- <div className="absolute z-10 w-4 h-4 text-white opacity-70">
+ {/* <div className="absolute z-10 w-4 h-4 text-white opacity-70">
<svg viewBox="0 0 81 91" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M76.5621 37.998C82.3369 41.3321 82.3369 49.6673 76.5621 53.0014L13.2198 89.5721C7.44504 92.9062 0.226562 88.7386 0.226562 82.0704L0.226566 8.92901C0.226566 2.26085 7.44506 -1.90673 13.2199 1.42735L76.5621 37.998Z"
fill="currentColor"
/>
</svg>
- </div>
+ </div> */}
<Image
- src="/images/launchweek/8/day5/yt_d5.jpg"
- alt="Youtube video thumbnail"
+ src="/images/launchweek/8/lw8-og.jpg"
+ alt="Launch Week 8"
layout="fill"
objectFit="cover"
/>
@@ -59,12 +43,12 @@ const LWAnnouncement = ({
</>
)
- const handleClick = () => {
- if (typeof document === 'undefined') return null
- const today = document.getElementById('today')
- if (!today) return
- window.scrollTo({ top: today?.offsetTop + today?.offsetHeight, left: 0, behavior: 'smooth' })
- }
+ // const handleClick = () => {
+ // if (typeof document === 'undefined') return null
+ // const today = document.getElementById('today')
+ // if (!today) return
+ // window.scrollTo({ top: today?.offsetTop + today?.offsetHeight, left: 0, behavior: 'smooth' })
+ // }
return (
<div className="w-full max-w-xl opacity-0 !animate-[fadeIn_0.5s_cubic-bezier(0.25,0.25,0,1)_0.5s_both]">
@@ -72,7 +56,7 @@ const LWAnnouncement = ({
className="border hover:border-scale-800 transition-colors"
innerClassName="bg-opacity-70 items-stretch"
>
- {isLaunchWeekPage ? (
+ {/* {isLaunchWeekPage ? (
<ExpandableVideo
videoId="qzxzLSAJDfE"
onOpenCallback={handleClick}
@@ -83,13 +67,13 @@ const LWAnnouncement = ({
</div>
}
/>
- ) : (
- <Link href="/launch-week#today">
- <a className="flex flex-row justify-between items-center w-full h-full gap-2 text-left">
- {announcement}
- </a>
- </Link>
- )}
+ ) : ( */}
+ <Link href="/launch-week">
+ <a className="flex flex-row justify-between items-center w-full h-full gap-2 text-left">
+ {announcement}
+ </a>
+ </Link>
+ {/* )} */}
</SmallCard>
</div>
)
diff --git a/apps/www/components/LaunchWeek/8/Releases/components/index.tsx b/apps/www/components/LaunchWeek/8/Releases/components/index.tsx
index 038bb8c1e6b..36e7b188038 100644
--- a/apps/www/components/LaunchWeek/8/Releases/components/index.tsx
+++ b/apps/www/components/LaunchWeek/8/Releases/components/index.tsx
@@ -225,12 +225,7 @@ export const AccordionHeader = ({
</Badge>
)}
{shippable && shipped && youtube_id && (
- <div
- className={[
- 'hover:cursor-pointer hover:!opacity-100',
- day === 4 ? 'animate-pulse' : '',
- ].join(' ')}
- >
+ <div className={['hover:cursor-pointer hover:!opacity-100'].join(' ')}>
<ExpandableVideo
videoId={youtube_id}
trigger={
@@ -243,7 +238,7 @@ export const AccordionHeader = ({
</div>
)}
</div>
- {shippable && !shipped && (
+ {/* {shippable && !shipped && (
<span className="text-sm font-normal text-[#A0A0A0] mt-1 sm:mt-0 flex items-center gap-1 md:gap-4">
<svg
width="17"
@@ -264,7 +259,7 @@ export const AccordionHeader = ({
{day === 5 && <CountdownComponent date={publishedAt} showCard={false} />}
</span>
- )}
+ )} */}
</div>
</div>
)
diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsx
index c9dc7a474e8..928af4512dc 100644
--- a/apps/www/pages/launch-week/index.tsx
+++ b/apps/www/pages/launch-week/index.tsx
@@ -25,7 +25,6 @@ const AnimatedParticles = dynamic(
)
const LW8Releases = dynamic(() => import('~/components/LaunchWeek/8/Releases'))
const LW8Meetups = dynamic(() => import('~/components/LaunchWeek/8/LW8Meetups'))
-const TicketContainer = dynamic(() => import('~/components/LaunchWeek/8/Ticket/TicketContainer'))
const LaunchWeekPrizeSection = dynamic(
() => import('~/components/LaunchWeek/8/LaunchWeekPrizeSection')
)
@@ -142,7 +141,6 @@ export default function TicketHome({ users, meetups }: Props) {
<SectionContainer className="relative flex flex-col justify-around items-center min-h-[500px] !py-4 md:!py-8 lg:!pb-0 gap-2 md:gap-4 !px-0 !mx-auto">
<div className="absolute bottom-0 z-10 w-full flex flex-col items-center justify-end gap-4 px-6">
<LaunchWeekLogoHeader />
- <LWAnnouncement isLaunchWeekPage />
</div>
<div className="absolute inset-0 z-0 flex items-center justify-center">
<AnimatedParticles />
@@ -183,20 +181,6 @@ export default function TicketHome({ users, meetups }: Props) {
<LW8Meetups meetups={meetups} />
</SectionContainer>
- <div
- id="ticket"
- className="relative !w-full max-w-[100vw] min-h-[400px] !px-4 sm:max-w-xl md:max-w-4xl lg:max-w-7xl z-20 flex flex-col justify-around items-center !py-4 md:!py-8 lg:!pb-0 gap-2 md:gap-4 !mx-auto"
- >
- {supabase && (
- <div className="w-full max-w-[100vw] px-4 flex justify-center py-8 md:py-20">
- <TicketContainer
- user={userData}
- referrals={userData.referrals ?? 0}
- supabase={supabase}
- />
- </div>
- )}
- </div>
<SectionContainer className="!px-4 w-full">
<LaunchWeekPrizeSection />
</SectionContainer>
diff --git a/packages/ui/src/layout/banners/LW8CountdownBanner/LW8CountdownBanner.tsx b/packages/ui/src/layout/banners/LW8CountdownBanner/LW8CountdownBanner.tsx
index 651acb2820f..e12413c5e65 100644
--- a/packages/ui/src/layout/banners/LW8CountdownBanner/LW8CountdownBanner.tsx
+++ b/packages/ui/src/layout/banners/LW8CountdownBanner/LW8CountdownBanner.tsx
@@ -1,6 +1,6 @@
import { useRouter } from 'next/router'
import Lw8BannerBg from './Lw8BannerBg'
-import VideoPreview from './VideoPreview'
+// import VideoPreview from './VideoPreview'
export function LW8CountdownBanner() {
const { pathname } = useRouter()
@@ -26,9 +26,9 @@ export function LW8CountdownBanner() {
].join(' ')}
>
<p>
- <span className="hidden md:inline">Supabase</span> Launch Week 8: Day 5
+ <span className="hidden md:inline">Supabase</span> Launch Week 8
</p>
- <VideoPreview />
+ {/* <VideoPreview /> */}
</div>
</div>
<Lw8BannerBg className="absolute z-0 inset-0 w-full flex items-center justify-center h-auto min-h-full [&>svg]:w-auto [&>svg]:h-[40%] md:[&>svg]:h-[64%]" />
diff --git a/packages/ui/src/layout/banners/LWAnnouncement.tsx b/packages/ui/src/layout/banners/LWAnnouncement.tsx
index 01a9594a12e..d7db39bc2f8 100644
--- a/packages/ui/src/layout/banners/LWAnnouncement.tsx
+++ b/packages/ui/src/layout/banners/LWAnnouncement.tsx
@@ -78,11 +78,9 @@ const LWAnnouncement = ({
/>
</svg>
</div>
- <span className="text-foreground">Launch Week 8: Day 5</span>
+ <span className="text-foreground">Launch Week 8: August 7th–11th</span>
</div>
- <span className="text-foreground-light">
- Supabase Supavisor: 1M Postgres connections
- </span>
+ <span className="text-foreground-light">Check out all the announcements</span>
</div>
</div>
<div className="relative flex items-center justify-center !aspect-video h-[80px] md:h-[80px] gap-2 z-10 rounded overflow-hidden">