From f57373b4768ab6a602151867b30ce60f34d7c452 Mon Sep 17 00:00:00 2001 From: AmirReza Jamali Date: Wed, 22 Oct 2025 17:51:15 +0330 Subject: [PATCH] add: Not found page --- app/{ => (main)}/layout.tsx | 15 +- app/{ => (main)}/page.tsx | 29 +--- app/(not-found)/[...not-found]/layout.tsx | 173 +++++++++++++++++++++ app/(not-found)/[...not-found]/page.tsx | 36 +++++ app/_components/FooterForm.tsx | 15 ++ app/{(contact-us) => _contact-us}/form.tsx | 0 app/{(contact-us) => _contact-us}/page.tsx | 0 app/not-found.tsx | 7 - public/404.svg | 73 +++++++++ public/cable.svg | 91 +++++++++++ 10 files changed, 397 insertions(+), 42 deletions(-) rename app/{ => (main)}/layout.tsx (94%) rename app/{ => (main)}/page.tsx (93%) create mode 100644 app/(not-found)/[...not-found]/layout.tsx create mode 100644 app/(not-found)/[...not-found]/page.tsx create mode 100644 app/_components/FooterForm.tsx rename app/{(contact-us) => _contact-us}/form.tsx (100%) rename app/{(contact-us) => _contact-us}/page.tsx (100%) delete mode 100644 app/not-found.tsx create mode 100644 public/404.svg create mode 100644 public/cable.svg diff --git a/app/layout.tsx b/app/(main)/layout.tsx similarity index 94% rename from app/layout.tsx rename to app/(main)/layout.tsx index ca5c83c..314e464 100644 --- a/app/layout.tsx +++ b/app/(main)/layout.tsx @@ -3,8 +3,8 @@ import { Geist, Geist_Mono } from "next/font/google"; import Image from "next/image"; import Link from "next/link"; import { ToastContainer, Zoom } from "react-toastify"; -import ContactUs from "./(contact-us)/page"; -import "./globals.css"; +import FooterForm from "../_components/FooterForm"; +import "../globals.css"; const geistSans = Geist({ variable: "--font-geist-sans", subsets: ["latin"], @@ -18,6 +18,9 @@ const geistMono = Geist_Mono({ export const metadata: Metadata = { title: "Create Next App", description: "Generated by create next app", + icons: { + icon: "/fav-icon.svg", + }, }; function ContactInfo({ @@ -109,9 +112,7 @@ export default async function RootLayout({ /> - {/*
- -
*/} +