Skip to content

Commit

Permalink
Add_favicon (#4)
Browse files Browse the repository at this point in the history
* feat: clean catalog

* add student gift

* add todos

* feat: add favicon, speed up website

* Merge remote-tracking branch 'upstream/main' into add_favicon
  • Loading branch information
Samuka007 authored Sep 19, 2024
1 parent e9ab8a2 commit 07fa8f7
Show file tree
Hide file tree
Showing 9 changed files with 1,659 additions and 9 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@
"vuepress": "2.0.0-rc.15",
"vuepress-theme-hope": "2.0.0-rc.52"
},
"packageManager": "[email protected]+sha512.73a29afa36a0d092ece5271de5177ecbf8318d454ecd701343131b8ebc0c1a91c487da46ab77c8e596d6acf1461e3594ced4becedf8921b074fbd8653ed7051c"
"packageManager": "[email protected]+sha512.73a29afa36a0d092ece5271de5177ecbf8318d454ecd701343131b8ebc0c1a91c487da46ab77c8e596d6acf1461e3594ced4becedf8921b074fbd8653ed7051c",
"dependencies": {
"@vuepress/plugin-feed": "2.0.0-rc.3",
"@vuepress/plugin-pwa": "^1.9.10"
}
}
1,651 changes: 1,646 additions & 5 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Binary file removed src/.vuepress/public/osc.png
Binary file not shown.
Binary file removed src/.vuepress/public/[email protected]
Binary file not shown.
Binary file added src/.vuepress/public/osc_favicon.ico
Binary file not shown.
Binary file added src/.vuepress/public/osc_home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/.vuepress/public/osc_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions src/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export default hopeTheme({

iconAssets: "fontawesome-with-brands",

logo: "/[email protected]",
logo: "/osc_logo.png",
favicon: "/osc_favicon.ico",

repo: "SCUTOSC/osc-guide",

Expand Down Expand Up @@ -110,7 +111,7 @@ export default hopeTheme({
// katex: true,

// 在启用之前安装 mathjax-full
mathjax: true,
// mathjax: true,

// 在启用之前安装 mermaid
// mermaid: true,
Expand All @@ -131,6 +132,10 @@ export default hopeTheme({
// sandpack: true,
},

feed: {
rss: true,
}

// 如果你需要 PWA。安装 @vuepress/plugin-pwa 并取消下方注释
// pwa: {
// favicon: "/favicon.ico",
Expand Down
2 changes: 1 addition & 1 deletion src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
home: true
icon: home
title: Home
heroImage: /osc.png
heroImage: /osc_home.png
# bgImage: https://theme-hope-assets.vuejs.press/bg/6-light.svg
# bgImageDark: https://theme-hope-assets.vuejs.press/bg/6-dark.svg
# bgImageStyle:
Expand Down

0 comments on commit 07fa8f7

Please sign in to comment.