import ContentDetailsPageRender from "@/components/content/content-details-page-render";
import { PAGE_CONFIG } from "@/lib/appConstant";
import { getSeoSettings } from "@/lib/common/fetch-seo-settings";
import { SEO } from "@/types/common";
import { ServiceViewSettings } from "@/types/serviceAdmin";
import { Metadata } from "next";


export default async function ContentDetailsPage(props: any) {
  return (
    <>
      <ContentDetailsPageRender/>
    </>
  );
}

export const generateMetadata = async (): Promise<Metadata> => {
  const settings: SEO = await getSeoSettings(PAGE_CONFIG.contentDetail);
  return {
    title: settings.title,
    description: settings.metaDescription
  };
};