From 4f62dd04d59bb73930a670a5eb6543c682ce6c2a Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Sat, 21 Oct 2023 14:45:52 +0100 Subject: [PATCH] Changed the perks to the modules --- src/templates/Home.tsx | 69 ++++++++++++++++++--------------------- src/translation/home.json | 42 ++++++++++++------------ 2 files changed, 52 insertions(+), 59 deletions(-) diff --git a/src/templates/Home.tsx b/src/templates/Home.tsx index 3dbeec8..4abf506 100644 --- a/src/templates/Home.tsx +++ b/src/templates/Home.tsx @@ -1,6 +1,17 @@ /* eslint-disable @next/next/no-img-element */ import Link from "next/link"; -import {BsCardChecklist, BsClipboardFill, BsClockFill, BsInstagram, BsShieldFillCheck, BsTwitter} from "react-icons/bs"; +import { + BsBook, + BsCardChecklist, + BsClipboardFill, + BsClockFill, + BsHeadphones, + BsInstagram, + BsMegaphone, + BsPen, + BsShieldFillCheck, + BsTwitter, +} from "react-icons/bs"; import {BiLogoFacebook} from "react-icons/bi"; import Navbar from "@/components/Navbar"; import Footer from "@/components/Footer"; @@ -24,43 +35,43 @@ export default function Home({language}: Props) { - {/* Perks Section */} + {/* Modules Section */}
- +
-
- {translation.perks["24_hour_access"].title[language]} - {translation.perks["24_hour_access"].description[language]} +
+ {translation.modules.reading.title[language]} + {translation.modules.reading.description[language]}
- +
-
- {translation.perks.complete_package.title[language]} - {translation.perks.complete_package.description[language]} +
+ {translation.modules.listening.title[language]} + {translation.modules.listening.description[language]}
- +
-
- {translation.perks.enjoy_learning.title[language]} - {translation.perks.enjoy_learning.description[language]} +
+ {translation.modules.writing.title[language]} + {translation.modules.writing.description[language]}
- +
-
- {translation.perks.guaranteed_results.title[language]} - {translation.perks.guaranteed_results.description[language]} +
+ {translation.modules.speaking.title[language]} + {translation.modules.speaking.description[language]}
@@ -177,23 +188,11 @@ export default function Home({language}: Props) {
{/* Partner and Accreditation Section */} -
+ {/*
{translation.our_partners[language]}
- DQ's Logo - Knowledge Grid Academy's Logo - Sohar's Logo - Unknown Partner's Logo
Sohar Aluminium's Logo
@@ -205,16 +204,10 @@ export default function Home({language}: Props) {
IDP's Logo
-
- IELTS's Logo -
-
- EC Council's Logo -
-
+
*/}