feat/generator: add footer

This commit is contained in:
Kentai Radiquum 2025-02-22 01:06:24 +05:00
parent ae7ccbc308
commit 0096d4007e
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
6 changed files with 45 additions and 7 deletions

View file

@ -1,3 +1,6 @@
import Footer from "./Footer";
import Header from "./Header";
interface BaseProps {
children: React.ReactNode;
isDev?: boolean;
@ -10,7 +13,7 @@ export default function Base({ children, isDev }: BaseProps) {
<meta charSet="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Radiquum/Photos</title>
<link rel="stylesheet" href="/static/css/tailwind.css" />
<link rel="stylesheet" href="./static/css/tailwind.css" />
{isDev ? <script src="/static/js/hotreload.js"></script> : ""}
<link rel="preconnect" href="https://fonts.googleapis.com" />
@ -40,8 +43,10 @@ export default function Base({ children, isDev }: BaseProps) {
</head>
<body className="bg-[#121B2C] text-white">
<Header />
{children}
<script src="/static/js/initGalleries.js" />
<Footer />
<script src="./static/js/initGalleries.js" />
</body>
</html>
);