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
+26
View File
@@ -0,0 +1,26 @@
/**
* /settings/notifications — push opt-in + per-channel notification matrix.
*
* Dedicated page for what used to be the "Notifications" section on the old
* /settings screen. Push goes to every device where the toggle is on.
*/
import { PushToggle } from "@/components/push/push-toggle";
import { NotificationMatrix } from "@/components/notifications/notification-matrix";
import { SettingsShell } from "@/components/settings/settings-ui";
export default function NotificationSettingsPage() {
return (
<SettingsShell
backHref="/settings"
backLabel="Settings"
title="Notifications"
description="Choose what reaches you on each channel. Push goes to every device where you've turned it on."
>
<div className="space-y-4">
<PushToggle />
<NotificationMatrix />
</div>
</SettingsShell>
);
}