Spaces:
Running
Running
File size: 983 Bytes
47c0b4f |
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 |
import React from 'react'
import { useNavigate } from 'react-router-dom'
const NotFound = () => {
const navigate = useNavigate()
return (
<div>
<div className='flex flex-col items-center h-screen w-200'>
<h1 className='text-4xl mb-4'>404 - Not found</h1>
<h3 className='text-ml mb-2'>
The page you are looking for is not known. Why not visit one of our known pages?
</h3>
<button onClick={() => navigate('/calculator')}>
<div className='home-button-small flex-grow m-2 p-4 border'>
<div className='home-button-title'>Model Memory Calculator</div>
</div>
</button>
<button onClick={() => (window.location.href = 'https://docs.titanml.co/docs/intro')}>
<div className='home-button-small flex-grow m-2 p-4 border'>
<div className='home-button-title'>Takeoff Docs</div>
</div>
</button>
</div>
</div>
)
}
export default NotFound
|