mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-04-12 15:40:30 +08:00
fix(docs): Add discord link.
This commit is contained in:
parent
eb78af17c6
commit
0a24af75eb
25
packages/docs/templates/footer.yaml.njk
vendored
25
packages/docs/templates/footer.yaml.njk
vendored
@ -316,6 +316,31 @@
|
||||
type: Link
|
||||
params:
|
||||
url: https://github.com/lowdefy/lowdefy/discussions
|
||||
|
||||
- id: lowdefy_discord
|
||||
type: Box
|
||||
style:
|
||||
width: 24
|
||||
height: 24
|
||||
layout:
|
||||
size: auto
|
||||
blocks:
|
||||
- id: discord_icon
|
||||
type: Html
|
||||
properties:
|
||||
html: |
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="28px" height="28px" viewBox="0 0 48 48" version="1.1">
|
||||
<g id="surface113672">
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgba(0, 0, 0, 0.65);fill-opacity:1;" d="M 42 45 L 33 38 L 34 41 L 10 41 C 7.238281 41 5 38.761719 5 36 L 5 10 C 5 7.238281 7.238281 5 10 5 L 37 5 C 39.761719 5 42 7.238281 42 10 Z M 42 45 "/>
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 32.589844 16.238281 C 32.589844 16.238281 29.988281 14.230469 26.910156 14 L 26.640625 14.550781 C 29.421875 15.21875 30.691406 16.191406 32.019531 17.378906 C 29.730469 16.210938 27.460938 15 23.5 15 C 19.539062 15 17.269531 16.210938 14.980469 17.378906 C 16.308594 16.191406 17.828125 15.109375 20.359375 14.550781 L 20.089844 14 C 16.859375 14.308594 14.410156 16.238281 14.410156 16.238281 C 14.410156 16.238281 11.5 20.429688 11 28.621094 C 13.941406 31.980469 18.390625 32 18.390625 32 L 19.308594 30.769531 C 17.738281 30.230469 15.949219 29.261719 14.410156 27.5 C 16.25 28.878906 19.019531 30 23.5 30 C 27.980469 30 30.75 28.878906 32.589844 27.5 C 31.050781 29.261719 29.261719 30.230469 27.691406 30.769531 L 28.609375 32 C 28.609375 32 33.058594 31.980469 36 28.621094 C 35.5 20.429688 32.589844 16.238281 32.589844 16.238281 Z M 20 27 C 18.898438 27 18 25.878906 18 24.5 C 18 23.121094 18.898438 22 20 22 C 21.101562 22 22 23.121094 22 24.5 C 22 25.878906 21.101562 27 20 27 Z M 27 27 C 25.898438 27 25 25.878906 25 24.5 C 25 23.121094 25.898438 22 27 22 C 28.101562 22 29 23.121094 29 24.5 C 29 25.878906 28.101562 27 27 27 Z M 27 27 "/>
|
||||
</g>
|
||||
</svg>
|
||||
events:
|
||||
onClick:
|
||||
- id: link_discord
|
||||
type: Link
|
||||
params:
|
||||
url: https://discord.gg/WmcJgXt
|
||||
- id: lowdefy_github
|
||||
type: Icon
|
||||
layout:
|
||||
|
4
packages/docs/templates/header.yaml
vendored
4
packages/docs/templates/header.yaml
vendored
@ -75,7 +75,7 @@
|
||||
layout:
|
||||
flex: 1 0 auto
|
||||
properties:
|
||||
title: Join the Community
|
||||
title: Join on Discord
|
||||
type: text
|
||||
size: large
|
||||
events:
|
||||
@ -83,7 +83,7 @@
|
||||
- id: website_link
|
||||
type: Link
|
||||
params:
|
||||
url: https://github.com/lowdefy/lowdefy/discussions
|
||||
url: https://discord.gg/WmcJgXt
|
||||
- id: github_button
|
||||
type: Button
|
||||
layout:
|
||||
|
Loading…
x
Reference in New Issue
Block a user