diff --git a/superpage/src/components/Course/BuyDropdown.astro b/superpage/src/components/Course/BuyDropdown.astro new file mode 100644 index 0000000..338db73 --- /dev/null +++ b/superpage/src/components/Course/BuyDropdown.astro @@ -0,0 +1,12 @@ +
+ + + +
+ +
+
diff --git a/superpage/src/components/Course/Course.astro b/superpage/src/components/Course/Course.astro index 1deb6ff..c41587a 100644 --- a/superpage/src/components/Course/Course.astro +++ b/superpage/src/components/Course/Course.astro @@ -1,4 +1,8 @@ --- +export type Props = { + trainer?: string; +}; + import Clients from "../Clients.astro"; import Modules from "./Modules.astro"; import Features from "../Features.astro"; diff --git a/superpage/src/components/Course/HeaderNav.astro b/superpage/src/components/Course/HeaderNav.astro index 8eaa7ba..c9b8e4f 100644 --- a/superpage/src/components/Course/HeaderNav.astro +++ b/superpage/src/components/Course/HeaderNav.astro @@ -1,6 +1,7 @@ --- import { Icon } from "astro-icon/components"; import Container from "../Container.astro"; +import BuyDropdown from "./BuyDropdown.astro"; import { getCollection } from "astro:content"; const courses = await getCollection( @@ -24,12 +25,12 @@ const { title } = Astro.props;