fix: add more pages

This commit is contained in:
enes 2024-10-23 17:52:53 +02:00
parent 2e367ecde8
commit bb653fa356
4 changed files with 46 additions and 0 deletions

10
src/layout/feed.tsx Normal file
View File

@ -0,0 +1,10 @@
import { Outlet } from 'react-router-dom'
export const FeedLayout = () => {
return (
<>
<h1>WIP</h1>
<Outlet />
</>
)
}

30
src/pages/404.tsx Normal file
View File

@ -0,0 +1,30 @@
import { Link } from 'react-router-dom'
import { appRoutes } from 'routes'
export const NotFoundPage = () => {
return (
<div className='InnerBodyMain'>
<div className='ContainerMain'>
<div className='IBMSecMainGroup IBMSecMainGroupAlt'>
<div className='IBMSecMain IBMSMListWrapper'>
<div className='IBMSMTitleMain'>
<h2 className='IBMSMTitleMainHeading'>Page not found</h2>
</div>
<div>
<p>The page you're attempting to visit doesn't exist</p>
</div>
<div className='IBMSMAction'>
<Link
to={appRoutes.home}
className='btn btnMain IBMSMActionBtn'
type='button'
>
Go home
</Link>
</div>
</div>
</div>
</div>
</div>
)
}

3
src/pages/feed.tsx Normal file
View File

@ -0,0 +1,3 @@
export const FeedPage = () => {
return <h1>Feed</h1>
}

View File

@ -0,0 +1,3 @@
export const NotificationsPage = () => {
return <h1>Notifications</h1>
}