import HeroSection from "./_components/HeroSection"; // Import the HeroSection component import ClientLogosSection, { defaultClients, } from "./_components/ClientLogosSection"; // Import component and data import CallToActionSection from "./_components/CallToActionSection"; import CoreServicesSection, { defaultCoreServices, } from "./_components/CoreServicesSection"; import WhyChooseUsSection, { defaultWhyChooseUsFeatures, } from "./_components/WhyChooseUsSection"; import FeaturedProductSection, { defaultObseFeatures, } from "./_components/FeaturedProductSection"; import { getHome } from "@/lib/query/home"; export default async function HomePage() { // Explicitly type the data variable, assuming getHome returns HeroSectionType or null/undefined const data = await getHome(); // Handle case where data might be null or undefined if (!data) { // Optionally return a loading state or default content return