log以及底部信息修改

This commit is contained in:
caishi 2024-04-09 15:05:50 +08:00
parent 1dd7aeed62
commit 72708b4fff
10 changed files with 5551 additions and 5389 deletions

View File

@ -44,11 +44,10 @@ module.exports = {
style:"dark", style:"dark",
title: '', title: '',
logo: { logo: {
// width: '32px', // width: '35px',
// height: '32px',
alt: 'gitlink', alt: 'gitlink',
src: 'img/gitlink.png', src: 'img/fenglei.png',
href:"https://www.gitlink.org.cn/" href:"https://osredm.com/"
// srcDark: 'img/logo-dark.png', // srcDark: 'img/logo-dark.png',
}, },
items: [ items: [
@ -67,71 +66,72 @@ module.exports = {
}, },
footer: { footer: {
style: 'dark', style: 'dark',
logo:{ // logo:{
src:"img/gitlink.png" // src:"img/hongshan.png"
}, // },
links: [ // links: [
{ // {
title: '社区', // title: '社区',
items: [ // items: [
{ // {
label: '网站首页', // label: '网站首页',
to: 'https://www.gitlink.org.cn', // to: 'https://www.gitlink.org.cn',
}, // },
{ // {
label: '关于我们', // label: '关于我们',
to: 'https://www.gitlink.org.cn/aboutus', // to: 'https://www.gitlink.org.cn/aboutus',
}, // },
{ // {
label: '教学实践', // label: '教学实践',
to: 'https://www.gitlink.org.cn/educoder', // to: 'https://www.gitlink.org.cn/educoder',
}, // },
{ // {
label: '合作伙伴', // label: '合作伙伴',
to: 'https://forum.trustie.net/forums/5030/detail', // to: 'https://forum.trustie.net/forums/5030/detail',
}, // },
], // ],
}, // },
{ // {
title: '支持与服务', // title: '支持与服务',
items: [ // items: [
{ // {
label: 'API文档', // label: 'API文档',
to: 'https://forgeplus.trustie.net/docs/api', // to: 'https://forgeplus.trustie.net/docs/api',
}, // },
{ // {
label: 'Git常用命令', // label: 'Git常用命令',
to: 'https://git-scm.com', // to: 'https://git-scm.com',
}, // },
{ // {
label: '引擎使用手册', // label: '引擎使用手册',
to: 'https://forum.gitlink.org.cn/forums/7487/detail', // to: 'https://forum.gitlink.org.cn/forums/7487/detail',
}, // },
{ // {
label: '服务协议', // label: '服务协议',
to: 'https://forum.trustie.net/forums/5029/detail', // to: 'https://forum.trustie.net/forums/5029/detail',
}, // },
], // ],
}, // },
{ // {
title: '加入我们', // title: '加入我们',
items: [ // items: [
{ // {
label: '官网邮箱gitlink@ccf.org.cn', // label: '官网邮箱gitlink@ccf.org.cn',
to:"https://www.gitlink.org.cn" // to:"https://www.gitlink.org.cn"
}, // },
{ // {
label:'QQ群', // label:'QQ群',
to:'https://www.gitlink.org.cn' // to:'https://www.gitlink.org.cn'
}, // },
{ // {
label:'公众号', // label:'公众号',
to:'https://www.gitlink.org.cn' // to:'https://www.gitlink.org.cn'
} // }
], // ],
}, // },
], // ],
copyright: `<p>©Copyright ${new Date().getFullYear()} CCF 开源发展委员会</p><p>Powered by Trustie& IntelliDE 京ICP备13000930号</p>`, //${new Date().getFullYear()}
copyright: `<p style="display:flex;align-items:center;justify-content:center"><img src="/img/email.png" width="18px"/>support@osredm.com<img src="/img/position.png" style="margin-left:20px" width="15px"/>北京市海淀区西三环北路72号</p><p style="display:flex;align-items:center;justify-content:center">版权所有:红山开源社区<img src="/img/police.png" style="width:16px;border-radius:10px;margin-right:5px;margin-left:30px"/>京公网安备 11010802034576 号京ICP备2021005060-1</p>`,
}, },
}, },
presets: [ presets: [

109
package-lock.json generated
View File

@ -12,6 +12,7 @@
"@docusaurus/core": "2.4.1", "@docusaurus/core": "2.4.1",
"@docusaurus/plugin-client-redirects": "2.4.1", "@docusaurus/plugin-client-redirects": "2.4.1",
"@docusaurus/preset-classic": "2.4.1", "@docusaurus/preset-classic": "2.4.1",
"@easyops-cn/docusaurus-search-local": "^0.35.0",
"@mdx-js/react": "1.6.22", "@mdx-js/react": "1.6.22",
"@node-rs/jieba": "^1.7.0", "@node-rs/jieba": "^1.7.0",
"clsx": "1.2.1", "clsx": "1.2.1",
@ -2641,6 +2642,46 @@
"node": ">=16.14" "node": ">=16.14"
} }
}, },
"node_modules/@easyops-cn/autocomplete.js": {
"version": "0.38.1",
"resolved": "https://registry.npmmirror.com/@easyops-cn/autocomplete.js/-/autocomplete.js-0.38.1.tgz",
"integrity": "sha512-drg76jS6syilOUmVNkyo1c7ZEBPcPuK+aJA7AksM5ZIIbV57DMHCywiCr+uHyv8BE5jUTU98j/H7gVrkHrWW3Q==",
"dependencies": {
"cssesc": "^3.0.0",
"immediate": "^3.2.3"
}
},
"node_modules/@easyops-cn/docusaurus-search-local": {
"version": "0.35.0",
"resolved": "https://registry.npmmirror.com/@easyops-cn/docusaurus-search-local/-/docusaurus-search-local-0.35.0.tgz",
"integrity": "sha512-sHQ8jxsVgHH8MNXJlj20nZZfP/Q0peNTAJwKCN2aPuBwfRIoO0i7LmZFaYKenZmVAW/BD2MtfVd65SREmm3zxg==",
"dependencies": {
"@docusaurus/plugin-content-docs": "^2.0.0-rc.1",
"@docusaurus/theme-translations": "^2.0.0-rc.1",
"@docusaurus/utils": "^2.0.0-rc.1",
"@docusaurus/utils-common": "^2.0.0-rc.1",
"@docusaurus/utils-validation": "^2.0.0-rc.1",
"@easyops-cn/autocomplete.js": "^0.38.1",
"@node-rs/jieba": "^1.6.0",
"cheerio": "^1.0.0-rc.3",
"clsx": "^1.1.1",
"debug": "^4.2.0",
"fs-extra": "^10.0.0",
"klaw-sync": "^6.0.0",
"lunr": "^2.3.9",
"lunr-languages": "^1.4.0",
"mark.js": "^8.11.1",
"tslib": "^2.4.0"
},
"engines": {
"node": ">=12"
},
"peerDependencies": {
"@docusaurus/theme-common": "^2.0.0-rc.1",
"react": "^16.14.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0"
}
},
"node_modules/@hapi/hoek": { "node_modules/@hapi/hoek": {
"version": "9.3.0", "version": "9.3.0",
"resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz",
@ -7249,6 +7290,11 @@
"node": ">=14.0.0" "node": ">=14.0.0"
} }
}, },
"node_modules/immediate": {
"version": "3.3.0",
"resolved": "https://registry.npmmirror.com/immediate/-/immediate-3.3.0.tgz",
"integrity": "sha512-HR7EVodfFUdQCTIeySw+WDRFJlPcLOJbXfwwZ7Oom6tjsvZ3bOkCDJHehQC3nxJrv7+f9XecwazynjU8e4Vw3Q=="
},
"node_modules/immer": { "node_modules/immer": {
"version": "9.0.16", "version": "9.0.16",
"resolved": "https://registry.npmjs.org/immer/-/immer-9.0.16.tgz", "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.16.tgz",
@ -7804,6 +7850,14 @@
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/klaw-sync": {
"version": "6.0.0",
"resolved": "https://registry.npmmirror.com/klaw-sync/-/klaw-sync-6.0.0.tgz",
"integrity": "sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ==",
"dependencies": {
"graceful-fs": "^4.1.11"
}
},
"node_modules/kleur": { "node_modules/kleur": {
"version": "3.0.3", "version": "3.0.3",
"resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
@ -7952,6 +8006,11 @@
"node": ">=10" "node": ">=10"
} }
}, },
"node_modules/lunr": {
"version": "2.3.9",
"resolved": "https://registry.npmmirror.com/lunr/-/lunr-2.3.9.tgz",
"integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow=="
},
"node_modules/lunr-languages": { "node_modules/lunr-languages": {
"version": "1.10.0", "version": "1.10.0",
"resolved": "https://registry.npmjs.org/lunr-languages/-/lunr-languages-1.10.0.tgz", "resolved": "https://registry.npmjs.org/lunr-languages/-/lunr-languages-1.10.0.tgz",
@ -14695,6 +14754,38 @@
"tslib": "^2.4.0" "tslib": "^2.4.0"
} }
}, },
"@easyops-cn/autocomplete.js": {
"version": "0.38.1",
"resolved": "https://registry.npmmirror.com/@easyops-cn/autocomplete.js/-/autocomplete.js-0.38.1.tgz",
"integrity": "sha512-drg76jS6syilOUmVNkyo1c7ZEBPcPuK+aJA7AksM5ZIIbV57DMHCywiCr+uHyv8BE5jUTU98j/H7gVrkHrWW3Q==",
"requires": {
"cssesc": "^3.0.0",
"immediate": "^3.2.3"
}
},
"@easyops-cn/docusaurus-search-local": {
"version": "0.35.0",
"resolved": "https://registry.npmmirror.com/@easyops-cn/docusaurus-search-local/-/docusaurus-search-local-0.35.0.tgz",
"integrity": "sha512-sHQ8jxsVgHH8MNXJlj20nZZfP/Q0peNTAJwKCN2aPuBwfRIoO0i7LmZFaYKenZmVAW/BD2MtfVd65SREmm3zxg==",
"requires": {
"@docusaurus/plugin-content-docs": "^2.0.0-rc.1",
"@docusaurus/theme-translations": "^2.0.0-rc.1",
"@docusaurus/utils": "^2.0.0-rc.1",
"@docusaurus/utils-common": "^2.0.0-rc.1",
"@docusaurus/utils-validation": "^2.0.0-rc.1",
"@easyops-cn/autocomplete.js": "^0.38.1",
"@node-rs/jieba": "^1.6.0",
"cheerio": "^1.0.0-rc.3",
"clsx": "^1.1.1",
"debug": "^4.2.0",
"fs-extra": "^10.0.0",
"klaw-sync": "^6.0.0",
"lunr": "^2.3.9",
"lunr-languages": "^1.4.0",
"mark.js": "^8.11.1",
"tslib": "^2.4.0"
}
},
"@hapi/hoek": { "@hapi/hoek": {
"version": "9.3.0", "version": "9.3.0",
"resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz",
@ -18062,6 +18153,11 @@
"queue": "6.0.2" "queue": "6.0.2"
} }
}, },
"immediate": {
"version": "3.3.0",
"resolved": "https://registry.npmmirror.com/immediate/-/immediate-3.3.0.tgz",
"integrity": "sha512-HR7EVodfFUdQCTIeySw+WDRFJlPcLOJbXfwwZ7Oom6tjsvZ3bOkCDJHehQC3nxJrv7+f9XecwazynjU8e4Vw3Q=="
},
"immer": { "immer": {
"version": "9.0.16", "version": "9.0.16",
"resolved": "https://registry.npmjs.org/immer/-/immer-9.0.16.tgz", "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.16.tgz",
@ -18442,6 +18538,14 @@
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
"integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw=="
}, },
"klaw-sync": {
"version": "6.0.0",
"resolved": "https://registry.npmmirror.com/klaw-sync/-/klaw-sync-6.0.0.tgz",
"integrity": "sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ==",
"requires": {
"graceful-fs": "^4.1.11"
}
},
"kleur": { "kleur": {
"version": "3.0.3", "version": "3.0.3",
"resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
@ -18557,6 +18661,11 @@
"yallist": "^4.0.0" "yallist": "^4.0.0"
} }
}, },
"lunr": {
"version": "2.3.9",
"resolved": "https://registry.npmmirror.com/lunr/-/lunr-2.3.9.tgz",
"integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow=="
},
"lunr-languages": { "lunr-languages": {
"version": "1.10.0", "version": "1.10.0",
"resolved": "https://registry.npmjs.org/lunr-languages/-/lunr-languages-1.10.0.tgz", "resolved": "https://registry.npmjs.org/lunr-languages/-/lunr-languages-1.10.0.tgz",

View File

@ -19,6 +19,7 @@
} }
.navbar{ .navbar{
background-color: rgba(27, 36, 64, 1); background-color: rgba(27, 36, 64, 1);
padding-left: 40px;
} }
.navbar__link--active,a:hover,.menu__link--active{ .navbar__link--active,a:hover,.menu__link--active{
color: rgba(70, 106, 255, 1)!important; color: rgba(70, 106, 255, 1)!important;
@ -48,7 +49,7 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
background-color: #33416b; background-color: #33416b;
} }
.footer{ .footer{
height:450px; /* height:450px; */
position: relative; position: relative;
background: #1e1e1e; background: #1e1e1e;
padding:0px; padding:0px;

BIN
static/img/email.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
static/img/fenglei.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

BIN
static/img/hongshan.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

BIN
static/img/police.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

BIN
static/img/position.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

10690
yarn.lock

File diff suppressed because it is too large Load Diff