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 */
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) {
</Link>
</section>
{/* Perks Section */}
{/* Modules Section */}
<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="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">
<BsClockFill className="text-mti-rose-light w-10 h-10" />
<BsBook className="text-mti-rose-light w-10 h-10" />
</div>
<div className="flex flex-col gap-4 items-center text-center max-w-[240px]">
<span className="font-bold text-xl">{translation.perks["24_hour_access"].title[language]}</span>
<span>{translation.perks["24_hour_access"].description[language]}</span>
<div className="flex flex-col gap-4 items-center text-center max-w-[260px]">
<span className="font-bold text-xl">{translation.modules.reading.title[language]}</span>
<span>{translation.modules.reading.description[language]}</span>
</div>
</div>
<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">
<BsClipboardFill className="text-mti-rose-light w-10 h-10" />
<BsHeadphones className="text-mti-rose-light w-10 h-10" />
</div>
<div className="flex flex-col gap-4 items-center text-center max-w-[240px]">
<span className="font-bold text-xl">{translation.perks.complete_package.title[language]}</span>
<span>{translation.perks.complete_package.description[language]}</span>
<div className="flex flex-col gap-4 items-center text-center max-w-[260px]">
<span className="font-bold text-xl">{translation.modules.listening.title[language]}</span>
<span>{translation.modules.listening.description[language]}</span>
</div>
</div>
<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">
<BsCardChecklist className="text-mti-rose-light w-10 h-10" />
<BsPen className="text-mti-rose-light w-10 h-10" />
</div>
<div className="flex flex-col gap-4 items-center text-center max-w-[240px]">
<span className="font-bold text-xl">{translation.perks.enjoy_learning.title[language]}</span>
<span>{translation.perks.enjoy_learning.description[language]}</span>
<div className="flex flex-col gap-4 items-center text-center max-w-[260px]">
<span className="font-bold text-xl">{translation.modules.writing.title[language]}</span>
<span>{translation.modules.writing.description[language]}</span>
</div>
</div>
<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">
<BsShieldFillCheck className="text-mti-rose-light w-10 h-10" />
<BsMegaphone className="text-mti-rose-light w-10 h-10" />
</div>
<div className="flex flex-col gap-4 items-center text-center max-w-[240px]">
<span className="font-bold text-xl">{translation.perks.guaranteed_results.title[language]}</span>
<span>{translation.perks.guaranteed_results.description[language]}</span>
<div className="flex flex-col gap-4 items-center text-center max-w-[260px]">
<span className="font-bold text-xl">{translation.modules.speaking.title[language]}</span>
<span>{translation.modules.speaking.description[language]}</span>
</div>
</div>
</div>
@@ -177,23 +188,11 @@ export default function Home({language}: Props) {
</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="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>
<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">
<img src="/logos/sohar_aluminium_logo.png" alt="Sohar Aluminium's Logo" />
</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">
<img src="/logos/idp_logo.png" alt="IDP'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/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>
</section>
</section> */}
<Footer language={language} />
</main>