feat: create base layout and global css
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
import '../styles/global.css';
|
||||||
|
const { title } = Astro.props;
|
||||||
|
---
|
||||||
|
<html lang="zh-CN">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>{title}</title>
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.21/dist/katex.min.css">
|
||||||
|
</head>
|
||||||
|
<body class="bg-white dark:bg-gray-900 text-gray-900 min-h-screen p-8">
|
||||||
|
<slot />
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -1 +1 @@
|
|||||||
@import "tailwindcss";
|
@tailwind base; @tailwind components; @tailwind utilities;
|
||||||
|
|||||||
Reference in New Issue
Block a user