This commit is contained in:
2025-05-28 19:39:50 +08:00
parent 22cb48b9f3
commit 26be3b85e8
24 changed files with 356 additions and 301 deletions

View File

@@ -4,9 +4,10 @@ export interface Props {
}
---
<html lang='zh'>
<header>
<html lang='zh-CN'>
<head>
<meta charset='UTF-8' />
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
<title>Docs</title>
<link
rel='stylesheet'
@@ -15,13 +16,23 @@ export interface Props {
crossorigin='anonymous'
referrerpolicy='no-referrer'
/>
</header>
<style>
html,
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
</style>
</head>
<body>
<header>
<div>
<slot name='header'>
<h1>My Site Header</h1>
</slot>
</header>
</div>
<main class='markdown-body' style='padding: 1rem'>
<slot />
</main>