Changed the perks to the modules

This commit is contained in:
Tiago Ribeiro
2023-10-21 14:45:52 +01:00
parent 799abc813d
commit 4f62dd04d5
2 changed files with 52 additions and 59 deletions

View File

@@ -1,6 +1,17 @@
/* eslint-disable @next/next/no-img-element */ /* eslint-disable @next/next/no-img-element */
import Link from "next/link"; 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 {BiLogoFacebook} from "react-icons/bi";
import Navbar from "@/components/Navbar"; import Navbar from "@/components/Navbar";
import Footer from "@/components/Footer"; import Footer from "@/components/Footer";
@@ -24,43 +35,43 @@ export default function Home({language}: Props) {
</Link> </Link>
</section> </section>
{/* Perks Section */} {/* Modules Section */}
<section className="w-full bg-white"> <section className="w-full bg-white">
<div className="w-full grid grid-rows-4 md:grid-rows-1 md:grid-cols-4 gap-8 p-8 md:p-24 container mx-auto"> <div className="w-full grid grid-rows-4 md:grid-rows-1 md:grid-cols-4 gap-8 p-8 md:p-24 container mx-auto">
<div className="flex flex-col items-center gap-6"> <div className="flex flex-col items-center gap-6">
<div className="bg-mti-rose-ultralight border border-mti-rose-light p-6 rounded-3xl flex items-center justify-center"> <div className="bg-mti-rose-ultralight border border-mti-rose-light p-6 rounded-3xl flex items-center justify-center">
<BsClockFill className="text-mti-rose-light w-10 h-10" /> <BsBook className="text-mti-rose-light w-10 h-10" />
</div> </div>
<div className="flex flex-col gap-4 items-center text-center max-w-[240px]"> <div className="flex flex-col gap-4 items-center text-center max-w-[260px]">
<span className="font-bold text-xl">{translation.perks["24_hour_access"].title[language]}</span> <span className="font-bold text-xl">{translation.modules.reading.title[language]}</span>
<span>{translation.perks["24_hour_access"].description[language]}</span> <span>{translation.modules.reading.description[language]}</span>
</div> </div>
</div> </div>
<div className="flex flex-col items-center gap-6"> <div className="flex flex-col items-center gap-6">
<div className="bg-mti-rose-ultralight border border-mti-rose-light p-6 rounded-3xl flex items-center justify-center"> <div className="bg-mti-rose-ultralight border border-mti-rose-light p-6 rounded-3xl flex items-center justify-center">
<BsClipboardFill className="text-mti-rose-light w-10 h-10" /> <BsHeadphones className="text-mti-rose-light w-10 h-10" />
</div> </div>
<div className="flex flex-col gap-4 items-center text-center max-w-[240px]"> <div className="flex flex-col gap-4 items-center text-center max-w-[260px]">
<span className="font-bold text-xl">{translation.perks.complete_package.title[language]}</span> <span className="font-bold text-xl">{translation.modules.listening.title[language]}</span>
<span>{translation.perks.complete_package.description[language]}</span> <span>{translation.modules.listening.description[language]}</span>
</div> </div>
</div> </div>
<div className="flex flex-col items-center gap-6"> <div className="flex flex-col items-center gap-6">
<div className="bg-mti-rose-ultralight border border-mti-rose-light p-6 rounded-3xl flex items-center justify-center"> <div className="bg-mti-rose-ultralight border border-mti-rose-light p-6 rounded-3xl flex items-center justify-center">
<BsCardChecklist className="text-mti-rose-light w-10 h-10" /> <BsPen className="text-mti-rose-light w-10 h-10" />
</div> </div>
<div className="flex flex-col gap-4 items-center text-center max-w-[240px]"> <div className="flex flex-col gap-4 items-center text-center max-w-[260px]">
<span className="font-bold text-xl">{translation.perks.enjoy_learning.title[language]}</span> <span className="font-bold text-xl">{translation.modules.writing.title[language]}</span>
<span>{translation.perks.enjoy_learning.description[language]}</span> <span>{translation.modules.writing.description[language]}</span>
</div> </div>
</div> </div>
<div className="flex flex-col items-center gap-6"> <div className="flex flex-col items-center gap-6">
<div className="bg-mti-rose-ultralight border border-mti-rose-light p-6 rounded-3xl flex items-center justify-center"> <div className="bg-mti-rose-ultralight border border-mti-rose-light p-6 rounded-3xl flex items-center justify-center">
<BsShieldFillCheck className="text-mti-rose-light w-10 h-10" /> <BsMegaphone className="text-mti-rose-light w-10 h-10" />
</div> </div>
<div className="flex flex-col gap-4 items-center text-center max-w-[240px]"> <div className="flex flex-col gap-4 items-center text-center max-w-[260px]">
<span className="font-bold text-xl">{translation.perks.guaranteed_results.title[language]}</span> <span className="font-bold text-xl">{translation.modules.speaking.title[language]}</span>
<span>{translation.perks.guaranteed_results.description[language]}</span> <span>{translation.modules.speaking.description[language]}</span>
</div> </div>
</div> </div>
</div> </div>
@@ -177,23 +188,11 @@ export default function Home({language}: Props) {
</section> </section>
{/* Partner and Accreditation Section */} {/* Partner and Accreditation Section */}
<section className="w-full bg-white"> {/* <section className="w-full bg-white">
<div className="p-8 md:p-20 xl:p-32 flex flex-col gap-8 md:gap-24 lg:gap-32 w-full container mx-auto"> <div className="p-8 md:p-20 xl:p-32 flex flex-col gap-8 md:gap-24 lg:gap-32 w-full container mx-auto">
<div className="flex flex-col gap-12 w-full"> <div className="flex flex-col gap-12 w-full">
<span className="text-white bg-mti-rose-light px-1 py-0 font-semibold w-fit">{translation.our_partners[language]}</span> <span className="text-white bg-mti-rose-light px-1 py-0 font-semibold w-fit">{translation.our_partners[language]}</span>
<div className="flex gap-9 flex-wrap -lg:justify-center items-center"> <div className="flex gap-9 flex-wrap -lg:justify-center items-center">
<img src="/logos/dq_logo.png" alt="DQ's Logo" className="w-48 h-48 xl:w-52 xl:h-52 shadow-lg rounded-xl" />
<img
src="/logos/knowledge_grid_academy_logo.png"
alt="Knowledge Grid Academy's Logo"
className="w-48 h-48 xl:w-52 xl:h-52 shadow-lg rounded-xl"
/>
<img src="/logos/sohar_logo.png" alt="Sohar's Logo" className="w-48 h-48 xl:w-52 xl:h-52 shadow-lg rounded-xl" />
<img
src="/logos/partner_logo_unknown.png"
alt="Unknown Partner's Logo"
className="w-48 h-48 xl:w-52 xl:h-52 shadow-lg rounded-xl"
/>
<div className="w-48 h-48 xl:w-52 xl:h-52 shadow-lg rounded-xl flex items-center justify-center"> <div className="w-48 h-48 xl:w-52 xl:h-52 shadow-lg rounded-xl flex items-center justify-center">
<img src="/logos/sohar_aluminium_logo.png" alt="Sohar Aluminium's Logo" /> <img src="/logos/sohar_aluminium_logo.png" alt="Sohar Aluminium's Logo" />
</div> </div>
@@ -205,16 +204,10 @@ export default function Home({language}: Props) {
<div className="w-48 h-48 xl:w-52 xl:h-52 shadow-lg rounded-xl flex items-center justify-center"> <div className="w-48 h-48 xl:w-52 xl:h-52 shadow-lg rounded-xl flex items-center justify-center">
<img src="/logos/idp_logo.png" alt="IDP's Logo" /> <img src="/logos/idp_logo.png" alt="IDP's Logo" />
</div> </div>
<div className="w-48 h-48 xl:w-52 xl:h-52 shadow-lg rounded-xl flex items-center justify-center">
<img src="/logos/ielts_logo.png" alt="IELTS's Logo" />
</div>
<div className="w-48 h-48 xl:w-52 xl:h-52 shadow-lg rounded-xl flex items-center justify-center">
<img src="/logos/ec_council_logo.png" alt="EC Council's Logo" />
</div> </div>
</div> </div>
</div> </div>
</div> </section> */}
</section>
<Footer language={language} /> <Footer language={language} />
</main> </main>

View File

@@ -3,45 +3,45 @@
"en": "Get Started", "en": "Get Started",
"ar": "البدء" "ar": "البدء"
}, },
"perks": { "modules": {
"24_hour_access": { "reading": {
"title": { "title": {
"en": "24 hour access", "en": "Reading",
"ar": "وصول 24 ساعة" "ar": "قراءة"
}, },
"description": { "description": {
"en": "Always online, always ready to help you train.", "en": "Expand your vocabulary, improve your reading comprehension and improve your ability to interpret texts in English.",
"ar": "متصل بالإنترنت دائمًا، ومستعد دائمًا لمساعدتك في التدريب." "ar": "قم بتوسيع مفرداتك وتحسين فهمك للقراءة وتحسين قدرتك على تفسير النصوص باللغة الإنجليزية."
} }
}, },
"complete_package": { "listening": {
"title": { "title": {
"en": "Complete package", "en": "Listening",
"ar": "حزمة كاملة" "ar": "الاستماع"
}, },
"description": { "description": {
"en": "Every module is available at your fingertips.", "en": "Improve your ability to follow conversations in English and your ability to understand different accents and intonations.",
"ar": "كل وحدة متاحة في متناول يدك." "ar": "تحسين قدرتك على متابعة المحادثات باللغة الإنجليزية وقدرتك على فهم اللهجات والتنغيمات المختلفة."
} }
}, },
"enjoy_learning": { "writing": {
"title": { "title": {
"en": "Enjoy learning", "en": "Writing",
"ar": "يتمتع التعلم" "ar": "كتابة"
}, },
"description": { "description": {
"en": "Choose between a relaxed single module approach, or a competitive full exam one.", "en": "Allow you to practice writing in a variety of formats, from simple paragraphs to complex essays.",
"ar": "اختر بين منهج وحدة واحدة مريح أو اختبار تنافسي كامل." "ar": "تتيح لك ممارسة الكتابة بمجموعة متنوعة من التنسيقات، بدءًا من الفقرات البسيطة وحتى المقالات المعقدة."
} }
}, },
"guaranteed_results": { "speaking": {
"title": { "title": {
"en": "Guaranteed results", "en": "Speaking",
"ar": "نتائج مضمونة" "ar": "تكلم"
}, },
"description": { "description": {
"en": "You will improve your performance through your hard work.", "en": "You'll have access to interactive dialogs, pronunciation exercises and speech recordings.",
"ar": وف تقوم بتحسين أدائك من خلال عملك الجاد." "ar": يكون لديك إمكانية الوصول إلى مربعات الحوار التفاعلية وتمارين النطق وتسجيلات الكلام."
} }
} }
}, },