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>
42 lines
1.5 KiB
TypeScript
42 lines
1.5 KiB
TypeScript
import Image from 'next/image'
|
|
import React from 'react'
|
|
import { cn } from 'ui'
|
|
import SectionContainer from '~/components/Layouts/SectionContainer'
|
|
|
|
const LWHeader = ({ className }: { className?: string }) => {
|
|
return (
|
|
<div
|
|
className={cn(
|
|
'relative w-full pt-10 sm:pt-8 overflow-hidden lg:h-[400px] lg:min-h-[400px]',
|
|
className
|
|
)}
|
|
>
|
|
<div className="absolute z-0 inset-0 w-full h-full">
|
|
<div className="absolute z-0 inset-0 w-full pointer-events-none!"></div>
|
|
<div className="absolute inset-0 w-full h-full bg-linear-to-t from-background to-transparent pointer-events-none!" />
|
|
</div>
|
|
<SectionContainer className="h-full flex flex-col items-start justify-end gap-3 max-w-none! lg:container! pb-4! md:pb-10! pointer-events-none!">
|
|
<h1 className="text-4xl uppercase tracking-wide pointer-events-none">
|
|
<span className="flex gap-1 items-center">
|
|
<Image
|
|
src="/images/launchweek/14/logo-pixel-small-dark.png"
|
|
width="18"
|
|
height="20"
|
|
className="w-auto h-5 invert dark:invert-0"
|
|
alt=""
|
|
/>
|
|
Supabase
|
|
</span>
|
|
LaunchWeek 14
|
|
<span className="block">MAR 31-APR 04</span>
|
|
</h1>
|
|
<p className="text-foreground-lighter max-w-xs md:max-w-sm pointer-events-none uppercase">
|
|
A week of new features and new ways to level up your development.
|
|
</p>
|
|
</SectionContainer>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default LWHeader
|