Added dashboard page layout & sites overview

This commit is contained in:
2026-04-05 17:55:58 +02:00
parent 7bb7454d7f
commit a6f60a5a38
38 changed files with 2687 additions and 111 deletions
+24
View File
@@ -0,0 +1,24 @@
import { useEffect, type PropsWithChildren } from 'react';
import Navbar from '../components/navbar';
interface PageProps {
title: string;
}
const Page = ({ children, title }: PropsWithChildren<PageProps>) => {
useEffect(() => {
if (title) document.title = title;
}, [title]);
return (
<div>
<Navbar
profilePictureUrl="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fi.pinimg.com%2Foriginals%2Fca%2Fa9%2F89%2Fcaa98995f578f038373cb6874b68fdfb.jpg&f=1&nofb=1&ipt=0e7adaafec6ff834508c5ea329c5686552e35fe6bc06c299f38ebee88b22cf0a"
userName="jan"
/>
<main className="max-w-(--breakpoint-xl) mx-auto px-4">{children}</main>
</div>
);
};
export default Page;