turkmen-expo/app/[locale]/(root)/(mainMenu)/services/missions/page.tsx

23 lines
627 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 { getServices } from "@/services/services";
import { getLocale } from "next-intl/server";
2025-10-12 17:42:17 +00:00
export default async function MissionsPage() {
const lang = await getLocale();
const data = await getServices(lang);
2025-10-12 17:42:17 +00:00
return (
<LayoutWithSidebar
title={data?.data ? data.data[10].title : ""}
third={data?.data ? data.data[10].title : ""}
>
<div
className="select-inner"
dangerouslySetInnerHTML={{
__html: data?.data ? data.data[10].content : "",
2025-10-12 17:42:17 +00:00
}}
/>
</LayoutWithSidebar>
);
}