diff --git a/apps/www/pages/launchweek/days.json b/apps/www/pages/launchweek/days.json deleted file mode 100644 index 314f932643c..00000000000 --- a/apps/www/pages/launchweek/days.json +++ /dev/null @@ -1,100 +0,0 @@ -[ - { - "title": "CLI and Rest API", - "shipped": true, - "date": "15th Aug 2022", - "description": "To kick off launch week, as it is now tradition, we’re showcasing some of the communities and contributors that make up the Supabase community.", - "d": 1, - "dd": "Monday", - "articles": [ - { - "title": "Community Blog", - "url": "Something", - "description": "Outline of the community changes" - } - ], - "products": [ - { - "title": "CLI Docs", - "url": "Something", - "description": "Learn how to install the CLI" - }, - { - "title": "Rest API Docs", - "url": "Something", - "description": "Learn how to use the new Rest API" - } - ] - }, - { - "title": "Supabase.js v2", - "shipped": false, - "date": "15th Aug 2022", - "description": "To kick off launch week, as it is now tradition, we’re showcasing some of the communities and contributors that make up the Supabase community.", - "d": 2, - "dd": "Tuesday", - "articles": [ - { - "title": "Introducing Supabase.js v2", - "url": "Something", - "description": "Outline of the community changes" - } - ], - "products": [ - { - "title": "Supabase.js v2 Docs", - "url": "Something", - "description": "Learn how to install the CLI" - }, - { - "title": "Migration guide", - "url": "Something", - "description": "Learn how to install the CLI" - } - ] - }, - { - "title": "Security Day", - "shipped": false, - "date": "15th Aug 2022", - "description": "To kick off launch week, as it is now tradition, we’re showcasing some of the communities and contributors that make up the Supabase community.", - "d": 2, - "dd": "Tuesday", - "announcements": [ - { - "title": "Supabase is now SOC2 compliant", - "url": "Something", - "description": "Outline of the community changes" - } - ], - "articles": [ - { - "title": "Improving security at Supabase", - "url": "Something", - "description": "Outline of the community changes" - } - ], - "products": [ - { - "title": "CLI Docs", - "url": "Something", - "description": "Learn how to install the CLI" - }, - { - "title": "Rest API Docs", - "url": "Something", - "description": "Learn how to use the new Rest API" - }, - { - "title": "Rest API Docs", - "url": "Something", - "description": "Learn how to use the new Rest API" - }, - { - "title": "Rest API Docs", - "url": "Something", - "description": "Learn how to use the new Rest API" - } - ] - } -] diff --git a/apps/www/pages/launchweek/index.tsx b/apps/www/pages/launchweek/index.tsx deleted file mode 100644 index 8df41ae2fa5..00000000000 --- a/apps/www/pages/launchweek/index.tsx +++ /dev/null @@ -1,176 +0,0 @@ -import { - AnnotationIcon, - NewspaperIcon, - RssIcon, - SparklesIcon, - SpeakerphoneIcon, -} from '@heroicons/react/outline' -import { Badge } from '@supabase/ui' -import DefaultLayout from '~/components/Layouts/Default' -import SectionContainer from '~/components/Layouts/SectionContainer' -import SectionHeader from '~/components/UI/SectionHeader' -import _days from './days.json' - -const days = _days as WeekDayProps[] - -type Article = { - title: string - url: string - description?: string -} - -type Announcement = { - title: string - url: string - description?: string -} - -type Product = { - title: string - url: string - description?: string -} - -interface WeekDayProps { - shipped: boolean - title: string - description: string - date: string - imgUrl?: string - d?: number - dd?: 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' - articles?: Article[] - announcements?: Announcement[] - products?: Announcement[] -} - -export default function launchweek() { - console.log(days) - return ( - - - LaunchWeek 5 logo -

header

- -
- - {days.map((item: WeekDayProps) => { - return - })} - -
- ) -} - -export const LaunchSection = (props: WeekDayProps) => { - return ( -
-
- {props.imgUrl ? ( - Supabase - ) : ( -
- Supabase -
- Day {props.d} - {props.dd} -
-
- )} -
-
-
-
- {props.shipped ? Shipped : Not shipped yet} - {props.date} -
-

{props.title}

- {props.announcements && ( -
- {props.announcements.map((announcement: Announcement) => ( - - ))} -
- )} -

{props.description}

-
-
- {props.articles && - props.articles.map((article: Article) => )} -
-
- {props.products && - props.products.map((product: Product) => )} -
-
-
- ) -} - -export const ArticleButton = (props: Article) => { - return ( - - ) -} - -export const ProductButton = (props: Article) => { - return ( -
- -
- ) -} - -export const Announcement = (props: Article) => { - return ( - - ) -}