mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
fix: responsive footer
This commit is contained in:
@@ -40,7 +40,8 @@ export default function App() {
|
|||||||
const contextValue = useMemo(() => ({
|
const contextValue = useMemo(() => ({
|
||||||
authenticated,
|
authenticated,
|
||||||
setIsAuthenticated
|
setIsAuthenticated
|
||||||
}), [authenticated, setIsAuthenticated]);
|
}), [authenticated, setIsAuthenticated])
|
||||||
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
getUser().then(() => {
|
getUser().then(() => {
|
||||||
@@ -96,7 +97,7 @@ export default function App() {
|
|||||||
</div>
|
</div>
|
||||||
</Layout.Content>
|
</Layout.Content>
|
||||||
<Layout.Footer style={{textAlign: 'center'}}>
|
<Layout.Footer style={{textAlign: 'center'}}>
|
||||||
<Space size='middle'>
|
<Space size='middle' wrap align='center'>
|
||||||
<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>
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ export type FieldType = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function DomainSearchBar({onFinish}: { onFinish: (values: FieldType) => void }) {
|
export function DomainSearchBar({onFinish}: { onFinish: (values: FieldType) => void }) {
|
||||||
|
|
||||||
return <Form
|
return <Form
|
||||||
onFinish={onFinish}
|
onFinish={onFinish}
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
@@ -26,8 +25,13 @@ export function DomainSearchBar({onFinish}: { onFinish: (values: FieldType) => v
|
|||||||
min: 2
|
min: 2
|
||||||
}]}
|
}]}
|
||||||
>
|
>
|
||||||
<Input size="large" prefix={<SearchOutlined/>} placeholder="example.com" autoFocus={true}
|
<Input style={{textAlign: 'center'}}
|
||||||
autoComplete='off'/>
|
size="large"
|
||||||
|
prefix={<SearchOutlined/>}
|
||||||
|
placeholder="example.com"
|
||||||
|
autoComplete='off'
|
||||||
|
autoFocus
|
||||||
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Form>
|
</Form>
|
||||||
}
|
}
|
||||||
@@ -12,7 +12,7 @@ msgstr ""
|
|||||||
#: assets/components/LoginForm.tsx:62
|
#: assets/components/LoginForm.tsx:62
|
||||||
#: assets/components/RegisterForm.tsx:41
|
#: assets/components/RegisterForm.tsx:41
|
||||||
#: assets/components/RegisterForm.tsx:49
|
#: assets/components/RegisterForm.tsx:49
|
||||||
#: assets/components/search/DomainSearchBar.tsx:21
|
#: assets/components/search/DomainSearchBar.tsx:20
|
||||||
#: assets/components/tracking/connector/ConnectorForm.tsx:43
|
#: assets/components/tracking/connector/ConnectorForm.tsx:43
|
||||||
#: assets/components/tracking/connector/ConnectorForm.tsx:69
|
#: assets/components/tracking/connector/ConnectorForm.tsx:69
|
||||||
#: assets/components/tracking/connector/ConnectorForm.tsx:77
|
#: assets/components/tracking/connector/ConnectorForm.tsx:77
|
||||||
@@ -52,7 +52,7 @@ msgstr ""
|
|||||||
msgid "Entities"
|
msgid "Entities"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/components/search/DomainSearchBar.tsx:24
|
#: assets/components/search/DomainSearchBar.tsx:23
|
||||||
#: assets/components/tracking/watchlist/WatchlistForm.tsx:118
|
#: assets/components/tracking/watchlist/WatchlistForm.tsx:118
|
||||||
msgid "This domain name does not appear to be valid"
|
msgid "This domain name does not appear to be valid"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@@ -1024,23 +1024,23 @@ msgid ""
|
|||||||
"another"
|
"another"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/App.tsx:100
|
#: assets/App.tsx:101
|
||||||
msgid "TOS"
|
msgid "TOS"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/App.tsx:101
|
#: assets/App.tsx:102
|
||||||
msgid "Privacy Policy"
|
msgid "Privacy Policy"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/App.tsx:102
|
#: assets/App.tsx:103
|
||||||
msgid "FAQ"
|
msgid "FAQ"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/App.tsx:104
|
#: assets/App.tsx:105
|
||||||
msgid "Documentation"
|
msgid "Documentation"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: assets/App.tsx:107
|
#: assets/App.tsx:108
|
||||||
#, javascript-format
|
#, javascript-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"${ ProjectLink } is an open source project distributed under the ${ "
|
"${ ProjectLink } is an open source project distributed under the ${ "
|
||||||
|
|||||||
Reference in New Issue
Block a user