The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix light mode lw14 (#34517)
Francesco Sansalvadore93f548420d02
diff --git a/apps/www/components/LaunchWeek/14/ActionButton.tsx b/apps/www/components/LaunchWeek/14/ActionButton.tsxindex eec529cf52f..f5619699d8f 100644--- a/apps/www/components/LaunchWeek/14/ActionButton.tsx+++ b/apps/www/components/LaunchWeek/14/ActionButton.tsx@@ -10,9 +10,9 @@ const actionButtonVariants = cva(variants: {variant: {primary:- 'bg-gradient-to-b from-emerald-400/0 via-emerald-400/30 to-emerald-400/0 shadow-[0px_0px_6px_0px_rgba(44,244,148,0.40)] outline-emerald-400/60',+ 'dark:bg-gradient-to-b from-emerald-400/0 via-emerald-400/30 to-emerald-400/0 dark:shadow-[0px_0px_6px_0px_rgba(44,244,148,0.40)] outline-emerald-400/60',secondary:- 'bg-gradient-to-b from-neutral-600/0 via-neutral-600/30 to-neutral-600/0 shadow-[0px_0px_6px_0px_rgba(255,255,255,0.10)] outline-white/10',+ 'dark:bg-gradient-to-b from-neutral-600/0 via-neutral-600/30 to-neutral-600/0 dark:shadow-[0px_0px_6px_0px_rgba(255,255,255,0.10)] outline-white/10',},},defaultVariants: {@@ -37,12 +37,12 @@ const iconVariants = cva()const textVariants = cva(- 'justify-center text-white text-xs leading-[20px] font-normal min-w-[108.25px] [@media(pointer:coarse)]:pl-2 text-nowrap',+ 'justify-center text-foreground text-xs leading-[20px] font-normal min-w-[108.25px] [@media(pointer:coarse)]:pl-2 text-nowrap',{variants: {variant: {- primary: '[text-shadow:_0px_0px_10px_rgb(255_255_255_/_1.00)]',- secondary: '[text-shadow:_0px_0px_4px_rgb(255_255_255_/_0.44)]',+ primary: 'dark:[text-shadow:_0px_0px_10px_rgb(255_255_255_/_1.00)]',+ secondary: 'dark:[text-shadow:_0px_0px_4px_rgb(255_255_255_/_0.44)]',},},defaultVariants: {@@ -91,7 +91,7 @@ export const ActionButton = ({ref={buttonRef}><div className={cn(iconVariants({ variant }), '[@media(pointer:coarse)]:hidden')}>- <div className="text-center justify-center text-neutral-50 text-xs font-normal leading-none [text-shadow:_0px_0px_4px_rgb(255_255_255_/_0.25)]">+ <div className="text-center justify-center text-neutral-50 text-xs font-normal leading-none dark:[text-shadow:_0px_0px_4px_rgb(255_255_255_/_0.25)]">{icon}</div></div>diff --git a/apps/www/components/LaunchWeek/14/LwView.tsx b/apps/www/components/LaunchWeek/14/LwView.tsxindex b6654a47f36..44d57d9c135 100644--- a/apps/www/components/LaunchWeek/14/LwView.tsx+++ b/apps/www/components/LaunchWeek/14/LwView.tsx@@ -47,7 +47,7 @@ export const LwView = () => {src="/images/launchweek/14/logo-pixel-small-dark.png"width="18"height="20"- className="w-auto h-5"+ className="w-auto h-5 invert dark:invert-0"alt=""/>Supabasediff --git a/apps/www/components/LaunchWeek/14/TicketLayout.tsx b/apps/www/components/LaunchWeek/14/TicketLayout.tsxindex 5dbf0073513..b736d48d859 100644--- a/apps/www/components/LaunchWeek/14/TicketLayout.tsx+++ b/apps/www/components/LaunchWeek/14/TicketLayout.tsx@@ -4,7 +4,7 @@ import SectionContainerWithCn from '~/components/Layouts/SectionContainerWithCn'export const TicketLayout = ({ children }: { children: ReactNode }) => {return (- <SectionContainerWithCn height="narrow" className="font-mono z-20 relative px-0">+ <SectionContainerWithCn className="font-mono z-20 relative px-0">{children}</SectionContainerWithCn>)diff --git a/packages/ui-patterns/Banners/LW14Banner.tsx b/packages/ui-patterns/Banners/LW14Banner.tsxindex e4a2027d346..f3bd7fd7186 100644--- a/packages/ui-patterns/Banners/LW14Banner.tsx+++ b/packages/ui-patterns/Banners/LW14Banner.tsx@@ -8,15 +8,9 @@ import { useTheme } from 'next-themes'import { Button } from 'ui/src/components/Button'import { cn } from 'ui'-const LW14BGDark =- 'https://xguihxuzqibwxjnimxev.supabase.co/storage/v1/object/public/images/launch-week/lw13/assets/lw13-banner-dark.png?t=2024-11-22T23%3A10%3A37.646Z'-const LW14BGLight =- 'https://xguihxuzqibwxjnimxev.supabase.co/storage/v1/object/public/images/launch-week/lw13/assets/lw13-banner-light.png?t=2024-11-22T23%3A10%3A37.646Z'-export function LW14Banner() {const pathname = usePathname()const { resolvedTheme } = useTheme()- const bgImage = resolvedTheme?.includes('dark') ? LW14BGDark : LW14BGLightconst isHomePage = pathname === '/'const isLaunchWeekPage =pathname === '/launch-week' || pathname?.includes('/launch-week/tickets/')@@ -44,15 +38,6 @@ export function LW14Banner() {</Button></div></div>- <Image- src={bgImage}- alt=""- fill- sizes="100%"- quality={100}- aria-hidden- className="absolute not-sr-only object-cover z-0 inset-0 w-full h-auto"- /></div>)}