-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Home Page to be somewhat presentable (#22)
- Loading branch information
1 parent
068198f
commit 290f969
Showing
1 changed file
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |