Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Add nav anchors

Francesco Sansalvadore27d5719fcb62
diff --git a/apps/www/components/Layouts/SectionContainer.tsx b/apps/www/components/Layouts/SectionContainer.tsx
index db5ec705165..931294e211d 100644
--- a/apps/www/components/Layouts/SectionContainer.tsx
+++ b/apps/www/components/Layouts/SectionContainer.tsx
@@ -3,10 +3,12 @@ import classNames from 'classnames'
interface Props {
children: React.ReactNode
className?: string
+ id?: string
}
-const SectionContainer = ({ children, className }: Props) => (
+const SectionContainer = ({ children, className, id }: Props) => (
<div
+ id={id}
className={classNames(
`sm:py-18 container relative mx-auto px-6 py-16 md:py-24 lg:px-16 lg:py-24 xl:px-20`,
className
diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsx
index e9b4930eb22..0462fd955db 100644
--- a/apps/www/pages/launch-week/index.tsx
+++ b/apps/www/pages/launch-week/index.tsx
@@ -166,11 +166,13 @@ export default function TicketHome({ users, meetups }: Props) {
</div>
</div>
- <SectionContainer className="!pb-0">
- <LW8CalloutsSection />
- </SectionContainer>
+ <div id="twitter-spaces">
+ <SectionContainer className="!pb-0" id="hackathon">
+ <LW8CalloutsSection />
+ </SectionContainer>
+ </div>
- <SectionContainer>
+ <SectionContainer id="meetups">
<LW8Meetups meetups={meetups} />
</SectionContainer>