mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
This PR migrates the whole monorepo to use Tailwind v4: - Removed `@tailwindcss/container-queries` plugin since it's included by default in v4, - Bump all instances of Tailwind to v4. Made minimal changes to the shared config to remove non-supported features (`alpha` mentions), - Migrate all apps to be compatible with v4 configs, - Fix the `typography.css` import in 3 apps, - Add missing rules which were included by default in v3, - Run `pnpm dlx @tailwindcss/upgrade` on all apps, which renames a lot of classes - Rename all misnamed classes according to https://tailwindcss.com/docs/upgrade-guide#renamed-utilities in all apps. --------- Co-authored-by: Jordi Enric <jordi.err@gmail.com>
28 lines
1.2 KiB
TypeScript
28 lines
1.2 KiB
TypeScript
import React from 'react'
|
|
import { cn } from 'ui'
|
|
import SectionContainer from '~/components/Layouts/SectionContainer'
|
|
import LW12Background from '../LW12Background'
|
|
|
|
const LWHeader = ({ className }: { className?: string }) => {
|
|
return (
|
|
<div className={cn('relative w-full overflow-hidden pt-10 sm:pt-8', className)}>
|
|
<div className="absolute z-0 inset-0 w-full h-full overflow-hidden pointer-events-none">
|
|
<div className="absolute z-0 inset-0 w-full">
|
|
<LW12Background className="absolute z-0 inset-0 w-full flex items-center justify-center opacity-100 transition-opacity h-full" />
|
|
</div>
|
|
<div className="absolute inset-0 w-full h-full bg-[linear-gradient(to_top,#060809)_0%,]" />
|
|
</div>
|
|
<SectionContainer className="h-full flex flex-col items-start gap-3 max-w-none! lg:container! pb-4! md:pb-10!">
|
|
<h1 className="text-3xl font-medium uppercase">
|
|
Launch Week <span className="font-mono">12</span>
|
|
</h1>
|
|
<p className="text-foreground-lighter md:text-xl max-w-xs md:max-w-md">
|
|
Join us for a week of announcements
|
|
</p>
|
|
</SectionContainer>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default LWHeader
|