From bb653fa356fce6667acf112217c6a46e9c951178 Mon Sep 17 00:00:00 2001 From: enes Date: Wed, 23 Oct 2024 17:52:53 +0200 Subject: [PATCH] fix: add more pages --- src/layout/feed.tsx | 10 ++++++++++ src/pages/404.tsx | 30 ++++++++++++++++++++++++++++++ src/pages/feed.tsx | 3 +++ src/pages/notifications.tsx | 3 +++ 4 files changed, 46 insertions(+) create mode 100644 src/layout/feed.tsx create mode 100644 src/pages/404.tsx create mode 100644 src/pages/feed.tsx create mode 100644 src/pages/notifications.tsx diff --git a/src/layout/feed.tsx b/src/layout/feed.tsx new file mode 100644 index 0000000..2566f31 --- /dev/null +++ b/src/layout/feed.tsx @@ -0,0 +1,10 @@ +import { Outlet } from 'react-router-dom' + +export const FeedLayout = () => { + return ( + <> +

WIP

+ + + ) +} diff --git a/src/pages/404.tsx b/src/pages/404.tsx new file mode 100644 index 0000000..1c53760 --- /dev/null +++ b/src/pages/404.tsx @@ -0,0 +1,30 @@ +import { Link } from 'react-router-dom' +import { appRoutes } from 'routes' + +export const NotFoundPage = () => { + return ( +
+
+
+
+
+

Page not found

+
+
+

The page you're attempting to visit doesn't exist

+
+
+ + Go home + +
+
+
+
+
+ ) +} diff --git a/src/pages/feed.tsx b/src/pages/feed.tsx new file mode 100644 index 0000000..bcfc305 --- /dev/null +++ b/src/pages/feed.tsx @@ -0,0 +1,3 @@ +export const FeedPage = () => { + return

Feed

+} diff --git a/src/pages/notifications.tsx b/src/pages/notifications.tsx new file mode 100644 index 0000000..5681bdd --- /dev/null +++ b/src/pages/notifications.tsx @@ -0,0 +1,3 @@ +export const NotificationsPage = () => { + return

Notifications

+}