diff --git a/src/pages/events.astro b/src/pages/events.astro index 279a5ba..36354bc 100644 --- a/src/pages/events.astro +++ b/src/pages/events.astro @@ -32,8 +32,6 @@ for (const year of pastYears.reverse()) { --- -
-
diff --git a/src/pages/research.astro b/src/pages/research.astro index 6b780ac..b4a7d00 100644 --- a/src/pages/research.astro +++ b/src/pages/research.astro @@ -1,13 +1,24 @@ --- import BaseLayout from '../layouts/base.astro'; +import core from '../core.json'; + +const research = core.projects.filter(x => x.type && x.type === "research"); ---
-

My page content, wrapped in a layout!

+ +

Research ({research.length})

+ + {research.map((item) => ( + + ))} +
\ No newline at end of file diff --git a/src/styles/base.css b/src/styles/base.css index 47f6a31..c1eec7f 100644 --- a/src/styles/base.css +++ b/src/styles/base.css @@ -148,6 +148,14 @@ .w3pn-hp-grid > div { @apply aspect-video bg-[#0f0f0f] grid grid-rows-2 hover:bg-[#202020] cursor-pointer; } + + .w3pn-project-item { + @apply w-full border border-[#202020] mb-3; + } + + .w3pn-project-item a:hover { + @apply bg-[#0f0f0f]/30; + } .w3pn-event-item { @apply w-full border border-[#202020] mb-3;