1
0
Fork 0

Add Traefik Hub demo in dashboard

This commit is contained in:
Gina A. 2025-10-27 17:40:06 +01:00 committed by GitHub
parent 10be359327
commit db4f262916
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
64 changed files with 2481 additions and 622 deletions

View file

@ -1,24 +1,24 @@
import { Box, Button, Flex, H1, Text } from '@traefiklabs/faency'
import { Helmet } from 'react-helmet-async'
import { useNavigate } from 'react-router-dom'
import Page from 'layout/Page'
export const NotFound = () => {
const navigate = useNavigate()
return (
<Page title="Not found">
<Flex css={{ flexDirection: 'column', alignItems: 'center', p: '$6' }}>
<Box>
<H1 style={{ fontSize: '80px', lineHeight: '120px' }}>404</H1>
</Box>
<Box css={{ pb: '$3' }}>
<Text size={6}>I&apos;m sorry, nothing around here...</Text>
</Box>
<Button variant="primary" onClick={() => navigate(-1)}>
Go back
</Button>
</Flex>
</Page>
<Flex css={{ flexDirection: 'column', alignItems: 'center', p: '$6' }} data-testid="Not found page">
<Helmet>
<title>Not found - Traefik Proxy</title>
</Helmet>
<Box>
<H1 style={{ fontSize: '80px', lineHeight: '120px' }}>404</H1>
</Box>
<Box css={{ pb: '$3' }}>
<Text size={6}>I&apos;m sorry, nothing around here...</Text>
</Box>
<Button variant="primary" onClick={() => navigate(-1)}>
Go back
</Button>
</Flex>
)
}