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 TextPage from "./pages/TextPage";
|
||||
import DomainSearchPage from "./pages/search/DomainSearchPage";
|
||||
@@ -15,7 +15,10 @@ import ConnectorsPage from "./pages/tracking/ConnectorsPage";
|
||||
import NotFoundPage from "./pages/NotFoundPage";
|
||||
import useBreakpoint from "./hooks/useBreakpoint";
|
||||
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() {
|
||||
const {
|
||||
@@ -98,9 +101,7 @@ export default function App() {
|
||||
<Link to='/privacy'><Button type='text'>{t`Privacy Policy`}</Button></Link>
|
||||
<Link to='/faq'><Button type='text'>{t`FAQ`}</Button></Link>
|
||||
</Space>
|
||||
<br/><br/>
|
||||
<Link to='https://github.com/maelgangloff/domain-watchdog'>Domain
|
||||
Watchdog</Link> is an open source project distributed under AGPL-3.0-or-later license.
|
||||
<Typography.Paragraph>{jt`${ProjectLink} is an open source project distributed under the ${LicenseLink} license.`}</Typography.Paragraph>
|
||||
</Layout.Footer>
|
||||
</Layout>
|
||||
</Layout>
|
||||
|
||||
@@ -508,14 +508,21 @@ msgid ""
|
||||
"another"
|
||||
msgstr ""
|
||||
|
||||
#: assets/App.tsx:97
|
||||
#: assets/App.tsx:100
|
||||
msgid "TOS"
|
||||
msgstr ""
|
||||
|
||||
#: assets/App.tsx:98
|
||||
#: assets/App.tsx:101
|
||||
msgid "Privacy Policy"
|
||||
msgstr ""
|
||||
|
||||
#: assets/App.tsx:99
|
||||
#: assets/App.tsx:102
|
||||
msgid "FAQ"
|
||||
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