chore: refactor settings route

This commit is contained in:
gosangam
2026-07-14 18:16:32 +05:30
parent 1683abc2e9
commit 1582df0ed5
134 changed files with 677 additions and 463 deletions
+25
View File
@@ -0,0 +1,25 @@
/**
* /settings/legal — links to the standalone legal documents.
*
* Dedicated page for what used to be the "Legal" section on the old /settings
* screen. Each row hard-links to its own top-level route (/terms, /privacy,
* /data-deletion).
*/
import { NavList, NavRow, SettingsShell } from "@/components/settings/settings-ui";
export default function LegalSettingsPage() {
return (
<SettingsShell
backHref="/settings"
backLabel="Settings"
title="Legal"
>
<NavList>
<NavRow href="/terms" label="Terms of Service" />
<NavRow href="/privacy" label="Privacy Policy" />
<NavRow href="/data-deletion" label="Steps for data deletion" />
</NavList>
</SettingsShell>
);
}