export const dynamic = "force-dynamic";
import WidthWrapper from "@/components/wrappers/widthWrapper";
import { Loader2 } from "lucide-react";
import { Suspense } from "react";
import Ahead from "./ahead/main";
import Panel from "./ahead/panel";
import Blogs from "./blogs/main";
import Post from "./blogs/post";
import { WhyChooseUs } from "./choose/main";
import HeroSlider from "./heroSlider";
import { Location } from "./location/main";
import { OurServices } from "./services/main";
import Support from "./support/main";
export default function Home() {
return (
<main className="w-full h-full flex flex-col items-center justify-start bg-background-primary">
<HeroSlider />
<WidthWrapper color="#141820">
<WhyChooseUs />
</WidthWrapper>
<WidthWrapper color="#11141B">
<OurServices />
<Location />
</WidthWrapper>
<WidthWrapper color="#141820">
<section className="py-24 w-[95%] xl:w-full h-full gap-4 flex flex-col md:flex-row items-center justify-start md:items-start md:justify-center">
<Ahead />
<Panel />
</section>
</WidthWrapper>
<WidthWrapper color="#11141B">
<div className="w-[95%] xl:w-full gap-8 md:gap-0 py-16 h-fit flex px-2 md:px-0 flex-col md:flex-row items-center justify-start">
<Blogs />
<div className="md:w-[45%] md:h-[600px] w-full h-[410px] flex flex-col items-center justify-center">
<Suspense
fallback={
<Loader2 className="md:size-20 size-16 text-shades-cyan animate-spin " />
}
>
<Post />
</Suspense>
</div>
</div>
</WidthWrapper>
<Support />
</main>
);
}
How do i make this page SSG rather than fully dynamic in nextjs app directory