From 8139dd4481ec1bf6d2524140fdb551a97ffc0a38 Mon Sep 17 00:00:00 2001 From: Francesco Sansalvadore Date: Mon, 31 Mar 2025 13:03:08 +0200 Subject: [PATCH] chore: lw summary in blog post --- .../_blog/2025-03-31-supabase-ui-library.mdx | 1 + .../LaunchWeek/13/Releases/LWSummary.tsx | 2 +- .../LaunchWeek/14/Releases/LWSummary.tsx | 77 +++++++++++++++++++ apps/www/pages/blog/[slug].tsx | 3 + 4 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 apps/www/components/LaunchWeek/14/Releases/LWSummary.tsx diff --git a/apps/www/_blog/2025-03-31-supabase-ui-library.mdx b/apps/www/_blog/2025-03-31-supabase-ui-library.mdx index 8e7cec32844..dfeb71aecda 100644 --- a/apps/www/_blog/2025-03-31-supabase-ui-library.mdx +++ b/apps/www/_blog/2025-03-31-supabase-ui-library.mdx @@ -11,6 +11,7 @@ tags: - postgres date: '2025-03-31' toc_depth: 3 +launchweek: 14 --- We're excited to release an [official Supabase UI Library](https://supabase.com/ui)—a collection of ready-to-use components built on top of [shadcn/ui](https://ui.shadcn.com/). Designed for flexibility, these components can be dropped into any Next.js, React Router, TanStack Start, or plain React app. diff --git a/apps/www/components/LaunchWeek/13/Releases/LWSummary.tsx b/apps/www/components/LaunchWeek/13/Releases/LWSummary.tsx index ca88af8a780..67503d47dfd 100644 --- a/apps/www/components/LaunchWeek/13/Releases/LWSummary.tsx +++ b/apps/www/components/LaunchWeek/13/Releases/LWSummary.tsx @@ -9,7 +9,7 @@ const LW13Summary = () => {
Launch Week diff --git a/apps/www/components/LaunchWeek/14/Releases/LWSummary.tsx b/apps/www/components/LaunchWeek/14/Releases/LWSummary.tsx new file mode 100644 index 00000000000..69630dbd9ae --- /dev/null +++ b/apps/www/components/LaunchWeek/14/Releases/LWSummary.tsx @@ -0,0 +1,77 @@ +import React from 'react' +import Link from 'next/link' +import { buildDays, mainDays } from './data' + +const LW14Summary = () => { + const days = mainDays() + + return ( +
+
+ + Launch Week 14 + +
Mar 31 - Apr 04 '25
+
+
+
    + {days.map( + (day, i: number) => + day.shipped && ( +
      + + Day {i + 1} - + {day.title} + +
    + ) + )} +
+
+
+
+
Build Stage
+
    + {buildDays.map( + (day, i: number) => + day.is_shipped && ( +
      + + + + {i + 1 < 10 ? '0' : ''} + {i + 1} - + + {day.title} + + +
    + ) + )} +
      + + Community Meetups + +
    +
+
+
+
+ ) +} + +export default LW14Summary diff --git a/apps/www/pages/blog/[slug].tsx b/apps/www/pages/blog/[slug].tsx index 47ee7885c9e..749df534396 100644 --- a/apps/www/pages/blog/[slug].tsx +++ b/apps/www/pages/blog/[slug].tsx @@ -20,6 +20,7 @@ import CTABanner from '~/components/CTABanner' import LW11Summary from '~/components/LaunchWeek/11/LW11Summary' import LW12Summary from '~/components/LaunchWeek/12/LWSummary' import LW13Summary from '~/components/LaunchWeek/13/Releases/LWSummary' +import LW14Summary from '~/components/LaunchWeek/14/Releases/LWSummary' import BlogLinks from '~/components/LaunchWeek/7/BlogLinks' import LWXSummary from '~/components/LaunchWeek/X/LWXSummary' import DefaultLayout from '~/components/Layouts/Default' @@ -137,6 +138,7 @@ function BlogPostPage(props: InferGetStaticPropsType) { const isGAWeek = props.blog.launchweek?.toString().toLocaleLowerCase() === '11' const isLaunchWeek12 = props.blog.launchweek?.toString().toLocaleLowerCase() === '12' const isLaunchWeek13 = props.blog.launchweek?.toString().toLocaleLowerCase() === '13' + const isLaunchWeek14 = props.blog.launchweek?.toString().toLocaleLowerCase() === '14' const author = authorArray .map((authorId) => { @@ -350,6 +352,7 @@ function BlogPostPage(props: InferGetStaticPropsType) { {isGAWeek && } {isLaunchWeek12 && } {isLaunchWeek13 && } + {isLaunchWeek14 && }
Share this article