blob: 1535621742f1f46a0e209914ed39fbfcdb8db72d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
---
import TerminalBorder from "../components/TerminalBorder.astro";
interface Props {
title: string;
description: string;
date: string;
href: string;
}
const { title, description, date, href } = Astro.props;
---
<TerminalBorder footer={date} margin="0 0 20px;">
<span class="cursor-pointer group block w-full">
<a href={href} style="all: unset;">
<h1 class="text-[130%] text-[var(--accent)] group-hover:underline">
{title}
</h1>
<p class="text-[var(--secondary)]">
{description}
</p>
</a>
</span>
</TerminalBorder>
<style>
.section:hover() {
position: relative;
padding: 10.8rem;
padding-top: 0.85rem;
display: flex;
border-style: solid;
border-width: 1px;
border-color: var(--alt);
}
</style>
|