Skip to content

Commit

Permalink
rough in homepage index
Browse files Browse the repository at this point in the history
  • Loading branch information
sterlingwes committed Feb 1, 2024
1 parent 4e159bc commit bf0a7fa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions site/src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
---
import { getCollection } from "astro:content";
import ContentBox from "../components/ContentBox.astro";
import ContentPageLayout from "../layouts/ContentPageLayout.astro";
import StructuredText from "../components/StructuredText.astro";
import { getStrings } from "../lib/constants/strings";
const enablers = await getCollection("enabler");
---

<ContentPageLayout title="genocide.club">
Expand All @@ -14,6 +17,15 @@ import { getStrings } from "../lib/constants/strings";
You can <a href="/docs/editorial">read our editorial guide</a> to learn more
about how we decide who and what gets included in the club.
</p>
<ul>
{
enablers.map((enabler) => (
<li>
<a href={`/${enabler.id}`}>{enabler.data.name}</a>
</li>
))
}
</ul>
</ContentBox>
</ContentPageLayout>
<style>
Expand Down

0 comments on commit bf0a7fa

Please sign in to comment.