diff --git a/src/app/(auth)/login/page.tsx b/src/app/(auth)/login/page.tsx new file mode 100644 index 0000000..2de559b --- /dev/null +++ b/src/app/(auth)/login/page.tsx @@ -0,0 +1,5 @@ +const LoginPage = () => { + return
Login Page
; +}; + +export default LoginPage; diff --git a/src/app/(auth)/register/page.tsx b/src/app/(auth)/register/page.tsx new file mode 100644 index 0000000..392c5fb --- /dev/null +++ b/src/app/(auth)/register/page.tsx @@ -0,0 +1,5 @@ +const RegisterPage = () => { + return
Register Page
; +}; + +export default RegisterPage; diff --git a/src/app/(main)/about/page.tsx b/src/app/(main)/about/page.tsx new file mode 100644 index 0000000..9ca04bb --- /dev/null +++ b/src/app/(main)/about/page.tsx @@ -0,0 +1,9 @@ +import MaxWidthContainer from "@/components/ui/max-width-container"; + +export default function AboutPage() { + return ( + +

About Page

+
+ ); +} diff --git a/src/app/(main)/blog/page.tsx b/src/app/(main)/blog/page.tsx new file mode 100644 index 0000000..a8eb1d2 --- /dev/null +++ b/src/app/(main)/blog/page.tsx @@ -0,0 +1,9 @@ +import MaxWidthContainer from "@/components/ui/max-width-container"; + +export default function BlogsPage() { + return ( + +

Blogs Page

+
+ ); +} diff --git a/src/app/(main)/contact/page.tsx b/src/app/(main)/contact/page.tsx new file mode 100644 index 0000000..c110a6b --- /dev/null +++ b/src/app/(main)/contact/page.tsx @@ -0,0 +1,9 @@ +import MaxWidthContainer from "@/components/ui/max-width-container"; + +export default function ContactPage() { + return ( + +

Contact Page

+
+ ); +} diff --git a/src/app/(main)/layout.tsx b/src/app/(main)/layout.tsx index 979e73a..0060975 100644 --- a/src/app/(main)/layout.tsx +++ b/src/app/(main)/layout.tsx @@ -10,7 +10,7 @@ export default function MainLayout({ return ( <> - {children} +
{children}
); } diff --git a/src/app/(main)/page.tsx b/src/app/(main)/page.tsx index 6f35279..5002da5 100644 --- a/src/app/(main)/page.tsx +++ b/src/app/(main)/page.tsx @@ -1,3 +1,9 @@ +import MaxWidthContainer from "@/components/ui/max-width-container"; + export default function HomePage() { - return
Home Page
; + return ( + +

Home Page

+
+ ); } diff --git a/src/app/global-error.tsx b/src/app/global-error.tsx new file mode 100644 index 0000000..7a79164 --- /dev/null +++ b/src/app/global-error.tsx @@ -0,0 +1,64 @@ +"use client"; + +import Image from "next/image"; +import Link from "next/link"; + +import MaxWidthContainer from "@/components/ui/max-width-container"; + +export default function GlobalError({ + error, + reset, +}: { + error: Error & { digest?: string }; + reset: () => void; +}) { + return ( + + +
+ + 403 error + +
+

+ 500 / 403 +

+ +
+ {error.message} +
+
+ +
+ {/* Back to home Btn */} + + +

Back to home

+ + + +
+
+
+ + + ); +} diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx new file mode 100644 index 0000000..30aa05b --- /dev/null +++ b/src/app/not-found.tsx @@ -0,0 +1,32 @@ +import Image from "next/image"; +import Link from "next/link"; +import { MoveLeft } from "lucide-react"; + +import { Button } from "@/components/ui/button"; + +export default function NotFoundPage() { + return ( + <> +
+ Not found + Page Not Found + + {/* Back to home Btn */} + + + +
+ + ); +}