diff --git a/apps/www/components/LaunchWeek/Releases/LW7/Day5.tsx b/apps/www/components/LaunchWeek/Releases/LW7/Day5.tsx index 7c364b81608..64c0416aa06 100644 --- a/apps/www/components/LaunchWeek/Releases/LW7/Day5.tsx +++ b/apps/www/components/LaunchWeek/Releases/LW7/Day5.tsx @@ -18,12 +18,18 @@ const getDay5Motion = (index: number) => { } } -const getDay5Community02Motion = (index: number) => { +const getDay5omt01Motion = (index: number) => { + switch (index) { + case 0: + return scaleOpacityVariant + default: + return undefined + } +} +const getDay5omt02Motion = (index: number) => { switch (index) { case 0: return opacityVariant4 - case 1: - return scaleOpacityVariant default: return undefined } @@ -511,6 +517,88 @@ const Day5 = ({ day }: { day: WeekDayProps }) => { )} + {/* One More Thing */} + +
+ +
+ {day.steps[2].steps[0].title} + + {day.steps[2].steps[0].badge} + +
+ + {day.steps[2].steps[0].bg_layers && + day.steps[2].steps[0].bg_layers?.map( + (layer, i) => + !!layer.img && ( + + + + ) + )} +
+ +
+ {day.steps[2].steps[1].title} + {day.steps[2].steps[1].badge} +
+ + {day.steps[2].steps[1].bg_layers && + day.steps[2].steps[1].bg_layers?.map( + (layer, i) => + !!layer.img && ( + + + + ) + )} +
+
) } diff --git a/apps/www/components/LaunchWeek/lw7_days.ts b/apps/www/components/LaunchWeek/lw7_days.ts index 6f0cd93a70f..0c62e32b4db 100644 --- a/apps/www/components/LaunchWeek/lw7_days.ts +++ b/apps/www/components/LaunchWeek/lw7_days.ts @@ -47,6 +47,14 @@ const images = { '05-studio-09-base': '/images/launchweek/seven/day5/studio/studio-09-viewsTables.jpg', '05-studio-10-base': '/images/launchweek/seven/day5/studio/studio-10-JSONsupport.jpg', '05-studio-11-base': '/images/launchweek/seven/day5/studio/studio-11-insights.jpg', + '05-omt-01-001': '/images/launchweek/seven/day5/one-more-thing/omt-01-01.jpg', + '05-omt-01-001-mobile': '/images/launchweek/seven/day5/one-more-thing/omt-01-01-mobile.jpg', + '05-omt-01-002': '/images/launchweek/seven/day5/one-more-thing/omt-01-02.png', + '05-omt-01-002-mobile': '/images/launchweek/seven/day5/one-more-thing/omt-01-02-mobile.png', + '05-omt-02-001': '/images/launchweek/seven/day5/one-more-thing/omt-02-01.jpg', + '05-omt-02-001-mobile': '/images/launchweek/seven/day5/one-more-thing/omt-02-01-mobile.jpg', + '05-omt-02-002': '/images/launchweek/seven/day5/one-more-thing/omt-02-02.png', + '05-omt-02-002-mobile': '/images/launchweek/seven/day5/one-more-thing/omt-02-02-mobile.png', } export interface StepProps { @@ -439,21 +447,32 @@ const days: WeekDayProps[] = [ title: 'dbdev', badge: 'New', blog: '/blog/supabase-auth-sso-pkce', - bg_layers: [], + bg_layers: [ + { + img: images['05-omt-01-001'], + mobileImg: images['05-omt-01-001-mobile'], + }, + { + img: images['05-omt-01-002'], + mobileImg: images['05-omt-01-002-mobile'], + }, + ], steps: [], }, { title: 'Postgres TLE', badge: 'New', blog: '/blog/supabase-auth-sso-pkce', - bg_layers: [], - steps: [], - }, - { - title: 'pg_graphql v1.2', - badge: 'Updated', - blog: '/blog/supabase-auth-sso-pkce', - bg_layers: [], + bg_layers: [ + { + img: images['05-omt-02-001'], + mobileImg: images['05-omt-02-001-mobile'], + }, + { + img: images['05-omt-02-002'], + mobileImg: images['05-omt-02-002-mobile'], + }, + ], steps: [], }, ], diff --git a/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-01-01-mobile.jpg b/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-01-01-mobile.jpg new file mode 100644 index 00000000000..df8f6a6ac2d Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-01-01-mobile.jpg differ diff --git a/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-01-01.jpg b/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-01-01.jpg new file mode 100644 index 00000000000..71b251d2462 Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-01-01.jpg differ diff --git a/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-01-02-mobile.png b/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-01-02-mobile.png new file mode 100644 index 00000000000..55427f2bb1a Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-01-02-mobile.png differ diff --git a/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-01-02.png b/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-01-02.png new file mode 100644 index 00000000000..76dcdb6028e Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-01-02.png differ diff --git a/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-02-01-mobile.jpg b/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-02-01-mobile.jpg new file mode 100644 index 00000000000..a8b6932aef6 Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-02-01-mobile.jpg differ diff --git a/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-02-01.jpg b/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-02-01.jpg new file mode 100644 index 00000000000..bb7c900f3ce Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-02-01.jpg differ diff --git a/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-02-02-mobile.png b/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-02-02-mobile.png new file mode 100644 index 00000000000..d4f560cd7c0 Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-02-02-mobile.png differ diff --git a/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-02-02.png b/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-02-02.png new file mode 100644 index 00000000000..2739290c21e Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day5/one-more-thing/omt-02-02.png differ