mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
This commit is contained in:
parent
1e0a2bb2a7
commit
520d7496f2
8 changed files with 19 additions and 5 deletions
|
|
@ -1,5 +1,10 @@
|
|||
document.body.insertAdjacentHTML('afterBegin', `<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<symbol id="iconFeedback" viewBox="0 0 32 32">
|
||||
<path d="M18.030 13.171c-0.769 0-1.365 0.596-1.365 1.332s0.596 1.332 1.365 1.332c0.703 0 1.298-0.596 1.298-1.332s-0.596-1.332-1.298-1.332zM8.707 13.171c-0.769 0-1.365 0.596-1.365 1.332s0.596 1.332 1.365 1.332c0.703 0 1.298-0.596 1.298-1.332s-0.596-1.332-1.298-1.332z"></path>
|
||||
<path d="M28.717 10.641c-1.526-2.083-3.695-3.615-6.212-4.309l-0.080-0.019v0.003c-0.569-0.633-1.212-1.215-1.931-1.735-5.45-3.962-13.101-2.753-17.079 2.697-3.206 4.428-3.070 10.384 0.2 14.616l0.027 4.415c0 0.107 0.017 0.213 0.050 0.313 0.14 0.435 0.541 0.745 1.015 0.745 0.114 0 0.224-0.018 0.328-0.051l-0.008 0.002 4.215-1.328c1.115 0.396 2.267 0.623 3.413 0.686l-0.017 0.013c2.966 2.161 6.855 2.81 10.421 1.631l4.232 1.378c0.107 0.033 0.216 0.053 0.33 0.053 0.589 0 1.065-0.476 1.065-1.065v-4.461c2.933-3.982 3.010-9.485 0.033-13.584zM9.706 23.625l-0.399-0.166-3.296 1.032-0.033-3.462-0.266-0.3c-2.817-3.436-3.003-8.387-0.366-12.019 3.209-4.401 9.362-5.374 13.75-2.197 4.401 3.199 5.377 9.342 2.197 13.717-2.667 3.659-7.441 5.011-11.586 3.396zM26.519 23.059l-0.266 0.333 0.033 3.462-3.263-1.099-0.399 0.166c-1.864 0.692-3.852 0.749-5.693 0.233l-0.007-0.003c2.594-0.812 4.753-2.386 6.275-4.457l0.024-0.034c2.544-3.506 2.956-7.91 1.478-11.666l0.020 0.013c0.766 0.549 1.468 1.235 2.064 2.064 2.417 3.316 2.281 7.831-0.266 10.987z"></path>
|
||||
<path d="M13.369 13.171c-0.769 0-1.365 0.596-1.365 1.332s0.596 1.332 1.365 1.332c0.703 0 1.298-0.596 1.298-1.332s-0.596-1.332-1.298-1.332z"></path>
|
||||
</symbol>
|
||||
<symbol id="iconCloseRound" viewBox="0 0 32 32">
|
||||
<path d="M16 1c-8.295 0-15 6.705-15 15s6.705 15 15 15 15-6.705 15-15-6.705-15-15-15zM23.5 21.385l-2.115 2.115-5.385-5.385-5.385 5.385-2.115-2.115 5.385-5.385-5.385-5.385 2.115-2.115 5.385 5.385 5.385-5.385 2.115 2.115-5.385 5.385 5.385 5.385z"></path>
|
||||
</symbol>
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
"name": "ant",
|
||||
"author": "Vanessa",
|
||||
"url": "https://github.com/Vanessa219",
|
||||
"version": "1.17.1"
|
||||
"version": "1.18.0"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,6 +28,12 @@
|
|||
<body>
|
||||
<h2>SiYuan</h2>
|
||||
<div class="fn__clear">
|
||||
<div>
|
||||
<svg>
|
||||
<use xlink:href="#iconFeedback"></use>
|
||||
</svg>
|
||||
iconFeedback
|
||||
</div>
|
||||
<div>
|
||||
<svg>
|
||||
<use xlink:href="#iconCloseRound"></use>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
document.body.insertAdjacentHTML('afterbegin', `<svg style="position: absolute; width: 0; height: 0; overflow: hidden;" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<symbol id="iconFeedback" viewBox="0 0 32 32">
|
||||
<path d="M28 1h-24c-1.65 0-2.985 1.35-2.985 3l-0.015 27 6-6h21c1.65 0 3-1.35 3-3v-18c0-1.65-1.35-3-3-3zM28 22h-22.245l-1.755 1.755v-19.755h24v18zM13.75 19h11.25v-3h-8.25zM19.54 10.195c0.3-0.3 0.3-0.765 0-1.065l-2.655-2.655c-0.3-0.3-0.765-0.3-1.065 0l-8.82 8.82v3.705h3.705l8.835-8.805z"></path>
|
||||
</symbol>
|
||||
<symbol id="iconCloseRound" viewBox="0 0 32 32">
|
||||
<path d="M16 1c-8.295 0-15 6.705-15 15s6.705 15 15 15 15-6.705 15-15-6.705-15-15-15zM23.5 21.385l-2.115 2.115-5.385-5.385-5.385 5.385-2.115-2.115 5.385-5.385-5.385-5.385 2.115-2.115 5.385 5.385 5.385-5.385 2.115 2.115-5.385 5.385 5.385 5.385z"></path>
|
||||
</symbol>
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
"name": "material",
|
||||
"author": "Vanessa",
|
||||
"url": "https://github.com/Vanessa219",
|
||||
"version": "1.17.1"
|
||||
"version": "1.18.0"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ export const initStatus = (isWindow = false) => {
|
|||
}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
label: window.siyuan.languages.feedback,
|
||||
icon: "iconHeart",
|
||||
icon: "iconFeedback",
|
||||
click: () => {
|
||||
if ("zh_CN" === window.siyuan.config.lang) {
|
||||
window.open("https://ld246.com/article/1649901726096");
|
||||
|
|
|
|||
|
|
@ -271,7 +271,7 @@ export const workspaceMenu = (app:App, rect: DOMRect) => {
|
|||
}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
label: window.siyuan.languages.feedback,
|
||||
icon: "iconHeart",
|
||||
icon: "iconFeedback",
|
||||
click: () => {
|
||||
if ("zh_CN" === window.siyuan.config.lang) {
|
||||
window.open("https://ld246.com/article/1649901726096");
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ export const initRightMenu = () => {
|
|||
<svg class="b3-menu__icon"><use xlink:href="#iconHelp"></use></svg><span class="b3-menu__label">${window.siyuan.languages.help}</span>
|
||||
</div>
|
||||
<a class="b3-menu__item" href="${"zh_CN" === window.siyuan.config.lang ? "https://ld246.com/article/1649901726096" : "https://github.com/siyuan-note/siyuan/issues"}" target="_blank">
|
||||
<svg class="b3-menu__icon"><use xlink:href="#iconHeart"></use></svg>
|
||||
<svg class="b3-menu__icon"><use xlink:href="#iconFeedback"></use></svg>
|
||||
<span class="b3-menu__label">${window.siyuan.languages.feedback}</span>
|
||||
</a>
|
||||
</div>`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue