turkmen-expo/app/(root)/(mainMenu)/services/additional/page.tsx

21 lines
514 B
TypeScript

import { LayoutWithSidebar } from "@/components/page/LayoutWithSidebar";
import { getServices } from "@/services/services";
export default async function AdvertisingPage() {
const { data } = await getServices();
return (
<LayoutWithSidebar
title={data ? data[8].title : ""}
third={data ? data[8].title : ""}
>
<div
className="select-inner"
dangerouslySetInnerHTML={{
__html: data ? data[8].content : "",
}}
/>
</LayoutWithSidebar>
);
}