github.com/thanos-io/thanos@v0.32.5/pkg/ui/react-app/src/thanos/pages/notFound/NotFound.tsx (about) 1 import React, { FC } from 'react'; 2 import { Container } from 'reactstrap'; 3 import PathPrefixProps from '../../../types/PathPrefixProps'; 4 import styles from './NotFound.module.css'; 5 6 interface NotFoundProps { 7 default: boolean; 8 defaultRoute: string; 9 } 10 11 const NotFound: FC<NotFoundProps & PathPrefixProps> = ({ pathPrefix, defaultRoute }) => { 12 return ( 13 <Container className={styles.container}> 14 <h1>404, Page not Found!</h1> 15 <h5> 16 <a href={`${pathPrefix}${defaultRoute}`}>Go back to home page</a> 17 </h5> 18 </Container> 19 ); 20 }; 21 22 export default NotFound;