mirror of
https://github.com/supabase/supabase.git
synced 2026-10-07 18:35:07 +03:00
* Added new solutions pages and a new case study * ci: Autofix updates from GitHub workflow * Fixed solution page navigation * Updated th e Soshi case study * improve solutions navigation * fix prettier * rebase * refine single quote * add firebase hero visuals * fix z layer for sticky nav * animate results graph * animated counter * prettier * fix quote on hackathon * nits * remove visuals from heros * gs * fix * improve graph label --------- Co-authored-by: Alan Daniel <stylesshjs@gmail.com> Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
88 lines
3.2 KiB
TypeScript
88 lines
3.2 KiB
TypeScript
import { NextPage } from 'next'
|
|
import dynamic from 'next/dynamic'
|
|
import { NextSeo } from 'next-seo'
|
|
|
|
import Layout from 'components/Layouts/Default'
|
|
import SolutionsStickyNav from 'components/SolutionsStickyNav'
|
|
import content from 'data/solutions/hackathon'
|
|
import { Solutions } from 'data/Solutions'
|
|
|
|
const ProductHeader = dynamic(() => import('components/Sections/ProductHeader2'))
|
|
const SingleQuote = dynamic(() => import('components/Sections/SingleQuote'))
|
|
const FeaturesSection = dynamic(() => import('components/Solutions/FeaturesSection'))
|
|
const PlatformSection = dynamic(() => import('components/Solutions/PlatformSection'))
|
|
const DXSection = dynamic(() => import('components/Solutions/DeveloperExperienceSection'))
|
|
const ResultsSection = dynamic(() => import('components/Solutions/ResultsSection'))
|
|
const FeatureGrid = dynamic(() => import('components/Solutions/FeatureGrid'))
|
|
const PlatformStarterSection = dynamic(() => import('components/Solutions/TwoColumnsSection'))
|
|
const MPCSection = dynamic(() => import('components/Solutions/MPCSection'))
|
|
|
|
const Hackathon: NextPage = () => {
|
|
const data = (content as any)()
|
|
return (
|
|
<>
|
|
<NextSeo
|
|
title={data.metadata.metaTitle}
|
|
description={data.metadata.metaDescription}
|
|
openGraph={{
|
|
title: data.metadata.metaTitle,
|
|
description: data.metadata.metaDescription,
|
|
url: `https://supabase.com/solutions/hackathon`,
|
|
}}
|
|
noindex={true}
|
|
nofollow={true}
|
|
/>
|
|
<Layout className="overflow-visible">
|
|
<SolutionsStickyNav activeItem={Solutions.hackathon} type="use-case" />
|
|
<ProductHeader {...data.heroSection} />
|
|
<SingleQuote
|
|
quote={{
|
|
text: data.quote.text,
|
|
author: data.quote.author,
|
|
role: data.quote.role,
|
|
logo: data.quote.logo,
|
|
link: data.quote.link,
|
|
avatar: data.quote.avatar,
|
|
}}
|
|
{...data.quote}
|
|
/>
|
|
<FeaturesSection
|
|
id={data.why.id}
|
|
label={data.why.label}
|
|
heading={data.why.heading}
|
|
subheading={data.why.subheading}
|
|
features={data.why.features}
|
|
/>
|
|
<PlatformSection
|
|
id={data.platform.id}
|
|
title={data.platform.title}
|
|
subheading={data.platform.subheading}
|
|
features={data.platform.features}
|
|
/>
|
|
<DXSection
|
|
id={data.developerExperience.id}
|
|
title={data.developerExperience.title}
|
|
subheading={data.developerExperience.subheading}
|
|
features={data.developerExperience.features}
|
|
className={data.developerExperience.className}
|
|
/>
|
|
{data.resultsSection && (
|
|
<ResultsSection
|
|
id={data.resultsSection.id}
|
|
heading={data.resultsSection.heading}
|
|
subheading={data.resultsSection.subheading}
|
|
highlights={data.resultsSection.highlights}
|
|
/>
|
|
)}
|
|
{data.featureGrid && (
|
|
<FeatureGrid id={data.featureGrid.id} features={data.featureGrid.features} />
|
|
)}
|
|
{data.platformStarterSection && <PlatformStarterSection {...data.platformStarterSection} />}
|
|
{data.mcp && <MPCSection {...data.mcp} />}
|
|
</Layout>
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default Hackathon
|