mirror of
https://github.com/Radiquum/photos.git
synced 2025-04-28 17:09:43 +05:00
feat/generator: add footer
This commit is contained in:
parent
ae7ccbc308
commit
0096d4007e
6 changed files with 45 additions and 7 deletions
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue