Added the translation for the price page

This commit is contained in:
Tiago Ribeiro
2024-02-05 14:37:36 +00:00
parent bbe51ab91e
commit 896db4b654
2 changed files with 6 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ export default function Home({language}: Props) {
<section className="w-full relative bg-white">
<img src="/banner_encoach_home.png" alt="IELTS Packages - Together we prepare for the future" className="w-full" />
<Link href="/join">
<Link href={language === "ar" ? "/ar/price" : "/price"}>
<button className="absolute bottom-1/12 -lg:hidden left-1/12 bg-mti-purple-light hover:bg-mti-purple text-white rounded-xl px-8 py-4 transition ease-in-out duration-300 shadow">
{translation.get_started_btn[language]}
</button>