mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: update footer
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import {Button, Layout, Space, theme} from "antd";
|
import {Button, Layout, Space, theme, Typography} from "antd";
|
||||||
import {Link, Navigate, Route, Routes, useLocation, useNavigate} from "react-router-dom";
|
import {Link, Navigate, Route, Routes, useLocation, useNavigate} from "react-router-dom";
|
||||||
import TextPage from "./pages/TextPage";
|
import TextPage from "./pages/TextPage";
|
||||||
import DomainSearchPage from "./pages/search/DomainSearchPage";
|
import DomainSearchPage from "./pages/search/DomainSearchPage";
|
||||||
@@ -15,7 +15,10 @@ import ConnectorsPage from "./pages/tracking/ConnectorsPage";
|
|||||||
import NotFoundPage from "./pages/NotFoundPage";
|
import NotFoundPage from "./pages/NotFoundPage";
|
||||||
import useBreakpoint from "./hooks/useBreakpoint";
|
import useBreakpoint from "./hooks/useBreakpoint";
|
||||||
import {Sider} from "./components/Sider";
|
import {Sider} from "./components/Sider";
|
||||||
import {t} from "ttag";
|
import {jt, t} from "ttag";
|
||||||
|
|
||||||
|
const ProjectLink = <Link to='https://github.com/maelgangloff/domain-watchdog'>Domain Watchdog</Link>
|
||||||
|
const LicenseLink = <Link to='https://www.gnu.org/licenses/agpl-3.0.txt'>AGPL-3.0-or-later</Link>
|
||||||
|
|
||||||
export default function App() {
|
export default function App() {
|
||||||
const {
|
const {
|
||||||
@@ -98,9 +101,7 @@ export default function App() {
|
|||||||
<Link to='/privacy'><Button type='text'>{t`Privacy Policy`}</Button></Link>
|
<Link to='/privacy'><Button type='text'>{t`Privacy Policy`}</Button></Link>
|
||||||
<Link to='/faq'><Button type='text'>{t`FAQ`}</Button></Link>
|
<Link to='/faq'><Button type='text'>{t`FAQ`}</Button></Link>
|
||||||
</Space>
|
</Space>
|
||||||
<br/><br/>
|
<Typography.Paragraph>{jt`${ProjectLink} is an open source project distributed under the ${LicenseLink} license.`}</Typography.Paragraph>
|
||||||
<Link to='https://github.com/maelgangloff/domain-watchdog'>Domain
|
|
||||||
Watchdog</Link> is an open source project distributed under AGPL-3.0-or-later license.
|
|
||||||
</Layout.Footer>
|
</Layout.Footer>
|
||||||
</Layout>
|
</Layout>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|||||||
@@ -508,14 +508,21 @@ msgid ""
|
|||||||
"another"
|
"another"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/App.tsx:97
|
#: assets/App.tsx:100
|
||||||
msgid "TOS"
|
msgid "TOS"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/App.tsx:98
|
#: assets/App.tsx:101
|
||||||
msgid "Privacy Policy"
|
msgid "Privacy Policy"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/App.tsx:99
|
#: assets/App.tsx:102
|
||||||
msgid "FAQ"
|
msgid "FAQ"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: assets/App.tsx:104
|
||||||
|
#, javascript-format
|
||||||
|
msgid ""
|
||||||
|
"${ ProjectLink } is an open source project distributed under the ${ "
|
||||||
|
"LicenseLink } license."
|
||||||
|
msgstr ""
|
||||||
|
|||||||
Reference in New Issue
Block a user