diff --git a/assets/App.tsx b/assets/App.tsx index 1fbb872..9093a7c 100644 --- a/assets/App.tsx +++ b/assets/App.tsx @@ -1,4 +1,4 @@ -import {Button, ConfigProvider, Layout, Space, theme, Typography} from "antd"; +import {Button, ConfigProvider, FloatButton, Layout, Space, theme, Tooltip, Typography} from "antd"; import {Link, Navigate, Route, Routes, useLocation, useNavigate} from "react-router-dom"; import TextPage from "./pages/TextPage"; import DomainSearchPage from "./pages/search/DomainSearchPage"; @@ -16,9 +16,13 @@ import NotFoundPage from "./pages/NotFoundPage"; import useBreakpoint from "./hooks/useBreakpoint"; import {Sider} from "./components/Sider"; import {jt, t} from "ttag"; +import {BugOutlined, InfoCircleOutlined, MergeOutlined} from '@ant-design/icons' -const ProjectLink = Domain Watchdog -const LicenseLink = AGPL-3.0-or-later +const PROJECT_LINK = 'https://github.com/maelgangloff/domain-watchdog' +const LICENSE_LINK = 'https://www.gnu.org/licenses/agpl-3.0.txt' + +const ProjectLink = Domain Watchdog +const LicenseLink = AGPL-3.0-or-later export default function App() { @@ -116,7 +120,8 @@ export default function App() { - @@ -124,6 +129,22 @@ export default function App() { + } + > + + } target='_blank' href={PROJECT_LINK}/> + + + } target='_blank' href={PROJECT_LINK + '/issues'}/> + + diff --git a/translations/translations.pot b/translations/translations.pot index de4ac5c..c93b325 100644 --- a/translations/translations.pot +++ b/translations/translations.pot @@ -3,29 +3,37 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Plural-Forms: nplurals=2; plural=(n!=1);\n" -#: assets/App.tsx:116 +#: assets/App.tsx:120 msgid "TOS" msgstr "" -#: assets/App.tsx:117 +#: assets/App.tsx:121 msgid "Privacy Policy" msgstr "" -#: assets/App.tsx:118 +#: assets/App.tsx:122 msgid "FAQ" msgstr "" -#: assets/App.tsx:120 +#: assets/App.tsx:125 msgid "Documentation" msgstr "" -#: assets/App.tsx:123 +#: assets/App.tsx:128 #, javascript-format msgid "" "${ ProjectLink } is an open source project distributed under the ${ " "LicenseLink } license." msgstr "" +#: assets/App.tsx:141 +msgid "Official git repository" +msgstr "" + +#: assets/App.tsx:144 +msgid "Submit an issue" +msgstr "" + #: assets/components/LoginForm.tsx:52 #: assets/components/RegisterForm.tsx:39 msgid "Email address"