Applied dir to all pages

This commit is contained in:
Joao Ramos
2024-02-09 18:03:52 +00:00
parent 8287bbae18
commit 8c1ec834f3
8 changed files with 13 additions and 14 deletions

View File

@@ -14,7 +14,7 @@ interface Props {
export default function Home({language}: Props) {
return (
<main className={clsx("h-screen w-full bg-white text-mti-black flex flex-col", language === "ar" && "text-right")}>
<main className={clsx("h-screen w-full bg-white text-mti-black flex flex-col", language === "ar" && "text-right")} dir={language === "ar" ? "rtl" : "ltr"}>
<Navbar currentPage="/" language={language} />
<section className="w-full relative bg-white">