first commit

This commit is contained in:
simple321vip
2026-06-29 22:14:33 +08:00
commit 21b4897005
7 changed files with 5636 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
# dependencies
node_modules/
# build outputs
dist/
.astro/
# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# environment variables
.env
.env.local
.env.*.local
# macOS / Windows / Linux 系统文件
.DS_Store
Thumbs.db
*.swp
*~
# IDE / 编辑器
.idea/
.vscode/
*.iml
# misc
.cache/
+37
View File
@@ -0,0 +1,37 @@
# Violin CV
个人简历 / 项目展示页。基于 [Astro](https://astro.build)。
## 开发
```bash
npm install
npm run dev # http://localhost:4321
npm run build # 产出 dist/
npm run preview # 预览 build 产物
```
## 目录
```
violin-cv/
├── src/
│ ├── pages/ # 路由文件(每个 .astro / .md 是一个页面)
│ │ ├── index.astro → /
│ │ ├── about.astro → /about
│ │ └── projects/ → /projects
│ ├── layouts/ # 共享布局
│ │ └── BaseLayout.astro
│ └── styles/
│ └── global.css
├── public/ # 静态资源(不打包)
└── astro.config.mjs
```
## ICP
页面 footer 必须保留 ICP 链接——公网安部强制要求。
## License
Private.
+14
View File
@@ -0,0 +1,14 @@
// @ts-check
import { defineConfig } from 'astro/config'
// https://astro.build/config
export default defineConfig({
site: 'https://cv.violin-work.online',
server: {
host: '0.0.0.0',
port: 4321
},
build: {
outDir: 'dist'
}
})
+4531
View File
File diff suppressed because it is too large Load Diff
+16
View File
@@ -0,0 +1,16 @@
{
"name": "violin-cv",
"type": "module",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"astro": "^5.0.0"
}
}
+1002
View File
File diff suppressed because it is too large Load Diff
+5
View File
@@ -0,0 +1,5 @@
{
"extends": "astro/tsconfigs/strict",
"include": [".astro/types.d.ts", "**/*"],
"exclude": ["dist"]
}