mirror of
https://github.com/web3privacy/web
synced 2024-10-15 18:26:27 +02:00
basic project list
This commit is contained in:
parent
843dc0b205
commit
83c1c1d449
3 changed files with 20 additions and 3 deletions
|
@ -32,8 +32,6 @@ for (const year of pastYears.reverse()) {
|
||||||
---
|
---
|
||||||
|
|
||||||
<BaseLayout title="Events">
|
<BaseLayout title="Events">
|
||||||
<div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="middle-pane-medium mt-10">
|
<div class="middle-pane-medium mt-10">
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,24 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
import BaseLayout from '../layouts/base.astro';
|
import BaseLayout from '../layouts/base.astro';
|
||||||
|
import core from '../core.json';
|
||||||
|
|
||||||
|
const research = core.projects.filter(x => x.type && x.type === "research");
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<BaseLayout title="Research">
|
<BaseLayout title="Research">
|
||||||
|
|
||||||
<div class="middle-pane-medium mt-10">
|
<div class="middle-pane-medium mt-10">
|
||||||
<p>My page content, wrapped in a layout!</p>
|
|
||||||
|
<h1 id="upcoming">Research ({research.length})</h1>
|
||||||
|
|
||||||
|
{research.map((item) => (
|
||||||
|
<div class="w3pn-project-item">
|
||||||
|
<a href={item.links.docs} class="block p-6 text-white text-xl">{item.name}</a>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</BaseLayout>
|
</BaseLayout>
|
|
@ -149,6 +149,14 @@
|
||||||
@apply aspect-video bg-[#0f0f0f] grid grid-rows-2 hover:bg-[#202020] cursor-pointer;
|
@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 {
|
.w3pn-event-item {
|
||||||
@apply w-full border border-[#202020] mb-3;
|
@apply w-full border border-[#202020] mb-3;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue