This commit is contained in:
2025-02-27 17:10:33 +08:00
parent d3a3e1918c
commit d61028a104
20 changed files with 4274 additions and 96 deletions

19
src/components/Layout.tsx Normal file
View File

@@ -0,0 +1,19 @@
import React from "react";
import Navbar from "./Navbar";
import Footer from "./Footer";
interface LayoutProps {
children: React.ReactNode;
}
export default function Layout({ children }: LayoutProps) {
return (
<div>
<Navbar />
<div style={{ minHeight: "100vh", paddingTop: "60px" }}>
{children}
</div>
<Footer />
</div>
);
}