Skip to content

Commit 8d43ae2

Browse files
committed
init
0 parents  commit 8d43ae2

File tree

9 files changed

+1645
-0
lines changed

9 files changed

+1645
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
dist
3+
cache
4+
.temp
5+
.DS_Store

docs/.vitepress/config.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
const base = "/GuideBook/";
2+
export default {
3+
base,
4+
// 站点级选项
5+
title: "GuideBook", // 网站标题
6+
description: "冰岩作坊招新指南", // 网站描述
7+
8+
themeConfig: {
9+
search: {
10+
provider: "local",
11+
},
12+
head: [
13+
// 配置网站的图标(显示在浏览器的 tab 上)
14+
["link", { rel: "icon", href: `/${base}favicon.ico` }],
15+
],
16+
logo: "logo.png",
17+
// 主题级选项
18+
nav: [],
19+
sidebar: {},
20+
},
21+
};

docs/.vitepress/theme/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import Theme from 'vitepress/theme'
2+
import './style/var.css'
3+
4+
export default {
5+
...Theme
6+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
:root {
2+
--vp-home-hero-name-color: transparent;
3+
--vp-home-hero-name-background: -webkit-linear-gradient(
4+
120deg,
5+
#eb4200 30%,
6+
#f7a902
7+
);
8+
9+
--vp-home-hero-image-background-image: linear-gradient(
10+
-45deg,
11+
#b8b8b8 50%,
12+
#575757 50%
13+
);
14+
--vp-home-hero-image-filter: blur(44px);
15+
16+
--vp-c-brand-1: #fd951e;
17+
--vp-c-brand-2: #fd951e;
18+
--vp-c-brand-3: #fd951e;
19+
}
20+

docs/index.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
layout: home
3+
hero:
4+
name: BingyanGuideBook
5+
text: 冰岩作坊招新指南
6+
# tagline:
7+
image:
8+
src: logo.png
9+
alt: BingyanGuideBook logo
10+
actions:
11+
- theme: brand
12+
text: 文档
13+
link: /doc
14+
- theme: alt
15+
text: Github
16+
link: https://github.com/BingyanStudio
17+
features:
18+
- icon: 🛠️
19+
title: a
20+
details: aaaaaa
21+
link: /doc
22+
linkText: aa
23+
- icon: ⚡️
24+
title: b
25+
details: bbbbbb
26+
- icon: 🌞
27+
title: c
28+
details: ccccc
29+
---
30+

docs/public/favicon.ico

9.94 KB
Binary file not shown.

docs/public/logo.png

10.5 KB
Loading

package.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "GuideBook",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"dev": "vitepress dev docs",
9+
"build": "vitepress build docs",
10+
"preview": "vitepress preview docs"
11+
},
12+
"keywords": [],
13+
"author": "",
14+
"license": "ISC",
15+
"dependencies": {
16+
"vitepress": "^1.6.3",
17+
"vue": "^3.5.13"
18+
}
19+
}

0 commit comments

Comments
 (0)