feat/generator: add build script

This commit is contained in:
Kentai Radiquum 2025-02-19 00:57:48 +05:00
parent 55a8c97607
commit 1020dc8ae8
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
9 changed files with 1150 additions and 7 deletions

View file

@ -0,0 +1,20 @@
interface BaseProps {
children: React.ReactNode;
isDev?: boolean;
}
export default function Base({ children, isDev }: BaseProps) {
return (
<html lang="en">
<head>
<meta charSet="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Radiquum/Photos</title>
{isDev ? <script src="/static/js/hotreload.js"></script> : ""}
</head>
<body>
{children}
</body>
</html>
);
}