import { createFileRoute } from "@tanstack/react-router"; import { AppShell } from "@/components/layout/AppShell"; import { Card, CardContent } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { Switch } from "@/components/ui/switch"; import { Separator } from "@/components/ui/separator"; export const Route = createFileRoute("/admin/settings")({ head: () => ({ meta: [{ title: "Admin · Settings — warpbox.dev" }] }), component: AdminSettings, }); function AdminSettings() { return (

Instance branding

Limits & retention

{[ ["Allow anonymous uploads", true], ["Allow registrations", true], ["Require password on public links", false], ["Show 'Powered by warpbox' footer", true], ].map(([label, on]) => (
{label as string}
))}

SMTP

); }