The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
lw8: smol fixes
Francesco Sansalvadoreb66698f03184
diff --git a/apps/www/components/Hero/Hero.tsx b/apps/www/components/Hero/Hero.tsxindex 3b50464f47d..1cc9750aafc 100644--- a/apps/www/components/Hero/Hero.tsx+++ b/apps/www/components/Hero/Hero.tsx@@ -31,7 +31,7 @@ const Hero = () => {return (<div className="relative -mt-[65px]">- <SectionContainer className="py-12 md:py-16 lg:py-20">+ <SectionContainer className="py-12 md:py-16 lg:py-20 overflow-hidden"><div className="relative"><div className="mx-auto"><div className="mx-auto max-w-2xl lg:col-span-6 lg:flex lg:items-center justify-center text-center">diff --git a/apps/www/components/LaunchWeek/8/TicketBrickWallSlider.tsx b/apps/www/components/LaunchWeek/8/TicketBrickWallSlider.tsxindex c1484e5f961..6a062befedd 100644--- a/apps/www/components/LaunchWeek/8/TicketBrickWallSlider.tsx+++ b/apps/www/components/LaunchWeek/8/TicketBrickWallSlider.tsx@@ -56,13 +56,16 @@ export function TicketBrickWallSlider({ users, reverse, speed = 50000, animate }<div className="relative w-full pt-[50%] transform rounded-md md:rounded-lg overflow-hidden bg-gradient-to-b from-[#22282a] to-[#030A0C]"><div className="absolute inset-[1px] w-[calc(100%-2px)] h-[calc(100%-2px)] rounded-md md:rounded-lg overflow-hidden p-[1px]"><Image- src={getOgUrl(user.username!, !!user.golden)}+ src={+ getOgUrl(user.username!, !!user.golden) ??+ '/images/launchweek/8/lw8-ticket-empty.jpg'+ }alt={user.username}layout="fill"objectFit="cover"objectPosition="center"placeholder="blur"- blurDataURL="/images/blur.png"+ blurDataURL="/images/launchweek/8/lw8-ticket-empty.jpg"className="absolute inset-[1px] rounded-md md:rounded-lg"/></div>diff --git a/apps/www/pages/launch-week/tickets/index.tsx b/apps/www/pages/launch-week/tickets/index.tsxindex bd8b573b75b..b0423f3180b 100644--- a/apps/www/pages/launch-week/tickets/index.tsx+++ b/apps/www/pages/launch-week/tickets/index.tsx@@ -6,6 +6,7 @@ import { Button } from 'ui'import Link from 'next/link'import { motion } from 'framer-motion'import { createClient } from '@supabase/supabase-js'+import { debounce } from 'lodash'import { SITE_ORIGIN, SITE_URL } from '~/lib/constants'import { useTheme } from 'common/Providers'@@ -81,6 +82,16 @@ export default function TicketsPage({ users }: Props) {}}+ useEffect(() => {+ const handleDebouncedScroll = debounce(() => !isLast && handleScroll(), 200)++ window.addEventListener('scroll', handleDebouncedScroll)++ return () => {+ window.removeEventListener('scroll', handleDebouncedScroll)+ }+ }, [])+useEffect(() => {toggleTheme(true)document.body.className = 'dark bg-[#020405]'diff --git a/apps/www/public/images/launchweek/8/lw8-ticket-empty.jpg b/apps/www/public/images/launchweek/8/lw8-ticket-empty.jpgnew file mode 100644index 00000000000..fb846cf7412Binary files /dev/null and b/apps/www/public/images/launchweek/8/lw8-ticket-empty.jpg differ