All files / src/app/(site) page.tsx

0% Statements 0/16
100% Branches 0/0
0% Functions 0/1
0% Lines 0/16

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17                                 
import Home from "@/components/features/home";
import { getHeroData } from "@/lib/data/hero";
import { Metadata } from "next";

export const metadata: Metadata = {
  title: `Home | ${process.env.NEXT_PUBLIC_SITE_NAME || "Elite Events"}`,
  description: process.env.NEXT_PUBLIC_SITE_DESCRIPTION || "Premium event supplies for all your special occasions"};

// Enable ISR with 1-hour revalidation for better LCP performance
export const revalidate = 3600;

export default async function HomePage() {
  const heroData = await getHeroData();

  return <Home heroData={heroData} />;
}