The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat(www): add Customer Legal Resources to legal hub and declutter footer (#47655)
Francesco Sansalvadore31509521b66b
diff --git a/apps/www/data/Footer.ts b/apps/www/data/Footer.tsindex 75272add9c2..588331b6d5f 100644--- a/apps/www/data/Footer.ts+++ b/apps/www/data/Footer.ts@@ -180,13 +180,9 @@ const footerData = [url: '/ga',},{- text: 'Legal',+ text: 'Legal Hub',url: '/legal',},- {- text: 'Terms of Service',- url: '/terms',- },{text: 'Privacy Policy',url: '/privacy',@@ -199,14 +195,6 @@ const footerData = [text: 'Acceptable Use Policy',url: '/aup',},- {- text: 'Support Policy',- url: '/support-policy',- },- {- text: 'Service Level Agreement',- url: '/sla',- },{text: 'Humans.txt',url: '/humans.txt',diff --git a/apps/www/pages/legal/index.tsx b/apps/www/pages/legal/index.tsxindex 2d5d062fa14..a79d8c3f51b 100644--- a/apps/www/pages/legal/index.tsx+++ b/apps/www/pages/legal/index.tsx@@ -6,6 +6,27 @@ import { NextSeo } from 'next-seo'import Link from 'next/link'const sections = [+ {+ id: 'customer-legal-resources',+ title: 'Customer Legal Resources',+ links: [+ {+ label: 'Terms of Service',+ href: '/terms',+ type: 'document' as const,+ },+ {+ label: 'Support Policy',+ href: '/support-policy',+ type: 'document' as const,+ },+ {+ label: 'Service Level Agreement',+ href: '/sla',+ type: 'document' as const,+ },+ ],+ },{id: 'partner-legal-resources',title: 'Partner Legal Resources',@@ -32,17 +53,17 @@ const linkIcons = {export default function LegalHubPage() {return (<DefaultLayout>- <NextSeo title="Legal" description="Supabase legal documents and resources." />+ <NextSeo title="Legal Hub" description="Supabase legal documents and resources." /><PageHeader- h1="Legal"+ h1="Legal Hub"subheader="Legal documents and resources for Supabase customers and partners."/><SectionContainer className="prose">- <div className="divide-y divide-border">+ <div className="grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-16">{sections.map((section) => (<section key={section.title} id={section.id} className="scroll-mt-24"><h2 className="mt-0">{section.title}</h2>- <div className="divide-y divide-border lg:max-w-1/2">+ <div className="divide-y divide-border">{section.links.map((link) => {const Icon = linkIcons[link.type]return (