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

@@ -50,7 +50,7 @@ const Element = ({date, label, isEven, language, Icon}: ElementProps) => {
export default function History({language}: Props) {
return (
<main className="h-screen w-full bg-white text-mti-black flex flex-col">
<main className="h-screen w-full bg-white text-mti-black flex flex-col" dir={language === "ar" ? "rtl" : "ltr"}>
<Navbar currentPage="/history" language={language} />
<section className="w-full bg-mti-purple text-white text-center p-8 md:p-16">