This commit is contained in:
2025-12-27 11:14:07 +01:00
parent e9176ff73e
commit 13685d100c
51 changed files with 2685 additions and 1 deletions

17
src/app/tos/page.tsx Normal file
View File

@ -0,0 +1,17 @@
import { getLatestTos } from "@/actions/tos/getTos";
import TosEditor from "@/components/tos/Editor";
export default async function TosPage() {
const markdown = await getLatestTos();
return (
<div>
<div className="flex gap-4 justify-between pb-8">
<h1 className="text-2xl font-bold mb-4">Terms of Service</h1>
</div>
<div className="space-y-4 p-1 border rounded-xl bg-muted/20">
<TosEditor markdown={markdown} />
</div>
</div>
);
}