Skip to content

Commit

Permalink
Updated Home Page to be somewhat presentable (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnLu2004 authored Jul 30, 2024
1 parent 068198f commit 290f969
Showing 1 changed file with 36 additions and 4 deletions.
40 changes: 36 additions & 4 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,13 +1,45 @@
---
import { getCollection } from "astro:content";
import { default as Layout } from "src/layouts/Content/Content.astro";
import RowCard from "@components/RowCard/RowCard.astro";
const rowCardInfo = [
{
title: "Go through past midterms and finals here!",
icon: "mdi mdi-book-open-variant",
link: "/evaluations/",
},
{
title: "Check out all the courses we currently have here!",
icon: "mdi mdi-school",
link: "/courses",
},
{
title: "Farm through questions based on topic!",
icon: "mdi mdi-tag",
link: "/evaluations",
},
];
---

<Layout title="Carleton Computer Science Question Repository">
<h1>Carleton Computer Science Question Repository</h1>
<div>(coming soon)</div>
<Layout title="Carleton Computer Science Practice Questions Repository">
<h1>Carleton Computer Science Practice Questions Repository</h1>
<div>
Dedicated to my Discrete Math II classmates who couldn't make it to the end
with me
</div>
<br />
<div>
<a href="/evaluations">Evaluations</a>
{
rowCardInfo.map((card) => (
<>
<div>
<a href={card.link}>
<RowCard title={card.title} icon={card.icon} />
</a>
</div>
<br />
</>
))
}
</div>
</Layout>

0 comments on commit 290f969

Please sign in to comment.