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 ? data.data[1].title : ""}
      third={data?.data ? data.data[1].title : ""}
    >
      <div
        className="select-inner"
        dangerouslySetInnerHTML={{
          __html: data ? data.data[1].content : "",
        }}
      />
    </LayoutWithSidebar>
  );
}
