Merged in missing-dir-country-manager-contact (pull request #12)

Fixed a missing dir on the Country Manager contact page

Approved-by: Tiago Ribeiro
This commit is contained in:
João Ramos
2024-04-19 08:18:51 +00:00
committed by Tiago Ribeiro

View File

@@ -33,7 +33,7 @@ export async function AgentContacts({language, page, country, data}: Props) {
const contact = (await getCountryManagers(country, language)) as Contact; const contact = (await getCountryManagers(country, language)) as Contact;
return ( return (
<main className="text-mti-black flex h-screen w-full flex-col bg-white"> <main className="text-mti-black flex h-screen w-full flex-col bg-white" dir={language === "ar" ? "rtl" : "ltr"}>
<Navbar currentPage={page} language={language} /> <Navbar currentPage={page} language={language} />
<section className="bg-mti-purple h-full w-full p-8 text-center text-white md:p-16"> <section className="bg-mti-purple h-full w-full p-8 text-center text-white md:p-16">