From e78f8834e621c51130c2a2b077cfc7069d8b1021 Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Thu, 1 Feb 2024 16:40:06 +0000 Subject: [PATCH] - Added "Coming soon" pages for future pages; - Added two more sections to the About page; - Fixed some typos; --- src/app/ar/contact/page.tsx | 6 ++ src/app/ar/history/page.tsx | 6 ++ src/app/ar/services/page.tsx | 6 ++ src/app/contact/page.tsx | 6 ++ src/app/history/page.tsx | 6 ++ src/app/layout.tsx | 61 +++++++++----- src/app/services/page.tsx | 6 ++ src/components/Footer.tsx | 8 +- src/components/Navbar.tsx | 52 ++++++------ src/templates/About.tsx | 152 ++++++++++++++++++++++++++++++++++- src/templates/ComingSoon.tsx | 35 ++++++++ src/translation/about.json | 122 +++++++++++++++++++++++++++- src/translation/home.json | 2 +- 13 files changed, 414 insertions(+), 54 deletions(-) create mode 100644 src/app/ar/contact/page.tsx create mode 100644 src/app/ar/history/page.tsx create mode 100644 src/app/ar/services/page.tsx create mode 100644 src/app/contact/page.tsx create mode 100644 src/app/history/page.tsx create mode 100644 src/app/services/page.tsx create mode 100644 src/templates/ComingSoon.tsx diff --git a/src/app/ar/contact/page.tsx b/src/app/ar/contact/page.tsx new file mode 100644 index 0000000..4d72b14 --- /dev/null +++ b/src/app/ar/contact/page.tsx @@ -0,0 +1,6 @@ +import About from "@/templates/About"; +import ComingSoon from "@/templates/ComingSoon"; + +export default function Page() { + return ; +} diff --git a/src/app/ar/history/page.tsx b/src/app/ar/history/page.tsx new file mode 100644 index 0000000..3c80ec4 --- /dev/null +++ b/src/app/ar/history/page.tsx @@ -0,0 +1,6 @@ +import About from "@/templates/About"; +import ComingSoon from "@/templates/ComingSoon"; + +export default function Page() { + return ; +} diff --git a/src/app/ar/services/page.tsx b/src/app/ar/services/page.tsx new file mode 100644 index 0000000..32b6d2c --- /dev/null +++ b/src/app/ar/services/page.tsx @@ -0,0 +1,6 @@ +import About from "@/templates/About"; +import ComingSoon from "@/templates/ComingSoon"; + +export default function Page() { + return ; +} diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx new file mode 100644 index 0000000..f3392ac --- /dev/null +++ b/src/app/contact/page.tsx @@ -0,0 +1,6 @@ +import About from "@/templates/About"; +import ComingSoon from "@/templates/ComingSoon"; + +export default function Page() { + return ; +} diff --git a/src/app/history/page.tsx b/src/app/history/page.tsx new file mode 100644 index 0000000..5962c09 --- /dev/null +++ b/src/app/history/page.tsx @@ -0,0 +1,6 @@ +import About from "@/templates/About"; +import ComingSoon from "@/templates/ComingSoon"; + +export default function Page() { + return ; +} diff --git a/src/app/layout.tsx b/src/app/layout.tsx index f36abf7..a088e07 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,33 +1,52 @@ /* eslint-disable @next/next/no-page-custom-font */ import clsx from "clsx"; import "./globals.css"; -import type {Metadata} from "next"; -import {Inter} from "next/font/google"; -import {Almarai} from "next/font/google"; +import type { Metadata } from "next"; +import { Inter } from "next/font/google"; +import { Almarai } from "next/font/google"; -const almarai = Almarai({subsets: ["arabic"], weight: ["300", "400", "700", "800"]}); +const almarai = Almarai({ + subsets: ["arabic"], + weight: ["300", "400", "700", "800"], +}); -const inter = Inter({subsets: ["latin"]}); +const inter = Inter({ subsets: ["latin"] }); export const metadata: Metadata = { - title: "EnCoach", - description: "We are the best service and the only one", + title: "EnCoach", + description: "We are the best service and the only one", }; -export default function RootLayout({children}: {children: React.ReactNode}) { - return ( - - - - +export default function RootLayout({ + children, +}: { + children: React.ReactNode; +}) { + return ( + + + + -