+
{mainTitle}
-
{subtitle}
++ {subtitle} +
- {t("department.hero.expertiseTitle") || "حلول متكاملة للمنشآت الصناعية"} + {t("department.hero.expertiseTitle") || + "حلول متكاملة للمنشآت الصناعية"}
{t("department.hero.expertiseSubtitle") || @@ -413,19 +511,35 @@ export default function DepartmentDetail() {
- {t("department.hero.servicesTitle") || "خدمات الصيانة للمنشآت وخطوط الإنتاج"} + {t("department.hero.servicesTitle") || + "خدمات الصيانة للمنشآت وخطوط الإنتاج"}
- {t("department.hero.servicesSubtitle") || "يتضمن هذا القسم خدمات الصيانة الشاملة والدورية للمنشآت الصناعية وخطوط الانتاج، وتشمل:"} + {t("department.hero.servicesSubtitle") || + "يتضمن هذا القسم خدمات الصيانة الشاملة والدورية للمنشآت الصناعية وخطوط الانتاج، وتشمل:"}
- {t("department.hero.worksSubtitle") || "عرض مشروعاتنا وخط الزمن الخاص بالأعمال المنفذة."} + {t("department.hero.worksSubtitle") || + "عرض مشروعاتنا وخط الزمن الخاص بالأعمال المنفذة."}
- {t("department.sectionTitle") || "قسم إنشاء وصيانة المنشآت الصناعية وخطوط الإنتاج"} + {t("department.sectionTitle") || + "قسم إنشاء وصيانة المنشآت الصناعية وخطوط الإنتاج"}
{b.title}
++ {b.title} +
{t("department.clickForDetails")} -
{b.title}
-{t("department.clickForDetails")}
++ {b.title} +
++ {t("department.clickForDetails")} +
{text}
++ {text} +
+
{mainTitle}
-
{subtitle}
++ {subtitle} +
{t("departmentDetail6.hero.expertiseTitle")}
-{t("departmentDetail6.hero.expertiseSubtitle")}
++ {t("departmentDetail6.hero.expertiseTitle")} +
++ {t("departmentDetail6.hero.expertiseSubtitle")} +
{t("departmentDetail6.hero.worksTitle")}
-{t("departmentDetail6.hero.worksSubtitle")}
++ {t("departmentDetail6.hero.worksTitle")} +
++ {t("departmentDetail6.hero.worksSubtitle")} +
{t("departmentDetail6.hero.defaultTitle")}
++ {t("departmentDetail6.hero.defaultTitle")} +
{b.title}
++ {b.title} +
{ui.clickToView}
-
{b.title}
-{ui.clickToView}
++ {b.title} +
++ {ui.clickToView} +
{group.title}
++ {group.title} +
{text}
++ {text} +
+
{mainTitle}
-
{subtitle}
++ {subtitle} +
{hero.expertiseTitle}
-{hero.expertiseSubtitle}
++ {hero.expertiseTitle} +
++ {hero.expertiseSubtitle} +
{hero.worksTitle}
-{hero.worksSubtitle}
++ {hero.worksTitle} +
++ {hero.worksSubtitle} +
{hero.defaultTitle}
++ {hero.defaultTitle} +
{b.title}
++ {b.title} +
{ui.clickToView}
-
{b.title}
-{ui.clickToView}
++ {b.title} +
++ {ui.clickToView} +
{item.text}
++ {item.text} +
- {t('departments.heading', { defaultValue: 'أقسامنا' })} + {t("departments.heading", { defaultValue: "أقسامنا" })}
")}`; } main.style.fontFamily = font; - const computedSize = Math.min(Math.max(Math.round(responsiveBase * headingMultiplier * lengthFactor), minFont), maxFont); + const computedSize = Math.min( + Math.max( + Math.round(responsiveBase * headingMultiplier * lengthFactor), + minFont + ), + maxFont + ); main.style.fontSize = `${computedSize}px`; main.style.color = config.text_color || defaultConfig.text_color; main.style.fontWeight = 800; @@ -131,10 +155,22 @@ export default function EngineeringHeroFlowbite() { sub.style.display = "block"; } - root.style.setProperty("--ehb-primary", config.primary_color || defaultConfig.primary_color); - root.style.setProperty("--ehb-background", config.background_color || defaultConfig.background_color); - root.style.setProperty("--ehb-surface", config.secondary_surface || defaultConfig.secondary_surface); - root.style.setProperty("--ehb-action", config.secondary_action || defaultConfig.secondary_action); + root.style.setProperty( + "--ehb-primary", + config.primary_color || defaultConfig.primary_color + ); + root.style.setProperty( + "--ehb-background", + config.background_color || defaultConfig.background_color + ); + root.style.setProperty( + "--ehb-surface", + config.secondary_surface || defaultConfig.secondary_surface + ); + root.style.setProperty( + "--ehb-action", + config.secondary_action || defaultConfig.secondary_action + ); }; applyStyles(); @@ -155,20 +191,37 @@ export default function EngineeringHeroFlowbite() { const OrangeActionButton = ({ onClick }) => { return (