提交 b1c2bf47 编写于 作者: Miykael_xxm's avatar Miykael_xxm 🚴

add favicon

上级 1ba6fee5
node_modules
\ No newline at end of file
node_modules
docs/.vuepress/dist
\ No newline at end of file
......@@ -2,6 +2,56 @@
module.exports = {
title: "Spring 中文文档社区",
base: "/spring/",
head: [
[
'link',
{
rel: 'icon',
type: 'image/png',
sizes: '16x16',
href: `/images/icons/favicon.ico`,
},
],
[
'link',
{
rel: 'icon',
type: 'image/png',
sizes: '48x48',
href: `/images/icons/icon-48x48.png`,
},
],
[
'link',
{
rel: 'icon',
type: 'image/png',
sizes: '72x72',
href: `/images/icons/icon-72x72.png`,
},
],
['link', { rel: 'manifest', href: '/manifest.webmanifest' }],
['meta', { name: 'application-name', content: 'Spring 中文文档社区' }],
['meta', { name: 'apple-mobile-web-app-title', content: 'Spring 中文社区' }],
[
'meta',
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black' },
],
[
'link',
{ rel: 'apple-touch-icon', href: `/images/icons/icon_48x48.png` },
],
[
'link',
{
rel: 'mask-icon',
href: '/images/icons/favicon.ico',
color: '#3eaf7c',
},
],
['meta', { name: 'msapplication-TileColor', content: '#3eaf7c' }],
['meta', { name: 'theme-color', content: '#3eaf7c' }],
],
locales: {
'/en/': {
lang: 'en-US',
......@@ -10,7 +60,7 @@ module.exports = {
},
'/': {
lang: 'zh-CN',
title: 'Spring 中文文档',
title: '中文文档',
description: ''
}
},
......@@ -21,7 +71,7 @@ module.exports = {
editLinks: true,
editLinkText: "帮助我们改善此页面!",
lastUpdated: "Last Updated",
//logo: '/assets/img/logo.png',
logo: '/images/icons/spring-logo.svg',
sidebarDepth: 3,
activeHeaderLinks: true,
// nav: [{
......@@ -38,6 +88,7 @@ module.exports = {
selectText: 'Language',
// 该语言在下拉菜单中的标签
label: 'English',
lastUpdated: 'Last Updated',
lang: 'en-US',
// 编辑链接文字
editLinkText: 'Edit this page on GitCode',
......@@ -63,6 +114,7 @@ module.exports = {
ariaLabel: '语言',
lang: 'zh-CN',
editLinkText: '在 GitCode 上编辑此页',
lastUpdated: '上次更新',
algolia: {},
// nav: [
// { text: '中文文档', link: '/', ariaLabel: '中文文档' }
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 377.5 97.1" style="enable-background:new 0 0 377.5 97.1;" xml:space="preserve">
<style type="text/css">
.st0{fill:#6DB33F;}
.st1{fill:#FFFFFF;}
</style>
<path class="st0" d="M88.5,5.7c-1.3,3.2-3.1,6.3-5.2,9.1C64.7-4.5,34-5,14.8,13.6S-5,62.9,13.6,82.1c0.6,0.7,1.3,1.3,2,1.9l1.8,1.6
c20.4,17.2,51,14.6,68.2-5.8C92.2,72,96.2,62.2,96.9,52C98.3,39.9,94.6,24.3,88.5,5.7z M22.6,84.5c-1.4,1.8-4,2-5.8,0.6
s-2-4-0.6-5.8s4-2,5.8-0.6C23.7,80.1,24,82.7,22.6,84.5z M88.2,70C76.3,85.9,50.7,80.5,34.4,81.3c0,0-2.9,0.2-5.8,0.6
c0,0,1.1-0.5,2.5-1c11.5-4,16.9-4.8,23.9-8.4c13.1-6.7,26.2-21.4,28.8-36.6c-5,14.6-20.2,27.2-34,32.3c-9.5,3.5-26.6,6.9-26.6,6.9
l-0.7-0.4c-11.6-5.7-12-30.9,9.2-39c9.3-3.6,18.1-1.6,28.2-4C70.6,29.2,83,21.2,88,10.7C93.6,27.6,100.4,53.8,88.2,70z"/>
<path class="st0" d="M124.4,67.6c-1.3-0.8-2.1-2.2-2-3.7c0-2.4,1.9-4.4,4.3-4.4c0,0,0,0,0.1,0c0.8,0,1.6,0.2,2.3,0.6
c4,2.8,8.7,4.3,13.5,4.5c4.6,0,7.3-2,7.3-5.1v-0.2c0-3.7-5-4.9-10.5-6.6c-6.9-2-14.7-4.8-14.7-13.8v-0.2c0-8.9,7.4-14.3,16.7-14.3
c5.2,0.1,10.2,1.4,14.8,3.8c1.6,0.8,2.6,2.3,2.6,4.1c0,2.4-2,4.4-4.4,4.4h-0.1c-0.7,0-1.4-0.2-2.1-0.5c-3.4-1.9-7.1-3-11-3.2
c-4.2,0-6.6,2-6.6,4.6v0.2c0,3.5,5.1,4.9,10.6,6.7c6.9,2.1,14.6,5.3,14.6,13.7v0.2c0,9.9-7.7,14.8-17.4,14.8
C136,73.1,129.7,71.2,124.4,67.6z"/>
<path class="st0" d="M163.8,29.9c-0.1-2.9,2.3-5.3,5.2-5.4h0.1c3,0,5.4,2.4,5.4,5.4l0,0v3.2c3.5-4.9,8.4-8.8,16-8.8
c11,0,21.8,8.7,21.8,24.4v0.2c0,15.6-10.7,24.4-21.8,24.4c-7.8,0-12.7-3.9-16-8.3v16.6c0,3-2.4,5.4-5.4,5.4l0,0
c-2.9,0-5.3-2.4-5.3-5.3v-0.1V29.9z M201.5,48.9v-0.2c0-9.1-6.1-15-13.4-15s-13.7,6.1-13.7,15v0.2c0,9,6.4,15,13.7,15
S201.5,58.2,201.5,48.9z"/>
<path class="st0" d="M216.5,29.9c-0.1-2.9,2.3-5.3,5.2-5.4h0.1c3,0,5.4,2.4,5.4,5.4l0,0v2.6c0.5-4,7.1-8,11.8-8
c2.7-0.2,5.1,1.8,5.3,4.5c0,0.3,0,0.5,0,0.8c0,2.6-1.8,4.8-4.3,5.2c-7.7,1.3-12.9,8-12.9,17.3v15.5c0,3-2.4,5.3-5.4,5.3
c-2.9,0-5.3-2.3-5.3-5.2c0,0,0,0,0-0.1L216.5,29.9L216.5,29.9z"/>
<path class="st0" d="M248.6,30c-0.1-2.9,2.3-5.3,5.2-5.4h0.1c3,0,5.4,2.4,5.4,5.4l0,0v37.9c0,3-2.4,5.3-5.4,5.3s-5.3-2.4-5.3-5.3
L248.6,30z"/>
<path class="st0" d="M264.8,30c-0.1-2.9,2.3-5.3,5.2-5.4h0.1c3,0,5.4,2.4,5.4,5.4l0,0v2.2c3.2-5,8.8-7.9,14.7-7.7
c10.6,0,16.7,7.1,16.7,18v25.3c0.1,2.9-2.2,5.2-5.1,5.3c-0.1,0-0.1,0-0.2,0c-2.9,0.1-5.3-2.3-5.4-5.2v-0.1v-22
c0-7.3-3.6-11.5-10.1-11.5c-6.2,0-10.6,4.4-10.6,11.7v21.9c0,3-2.4,5.4-5.4,5.4s-5.4-2.4-5.4-5.4L264.8,30L264.8,30z"/>
<path class="st0" d="M354.3,24.4c-3,0-5.4,2.4-5.4,5.4l0,0V33c-3.5-4.9-8.4-8.8-16-8.8c-11,0-21.8,8.7-21.8,24.4v0.2
c0,15.6,10.7,24.4,21.8,24.4c7.8,0,12.7-3.9,16-8.2c-0.5,8.5-5.7,12.9-14.8,12.9c-5,0-10-1.2-14.4-3.7c-0.6-0.3-1.2-0.4-1.9-0.4
c-2.5,0-4.5,1.9-4.6,4.4c0,1.9,1.2,3.7,3,4.3c5.7,2.8,11.9,4.2,18.2,4.2c8.5,0,15.1-2,19.3-6.3c3.9-3.9,6-9.8,6-17.7V29.9
c0.1-3-2.3-5.4-5.3-5.5C354.4,24.4,354.3,24.4,354.3,24.4z M335.4,63.9c-7.4,0-13.4-5.8-13.4-15.1v-0.2c0-9.1,6.1-15,13.4-15
s13.7,6.1,13.7,15v0.2C349.2,57.8,342.8,63.9,335.4,63.9z"/>
<path class="st0" d="M259.4,11.6c0,3-2.4,5.4-5.4,5.4s-5.4-2.4-5.4-5.4s2.4-5.4,5.4-5.4l0,0c2.9-0.1,5.3,2.3,5.4,5.2
C259.4,11.5,259.4,11.5,259.4,11.6z"/>
<path class="st0" d="M372,35.7c-3,0-5.5-2.5-5.5-5.5s2.5-5.5,5.5-5.5s5.5,2.5,5.5,5.5S375,35.7,372,35.7z M372,25.5
c-2.6,0-4.7,2.1-4.7,4.7s2.1,4.7,4.7,4.7s4.7-2.1,4.7-4.7s-2-4.7-4.6-4.7H372z M373.5,33.3l-1.6-2.5h-1.1v2.5h-0.9V27h2.6
c1.1-0.1,2,0.8,2.1,1.9l0,0c0,0.9-0.7,1.7-1.6,1.9l1.7,2.5H373.5z M372.4,27.8h-1.6V30h1.7c0.6,0,1.1-0.5,1.1-1.1
S373.1,27.8,372.4,27.8L372.4,27.8z"/>
<path class="st0" d="M85.6,79.8C92.2,72,96.2,62.2,96.9,52"/>
<path class="st1" d="M88.2,70C76.3,85.9,50.7,80.5,34.4,81.3c0,0-2.9,0.2-5.8,0.6c0,0,1.1-0.5,2.5-1c11.5-4,16.9-4.8,23.9-8.4
c13.1-6.7,26.2-21.4,28.8-36.6c-5,14.6-20.2,27.2-34,32.3c-9.5,3.5-26.6,6.9-26.6,6.9l-0.7-0.4c-11.6-5.7-12-30.9,9.2-39
c9.3-3.6,18.1-1.6,28.2-4C70.6,29.2,83,21.2,88,10.7C93.6,27.6,100.4,53.8,88.2,70z"/>
<path class="st1" d="M22.6,84.5c-1.4,1.8-4,2-5.8,0.6s-2-4-0.6-5.8s4-2,5.8-0.6C23.7,80.1,24,82.7,22.6,84.5z"/>
</svg>
{
"name": "Spring 中文文档社区",
"short_name": "Spring 中文社区",
"description": "Spring 中文文档社区",
"start_url": "/index.html",
"display": "standalone",
"background_color": "#fff",
"theme_color": "#3eaf7c",
"icons": [{
"src": "/images/icons/icon_192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/images/icons/icon_384x384.png",
"sizes": "384x384",
"type": "image/png"
}
]
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册