Add about page

This commit is contained in:
2026-02-05 15:13:57 +01:00
parent 2971fb298e
commit aa6fa39f6a
10 changed files with 296 additions and 2 deletions

View File

@ -0,0 +1,18 @@
import { getLatestAboutMe } from "@/actions/about/getAbout";
import AboutEditor from "@/components/about/Editor";
// Admin page for editing About Me content.
export default async function AboutPage() {
const markdown = await getLatestAboutMe();
return (
<div>
<div className="flex gap-4 justify-between pb-8">
<h1 className="text-2xl font-bold mb-4">About Me</h1>
</div>
<div className="space-y-4 p-1 border rounded-xl bg-muted/20">
<AboutEditor markdown={markdown} />
</div>
</div>
);
}