diff --git a/src/pages/index.astro b/src/pages/index.astro index 3036658..f7a9ec4 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,10 +1,39 @@ --- import Base from '../layouts/Base.astro'; import Nav from '../components/Nav.astro'; +import { COURSES } from '../config/courses'; +const published = COURSES.filter((c) => c.published); +const upcoming = COURSES.filter((c) => !c.published); --- - +