fix
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user