satupeta-main/app/page.tsx
2026-01-27 09:31:12 +07:00

37 lines
1.4 KiB
TypeScript

import { HeroSection } from "./(modules)/(landing)/components/hero-section";
import Footer from "../shared/components/layout/footer";
import { appConfig, isActiveFeature } from "@/shared/config/app-config";
import { Metadata } from "next";
import { FeedbackButton } from "./(modules)/(landing)/components/feedback";
import { MenuHeader } from "@/shared/components/layout/menu-header";
import { CatalogSection } from "./(modules)/(landing)/components/catalog-section";
import { CategorySection } from "./(modules)/(landing)/components/category-section";
import { OrganizationSection } from "./(modules)/(landing)/components/organization-section";
import { NewsSection } from "./(modules)/(landing)/components/news-section";
export const metadata: Metadata = {
title: `${appConfig.name} ${appConfig.wilayah}`,
description: `Portal geospasial resmi ${appConfig.wilayah} untuk akses data spasial yang akurat, terkini, dan mendukung pengambilan keputusan berbasis lokasi.`,
};
export default function Home() {
return (
<main className="">
<MenuHeader />
<FeedbackButton />
<HeroSection />
<CategorySection />
<CatalogSection />
<OrganizationSection />
{isActiveFeature.news && <NewsSection />}
{/* <CatalogSection />
<OrganizationSection />
<StatisticsSection />
{isActiveFeature.news && <NewsSection />} */}
<Footer />
</main>
);
}