This commit is contained in:
2025-05-07 15:41:16 -03:00
parent 262abf0d2d
commit 11f43cf9cd
7 changed files with 50 additions and 23 deletions

View File

@@ -1,10 +1,10 @@
---
import { getCollection, render } from "astro:content";
import { getCollection, getEntries, render } from "astro:content";
import { Picture } from "astro:assets";
import { Icon } from "astro-icon/components";
import Layout from "~/layouts/Layout.astro";
import Container from "~/components/Container.astro";
import HeaderNav from "~/components/Course/HeaderNav.astro";
import HeroNav from "~/components/Course/HeroNav.astro";
import BuyButton from "./_components/BuyButton.astro";
import placeholder from "~/assets/placeholder.png";
@@ -34,7 +34,7 @@ const { Content } = await render(course);
</Fragment>
<Fragment slot="nav">
<HeaderNav {...data} />
<HeroNav {...data} />
</Fragment>
<section class="space-y-6 lg:space-y-24">