stuff
This commit is contained in:
@@ -9,23 +9,25 @@ interface Props {
|
||||
children: Html;
|
||||
}
|
||||
|
||||
export const Layout = (props: Props) =>
|
||||
html`
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>${props.title}</title>
|
||||
<link rel="stylesheet" href=${basePath + "/styles.css"}>
|
||||
<meta name="viewport" content="width=device-width">
|
||||
</head>
|
||||
<body>
|
||||
${Header()}
|
||||
export const Layout = (props: Props) => html`
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>${props.title}</title>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="stylesheet" href=${basePath + "/styles.css"} />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
</head>
|
||||
<body
|
||||
class="bg-stone-900 text-stone-200 max-w-2xl flex flex-col mx-auto h-screen border-l-8 border-dashed pl-4"
|
||||
>
|
||||
${Header()}
|
||||
|
||||
<main>
|
||||
${props.children}
|
||||
</main>
|
||||
<main class="flex-1 prose prose-stone prose-invert">
|
||||
${props.children}
|
||||
</main>
|
||||
|
||||
${Footer()}
|
||||
</body>
|
||||
</html>
|
||||
`;
|
||||
${Footer()}
|
||||
</body>
|
||||
</html>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user