From 28d91f1afa40504c1f7062c352e7b34d2d95a8c6 Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Mon, 23 Oct 2023 23:55:08 +0100 Subject: [PATCH] Changed the direction of the rows --- src/components/Footer.tsx | 9 +++++++-- src/components/Navbar.tsx | 4 ++-- src/templates/Home.tsx | 8 ++++---- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 9ca861b..771fb4c 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -2,6 +2,7 @@ import Link from "next/link"; import {BiLogoFacebook} from "react-icons/bi"; import {BsInstagram, BsTwitter} from "react-icons/bs"; import translation from "@/translation/footer.json"; +import clsx from "clsx"; interface Props { language: "en" | "ar"; @@ -11,7 +12,11 @@ export default function Footer({language}: Props) { return ( <>
-
+
{translation.navigation.text[language]}
@@ -41,7 +46,7 @@ export default function Footer({language}: Props) { {translation.get_in_touch.title[language]}
{translation.get_in_touch.text[language]} -
+
diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 109c100..d0e9aab 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -27,7 +27,7 @@ export default function Navbar({currentPage, language}: {currentPage: string; la EnCoach logo -
+
{items.map((item) => (
-
+
{items.map((item) => ( +
@@ -86,7 +86,7 @@ export default function Home({language}: Props) {
{translation.learn_ai.tag[language]} -
+
{translation.learn_ai.title[language]}

{translation.learn_ai.description[language]}

@@ -118,7 +118,7 @@ export default function Home({language}: Props) {
{translation.encoach_benefits.tag[language]} -
+
{translation.encoach_benefits.title[language]}

{translation.encoach_benefits.description[language]}

@@ -164,7 +164,7 @@ export default function Home({language}: Props) {
{translation.ceo_message.tag[language]} -
+
{translation.ceo_message.title[language]}

{translation.ceo_message.description[language]}