Skip to content

Commit

Permalink
chore: module config
Browse files Browse the repository at this point in the history
  • Loading branch information
gjssss committed Jan 5, 2025
1 parent 066b432 commit f3e657e
Show file tree
Hide file tree
Showing 8 changed files with 318 additions and 316 deletions.
84 changes: 42 additions & 42 deletions .vitepress/cache/deps/@theme_index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .vitepress/cache/deps/@theme_index.js.map

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions .vitepress/cache/deps/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"hash": "994cab64",
"configHash": "89c6ec88",
"lockfileHash": "9cc588bd",
"browserHash": "a431988b",
"hash": "846eb9e6",
"configHash": "fd6d53ee",
"lockfileHash": "0db5f10f",
"browserHash": "02101c2d",
"optimized": {
"vue": {
"src": "../../../node_modules/.pnpm/[email protected]/node_modules/vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "7e1d7e42",
"fileHash": "212682e5",
"needsInterop": false
},
"vitepress > @vue/devtools-api": {
"src": "../../../node_modules/.pnpm/@[email protected]/node_modules/@vue/devtools-api/dist/index.js",
"file": "vitepress___@vue_devtools-api.js",
"fileHash": "625611ee",
"fileHash": "25b2ab33",
"needsInterop": false
},
"vitepress > @vueuse/core": {
"src": "../../../node_modules/.pnpm/@[email protected][email protected]/node_modules/@vueuse/core/index.mjs",
"file": "vitepress___@vueuse_core.js",
"fileHash": "e0b1bb04",
"fileHash": "a6f9b3c8",
"needsInterop": false
},
"@theme/index": {
"src": "../../../node_modules/.pnpm/[email protected]_@[email protected].0_postcss@[email protected]/node_modules/vitepress/dist/client/theme-default/index.js",
"src": "../../../node_modules/.pnpm/[email protected]_@[email protected].0_@[email protected]_postcss@[email protected]/node_modules/vitepress/dist/client/theme-default/index.js",
"file": "@theme_index.js",
"fileHash": "ca1ee7eb",
"fileHash": "40deb461",
"needsInterop": false
}
},
Expand Down
2 changes: 1 addition & 1 deletion .vitepress/cache/deps/vitepress___@vueuse_core.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .vitepress/cache/deps/vitepress___@vueuse_core.js.map

Large diffs are not rendered by default.

264 changes: 2 additions & 262 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,267 +1,7 @@
import { defineConfigWithTheme } from "vitepress";
import type { Config as ThemeConfig } from '@vue/theme'
import baseConfig from '@vue/theme/config'

const nav: ThemeConfig['nav'] = [
{
text: "在校准备", link: "/in-school/pre",
},
{
text: "校招经验",
items: [
{
text: "互联网", link: "/experience/internet/backend/java",
},
{
text: "泛体制", link: "/experience/system/three-oil",
},
{
text: "银行", link: "/experience/finance/management-trainee",
},
{
text: "杂谈", link: "/experience/others/pre",
},
]

},
{ text: "择业指南", link: "/guidance/pre" },
{ text: "校友访谈", link: "/interviews/pre" },
];

const sidebar: ThemeConfig['sidebar'] = {
"/experience/internet": [
{
text: "后端",
items: [
{
text: 'java', link: "/experience/internet/backend/java",
},
{
text: 'cpp', link: "/experience/internet/backend/cpp",
}
]
},
{
text: "前端",
items: [
{
text: 'JavaScript', link: "/experience/internet/frontend/js",
},
{
text: 'TypeScript', link: "/experience/internet/frontend/ts",
},
{
text: 'React', link: "/experience/internet/frontend/react",
},
{
text: 'Vue', link: "/experience/internet/frontend/vue",
},
{
text: 'Css', link: "/experience/internet/frontend/css",
},
{
text: 'Html', link: "/experience/internet/frontend/html",
},
]
},
{
text: "算法",
items: [
{
text: '美团算法', link: "/experience/internet/ai/index",
},
]
},
{
text: "产品",
items: [
{
text: '佩琦', link: "/experience/internet/product/index",
},
]
},
],
"/experience/system": [
{
text: '国央企', items: [
{
text: '三桶油', link: "/experience/system/three-oil",
},
{
text: '国家电网', link: "/experience/system/state-grid",
},
],

},
{
text: '公务员', items: [
{
text: '公务员', link: "/experience/system/civil-servant",
},
]
}
],
"experience/finance": [
{
text: '银行', items: [
{
text: '银行管培生', link: "/experience/finance/management-trainee",
},
{
text: '银行数据中心', link: "/experience/finance/data-center",
},
],
},
],
"experience/others": [
{
text: '杂谈', items: [
{
text: '写在前面', link: "/experience/others/pre",
},
{
text: '结构化面试', link: "/experience/others/struct",
},
{
text: '无领导小组讨论/辩论赛', link: "/experience/others/group",
},
{
text: '主管面', link: "/experience/others/manager",
},
],
}
],
"in-school": [
{
text: '准备', items: [
{
text: '写在前面', link: "/in-school/pre",
},
{
text: '成绩与评优', link: "/in-school/gpa",
},
{
text: '实习', link: "/in-school/practice",
},
{
text: '科研论文', link: "/in-school/conference",
},
{
text: '竞赛', link: "/in-school/competition",
},
{
text: '综合发展', link: "/in-school/synthesized",
},
{
text: '信息差', link: "/in-school/earn-message",
},
],
}
],
"interviews": [
{
text: '校友访谈', items: [
{
text: '写在前面', link: "/interviews/pre",
},
{
text: '08届Google售后经理', link: "/interviews/08-google",
},
{
text: '20届Nvidia开发', link: "/interviews/20-nvidia",
},
{
text: '24届博-F-互联网大厂算法工程师', link: "/interviews/24-f-ai",
},
{
text: '23届硕-崔女士-华为系统预研', link: '/interviews/23-c-hw',
},
{
text: '97届本-某学长-一级市场股权投资', link: '/interviews/97-b-investment',
},
{
text: '23届硕-佩奇-互联网大厂产品经理', link: '/interviews/23-p-product',
},
{
text: '22届硕-司学长-某电池仿真公司技术销售', link: '/interviews/22-s-sales',
},
{
text: '03届博-王真星-上海第二工业大学副教授', link: '/interviews/03-w-teacher',
},
{
text: '23届硕-肖钒-腾讯音乐大模型算法工程师', link: '/interviews/23-x-music',
},
{
text: '23届硕-肖杨-微软上海软件开发', link: '/interviews/23-x-ms',
},
{
text: '22届硕-C-大模型公司AI Infra工程师', link: '/interviews/22-c-ai',
},
{
text: '24届硕-陈学长-java后端工程师', link: '/interviews/24-c-java',
},
{
text: '23届硕-陈学长-某国企后端开发工程师', link: '/interviews/23-c-state',
},
{
text: '09届MSE-姜先生-招商门户创业', link: '/interviews/09-j-entrepreneur',
},
{
text: '10届硕-李同学-某三甲医院', link: '/interviews/10-l-hospital',
},
{
text: '23届硕-苏锐-某省直事业单位软件开发', link: '/interviews/23-s-system',
},
{
text: '20届硕-王先生-某头部券商程序化研究员', link: '/interviews/20-w-research',
},
{
text: '23届硕-许学长-地平线后台开发', link: '/interviews/23-x-horizon',
},
{
text: '23届硕-张先生-某央企研究院', link: '/interviews/23-z-research',
},
{
text: '24届硕-徐学长-招商银行管培生经验', link: '/interviews/24-rz-finance-manager',
},
{
text: '24届硕-x学长-教培创业', link: '/interviews/24-jp-entrepreneur',
}
]
}
],
"guidance": [
{
text: '择业指南', items: [
{
text: '写在前面', link: "/guidance/pre",
},
{
text: '互联网', link: "/guidance/internet",
},
{
text: '金融业', link: "/guidance/finance",
},
{
text: '央国企', link: "/guidance/state",
},
{
text: '智能制造业', link: "/guidance/iot",
},
{
text: '传媒业', link: "/guidance/news",
},
{
text: '公务员&事业单位', link: "/guidance/system",
},
{
text: '其他', link: "/guidance/other",
}
]
}
]
};

import { nav } from "./nav";
import { sidebar } from "./sidebar";
// https://vitepress.dev/reference/site-config
export default defineConfigWithTheme({
extends: baseConfig,
Expand Down
27 changes: 27 additions & 0 deletions .vitepress/nav.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import type { Config as ThemeConfig } from '@vue/theme'

export const nav: ThemeConfig['nav'] = [
{
text: "在校准备", link: "/in-school/pre",
},
{
text: "校招经验",
items: [
{
text: "互联网", link: "/experience/internet/backend/java",
},
{
text: "泛体制", link: "/experience/system/three-oil",
},
{
text: "银行", link: "/experience/finance/management-trainee",
},
{
text: "杂谈", link: "/experience/others/pre",
},
]

},
{ text: "择业指南", link: "/guidance/pre" },
{ text: "校友访谈", link: "/interviews/pre" },
];
Loading

0 comments on commit f3e657e

Please sign in to comment.