feat(website): 添加项目官网

使用 Astro 框架构建的静态官网
This commit is contained in:
2025-12-12 22:53:02 +08:00
parent cb554c65b4
commit 2f9db8d7d8
14 changed files with 2098 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
---
interface Props {
title: string;
}
const { title } = Astro.props;
---
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="AI Terminal Assistant - 终端 AI 编程助手" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<title>{title}</title>
</head>
<body class="bg-gray-950 text-gray-100 antialiased">
<slot />
</body>
</html>
<style is:global>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
html {
font-family: 'Inter', system-ui, sans-serif;
scroll-behavior: smooth;
}
::selection {
background: rgba(14, 165, 233, 0.3);
}
</style>