Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

lw cleanup

Francesco Sansalvadore3821c657fd24
diff --git a/apps/www/components/LaunchWeek/8/Releases/index.tsx b/apps/www/components/LaunchWeek/8/Releases/index.tsx
index 8d7f83632ed..376952a1467 100644
--- a/apps/www/components/LaunchWeek/8/Releases/index.tsx
+++ b/apps/www/components/LaunchWeek/8/Releases/index.tsx
@@ -1,16 +1,11 @@
import Image from 'next/image'
-import { motion } from 'framer-motion'
+import Link from 'next/link'
import { Accordion } from 'ui'
import { useBreakpoint } from 'common/hooks/useBreakpoint'
-import days, { WeekDayProps } from './lw8_data'
-import SectionContainer from '~/components/Layouts/SectionContainer'
import { AccordionHeader, CartTitle, CheckCircleSolidIcon, SectionButtons } from './components'
-import Link from 'next/link'
-
-export const defaultEase = [0.25, 0.25, 0, 1]
-export const defaultDuratonIn = 0.25
-export const defaultDuratonOut = 0.1
+import SectionContainer from '~/components/Layouts/SectionContainer'
+import days, { WeekDayProps } from './lw8_data'
export default function LW8Releases() {
const [preRelease, day1, day2, day3, day4, day5] = days
@@ -55,14 +50,11 @@ export default function LW8Releases() {
>
{preRelease.steps.length > 0 && (
<div className="flex flex-col gap-5 lg:flex-row pb-4">
- <motion.div
+ <div
className={`
min-h-[400px] relative overflow-hidden group/pre0 flex-1 flex flex-col items-center justify-between
basis-1/2 lg:basis-1/3 border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
`}
- initial="default"
- animate="default"
- whileHover="hover"
>
<div
className="inset-0 absolute group-hover/pre0:scale-105 opacity-10 group-hover/pre0:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
@@ -79,7 +71,7 @@ export default function LW8Releases() {
preRelease.steps[0]?.bg_layers?.map(
(layer, i) =>
!!layer.img && (
- <motion.div className="absolute opacity-90 inset-0 w-full h-full -z-10">
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
<Image
src={
!!layer.mobileImg && isTablet
@@ -94,18 +86,15 @@ export default function LW8Releases() {
objectPosition="100%"
objectFit="cover"
/>
- </motion.div>
+ </div>
)
)}
- </motion.div>
- <motion.div
+ </div>
+ <div
className={`
min-h-[400px] relative overflow-hidden group/pre1 flex-1 flex flex-col items-center justify-between
basis-1/2 lg:basis-1/3 border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-cover shadow-lg
`}
- initial="default"
- animate="default"
- whileHover="hover"
>
<div
className="inset-0 absolute group-hover/pre1:scale-105 opacity-60 group-hover/pre1:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
@@ -125,7 +114,7 @@ export default function LW8Releases() {
preRelease.steps[1]?.bg_layers?.map(
(layer, i) =>
!!layer.img && (
- <motion.div className="absolute opacity-90 inset-0 w-full h-full -z-10">
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
<Image
src={
!!layer.mobileImg && isTablet
@@ -140,19 +129,17 @@ export default function LW8Releases() {
objectPosition="20% 50%"
objectFit="cover"
/>
- </motion.div>
+ </div>
)
)}
- </motion.div>
- <motion.div
+ </div>
+ <div
className={`
min-h-[400px] relative overflow-hidden group/pre2 flex-1 flex flex-col items-center justify-between
basis-1/2 lg:basis-1/3 border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
`}
- initial="default"
- animate="default"
- whileHover="hover"
>
+ {' '}
<div
className="inset-0 absolute group-hover/pre2:scale-105 opacity-60 group-hover/pre2:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
style={{
@@ -168,7 +155,7 @@ export default function LW8Releases() {
preRelease.steps[2]?.bg_layers?.map(
(layer, i) =>
!!layer.img && (
- <motion.div className="absolute opacity-90 inset-0 w-full h-full -z-10">
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
<Image
src={layer.img}
className={`
@@ -181,10 +168,10 @@ export default function LW8Releases() {
}
objectFit="contain"
/>
- </motion.div>
+ </div>
)
)}
- </motion.div>
+ </div>
</div>
)}
</Accordion.Item>
@@ -203,14 +190,11 @@ export default function LW8Releases() {
{day1.steps.length > 0 && (
<div className="flex flex-col gap-5 lg:flex-row pb-4">
- <motion.div
+ <div
className={`
min-h-[400px] relative overflow-hidden group/d1 flex-1 flex flex-col items-center lg:items-start justify-between
basis-1/2 lg:basis-1/3 border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
`}
- initial="default"
- animate="default"
- whileHover="hover"
>
<div
className="inset-0 absolute group-hover/d1:scale-105 opacity-60 group-hover/d1:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
@@ -231,7 +215,7 @@ export default function LW8Releases() {
day1.steps[0]?.bg_layers?.map(
(layer, i) =>
!!layer.img && (
- <motion.div className="absolute opacity-90 inset-0 w-full h-full -z-10">
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
<Image
src={
!!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img
@@ -244,10 +228,10 @@ export default function LW8Releases() {
objectPosition={isTablet ? '50%' : '90% 50%'}
objectFit="contain"
/>
- </motion.div>
+ </div>
)
)}
- </motion.div>
+ </div>
</div>
)}
</div>
@@ -265,14 +249,11 @@ export default function LW8Releases() {
{day2.steps.length > 0 && (
<div className="flex flex-col gap-5 lg:flex-row pb-4">
- <motion.div
+ <div
className={`
min-h-[400px] relative overflow-hidden group/d1 flex-1 flex flex-col items-center lg:items-start justify-between
basis-1/2 lg:basis-1/3 border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
`}
- initial="default"
- animate="default"
- whileHover="hover"
>
<div
className="inset-0 absolute group-hover/d1:scale-105 opacity-60 group-hover/d1:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
@@ -293,7 +274,7 @@ export default function LW8Releases() {
day2.steps[0]?.bg_layers?.map(
(layer, i) =>
!!layer.img && (
- <motion.div className="absolute opacity-90 inset-0 w-full h-full -z-10">
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
<Image
src={
!!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img
@@ -305,10 +286,10 @@ export default function LW8Releases() {
layout="fill"
objectFit="cover"
/>
- </motion.div>
+ </div>
)
)}
- </motion.div>
+ </div>
</div>
)}
</div>
@@ -326,14 +307,11 @@ export default function LW8Releases() {
{day3.steps.length > 0 && (
<div className="flex flex-col gap-5 lg:flex-row pb-4">
- <motion.div
+ <div
className={`
min-h-[400px] relative overflow-hidden group/d1 flex-1 flex flex-col items-center lg:items-start justify-between
basis-1/2 lg:basis-1/3 border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
`}
- initial="default"
- animate="default"
- whileHover="hover"
>
<div
className="inset-0 absolute group-hover/d1:scale-105 opacity-60 group-hover/d1:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
@@ -368,7 +346,7 @@ export default function LW8Releases() {
day3.steps[0]?.bg_layers?.map(
(layer, i) =>
!!layer.img && (
- <motion.div className="absolute opacity-90 inset-0 w-full h-full -z-10">
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
<Image
src={
!!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img
@@ -378,10 +356,10 @@ export default function LW8Releases() {
objectPosition={isTablet ? '50%' : '100% 50%'}
objectFit={i == 1 && isTablet ? 'contain' : 'cover'}
/>
- </motion.div>
+ </div>
)
)}
- </motion.div>
+ </div>
</div>
)}
</div>
@@ -399,14 +377,11 @@ export default function LW8Releases() {
{day4.steps.length > 0 && (
<div className="flex flex-col gap-5 lg:flex-row pb-4">
- <motion.div
+ <div
className={`
min-h-[400px] relative overflow-hidden group/d1 flex-1 flex flex-col items-center lg:items-start justify-between
basis-1/2 lg:flex-shrink xl:basis-2/3 border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
`}
- initial="default"
- animate="default"
- whileHover="hover"
>
<div
className="inset-0 absolute group-hover/d1:scale-105 opacity-60 group-hover/d1:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
@@ -427,7 +402,7 @@ export default function LW8Releases() {
day4.steps[0]?.bg_layers?.map(
(layer, i) =>
!!layer.img && (
- <motion.div className="absolute opacity-90 inset-0 w-full h-full -z-10">
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
<Image
src={
!!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img
@@ -437,18 +412,15 @@ export default function LW8Releases() {
objectPosition={isTablet ? '50%' : '100% 50%'}
objectFit={i == 1 && isTablet ? 'contain' : 'cover'}
/>
- </motion.div>
+ </div>
)
)}
- </motion.div>
- <motion.div
+ </div>
+ <div
className={`
min-h-[400px] relative overflow-hidden group/d1 flex-1 flex flex-col items-center justify-between
basis-1/2 lg:basis-1/3 border border-[#111718] rounded-xl lg:h-full bg-no-repeat py-10 lg:py-12 px-8 lg:px-10 text-2xl bg-contain shadow-lg
`}
- initial="default"
- animate="default"
- whileHover="hover"
>
<div
className="inset-0 absolute group-hover/d1:scale-105 opacity-60 group-hover/d1:opacity-100 w-full h-full -z-10 transition-all duration-500 pointer-events-none"
@@ -469,7 +441,7 @@ export default function LW8Releases() {
day4.steps[1]?.bg_layers?.map(
(layer, i) =>
!!layer.img && (
- <motion.div className="absolute opacity-90 inset-0 w-full h-full -z-10">
+ <div className="absolute opacity-90 transition-opacity inset-0 w-full h-full -z-10 group-hover/d1:opacity-100">
<Image
src={
!!layer.mobileImg && isTablet ? (layer.mobileImg as any) : layer.img
@@ -478,10 +450,10 @@ export default function LW8Releases() {
layout="fill"
objectFit="cover"
/>
- </motion.div>
+ </div>
)
)}
- </motion.div>
+ </div>
</div>
)}
</div>
diff --git a/apps/www/components/LaunchWeek/8/Releases/lw8_data.ts b/apps/www/components/LaunchWeek/8/Releases/lw8_data.ts
index 12c505af7b4..83485f22586 100644
--- a/apps/www/components/LaunchWeek/8/Releases/lw8_data.ts
+++ b/apps/www/components/LaunchWeek/8/Releases/lw8_data.ts
@@ -51,8 +51,8 @@ export interface WeekDayProps {
dd: string
youtube_id: string
videoThumbnail?: string
- blogpost: string
- docs: string
+ blogpost?: string
+ docs?: string
twitter_spaces?: string
steps: StepProps[] | []
}
@@ -103,8 +103,6 @@ const days: WeekDayProps[] = [
dd: 'Mon',
youtube_id: 'RJccSbJ9Go4',
videoThumbnail: images.day_1_thumb,
- blogpost: '',
- docs: '',
twitter_spaces: 'https://twitter.com/i/spaces/1DXGyvjkeEeJM',
steps: [
{
@@ -128,9 +126,7 @@ const days: WeekDayProps[] = [
dd: 'Tue',
youtube_id: 'N0Wb85m3YMI',
videoThumbnail: images.day_2_thumb,
- blogpost: '',
twitter_spaces: 'https://twitter.com/i/spaces/1vAxRAvNQyDJl?s=20',
- docs: '',
steps: [
{
title: 'Supabase Local Dev: Migrations, Branching, Observability',
@@ -152,8 +148,6 @@ const days: WeekDayProps[] = [
dd: 'Wed',
youtube_id: '51tCMQPiitQ',
videoThumbnail: images.day_3_thumb,
- blogpost: '',
- docs: '',
steps: [
{
title: 'Supabase Studio 3.0',
@@ -178,8 +172,6 @@ const days: WeekDayProps[] = [
youtube_id: 'gtJo1lTxHfs',
videoThumbnail: images.day_4_thumb,
twitter_spaces: 'https://twitter.com/supabase/status/1688544207571484672?s=20',
- blogpost: '',
- docs: '',
steps: [
{
title: 'Supabase Integrations Marketplace',
@@ -199,13 +191,11 @@ const days: WeekDayProps[] = [
title: '',
shipped: false,
date: '11 Aug',
- publishedAt: '2023-08-11T00:00:00.000-07:00',
+ publishedAt: '2023-08-11T09:00:00.000-07:00',
description: '',
d: 5,
dd: 'Fri',
youtube_id: '',
- blogpost: '',
- docs: '',
steps: [],
},
]