Skip to content

Commit 0df1d96

Browse files
author
喜欢葡萄+芝士的妹妹
committed
feat: 首页导航栏内容优化
1 parent d066030 commit 0df1d96

8 files changed

Lines changed: 349 additions & 309 deletions

File tree

docs/.vuepress/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import {defaultTheme} from "vuepress";
2-
2+
// 参考:https://v2.vuepress.vuejs.org/zh/guide/getting-started.html
3+
// 主题参考:https://antdocs.js.org/
34
export default {
45
title: "凡是过往、皆为序章",
56
description: "一本有趣的JavaScript合集",
67
// base: "/JavaScriptCollection/",
7-
// base:"./",
88
port: 7100,
99
head: [
1010
["link", { rel: "icon", href: "/fight_favicon.ico" }]
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
module.exports = {
2+
text: "Battle面试官",
3+
children: [
4+
{
5+
text: "常见面试题",
6+
link: "/battle-interview/interview-problems",
7+
},
8+
{
9+
text: "面经分享",
10+
link: "/battle-interview/introduce-share",
11+
},
12+
{
13+
text: "工作机会",
14+
children: [
15+
{
16+
text: "校招",
17+
link: "/battle-interview/school-recruit",
18+
},
19+
{
20+
text: "社招",
21+
link: "/battle-interview/social-recruit",
22+
},
23+
],
24+
},
25+
{
26+
text: "小技巧",
27+
children: [
28+
{
29+
text: "校招",
30+
link: "/",
31+
},
32+
{
33+
text: "社招",
34+
link: "/",
35+
},
36+
],
37+
},
38+
],
39+
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
module.exports = {
2+
text: "开发工具",
3+
children: [
4+
{
5+
text: 'npm',
6+
link: '/npm'
7+
},
8+
{
9+
text: 'pnpm',
10+
link: '/pnpm'
11+
},
12+
{
13+
text: 'monorepo',
14+
link: '/monorepo'
15+
},
16+
{
17+
text: 'turborepo',
18+
link: '/turborepo'
19+
},
20+
{
21+
text: '编译工具',
22+
children: [
23+
{
24+
text: 'webpack',
25+
link: '/'
26+
},
27+
{
28+
text: 'vite',
29+
link: '/'
30+
},
31+
]
32+
},
33+
{
34+
text: '项目管理',
35+
children: [
36+
{
37+
text: 'Git',
38+
link: '/git'
39+
},
40+
{
41+
text: 'Github && GitLab',
42+
link: '/'
43+
},
44+
]
45+
},
46+
{
47+
text: '代码风格',
48+
children: [
49+
{
50+
text: 'Eslint',
51+
link: '/eslint'
52+
},
53+
{
54+
text: 'Prettier',
55+
link: '/prettier'
56+
},
57+
]
58+
},
59+
60+
],
61+
}
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
module.exports= {
2+
text: "前端【Web】",
3+
children: [
4+
{
5+
text: "基础入门",
6+
children: [
7+
{
8+
text: "html相关",
9+
link: "/front-end/base-begin/html",
10+
},
11+
{
12+
text: "js相关",
13+
link: "/front-end/base-begin/javascript",
14+
},
15+
{
16+
text: "css相关",
17+
link: "/front-end/base-begin/css",
18+
},
19+
],
20+
},
21+
{
22+
text: "前端框架",
23+
children: [
24+
{
25+
text: "JQuery.js",
26+
link: "/front-end/front-framework/jquery",
27+
},
28+
{
29+
text: "Vue.js",
30+
link: "/front-end/front-framework/vue",
31+
},
32+
{
33+
text: "Nuxt.js",
34+
link: "/css",
35+
},
36+
],
37+
},
38+
{
39+
text: "UI相关",
40+
link: "/ui-framework",
41+
// children: [{
42+
// text: 'Bootstrap',
43+
// link: '/html'
44+
// }, {
45+
// text: 'LayerUI',
46+
// link: '/js'
47+
// }, {
48+
// text: 'iView-UI',
49+
// link: '/css'
50+
// }, {
51+
// text: 'VantUI',
52+
// link: '/css'
53+
// }, {
54+
// text: 'Element-UI',
55+
// link: '/css'
56+
// }, {
57+
// text: 'Ant-design-vue',
58+
// link: '/css'
59+
// }]
60+
},
61+
// {
62+
// text: '常用工具',
63+
// children: [{
64+
// text: '包管理器',
65+
// link: '/front-end/server-deploy/static-nginx'
66+
// }, {
67+
// text: '服务端渲染',
68+
// link: '/front-end/server-deploy/front-end-server'
69+
// }]
70+
// },
71+
{
72+
text: "常见部署",
73+
children: [
74+
{
75+
text: "前端分离【nginx】",
76+
link: "/front-end/server-deploy/static-nginx",
77+
},
78+
{
79+
text: "服务端渲染",
80+
link: "/front-end/server-deploy/front-end-server",
81+
},
82+
],
83+
},
84+
],
85+
}

0 commit comments

Comments
 (0)