Files
supabase/apps/www/components/LaunchWeek/11/Releases/LW11Header.tsx
Gildas Garcia a6e79ebacb chore: delete Button alternative deprecated variant (#47260)
## Problem

The `alternative` variant for `<Button>` has been deprecated but is
still used in a few places.

## Solution

- Migrate usages to the recommended `primary` variant
- Delete the `alternative` variant 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Style**
* Updated several buttons across forms, logs, recent queries, and
release headers to use the primary visual style.
* Button styling is now more consistent throughout the app, with a
cleaner default emphasis for key actions.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-06-24 14:14:47 +02:00

46 lines
1.6 KiB
TypeScript

import SectionContainer from '~/components/Layouts/SectionContainer'
import Image from 'next/image'
import Link from 'next/link'
import React from 'react'
import { Button, cn } from 'ui'
const LW11Header = ({ className }: { className?: string }) => {
return (
<div className={cn('relative w-full overflow-visible pt-10 sm:pt-8', className)}>
<SectionContainer className="h-full flex flex-col items-start gap-4 max-w-none! lg:container! pb-4! md:pb-10!">
<Image
src="/images/launchweek/ga/ga-black.svg"
alt="GA logo"
className="dark:hidden w-20 md:w-24 aspect-104/57 h-auto"
priority
quality={100}
width={300}
height={300}
/>
<Image
src="/images/launchweek/ga/ga-white.svg"
alt="GA logo"
className="hidden dark:block w-20 md:w-24 aspect-104/57 h-auto"
priority
quality={100}
width={300}
height={300}
/>
<p className="text-foreground-lighter text-xl md:text-2xl max-w-2xl">
Supabase is{' '}
<strong className="text-foreground font-normal">
officially launching into General Availability
</strong>
. <br className="hidden sm:block" /> Join us in this major milestone and explore{' '}
<br className="hidden sm:block" /> the exciting features that come with it.
</p>
<Button asChild size="small" variant="primary">
<Link href="/ga">Read full announcement</Link>
</Button>
</SectionContainer>
</div>
)
}
export default LW11Header