mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 15:39:13 +00:00
## Problem Several pages seem to have indadvertant `noindex, no-follow` robots declarations via meta tags. ## Solution Removes these. ## Preview <img width="1024" height="670" alt="image" src="https://github.com/user-attachments/assets/e0d6e42d-673b-40d4-b9b9-99b0307a1f62" /> https://zone-www-dot-com-git-kody-devrel-877-index-solu-b2f540-supabase.vercel.app/solutions/hackathon --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
86 lines
3.2 KiB
TypeScript
86 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`,
|
|
}}
|
|
/>
|
|
<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
|