tailwind rebuild

This commit is contained in:
2026-11-01 14:04:44 -05:00
parent ff6bf4c3ae
commit 1ede517210
15 changed files with 196 additions and 903 deletions
+6 -4
View File
@@ -1,12 +1,14 @@
---
import Base from '../layouts/Base.astro';
import Button from '../components/Button.astro';
import Label from '../components/Label.astro';
---
<Base title="Signal lost — Dylan Benzi">
<div class="nf">
<div class="label amber">ERR 404</div>
<h1>Signal lost.</h1>
<div class="py-24">
<Label amber>ERR 404</Label>
<h1 class="my-3 text-[56px]">Signal lost.</h1>
<p>That page is not on the board.</p>
<a class="btn primary" href="/">Back to the board</a>
<Button primary href="/">Back to the board</Button>
</div>
</Base>
+14 -13
View File
@@ -8,6 +8,7 @@ import Timeline from '../components/Timeline.astro';
import Channels from '../components/Channels.astro';
import Captures from '../components/Captures.astro';
import ContactPanel from '../components/ContactPanel.astro';
import Button from '../components/Button.astro';
import { site } from '../data/site';
import { domains } from '../data/skills';
@@ -15,7 +16,7 @@ const projects = (await getCollection('projects')).sort((a, b) => a.data.order -
---
<Base>
<section class="hero">
<section class="pt-10">
<FlapBoard />
<!-- <div class="readouts"> -->
<!-- { -->
@@ -27,36 +28,36 @@ const projects = (await getCollection('projects')).sort((a, b) => a.data.order -
<!-- )) -->
<!-- } -->
<!-- </div> -->
<div class="actions">
<div class="btns">
<a class="btn primary" href="#contact">Contact</a>
<a class="btn" href={site.resume}>{'Résumé (PDF)'}</a>
<div class="mt-4 flex flex-wrap items-center justify-between gap-x-6 gap-y-3">
<div class="flex flex-wrap gap-3">
<Button primary href="#contact">Contact</Button>
<Button href={site.resume}>{'Résumé (PDF)'}</Button>
</div>
<div class="tracking"><b>NOW BUILDING</b>{site.nowTracking}</div>
<div class="flex flex-wrap items-center gap-x-4 gap-y-2 border border-now-line bg-now-bg px-4 py-3 text-[15px] text-now-text"><b class="font-mono text-[12px] font-normal text-amber">NOW BUILDING</b>{site.nowTracking}</div>
</div>
</section>
<section class="section" id="projects" aria-labelledby="projects-h">
<section class="pt-18" id="projects" aria-labelledby="projects-h">
<SectionHeader tag="RNG 1" title="Projects" />
<ul class="legend">
{domains.map((d) => <li data-domain={d.domain}><i></i>{d.label}</li>)}
<ul class="mb-6 flex flex-wrap gap-x-5 gap-y-2 font-mono text-[12px] text-muted">
{domains.map((d) => <li class="flex items-center gap-2" data-domain={d.domain}><i class="size-2.5 bg-(--dc)"></i>{d.label}</li>)}
</ul>
<ul class="strips">
<ul class="flex flex-col gap-3">
{projects.map((p, i) => <ProjectStrip project={p} index={i} />)}
</ul>
</section>
<section class="section" id="history" aria-labelledby="history-h">
<section class="pt-18" id="history" aria-labelledby="history-h">
<SectionHeader tag="RNG 2" title="Experience" />
<Timeline />
</section>
<section class="section">
<section class="pt-18">
<SectionHeader tag="RNG 3" title="Skills" />
<Channels />
</section>
<section class="section" id="captures" aria-labelledby="captures-h">
<section class="pt-18" id="captures" aria-labelledby="captures-h">
<SectionHeader tag="RNG 4" title="Captures" />
<Captures />
</section>
+17 -15
View File
@@ -2,6 +2,8 @@
import { getCollection, render } from 'astro:content';
import type { GetStaticPaths } from 'astro';
import Base from '../../layouts/Base.astro';
import Button from '../../components/Button.astro';
import Label from '../../components/Label.astro';
export const getStaticPaths = (async () => {
const all = (await getCollection('projects')).sort((a, b) => a.data.order - b.data.order);
@@ -17,27 +19,27 @@ const d = entry.data;
---
<Base title={`${d.title} — Dylan Benzi`} description={d.summary}>
<article class="detail" data-domain={d.domain}>
<a class="crumb" href="/#projects">← ALL PROJECTS</a>
<h1>{d.title}</h1>
<p class="lead">{d.summary}</p>
<div class="meta">
<div><div class="label">NO.</div><div class="val">{String(n).padStart(2, '0')}</div></div>
<div><div class="label">DOMAIN</div><div class="val" style="color:var(--dc)">{d.domainLabel}</div></div>
<div><div class="label">{d.whenLabel}</div><div class="val">{d.when}</div></div>
{d.tech.length > 0 && <div style="flex-basis:320px"><div class="label">TECH</div><div class="val">{d.tech.join(' · ')}</div></div>}
<article class="pt-10" data-domain={d.domain}>
<a class="font-mono text-[13px] text-muted hover:text-amber" href="/#projects">← ALL PROJECTS</a>
<h1 class="mt-5 mb-3 border-l-8 border-(color:--dc) pl-[18px] text-[44px] leading-[1.1] font-bold tracking-[-0.02em] max-sm:text-[30px]">{d.title}</h1>
<p class="max-w-[60ch] text-[20px] text-body">{d.summary}</p>
<div class="my-7 flex flex-wrap gap-px border border-line bg-line">
<div class="flex-[1_1_160px] bg-panel px-5 py-3.5"><Label>NO.</Label><div class="mt-1.5 font-mono text-[14px]">{String(n).padStart(2, '0')}</div></div>
<div class="flex-[1_1_160px] bg-panel px-5 py-3.5"><Label>DOMAIN</Label><div class="mt-1.5 font-mono text-[14px] text-(color:--dc)">{d.domainLabel}</div></div>
<div class="flex-[1_1_160px] bg-panel px-5 py-3.5"><Label>{d.whenLabel}</Label><div class="mt-1.5 font-mono text-[14px]">{d.when}</div></div>
{d.tech.length > 0 && <div class="flex-[1_1_320px] bg-panel px-5 py-3.5"><Label>TECH</Label><div class="mt-1.5 font-mono text-[14px]">{d.tech.join(' · ')}</div></div>}
</div>
<div class="prose"><Content /></div>
<div class="max-w-[68ch] text-[17px] text-body [&_a]:text-accent [&_h2]:mt-8 [&_h2]:mb-2.5 [&_h2]:text-[24px] [&_h2]:font-semibold [&_h2]:tracking-[-0.02em] [&_h2]:text-fg [&_li]:my-1"><Content /></div>
{
d.links.length > 0 && (
<div class="links">
{d.links.map((l) => <a class="btn" href={l.href}>{l.label} ↗</a>)}
<div class="mt-7 flex flex-wrap gap-3">
{d.links.map((l) => <Button href={l.href}>{l.label} ↗</Button>)}
</div>
)
}
<div class="pager">
{prev ? <a href={`/projects/${prev.id}/`}>← {prev.data.title}</a> : <span />}
{next ? <a href={`/projects/${next.id}/`}>{next.data.title} →</a> : <span />}
<div class="my-14 flex flex-wrap justify-between gap-3">
{prev ? <Button href={`/projects/${prev.id}/`}>← {prev.data.title}</Button> : <span />}
{next ? <Button href={`/projects/${next.id}/`}>{next.data.title} →</Button> : <span />}
</div>
</article>
</Base>