Skip to content

Commit

Permalink
使用新的网址
Browse files Browse the repository at this point in the history
  • Loading branch information
Big7lion committed Aug 16, 2022
1 parent bad145d commit a67c635
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 630 deletions.
2 changes: 1 addition & 1 deletion layout/navigator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default {
const baseLinks = Object.entries(allConfig).map(([key, value]) => ({
key: key,
name: "主站",
href: "https://jirengu.com",
href: "https://training.jirengu.com",
}));
return baseLinks.sort((_, b) =>
b.key === process.env.BUILD_FLAG ? 1 : -1
Expand Down
22 changes: 11 additions & 11 deletions lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const titleConfig = {
const navigatorConfig = {
jirengu: {
name: "饥人谷",
link: "https://jirengu.com",
link: "https://training.jirengu.com",
miniImage:
"//static.xiedaimala.com/xdml/image/5939aa7c-d446-47c4-a9c1-ea1e52b10249/2021-7-19-15-6-24.png",
alias: "饥人谷前端",
Expand Down Expand Up @@ -57,7 +57,7 @@ const navigatorConfig = {
yinghekongjian: {
name: "饥人谷Java",
alias: "饥人谷Java",
link: "https://jirengu.com/java",
link: "https://training.jirengu.com/java",
miniImage:
"//static.xiedaimala.com/xdml/image/5939aa7c-d446-47c4-a9c1-ea1e52b10249/2021-7-19-15-6-19.png",
node: [
Expand All @@ -81,7 +81,7 @@ const navigatorConfig = {
{
title: "饥人谷",
expanded: false,
link: "https://jirengu.com",
link: "https://training.jirengu.com",
},
{
title: "写代码啦",
Expand All @@ -99,7 +99,7 @@ const navigatorConfig = {
cplusplus: {
name: "饥人谷C++",
alias: "饥人谷C++",
link: "https://jirengu.com/C++/",
link: "https://training.jirengu.com/C++/",
miniImage:
"//static.xiedaimala.com/xdml/image/5939aa7c-d446-47c4-a9c1-ea1e52b10249/2021-7-19-15-6-16.jpg",
node: [
Expand Down Expand Up @@ -145,7 +145,7 @@ const navigatorConfig = {
},
english: {
name: "饥人谷",
link: "https://jirengu.com/english",
link: "https://training.jirengu.com/english",
miniImage:
"//static.xiedaimala.com/xdml/image/5939aa7c-d446-47c4-a9c1-ea1e52b10249/MjAyMi02LTE3LTExLTYtMjMtMzQw.jpg",
alias: "英语训练营",
Expand Down Expand Up @@ -186,7 +186,7 @@ const footerConfig = {
wechatQrCode:
"https://static.xiedaimala.com/xdml/image/6e556a51-b8ff-466f-bda6-7d1847e39f2e/2019-10-25-10-30-24.png",
weiboQrcode:
"https://jirengu.com/addons/theme/hunger-new/weibo_qr.10a01022.png",
"https://training.jirengu.com/addons/theme/hunger-new/weibo_qr.10a01022.png",
record: "浙ICP备19022409号-1",
pcItems: [
[
Expand Down Expand Up @@ -247,7 +247,7 @@ const footerConfig = {
{
title: "更多产品",
children: [
{ text: "饥人谷Java", link: "https://jirengu.com/java" },
{ text: "饥人谷Java", link: "https://training.jirengu.com/java" },
{ text: "写代码啦", link: "https://xiedaimala.com" },
{ text: "河码", link: "https://xiedaimala.com/bbs" },
{ text: "Hunger Works", link: "http://hungerworks.com/" },
Expand All @@ -270,7 +270,7 @@ const footerConfig = {
wechatQrCode:
"https://static.xiedaimala.com/xdml/file/6e556a51-b8ff-466f-bda6-7d1847e39f2e/2019-11-19-16-3-7.jpg",
weiboQrcode:
"https://jirengu.com/addons/theme/hunger-new/weibo_qr.10a01022.png",
"https://training.jirengu.com/addons/theme/hunger-new/weibo_qr.10a01022.png",
record: "浙ICP备14041127号",
pcItems: [
[
Expand Down Expand Up @@ -396,7 +396,7 @@ const footerConfig = {
{
title: "更多产品",
children: [
{ text: "饥人谷Java", link: "https://jirengu.com/java" },
{ text: "饥人谷Java", link: "https://training.jirengu.com/java" },
{ text: "写代码啦", link: "https://xiedaimala.com" },
{ text: "河码", link: "https://xiedaimala.com/bbs" },
{ text: "Hunger Works", link: "http://hungerworks.com/" },
Expand All @@ -419,15 +419,15 @@ const footerConfig = {
wechatQrCode:
"https://static.xiedaimala.com/xdml/file/6e556a51-b8ff-466f-bda6-7d1847e39f2e/2019-11-19-16-3-7.jpg",
weiboQrcode:
"https://jirengu.com/addons/theme/hunger-new/weibo_qr.10a01022.png",
"https://training.jirengu.com/addons/theme/hunger-new/weibo_qr.10a01022.png",
record: "浙ICP备14041127号-1",
pcItems: null,
},
english: {
wechatQrCode:
"https://static.xiedaimala.com/xdml/file/6e556a51-b8ff-466f-bda6-7d1847e39f2e/2019-11-19-16-3-7.jpg",
weiboQrcode:
"https://jirengu.com/addons/theme/hunger-new/weibo_qr.10a01022.png",
"https://training.jirengu.com/addons/theme/hunger-new/weibo_qr.10a01022.png",
record: "浙ICP备14041127号-1",
pcItems: null,
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@vue/component-compiler-utils": "^3.0.0",
"cssnano": "^4.1.10",
"lodash": "^4.17.15",
"node-sass": "^4.12.0",
"node-sass": "npm:sass",
"sass": "^1.22.10",
"vue-template-compiler": "^2.6.10"
}
Expand Down
Loading

0 comments on commit a67c635

Please sign in to comment.