mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 19:05:06 +03:00
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? Feature / content update to the Legal Hub (`apps/www`). ## What is the current behavior? The `/legal` hub page (`apps/www/pages/legal/index.tsx`) has a single section, "Partner Legal Resources." The customer-facing legal documents (Terms of Service, Support Policy, Service Level Agreement) are only reachable from the footer "Company" column, which is cluttered. ## What is the new behavior? - Adds a new **"Customer Legal Resources"** section to the `/legal` hub, placed **above** "Partner Legal Resources," with links to: - Terms of Service → `/terms` - Support Policy → `/support-policy` - Service Level Agreement → `/sla` These use the same formatting (document icon + link) as the existing "Master Partner Program Agreement" entry. - Removes those same three links (Terms of Service, Support Policy, Service Level Agreement) from the footer **"Company"** column (`apps/www/data/Footer.ts`) to declutter it. The "Legal" hub link, Privacy Policy, Privacy Settings, and Acceptable Use Policy all remain. The `/terms`, `/support-policy`, and `/sla` URLs are unchanged and continue to operate exactly as they do today — this only changes where they're surfaced in navigation. Note: per discussion, the hidden `/enterprise-terms` page was intentionally **not** linked from the public hub; it remains `noindex/nofollow` and reachable only by direct URL. ## Additional context Visual result (Customer section above Partner section, three matching links) and footer cleanup match the requested design. No routing, redirect, or page-content changes. --- _Generated by [Claude Code](https://claude.ai/code/session_015kQyGkM9s9XEbA3HSLpeku)_ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a **“Customer Legal Resources”** section to the legal resources page with links to **Terms of Service**, **Support Policy**, and **Service Level Agreement**. * **UI Updates** * Updated the legal page branding from **“Legal”** to **“Legal Hub”** and adjusted the layout to a more spacious two-column presentation. * Updated the footer **Company** links by replacing **“Legal”** with **“Legal Hub”** and removing the Terms/Support/Service Level links from that set. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude <noreply@anthropic.com>
219 lines
4.0 KiB
TypeScript
219 lines
4.0 KiB
TypeScript
import {
|
|
appTypeSolutions,
|
|
migrationSolutions,
|
|
skillBasedSolutions,
|
|
useCaseSolutions,
|
|
} from 'data/Solutions'
|
|
import { PrivacySettings } from 'ui-patterns/PrivacySettings'
|
|
|
|
const footerData = [
|
|
{
|
|
title: 'Product',
|
|
links: [
|
|
{
|
|
text: 'Pricing',
|
|
url: '/pricing',
|
|
},
|
|
{
|
|
text: 'Database',
|
|
url: '/database',
|
|
},
|
|
{
|
|
text: 'Auth',
|
|
url: '/auth',
|
|
},
|
|
{
|
|
text: 'Functions',
|
|
url: '/edge-functions',
|
|
},
|
|
{
|
|
text: 'Realtime',
|
|
url: '/realtime',
|
|
},
|
|
{
|
|
text: 'Storage',
|
|
url: '/storage',
|
|
},
|
|
{
|
|
text: 'Vector',
|
|
url: '/modules/vector',
|
|
},
|
|
{
|
|
text: 'Cron',
|
|
url: '/modules/cron',
|
|
},
|
|
{
|
|
text: 'Feature Catalog',
|
|
url: '/features',
|
|
},
|
|
{
|
|
text: 'Launch Week',
|
|
url: '/launch-week',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'Solutions',
|
|
links: [
|
|
...skillBasedSolutions.solutions.map((solution) => ({
|
|
text: solution.text,
|
|
url: solution.url,
|
|
})),
|
|
...useCaseSolutions.solutions.map((solution) => ({
|
|
text: solution.text,
|
|
url: solution.url,
|
|
})),
|
|
...appTypeSolutions.solutions.map((solution) => ({
|
|
text: solution.text,
|
|
url: solution.url,
|
|
})),
|
|
...migrationSolutions.solutions.map((solution) => ({
|
|
text: solution.text,
|
|
url: solution.url,
|
|
})),
|
|
],
|
|
},
|
|
{
|
|
title: 'Resources',
|
|
links: [
|
|
{
|
|
text: 'Blog',
|
|
url: '/blog',
|
|
},
|
|
{
|
|
text: 'Support',
|
|
url: '/support',
|
|
},
|
|
{
|
|
text: 'System Status',
|
|
url: 'https://status.supabase.com/',
|
|
},
|
|
{
|
|
text: 'Become a Partner',
|
|
url: '/partners',
|
|
},
|
|
{
|
|
text: 'Integrations',
|
|
url: '/partners/integrations',
|
|
},
|
|
{
|
|
text: 'Brand Assets',
|
|
url: '/brand-assets',
|
|
},
|
|
{
|
|
text: 'Security & Compliance',
|
|
url: '/security',
|
|
},
|
|
{
|
|
text: 'DPA',
|
|
url: '/legal/dpa',
|
|
},
|
|
{
|
|
text: 'SOC2',
|
|
url: '/security',
|
|
},
|
|
{
|
|
text: 'HIPAA',
|
|
url: 'https://forms.supabase.com/hipaa2',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'Developers',
|
|
links: [
|
|
{
|
|
text: 'Documentation',
|
|
url: '/docs',
|
|
},
|
|
{
|
|
text: 'Supabase UI',
|
|
url: 'https://supabase.com/ui',
|
|
},
|
|
{
|
|
text: 'Changelog',
|
|
url: '/changelog',
|
|
},
|
|
{
|
|
text: 'RSS',
|
|
url: '/rss.xml',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'Community',
|
|
links: [
|
|
{
|
|
text: 'Events & Webinars',
|
|
url: '/events',
|
|
},
|
|
{
|
|
text: 'SupaSquad',
|
|
url: '/supasquad',
|
|
},
|
|
{
|
|
text: 'Contributing',
|
|
url: 'https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md',
|
|
},
|
|
{
|
|
text: 'Open Source',
|
|
url: '/open-source',
|
|
},
|
|
{
|
|
text: 'DevTo',
|
|
url: 'https://dev.to/supabase',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'Company',
|
|
links: [
|
|
{
|
|
text: 'Company',
|
|
url: '/company',
|
|
},
|
|
{
|
|
text: 'Careers',
|
|
url: '/careers',
|
|
},
|
|
{
|
|
text: 'General Availability',
|
|
url: '/ga',
|
|
},
|
|
{
|
|
text: 'Legal Hub',
|
|
url: '/legal',
|
|
},
|
|
{
|
|
text: 'Privacy Policy',
|
|
url: '/privacy',
|
|
},
|
|
{
|
|
text: 'Privacy Settings',
|
|
component: PrivacySettings,
|
|
},
|
|
{
|
|
text: 'Acceptable Use Policy',
|
|
url: '/aup',
|
|
},
|
|
{
|
|
text: 'Humans.txt',
|
|
url: '/humans.txt',
|
|
},
|
|
{
|
|
text: 'Lawyers.txt',
|
|
url: '/lawyers.txt',
|
|
},
|
|
{
|
|
text: 'Security.txt',
|
|
url: '/.well-known/security.txt',
|
|
},
|
|
{
|
|
text: 'Contact Us',
|
|
url: '/contact-us',
|
|
},
|
|
],
|
|
},
|
|
]
|
|
|
|
export default footerData
|