mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03: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>
96 lines
3.9 KiB
TypeScript
96 lines
3.9 KiB
TypeScript
import { NextPage } from 'next'
|
|
import dynamic from 'next/dynamic'
|
|
import Image from 'next/image'
|
|
import { NextSeo } from 'next-seo'
|
|
|
|
import Layout from 'components/Layouts/Default'
|
|
import ProductHeader from 'components/Sections/ProductHeader2'
|
|
import SolutionsStickyNav from 'components/SolutionsStickyNav'
|
|
import getContent from 'data/solutions/developers'
|
|
|
|
import { Solutions } from 'data/Solutions'
|
|
|
|
const WhySupabase = dynamic(() => import('components/Solutions/FeaturesSection'))
|
|
const PlatformSection = dynamic(() => import('components/Solutions/PlatformSection'))
|
|
const PlatformStarterSection = dynamic(() => import('components/Solutions/TwoColumnsSection'))
|
|
const DXSection = dynamic(() => import('components/Solutions/DeveloperExperienceSection'))
|
|
const ResultsSection = dynamic(() => import('components/Solutions/ResultsSection'))
|
|
const FeatureGrid = dynamic(() => import('components/Solutions/FeatureGrid'))
|
|
const SingleQuote = dynamic(() => import('components/Sections/SingleQuote'))
|
|
const Security = dynamic(() => import('components/Enterprise/Security'))
|
|
const MPCSection = dynamic(() => import('components/Solutions/MPCSection'))
|
|
|
|
const BeginnersPage: NextPage = () => {
|
|
const content = getContent()
|
|
|
|
return (
|
|
<>
|
|
<NextSeo
|
|
title={content.metadata.metaTitle}
|
|
description={content.metadata.metaDescription}
|
|
openGraph={{
|
|
title: content.metadata.metaTitle,
|
|
description: content.metadata.metaDescription,
|
|
url: `https://supabase.com/solutions/developers`,
|
|
}}
|
|
/>
|
|
<Layout className="overflow-visible">
|
|
<SolutionsStickyNav activeItem={Solutions.developers} type="skill-based" />
|
|
<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"
|
|
/>
|
|
<WhySupabase {...content.why} />
|
|
<PlatformSection {...content.platform} />
|
|
<DXSection
|
|
id={content.developerExperience.id}
|
|
title={content.developerExperience.title}
|
|
subheading={content.developerExperience.subheading}
|
|
features={content.developerExperience.features}
|
|
className={content.developerExperience.className}
|
|
/>
|
|
<ResultsSection
|
|
id={content.resultsSection.id}
|
|
heading={content.resultsSection.heading}
|
|
subheading={content.resultsSection.subheading}
|
|
highlights={content.resultsSection.highlights}
|
|
/>
|
|
<FeatureGrid id={content.featureGrid.id} features={content.featureGrid.features} />
|
|
<Security
|
|
id={content.securitySection.id}
|
|
label={content.securitySection.label}
|
|
heading={content.securitySection.heading}
|
|
subheading={content.securitySection.subheading}
|
|
features={content.securitySection.features}
|
|
cta={content.securitySection.cta}
|
|
/>
|
|
<SingleQuote
|
|
id="quote"
|
|
className="pb-8! md:pb-12! [&_q]:max-w-2xl"
|
|
quote={{
|
|
text: 'Supabase enabled us to focus on building the best email infrastructure for developers — without worrying about backend complexity. Their authentication, database, and support have been game-changers for our rapid growth.',
|
|
author: 'Zeno Rocha',
|
|
role: 'CEO at Resend',
|
|
link: '/customers/resend',
|
|
logo: (
|
|
<Image
|
|
draggable={false}
|
|
src="/images/blog/avatars/zeno-rocha.png"
|
|
alt="Zeno Rocha, CEO at Resend"
|
|
className="w-10 h-10 rounded-full overflow-hidden object-cover"
|
|
width={28}
|
|
height={28}
|
|
/>
|
|
),
|
|
}}
|
|
/>
|
|
<PlatformStarterSection {...content.platformStarterSection} />
|
|
<MPCSection {...content.mcp} />
|
|
</Layout>
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default BeginnersPage
|