summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/pages/404.js
blob: 0939bc561704e5fbdcc93795a8ad2f6eab30dbe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import React from 'react'
import Head from 'next/head'
import { AppPage } from '../components/AppPage'
import {
    Bullseye,
    EmptyState,
    EmptyStateBody,
    EmptyStateIcon,
    PageSection,
    PageSectionVariants,
    Title,
} from '@patternfly/react-core'
import { UnknownIcon } from '@patternfly/react-icons'

const NotFound = () => {
    return (
        <AppPage>
            <Head>
                <title>Page Not Found - OpenDC</title>
            </Head>
            <PageSection variant={PageSectionVariants.light}>
                <Bullseye>
                    <EmptyState>
                        <EmptyStateIcon variant="container" component={UnknownIcon} />
                        <Title size="lg" headingLevel="h4">
                            404: That page does not exist
                        </Title>
                        <EmptyStateBody>
                            The requested page is not found. Try refreshing the page if it was recently added.
                        </EmptyStateBody>
                    </EmptyState>
                </Bullseye>
            </PageSection>
        </AppPage>
    )
}

export default NotFound