Skip to content

Commit

Permalink
update: icons and links to the doc project
Browse files Browse the repository at this point in the history
  • Loading branch information
Purple-CSGO committed Dec 28, 2023
1 parent 912ff31 commit 1bf8d93
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
19 changes: 17 additions & 2 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,23 @@ export default defineConfig({
sidebar: sidebar,

socialLinks: [
{ icon: "github", link: "https://github.com/advancedfx/advancedfx" },
{ icon: "discord", link: "https://discord.gg/e7sgYQcR" },
{
icon: "github",
link: "https://github.com/advancedfx/advancedfx",
ariaLabel: "GitHub",
},
{
icon: {
svg: '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-git-pull-request" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M6 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" /><path d="M6 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" /><path d="M18 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" /><path d="M6 8l0 8" /><path d="M11 6h5a2 2 0 0 1 2 2v8" /><path d="M14 9l-3 -3l3 -3" /></svg>',
},
link: "https://github.com/advancedfx/afx-doc",
ariaLabel: "Doc Project",
},
{
icon: "discord",
link: "https://discord.gg/e7sgYQcR",
ariaLabel: "Discord",
},
],

search: {
Expand Down
3 changes: 3 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ hero:
- theme: alt
text: View on GitHub
link: https://github.com/advancedfx/advancedfx
- theme: alt
text: Doc Project
link: https://github.com/advancedfx/afx-doc

features:
- icon: 🎥
Expand Down
1 change: 1 addition & 0 deletions docs/public/git-pull-request.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/zh-hans/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ hero:
- theme: alt
text: GitHub 项目
link: https://github.com/advancedfx/advancedfx
- theme: alt
text: 文档项目
link: https://github.com/advancedfx/afx-doc

features:
- icon: 🎥
Expand Down

0 comments on commit 1bf8d93

Please sign in to comment.