generated from template/astro-simple-template
24 lines
591 B
Plaintext
24 lines
591 B
Plaintext
---
|
|
import '../styles/global.css';
|
|
export interface Props {
|
|
title?: string;
|
|
description?: string;
|
|
}
|
|
import 'github-markdown-css/github-markdown-light.css';
|
|
import 'highlight.js/styles/github-dark.css';
|
|
const { title, description } = Astro.props;
|
|
---
|
|
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>{title || '文档'}</title>
|
|
</head>
|
|
<body class="bg-gray-50 min-h-screen">
|
|
<div class="container mx-auto px-4 py-8 max-w-4xl">
|
|
<article class="markdown-body bg-white rounded-lg shadow-lg p-8">
|
|
<slot />
|
|
</article>
|
|
</div>
|
|
</body>
|
|
</html> |