mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 07:09:07 +03:00
Closes [FE-4100](https://linear.app/supabase/issue/FE-4100/www-remove-httpssupabasecomlaunch-week6) ## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? Content removal. ## What is the current behavior? `/launch-week/6` is still published. Launch Week 6 ran in December 2022. The page carries its own 1,085-line component, two CSS modules, and a Supabase client that reads the `lw6_creators` and `lw6_tickets` tables. ## What is the new behavior? - Delete the `/launch-week/6` page, its CSS modules, its day data, and its types. - Redirect `/launch-week/6` to `/blog/launch-week-6-wrap-up`, which holds the same content. - Drop the Launch Week 6 card from the archive section on `/launch-week/8`, leaving Launch Week 7. ## Additional context Scope is Launch Week 6 only. Whether the other launch week pages come down is still open with marketing. Assets under `public/images/launchweek/` are untouched. Several are shared across launch weeks, so they need their own audit. ## Manual testing 1. Open [https://zone-www-dot-com-git-www-remove-launchweek-supabase.vercel.app/launch-week/6](https://zone-www-dot-com-git-www-remove-launchweek-supabase.vercel.app/launch-week/6) on the deploy preview. It returns a 308 and lands on `/blog/launch-week-6-wrap-up`. 2. Open [the Launch Week 7 page](https://zone-www-dot-com-git-www-remove-launchweek-supabase.vercel.app/launch-week/7). It still loads. 3. Open [the Launch Week 8 page](https://zone-www-dot-com-git-www-remove-launchweek-supabase.vercel.app/launch-week/8) and scroll to "Previous Launch Weeks". Only the Launch Week 7 card shows. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
40 lines
1.5 KiB
TypeScript
40 lines
1.5 KiB
TypeScript
import Image from 'next/image'
|
|
import React from 'react'
|
|
|
|
import { StyledArticleBadge } from './Releases/components'
|
|
|
|
const LWArchive = () => {
|
|
return (
|
|
<div className="w-full text-white flex flex-col lg:flex-row gap-8 lg:gap-16">
|
|
<div className="lg:basis-1/3 flex flex-col items-start gap-4">
|
|
<StyledArticleBadge>Throwback</StyledArticleBadge>
|
|
<h2 className="text-4xl">Previous Launch Weeks</h2>
|
|
<p className="text-[#9296AA]">
|
|
Explore our past Launch Weeks, and check the progress we've made on our journey.
|
|
</p>
|
|
</div>
|
|
<div className="lg:basis-2/3 relative grid grid-cols-1 xl:grid-cols-2 gap-4">
|
|
<a
|
|
href="/launch-week/7"
|
|
className="relative h-[160px] group w-full rounded-md md:rounded-lg transition-transform bg-[#030A0C] flex items-center justify-center border border-[#111718] hover:border-brand-1200 overflow-hidden"
|
|
>
|
|
<span className="relative z-10 stroke-text inline-block text-transparent bg-clip-text bg-linear-to-b from-foreground to-foreground-lighter text-7xl drop-shadow-lg">
|
|
7
|
|
</span>
|
|
<div className="absolute inset-0 grayscale group-hover:grayscale-0">
|
|
<Image
|
|
src="/images/launchweek/archive/lw7.jpg"
|
|
alt="Launch Week 7"
|
|
fill
|
|
sizes="100%"
|
|
className="object-cover"
|
|
/>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default LWArchive
|