mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-17 17:55:42 +00:00
fix: flex footer links
This commit is contained in:
parent
c0b5c6766e
commit
a6eec5cfee
@ -1,4 +1,4 @@
|
|||||||
import {Button, ConfigProvider, FloatButton, Layout, Space, theme, Tooltip, Typography} from 'antd'
|
import {Button, ConfigProvider, Flex, FloatButton, Layout, theme, Tooltip, 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'
|
||||||
@ -116,7 +116,7 @@ export default function App(): React.ReactElement {
|
|||||||
</div>
|
</div>
|
||||||
</Layout.Content>
|
</Layout.Content>
|
||||||
<Layout.Footer style={{textAlign: 'center'}}>
|
<Layout.Footer style={{textAlign: 'center'}}>
|
||||||
<Space size='middle' wrap align='center'>
|
<Flex gap='middle' wrap justify='space-evenly'>
|
||||||
<Link to='/tos'><Button type='text'>{t`TOS`}</Button></Link>
|
<Link to='/tos'><Button type='text'>{t`TOS`}</Button></Link>
|
||||||
<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>
|
||||||
@ -129,7 +129,7 @@ export default function App(): React.ReactElement {
|
|||||||
>{t`Documentation`}
|
>{t`Documentation`}
|
||||||
</Button>
|
</Button>
|
||||||
</Typography.Link>
|
</Typography.Link>
|
||||||
</Space>
|
</Flex>
|
||||||
<Typography.Paragraph style={{marginTop: '1em'}}>
|
<Typography.Paragraph style={{marginTop: '1em'}}>
|
||||||
{jt`${ProjectLink} is an open source project distributed under the ${LicenseLink} license.`}
|
{jt`${ProjectLink} is an open source project distributed under the ${LicenseLink} license.`}
|
||||||
</Typography.Paragraph>
|
</Typography.Paragraph>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user