File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 </ script >
1717 <!--
1818 网站图标:把文件放在 frontend/public/ 下(打包后对应网站根路径 /)。
19- 默认使用 site-icon.png。若要用 ICO,可把图片命名为 favicon.ico 放到 public/,
20- 并把下面第一行 href 改为 "/favicon.ico"、type 改为 "image/x-icon"。
19+ 默认使用 favicon.svg(矢量图,任意尺寸都清晰)。
20+ 若要用 PNG,可把图片命名为 site-icon.png 放到 public/,
21+ 并把下面第一行 href 改为 "/site-icon.png"、type 改为 "image/png"。
2122 -->
22- < link rel ="icon " href ="/site-icon.png " type ="image/png " sizes ="any " />
23- < link rel ="apple-touch-icon " href ="/site-icon.png " />
23+ < link rel ="icon " href ="/site-icon.png " type ="image/png " sizes ="32x32 " />
24+ < link rel ="icon " href ="/site-icon.png " type ="image/png " sizes ="128x128 " />
25+ < link rel ="apple-touch-icon " href ="/site-icon.png " sizes ="180x180 " />
2426 < link rel ="preconnect " href ="https://fastly.jsdelivr.net " crossorigin />
2527 < link rel ="dns-prefetch " href ="https://fastly.jsdelivr.net " />
2628 < link rel ="preconnect " href ="https://v1.hitokoto.cn " crossorigin />
Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -1876,12 +1876,13 @@ body {
18761876}
18771877
18781878.site-brand-logo {
1879- width : 22 px ;
1880- height : 22 px ;
1879+ width : 62 px ;
1880+ height : 62 px ;
18811881 display : inline-flex;
18821882 align-items : center;
18831883 justify-content : center;
18841884 flex-shrink : 0 ;
1885+ border-radius : 6px ;
18851886 color : var (--accent );
18861887}
18871888
Original file line number Diff line number Diff line change 22 <header class =" site-top-bar" role =" banner" >
33 <div class =" site-top-bar-inner" >
44 <router-link to =" /" class =" site-brand" aria-label =" 返回首页" >
5+ <img class =" site-brand-logo" src =" /site-icon.png" alt =" " aria-hidden =" true" />
56 <span class =" site-brand-text" >{{ (siteConfig && siteConfig.blog_name) || '烧仙草冰室' }}</span >
67 </router-link >
78
You can’t perform that action at this time.
0 commit comments