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>
56 lines
2.1 KiB
TypeScript
56 lines
2.1 KiB
TypeScript
import { NextPage } from 'next'
|
|
import dynamic from 'next/dynamic'
|
|
import { NextSeo } from 'next-seo'
|
|
|
|
import Layout from 'components/Layouts/Default'
|
|
import ProductHeader from 'components/Sections/ProductHeader2'
|
|
import EnterpriseLogos from 'components/Enterprise/EnterpriseLogos'
|
|
import SolutionsStickyNav from 'components/SolutionsStickyNav'
|
|
|
|
import content from 'data/enterprise'
|
|
import { Solutions } from 'data/Solutions'
|
|
|
|
const EnterpriseUseCases = dynamic(() => import('components/Enterprise/UseCases'))
|
|
const EnterprisePerformance = dynamic(() => import('components/Enterprise/Performance'))
|
|
const EnterpriseSecurity = dynamic(() => import('components/Enterprise/Security'))
|
|
const EnterpriseSupport = dynamic(() => import('components/Enterprise/Support'))
|
|
const EnterpriseQuote = dynamic(() => import('components/Sections/SingleQuote'))
|
|
const CTAForm = dynamic(() => import('components/Enterprise/CTAForm'))
|
|
|
|
const Enterprise: NextPage = () => (
|
|
<>
|
|
<NextSeo
|
|
title={content.metadata.metaTitle}
|
|
description={content.metadata.metaDescription}
|
|
openGraph={{
|
|
title: content.metadata.metaTitle,
|
|
description: content.metadata.metaDescription,
|
|
url: `https://supabase.com/enterprise`,
|
|
images: [
|
|
{
|
|
url: `/images/enterprise/enterprise-og.png`,
|
|
},
|
|
],
|
|
}}
|
|
/>
|
|
<Layout className="overflow-visible">
|
|
<SolutionsStickyNav activeItem={Solutions.enterprise} type="use-case" />
|
|
<ProductHeader
|
|
{...content.heroSection}
|
|
className="[&_h1]:2xl:text-5xl! bg-default border-0 lg:pb-8 [&_.ph-footer]:mt-0 [&_.ph-footer]:lg:mt-16 [&_.ph-footer]:xl:mt-32"
|
|
sectionContainerClassName="lg:gap-4"
|
|
footer={<EnterpriseLogos className="lg:max-w-xs xl:max-w-none" />}
|
|
footerPosition="left"
|
|
/>
|
|
<EnterpriseUseCases {...content['use-cases']} />
|
|
<EnterprisePerformance {...content.performance} />
|
|
<EnterpriseSecurity {...content.security} />
|
|
<EnterpriseSupport {...content.support} />
|
|
<EnterpriseQuote {...content.quote} />
|
|
<CTAForm />
|
|
</Layout>
|
|
</>
|
|
)
|
|
|
|
export default Enterprise
|