turkmen-expo/app/[locale]/(root)/(mainMenu)/company/aboutus/page.tsx

22 lines
640 B
TypeScript
Raw Normal View History

2025-11-21 06:16:42 +00:00
import { LayoutWithSidebar } from "@/components/page/LayoutWithSidebar";
2025-10-12 17:42:17 +00:00
import { getAbout } from "@/services/about";
import { getLocale, getTranslations } from "next-intl/server";
2025-10-12 17:42:17 +00:00
export default async function AboutPage() {
const lang = await getLocale();
const t = await getTranslations("about");
2025-10-12 17:42:17 +00:00
const data = await getAbout(lang);
return (
<LayoutWithSidebar second={t("title")} title={t("title")}>
2025-10-12 17:42:17 +00:00
<div
dangerouslySetInnerHTML={{
__html: data,
}}
className="text-[16px] aboutus text-p flex flex-col items-start gap-6 leading-[150%] pb-10"
/>
</LayoutWithSidebar>
);
}