diff --git a/src/app/page.jsx b/src/app/page.jsx index 9df8c6d..665bd5e 100644 --- a/src/app/page.jsx +++ b/src/app/page.jsx @@ -7,6 +7,7 @@ import BannerResurgente from "@/components/home/banner-resurgente"; import BannerSobreProyecto from "@/components/home/banner-sobre-proyecto"; import BannerTitle from "@/components/common/banner-title"; import Skeleton from "@/components/common/skeleton"; +import BannerProjectCards from "@/components/home/banner-project-cards"; export default async function Home() { @@ -23,7 +24,7 @@ export default async function Home() { }> - + diff --git a/src/components/home/banner-pacto.jsx b/src/components/home/banner-pacto.jsx index 6e05e35..57d425c 100644 --- a/src/components/home/banner-pacto.jsx +++ b/src/components/home/banner-pacto.jsx @@ -6,9 +6,7 @@ import { fetchProjectId } from "@/utils/get-data" import StageProject from "../common/stage-project" import { PROJECT_ID } from "@/utils/constants" -const BannerPacto = async () => { - const project = await fetchProjectId(PROJECT_ID) - +const BannerPacto = async ({project}) => { if (!project) return () - return (