Skip to content

Commit

Permalink
Add new goals
Browse files Browse the repository at this point in the history
  • Loading branch information
GDWR committed Jul 4, 2023
1 parent 9ce9243 commit 73321a2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/pages/goals.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ import Footer from "../components/Footer.astro";
import "@fontsource/jetbrains-mono";
const Goals = [
{ name: "Tribe", description: "A self-hostable user submitted content-driven community.", completed: false },
{ name: "Cru", description: "The group based, fitness motivation app that I need.", completed: false },
{ name: "Dungeoneer", description: "A web game to fulfil that dungeon diving itch. Complete with website and API integration", completed: false },
{ name: "Cardigo", description: "Collaboratively send digital cards to your family, friends and others.", completed: false },
{ name: "More blog posts", description: "Lets keep this ball rolling!", link: "/blog", completed: false },
{ name: "Advent of Code 2022", description: "Completed advent of code using a random language each day.", link: "https://github.com/gdwr/aoc2022", completed: false },
{ name: "Write a blog post", description: "I really need to write something.", link: "/blog", completed: true }
Expand All @@ -20,10 +24,9 @@ const Goals = [
<main class="flex flex-col items-center justify-center gap-8 text-center dark:text-white ">
<h1 class="underline font-bold text-4xl"> Goals </h1>

{ Goals.map(goal => <a class="group px-8 pb-4 pt-2 w-1/4 rounded-xl bg-stone-300 hover:cursor-pointer dark:bg-stone-800" href={goal.link}>
<h2 class=`${goal.completed ? "line-through" : ""} text-2xl font-bold group-hover:text-orange-400 dark:text-orange-300 dark:group-hover:text-orange-500`>{goal.name}</h2>
{ Goals.map(goal => <a class=`group px-8 pb-4 pt-2 w-2/5 rounded-xl bg-stone-300 ${goal.link ? "hover:cursor-pointer" : "hover:cursor-default"} dark:bg-stone-800` href={goal.link}>
<h2 class=`${goal.completed ? "line-through" : ""} text-2xl font-bold ${goal.link ? "group-hover:text-orange-400" : ""} dark:text-orange-300 ${goal.link ? "dark:group-hover:text-orange-500" : ""}`>{goal.name}</h2>
<span>{goal.description}</span>
<span>{goal.name}</span>
</a>)
}

Expand Down

0 comments on commit 73321a2

Please sign in to comment.