diff --git a/apps/www/components/LaunchWeek/Releases/LW7/Day5.tsx b/apps/www/components/LaunchWeek/Releases/LW7/Day5.tsx index add995ab5bc..dacb1848d88 100644 --- a/apps/www/components/LaunchWeek/Releases/LW7/Day5.tsx +++ b/apps/www/components/LaunchWeek/Releases/LW7/Day5.tsx @@ -46,6 +46,7 @@ const getDay5omt02Motion = (index: number) => { const Day5 = ({ day }: { day: WeekDayProps }) => { const isMobile = useMobileViewport(767) const isTablet = useMobileViewport(1023) + const isDesktop = useMobileViewport(1279) return ( <> @@ -397,7 +398,7 @@ const Day5 = ({ day }: { day: WeekDayProps }) => { { -
+
{day.steps[1].steps[6].title}
- + {day.steps[1].steps[6].badge} { ' ' )} layout="fill" - objectPosition={!!layer.mobileImg && isTablet ? '50% 50%' : '50% 50%'} - objectFit="cover" + objectPosition={isMobile ? '0% 50%' : isDesktop ? '100% 50%' : '0% 50%'} + objectFit={isMobile ? 'cover' : isDesktop ? 'contain' : 'cover'} quality={100} /> diff --git a/apps/www/components/LaunchWeek/lw7_days.ts b/apps/www/components/LaunchWeek/lw7_days.ts index 84a89d50b95..7632d4fd7c5 100644 --- a/apps/www/components/LaunchWeek/lw7_days.ts +++ b/apps/www/components/LaunchWeek/lw7_days.ts @@ -34,7 +34,11 @@ const images = { '04-sso-02': '/images/launchweek/seven/day4/sso-support-02.png', '04-sso-02-mobile': '/images/launchweek/seven/day4/sso-support-02-mobile.png', '05-community-01-001': '/images/launchweek/seven/day5/community/community-01-01.jpg', + '05-community-01-001-mobile': + '/images/launchweek/seven/day5/community/community-01-01-mobile.jpg', '05-community-01-002': '/images/launchweek/seven/day5/community/community-01-02.png', + '05-community-01-002-mobile': + '/images/launchweek/seven/day5/community/community-01-02-mobile.png', '05-community-01-thumb': '/images/launchweek/seven/day5/community/community-thumb.jpg', '05-studio-01-thumb': '/images/launchweek/seven/day5/studio/studio-thumb.jpg', '05-studio-01-base': '/images/launchweek/seven/day5/studio/studio-01-commandK.jpg', @@ -44,7 +48,7 @@ const images = { '05-studio-04-base': '/images/launchweek/seven/day5/studio/studio-04-apiAutodocs.jpg', '05-studio-05-base': '/images/launchweek/seven/day5/studio/studio-05-pgRoles.jpg', '05-studio-06-base': '/images/launchweek/seven/day5/studio/studio-06-casDeletes.jpg', - '05-studio-07-base': '/images/launchweek/seven/day5/studio/studio-07-graphiQL.jpg', + '05-studio-07-base': '/images/launchweek/seven/day5/studio/studio-07-graphiQL-02.jpg', '05-studio-08-base': '/images/launchweek/seven/day5/studio/studio-08-dbWebhooks.jpg', '05-studio-08-base-mobile': '/images/launchweek/seven/day5/studio/studio-08-dbWebhooks-mobile.jpg', @@ -300,9 +304,11 @@ const days: WeekDayProps[] = [ bg_layers: [ { img: images['05-community-01-001'], + mobileImg: images['05-community-01-001-mobile'], }, { img: images['05-community-01-002'], + mobileImg: images['05-community-01-002-mobile'], }, ], steps: [], diff --git a/apps/www/public/images/launchweek/seven/day5/community/community-01-01-mobile.jpg b/apps/www/public/images/launchweek/seven/day5/community/community-01-01-mobile.jpg new file mode 100644 index 00000000000..0ef6572cc64 Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day5/community/community-01-01-mobile.jpg differ diff --git a/apps/www/public/images/launchweek/seven/day5/community/community-01-02-mobile.png b/apps/www/public/images/launchweek/seven/day5/community/community-01-02-mobile.png new file mode 100644 index 00000000000..1e571650ac9 Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day5/community/community-01-02-mobile.png differ diff --git a/apps/www/public/images/launchweek/seven/day5/studio/studio-07-graphiQL-02.jpg b/apps/www/public/images/launchweek/seven/day5/studio/studio-07-graphiQL-02.jpg new file mode 100644 index 00000000000..c2b5ee866d4 Binary files /dev/null and b/apps/www/public/images/launchweek/seven/day5/studio/studio-07-graphiQL-02.jpg differ