Skip to content

Build your personal knowledge base with Trilium Notes

client/about dialog: add a license link

Adorian Doran3889d7a5be3c
diff --git a/apps/client/src/widgets/dialogs/about.css b/apps/client/src/widgets/dialogs/about.css
index 71aff40f69..eb33ef0800 100644
--- a/apps/client/src/widgets/dialogs/about.css
+++ b/apps/client/src/widgets/dialogs/about.css
@@ -51,6 +51,8 @@
margin-bottom: 30px;
a {
+ --_icon-size: 28px;
+
display: flex;
flex-direction: column;
align-items: center;
@@ -68,7 +70,12 @@
}
i {
- font-size: 28px;
+ font-size: var(--_icon-size);
+ }
+
+ svg {
+ fill: currentColor;
+ height: var(--_icon-size);
}
&.donate-link {
diff --git a/apps/client/src/widgets/dialogs/about.tsx b/apps/client/src/widgets/dialogs/about.tsx
index c48550f2a9..e9bb0e78bd 100644
--- a/apps/client/src/widgets/dialogs/about.tsx
+++ b/apps/client/src/widgets/dialogs/about.tsx
@@ -95,7 +95,13 @@ export default function AboutDialog() {
<i class='bx bxl-github'></i>
GitHub
</a>
-
+
+ <a href="https://www.gnu.org/licenses/agpl-3.0.en.html#license-text" target="_blank">
+ {/* https://pictogrammers.com/library/mdi/icon/scale-balance/ */}
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,3C10.73,3 9.6,3.8 9.18,5H3V7H4.95L2,14C1.53,16 3,17 5.5,17C8,17 9.56,16 9,14L6.05,7H9.17C9.5,7.85 10.15,8.5 11,8.83V20H2V22H22V20H13V8.82C13.85,8.5 14.5,7.85 14.82,7H17.95L15,14C14.53,16 16,17 18.5,17C21,17 22.56,16 22,14L19.05,7H21V5H14.83C14.4,3.8 13.27,3 12,3M12,5A1,1 0 0,1 13,6A1,1 0 0,1 12,7A1,1 0 0,1 11,6A1,1 0 0,1 12,5M5.5,10.25L7,14H4L5.5,10.25M18.5,10.25L20,14H17L18.5,10.25Z" /></svg>
+ AGPL 3.0
+ </a>
+
<a href="https://triliumnotes.org/en/support-us" className="donate-link" target="_blank">
<i class='bx bx-heart' ></i>
{t("about.donate")}