From 4fa00c47edf9166da5a769cfa3944cee0da9a18c Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Thu, 1 Feb 2024 23:45:15 +0000 Subject: [PATCH] Created the history page with a timeline --- src/app/ar/history/page.tsx | 3 +- src/app/history/page.tsx | 3 +- src/app/layout.tsx | 63 ++++++--------- src/templates/History.tsx | 89 +++++++++++++++++++++ src/translation/history.json | 151 +++++++++++++++++++++++++++++++++++ tailwind.config.ts | 14 ++++ 6 files changed, 283 insertions(+), 40 deletions(-) create mode 100644 src/templates/History.tsx create mode 100644 src/translation/history.json diff --git a/src/app/ar/history/page.tsx b/src/app/ar/history/page.tsx index 3c80ec4..e0e671f 100644 --- a/src/app/ar/history/page.tsx +++ b/src/app/ar/history/page.tsx @@ -1,6 +1,7 @@ import About from "@/templates/About"; import ComingSoon from "@/templates/ComingSoon"; +import History from "@/templates/History"; export default function Page() { - return ; + return ; } diff --git a/src/app/history/page.tsx b/src/app/history/page.tsx index 5962c09..005b7b1 100644 --- a/src/app/history/page.tsx +++ b/src/app/history/page.tsx @@ -1,6 +1,7 @@ import About from "@/templates/About"; import ComingSoon from "@/templates/ComingSoon"; +import History from "@/templates/History"; export default function Page() { - return ; + return ; } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index a088e07..0553799 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,52 +1,39 @@ /* 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"], + 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 ( + + + + -