Skip to content

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

add lw archive

Francesco Sansalvadore422f6c70d068
diff --git a/apps/www/components/LaunchWeek/8/LWArchive.tsx b/apps/www/components/LaunchWeek/8/LWArchive.tsx
index 3456a49ebfc..a21d4491333 100644
--- a/apps/www/components/LaunchWeek/8/LWArchive.tsx
+++ b/apps/www/components/LaunchWeek/8/LWArchive.tsx
@@ -3,62 +3,47 @@ import { StyledArticleBadge } from './Releases/components'
import Image from 'next/image'
import Link from 'next/link'
-import { Swiper, SwiperSlide } from 'swiper/react'
-
-import 'swiper/swiper.min.css'
-
-const launchweeks = [
- { title: '7', link: '/launchweek/7' },
- { title: '6', link: '/launchweek/6' },
- { title: '5', link: '/blog/launch-week-5-hackathon' },
- { title: '4', link: '/blog/supabase-launch-week-four' },
- { title: '3', link: '/blog/supabase-launch-week-the-trilogy' },
- { title: '2', link: '/blog/supabase-launch-week-sql' },
- { title: '1', link: '/blog/launch-week' },
-]
-
const LWArchive = () => {
return (
- <div className="text-center relative z-10 text-white flex flex-col gap-8 lg:gap-16">
- <div className="max-w-[38rem] mx-auto flex flex-col items-center gap-4 px-4">
+ <div className="w-full text-white flex flex-col lg:flex-row gap-8 lg:gap-16">
+ <div className="lg:basis-1/3 flex flex-col items-start gap-4">
<StyledArticleBadge>Throwback</StyledArticleBadge>
<h2 className="text-4xl">Previous Launch Weeks</h2>
<p className="text-[#9296AA]">
- Explore what has been announced in the past and relive those moments.
+ Explore our past Launch Weeks, and check the progress we've made on our journey.
</p>
</div>
- <div className="relative h-[200px] [&_.swiper-container]:h-full [&_.swiper-wrapper]:h-full [&_.swiper-slide]:h-full">
- <Swiper
- // centeredSlides={true}
- spaceBetween={10}
- slidesPerView={5.5}
- // watchOverflow
- threshold={2}
- updateOnWindowResize
- breakpoints={{
- 320: {
- slidesPerView: 2.5,
- },
- 720: {
- slidesPerView: 3.5,
- },
- 1440: {
- slidesPerView: 5.5,
- },
- }}
- >
- {launchweeks.map((launchweek, i) => (
- <SwiperSlide key={launchweek.title}>
- <Link href={launchweek.link} key={launchweek.title}>
- <a className="relative h-full rounded-md md:rounded-lg transition-transform bg-[#030A0C] flex items-center justify-center border border-[#111718] hover:border-brand-800">
- <span className="stroke-text inline-block text-transparent bg-clip-text bg-gradient-to-b from-scale-1000 to-scale-200 text-7xl">
- {launchweek.title}
- </span>
- </a>
- </Link>
- </SwiperSlide>
- ))}
- </Swiper>
+ <div className="lg:basis-2/3 relative grid grid-cols-1 xl:grid-cols-2 gap-4">
+ <Link href="/launch-week/6">
+ <a className="relative h-[160px] w-full rounded-md md:rounded-lg transition-transform bg-[#030A0C] flex items-center justify-center border border-[#111618] hover:border-brand-800 overflow-hidden">
+ <span className="relative z-10 stroke-text inline-block text-transparent bg-clip-text bg-gradient-to-b from-scale-1200 to-scale-1000 text-7xl drop-shadow-lg">
+ 6
+ </span>
+ <div className="absolute inset-0 opacity-75">
+ <Image
+ src="/images/launchweek/archive/lw6.jpg"
+ alt="Launch Week 6"
+ layout="fill"
+ objectFit="cover"
+ />
+ </div>
+ </a>
+ </Link>
+ <Link href="/launch-week/7">
+ <a className="relative h-[160px] w-full rounded-md md:rounded-lg transition-transform bg-[#030A0C] flex items-center justify-center border border-[#111718] hover:border-brand-1200 overflow-hidden">
+ <span className="relative z-10 stroke-text inline-block text-transparent bg-clip-text bg-gradient-to-b from-scale-1200 to-scale-1000 text-7xl drop-shadow-lg">
+ 7
+ </span>
+ <div className="absolute inset-0">
+ <Image
+ src="/images/launchweek/archive/lw7.jpg"
+ alt="Launch Week 7"
+ layout="fill"
+ objectFit="cover"
+ />
+ </div>
+ </a>
+ </Link>
</div>
</div>
)
diff --git a/apps/www/components/LaunchWeek/8/LaunchWeekPrizeSection.tsx b/apps/www/components/LaunchWeek/8/LaunchWeekPrizeSection.tsx
index b59b35da825..7ad927cddea 100644
--- a/apps/www/components/LaunchWeek/8/LaunchWeekPrizeSection.tsx
+++ b/apps/www/components/LaunchWeek/8/LaunchWeekPrizeSection.tsx
@@ -37,12 +37,7 @@ export default function LaunchWeekPrizeSection({
quality={100}
/>
</div>
- <h2 className="text-4xl">Get your winning ticket</h2>
- <p className="text-[#9296AA]">
- Join us on August 11th for Launch Week 8's final day
- <br className="hidden md:inline-block" /> and find out if you are one of the lucky
- winners. Get sharing!
- </p>
+ <h2 className="text-4xl">Swag has been delivered</h2>
</div>
</div>
{ticket && <Ticket />}
diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsx
index 928af4512dc..80b6201b4da 100644
--- a/apps/www/pages/launch-week/index.tsx
+++ b/apps/www/pages/launch-week/index.tsx
@@ -19,6 +19,7 @@ import LWAnnouncement from '~/components/LaunchWeek/8/Releases/LWAnnouncement'
import { useTheme } from 'common/Providers'
import 'swiper/swiper.min.css'
+import LWArchive from '../../components/LaunchWeek/8/LWArchive'
const AnimatedParticles = dynamic(
() => import('~/components/LaunchWeek/8/AnimatedParticles/ParticlesCanvas')
@@ -181,6 +182,10 @@ export default function TicketHome({ users, meetups }: Props) {
<LW8Meetups meetups={meetups} />
</SectionContainer>
+ <SectionContainer id="archive">
+ <LWArchive />
+ </SectionContainer>
+
<SectionContainer className="!px-4 w-full">
<LaunchWeekPrizeSection />
</SectionContainer>
diff --git a/apps/www/public/images/launchweek/archive/lw6.jpg b/apps/www/public/images/launchweek/archive/lw6.jpg
new file mode 100644
index 00000000000..c64bae219e9
Binary files /dev/null and b/apps/www/public/images/launchweek/archive/lw6.jpg differ
diff --git a/apps/www/public/images/launchweek/archive/lw7.jpg b/apps/www/public/images/launchweek/archive/lw7.jpg
new file mode 100644
index 00000000000..2c28a225357
Binary files /dev/null and b/apps/www/public/images/launchweek/archive/lw7.jpg differ