From 24046c0f321ce20b90c67ebf88bed91548847e24 Mon Sep 17 00:00:00 2001 From: Artemy Date: Thu, 27 Apr 2023 18:56:35 +0300 Subject: [PATCH] feat: source code link in about page --- src/App.jsx | 15 ++++++++++++--- src/localisation/en.js | 1 + src/localisation/ru.js | 1 + 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index e79a22a..719f85b 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -31,6 +31,8 @@ import socket from "./components/socket"; import Settings from "./pages/settings"; import { useState } from "react"; import { localesProcess } from "./components/utils"; +import { ButtonWithIcon } from "./components/button"; +import { LinkIcon } from "@heroicons/react/24/outline"; function App() { Storage.prototype.setObj = function (key, obj) { @@ -82,9 +84,16 @@ function App() { - {locals.about_md} - + <> + +
+ {locals.about_md} +
+ } /> } /> diff --git a/src/localisation/en.js b/src/localisation/en.js index 93193be..5c815cb 100644 --- a/src/localisation/en.js +++ b/src/localisation/en.js @@ -74,6 +74,7 @@ let en = { NoNotesFound: "No notes found", LocalNote: "Local", Menu: "Menu", + SourceCode: "Source code", }; export default en; diff --git a/src/localisation/ru.js b/src/localisation/ru.js index cf4a5c1..73c8689 100644 --- a/src/localisation/ru.js +++ b/src/localisation/ru.js @@ -76,6 +76,7 @@ let ru = { LocalNote: "Локальная", PublishNote: "Публичная", Menu: "Меню", + SourceCode: "Исходный код", }; export default ru;