Add header and themes

This commit is contained in:
2024-05-08 22:50:44 +04:00
parent 9a3d900d1b
commit a634c194fe
19 changed files with 255 additions and 44 deletions

View File

@@ -0,0 +1,15 @@
export const Section = ({
name,
children,
}: {
name: string;
children: React.ReactNode;
}) => {
return (
// open section onClick
<section className="w-full mt-8 cursor-pointer">
<h2 className="text-4xl">{name}</h2>
<div>{children}</div>
</section>
);
};