modify projects to include drafts, writeup tbd, and reduced domains

This commit is contained in:
2026-11-10 22:47:38 -05:00
parent 09b23a783d
commit 14dd434c8e
19 changed files with 96 additions and 60 deletions
+7 -2
View File
@@ -1,6 +1,7 @@
--- ---
import type { CollectionEntry } from 'astro:content'; import type { CollectionEntry } from 'astro:content';
import Label from './Label.astro'; import Label from './Label.astro';
import { domainLabel } from '../data/skills';
interface Props { project: CollectionEntry<'projects'>; index: number; } interface Props { project: CollectionEntry<'projects'>; index: number; }
const { project, index } = Astro.props; const { project, index } = Astro.props;
const d = project.data; const d = project.data;
@@ -11,12 +12,16 @@ const cell = 'bg-panel group-hover:bg-hover';
<a class="group flex flex-wrap gap-px border border-l-8 border-line border-l-(color:--dc) bg-line" data-domain={d.domain} href={`/projects/${project.id}/`}> <a class="group flex flex-wrap gap-px border border-l-8 border-line border-l-(color:--dc) bg-line" data-domain={d.domain} href={`/projects/${project.id}/`}>
<div class:list={[cell, 'flex-[0_0_72px] py-[18px] text-center font-mono text-[22px] text-(color:--dc)']}>{String(index + 1).padStart(2, '0')}</div> <div class:list={[cell, 'flex-[0_0_72px] py-[18px] text-center font-mono text-[22px] text-(color:--dc)']}>{String(index + 1).padStart(2, '0')}</div>
<div class:list={[cell, 'min-w-0 flex-[1_1_320px] px-[22px] py-[18px]']}> <div class:list={[cell, 'min-w-0 flex-[1_1_320px] px-[22px] py-[18px]']}>
<div class="text-[24px] font-semibold max-sm:text-[21px]">{d.title}</div> <div class="text-[24px] font-semibold max-sm:text-[21px]">
{d.title}
{d.status === 'stub' && <span class="ml-2 inline-block border border-amber px-1.5 py-px align-middle font-mono text-[11px] font-normal tracking-[0.08em] text-amber">WRITEUP COMING SOON</span>}
{d.status === 'draft' && <span class="ml-2 inline-block border border-rose px-1.5 py-px align-middle font-mono text-[11px] font-normal tracking-[0.08em] text-rose">DRAFT</span>}
</div>
<div class="mt-1.5 text-[16px] text-body">{d.summary}</div> <div class="mt-1.5 text-[16px] text-body">{d.summary}</div>
</div> </div>
<div class:list={[cell, 'flex-[1_1_150px] px-5 py-[18px]']}> <div class:list={[cell, 'flex-[1_1_150px] px-5 py-[18px]']}>
<Label>DOMAIN</Label> <Label>DOMAIN</Label>
<div class="mt-1.5 font-mono text-[14px] text-(color:--dc)">{d.domainLabel}</div> <div class="mt-1.5 font-mono text-[14px] text-(color:--dc) uppercase">{domainLabel(d.domain)}</div>
</div> </div>
<div class:list={[cell, 'flex-[1_1_130px] px-5 py-[18px]']}> <div class:list={[cell, 'flex-[1_1_130px] px-5 py-[18px]']}>
<Label>{d.whenLabel}</Label> <Label>{d.whenLabel}</Label>
+1 -2
View File
@@ -8,11 +8,10 @@ const projects = defineCollection({
title: z.string(), title: z.string(),
summary: z.string(), summary: z.string(),
domain: z.enum(['hardware', 'silicon', 'systems', 'homelab', 'personal']), domain: z.enum(['hardware', 'silicon', 'systems', 'homelab', 'personal']),
domainLabel: z.string(), // e.g. "HARDWARE · PCB"
when: z.string(), // e.g. "NOV 24 – FEB 25" when: z.string(), // e.g. "NOV 24 – FEB 25"
whenLabel: z.enum(['WHEN', 'STATUS']).default('WHEN'), whenLabel: z.enum(['WHEN', 'STATUS']).default('WHEN'),
order: z.number(), order: z.number(),
draft: z.boolean().default(false), status: z.enum(['complete', 'stub', 'draft']).default('complete'), // stub: listed with a "write-up coming soon" tag; draft: hidden in production
tech: z.array(z.string()).default([]), tech: z.array(z.string()).default([]),
links: z.array(z.object({ label: z.string(), href: z.string().url() })).default([]), links: z.array(z.object({ label: z.string(), href: z.string().url() })).default([]),
}), }),
+1 -2
View File
@@ -2,10 +2,9 @@
title: Apple Poster title: Apple Poster
summary: "A poster of Steve Jobs's Stanford commencement speech with an Apple highlighted in the center, hanging in my office." summary: "A poster of Steve Jobs's Stanford commencement speech with an Apple highlighted in the center, hanging in my office."
domain: personal domain: personal
domainLabel: "PERSONAL"
when: "TBD" when: "TBD"
order: 14 order: 14
draft: true status: draft
tech: [Poster design] tech: [Poster design]
--- ---
A poster of the Steve Jobs commencement speech at Stanford, with an Apple highlighted in the center. It is the most impactful speech in my life, and it hangs in my office. A poster of the Steve Jobs commencement speech at Stanford, with an Apple highlighted in the center. It is the most impactful speech in my life, and it hangs in my office.
+12 -6
View File
@@ -2,19 +2,25 @@
title: Astrophotography Device Management PCB title: Astrophotography Device Management PCB
summary: "A custom STM32 board for astrophotography power and device management: MOSFET switching, PWM dew heaters, and a USB 3.0 hub." summary: "A custom STM32 board for astrophotography power and device management: MOSFET switching, PWM dew heaters, and a USB 3.0 hub."
domain: hardware domain: hardware
domainLabel: "HARDWARE · PCB"
when: "NOV 24 – FEB 25" when: "NOV 24 – FEB 25"
order: 1 order: 1
tech: [STM32, KiCad, MOSFET switching, PWM, USB 3.0] tech: [STM32, KiCad, MOSFET switching, PWM, USB 3.0]
--- ---
A custom board for managing power and devices on an astrophotography setup. A custom board that acts as the central hub for everything in my astrophotography rig, connecting it to my computer and a power source through a single device.
## Why I built it
Astrophotography is one of my hobbies, mostly deep-space targets like nebulae. My setup is fairly involved: a primary telescope with its imaging train (filters, field flatteners, and an imaging camera), a guide scope and guide camera, a motorized tracking mount, an electronic autofocuser, and dew heaters. All of it has to connect to power, my computer, or both, so setup is a mess of cables and snags are common.
A commercial product for this exists and inspired the project. I wanted to build a cheaper version, and just as much I wanted to learn more about PCB design and development.
## What it does ## What it does
- Switches power to each connected device with MOSFETs, controlled by an STM32 microcontroller. - Provides power, USB passthrough, and control for every connected device from one board.
- Drives dew heaters with PWM so each heater can be held at the level the night calls for. - Switches power to each device with MOSFETs, controlled by an STM32 microcontroller. Outputs can be turned on and off from a connected computer.
- Includes a USB 3.0 hub for connecting peripherals. - Drives dew heaters with PWM, with control knobs on the board, so each heater can be held at the level the night calls for. The computer can control heater output too.
- Includes a USB hub IC with five USB ports, and a DC barrel jack output.
## What I learned ## What I learned
Designing a board end to end: laying out a multilayer PCB, soldering surface-mount parts, and writing the firmware that runs on it. Designing a board end to end: laying out a multilayer PCB, soldering surface-mount parts, and writing the firmware that runs on it. It was the step up from my [first board](/projects/word-clock-pcb/), where I crossed two pins and ended up with a dead board.
+2 -2
View File
@@ -2,9 +2,9 @@
title: CMOS Inverter in TCAD title: CMOS Inverter in TCAD
summary: "A Hackerfab process rebuilt as Silvaco DeckBuild scripts, from process to device simulation." summary: "A Hackerfab process rebuilt as Silvaco DeckBuild scripts, from process to device simulation."
domain: silicon domain: silicon
domainLabel: "SILICON"
when: "COURSEWORK" when: "COURSEWORK"
order: 5 order: 8
status: stub
tech: [Silvaco TCAD, DeckBuild, Hackerfab] tech: [Silvaco TCAD, DeckBuild, Hackerfab]
--- ---
A CMOS inverter simulated in Silvaco TCAD. The Hackerfab fabrication process was translated into DeckBuild scripts, so the device is simulated from the process steps up rather than drawn as an ideal structure. A CMOS inverter simulated in Silvaco TCAD. The Hackerfab fabrication process was translated into DeckBuild scripts, so the device is simulated from the process steps up rather than drawn as an ideal structure.
@@ -2,9 +2,9 @@
title: Design Verification Onboarding title: Design Verification Onboarding
summary: "A testbench and CPU RTL, built to learn the verification flow end to end." summary: "A testbench and CPU RTL, built to learn the verification flow end to end."
domain: silicon domain: silicon
domainLabel: "SILICON"
when: "FALL 2026" when: "FALL 2026"
order: 4 order: 7
status: stub
tech: [RTL, Testbench, Verification] tech: [RTL, Testbench, Verification]
--- ---
Onboarding work for design verification: a CPU written in RTL and a testbench to verify it, built to learn the verification flow end to end. Onboarding work for design verification: a CPU written in RTL and a testbench to verify it, built to learn the verification flow end to end.
+2 -2
View File
@@ -2,10 +2,10 @@
title: Flight Radar Display title: Flight Radar Display
summary: "Live aircraft on an LED matrix, from a 1090 MHz antenna into a Raspberry Pi." summary: "Live aircraft on an LED matrix, from a 1090 MHz antenna into a Raspberry Pi."
domain: hardware domain: hardware
domainLabel: "HARDWARE · EMBEDDED"
when: "IN PROGRESS" when: "IN PROGRESS"
whenLabel: STATUS whenLabel: STATUS
order: 3 order: 6
status: stub
tech: [Raspberry Pi, 1090 MHz antenna, LED matrix] tech: [Raspberry Pi, 1090 MHz antenna, LED matrix]
--- ---
A display that shows live aircraft on an LED matrix. A 1090 MHz antenna receives the signals and a Raspberry Pi drives the display. A display that shows live aircraft on an LED matrix. A 1090 MHz antenna receives the signals and a Raspberry Pi drives the display.
+16 -8
View File
@@ -2,19 +2,27 @@
title: Hurricane Impact DataViz Platform title: Hurricane Impact DataViz Platform
summary: "A full-stack geospatial app for 700+ storms of in-house research data, built with R Shiny, PostgreSQL/PostGIS and Leaflet." summary: "A full-stack geospatial app for 700+ storms of in-house research data, built with R Shiny, PostgreSQL/PostGIS and Leaflet."
domain: systems domain: systems
domainLabel: "DATA · WEB"
when: "MAR 25 – MAY 26" when: "MAR 25 – MAY 26"
order: 7 order: 3
tech: [R Shiny, PostgreSQL, PostGIS, Leaflet] tech: [R Shiny, R, PostgreSQL, PostGIS, Leaflet]
links: links:
- label: Live app - label: Live app
href: https://hurricane.dylanbenzi.com href: https://hurricane.dylanbenzi.com
--- ---
A full-stack geospatial web app for exploring hurricane impact research data. A full-stack geospatial web app for exploring hurricane impact research data, built as part of my undergraduate research with Dr. Joanne Muller at FGCU.
## What it does ## Where it started
- Serves 700+ storms of in-house research data from PostgreSQL with PostGIS. The team had compiled its research before I joined, mostly in spreadsheets. My first role was to build a web app to visualize the team's findings, but I wanted to help with as much as I could, and the work grew from there.
- Presents them on a Leaflet map in an R Shiny front end.
It sits alongside my undergraduate research with Dr. Joanne Muller, where I normalized 100+ years of storm costs. ## What I built
- A PostgreSQL database with PostGIS, which the team used for all of its queries. It holds 700+ storms of in-house research data.
- The web app itself: an R Shiny front end with a Leaflet map.
- Charts and visuals in R, including figures for papers and cleaned-up datasets.
## Beyond the app
I also ran statistical models, normalized 100+ years of storm costs, collaborated with outside research teams, and worked on the papers we published. We published three while I was on the team (see [publications](/about#publications)).
I presented some of the work at the Florida Undergraduate Research Association's Posters at the Capitol event in Tallahassee, including findings that challenged earlier research concluding that storm surge caused the most deaths. Across the storms we analyzed, rainfall caused more.
+13 -4
View File
@@ -2,16 +2,25 @@
title: K.T.A.N.E. Puzzle Game title: K.T.A.N.E. Puzzle Game
summary: "A hardware version of Keep Talking and Nobody Explodes on an Arduino, with over 2000 lines of handwritten AVR assembly." summary: "A hardware version of Keep Talking and Nobody Explodes on an Arduino, with over 2000 lines of handwritten AVR assembly."
domain: hardware domain: hardware
domainLabel: "HARDWARE · FIRMWARE"
when: "JAN – MAY 2026" when: "JAN – MAY 2026"
order: 2 order: 2
tech: [Arduino, AVR assembly, Bare-metal firmware] tech: [Arduino, AVR assembly, Shift registers, Bare-metal firmware]
--- ---
A physical take on the cooperative bomb-defusal game *Keep Talking and Nobody Explodes*, running on an Arduino. A physical take on the cooperative bomb-defusal game *Keep Talking and Nobody Explodes*, running on an Arduino Uno. It was the final project for my Computer Organization and Assembly Language course at FGCU, built with my team.
## The idea
In the video game, one player interacts with a fictitious bomb while another reads the defusal manual, so the whole game is about communication. We wanted to keep those puzzle aspects, including the manual, but bring the bomb to life in hardware.
## What it does ## What it does
The game is written in AVR assembly: more than 2000 lines of it, written by hand. The device has three modules: an RGB LED, a set of four wires, and a Morse code generator. The player with the device describes what they see to the person reading the manual, who can't see it, and follows their precise instructions.
## How it works
- The game is written entirely in AVR assembly for the ATmega328, the same MCU the Arduino uses, working at the register level.
- The Uno didn't have enough pins to control everything, so shift registers expand the outputs.
- The program is over 2000 lines. It contains game state, randomization logic, lookup tables, timers, and a 4-digit 7-segment display driver.
## What I learned ## What I learned
@@ -2,10 +2,9 @@
title: Nanotech Club Deliverables title: Nanotech Club Deliverables
summary: "Deliverables for the nanotechnology club, collected in the naps-deliverable repositories." summary: "Deliverables for the nanotechnology club, collected in the naps-deliverable repositories."
domain: silicon domain: silicon
domainLabel: "SILICON · NANOTECH"
when: "TBD" when: "TBD"
order: 10 order: 10
draft: true status: draft
tech: [] tech: []
--- ---
A set of club deliverables, each in its own public repository named naps-deliverable-XX on my Gitea. A set of club deliverables, each in its own public repository named naps-deliverable-XX on my Gitea.
+1 -2
View File
@@ -2,10 +2,9 @@
title: Pacmen title: Pacmen
summary: "A Pac-Man clone written in C++ with SFML, for our group's final project in a C++ class." summary: "A Pac-Man clone written in C++ with SFML, for our group's final project in a C++ class."
domain: systems domain: systems
domainLabel: "SYSTEMS · GAME"
when: "COURSEWORK" when: "COURSEWORK"
order: 12 order: 12
draft: true status: draft
tech: [C++, SFML] tech: [C++, SFML]
--- ---
A Pac-Man clone for the final project of a C++ programming class, built with my group, the Pacmen, using SFML. A Pac-Man clone for the final project of a C++ programming class, built with my group, the Pacmen, using SFML.
@@ -2,21 +2,31 @@
title: Self-Hosted Infrastructure title: Self-Hosted Infrastructure
summary: "A Proxmox server with multiple networks, VMs and containers, SSO and GPU passthrough, reached through Cloudflare and Tailscale." summary: "A Proxmox server with multiple networks, VMs and containers, SSO and GPU passthrough, reached through Cloudflare and Tailscale."
domain: homelab domain: homelab
domainLabel: "HOMELAB"
when: "SINCE 2020" when: "SINCE 2020"
order: 6 order: 4
tech: [Proxmox, Docker, Tailscale, Cloudflare, SSO, GPU passthrough] tech: [Proxmox, Docker, LXC, Tailscale, Cloudflare, SSO, GPU passthrough]
links: links:
- label: Gitea - label: Gitea
href: https://gitea.dylanbenzi.com href: https://gitea.dylanbenzi.com
--- ---
A homelab I have been running since January 2020, including the Git server this site is built and deployed from. A homelab I have been running since 2020, including the Git server this site is built and deployed from.
## What is in it ## How it started
- Proxmox with multiple networks, and a mix of VMs and containers. It began right before COVID with a headless Raspberry Pi. In 2020, after the GenCyber camp, I bought an HP DL580 G7 and learned Linux by hosting things on it.
## How it has changed
- **The big rack era:** more Dell and HP servers, a rack, switching equipment, a UPS for the unreliable residential power, and a NetApp disk shelf. Every server ran Proxmox and they were joined in a cluster.
- **Low power:** I specced and built an ultra low power server on a SuperMicro micro-ITX board with five hard drives for storage.
- **Now:** a custom build on an ASUS professional board with an RTX 3090 for local AI. Four or five enterprise servers are a lot for an apartment living room, and I tried.
## What is in it today
- Proxmox with multiple networks, and a mix of VMs, Docker containers and LXCs.
- Single sign-on across services. - Single sign-on across services.
- GPU passthrough to a VM. - GPU passthrough to a VM.
- Remote access through Cloudflare and Tailscale. - Remote access through Cloudflare and Tailscale.
- A personal cloud, project development services, and small utilities like file converters that replace paid services.
This site is deployed by pushing to Gitea, where a runner builds it and publishes it to the server. This site is deployed by pushing to Gitea, where a runner builds it and publishes it to the server.
+2 -3
View File
@@ -2,10 +2,9 @@
title: Split-Flap Display title: Split-Flap Display
summary: "A 3D-printed split-flap display, modified and built around an ESP32 with a daughterboard in every cell." summary: "A 3D-printed split-flap display, modified and built around an ESP32 with a daughterboard in every cell."
domain: hardware domain: hardware
domainLabel: "HARDWARE · EMBEDDED"
when: "TBD" when: "TBD"
order: 8 order: 9
draft: true status: draft
tech: [ESP32, I2C, 3D printing, Custom daughterboards] tech: [ESP32, I2C, 3D printing, Custom daughterboards]
--- ---
A split-flap display built from an open 3D-printable design that I modified slightly. A single ESP32 talks to the display, and each cell has its own daughterboard that drives it. A split-flap display built from an open 3D-printable design that I modified slightly. A single ESP32 talks to the display, and each cell has its own daughterboard that drives it.
+1 -2
View File
@@ -2,10 +2,9 @@
title: Terminal Trainers title: Terminal Trainers
summary: "A randomized Pokémon-catching game for the terminal, my first C++ final project." summary: "A randomized Pokémon-catching game for the terminal, my first C++ final project."
domain: systems domain: systems
domainLabel: "SYSTEMS · GAME"
when: "COURSEWORK" when: "COURSEWORK"
order: 13 order: 13
draft: true status: draft
tech: [C++] tech: [C++]
--- ---
A simple, randomized Pokémon catcher that runs in the terminal, built as the final project for my first C++ programming class. A simple, randomized Pokémon catcher that runs in the terminal, built as the final project for my first C++ programming class.
+9 -9
View File
@@ -2,27 +2,27 @@
title: Word Clock PCB title: Word Clock PCB
summary: "My first PCB: an ATmega328PB word clock on an LED matrix panel, prototyped on Arduino and then taken to a custom board." summary: "My first PCB: an ATmega328PB word clock on an LED matrix panel, prototyped on Arduino and then taken to a custom board."
domain: hardware domain: hardware
domainLabel: "HARDWARE · PCB"
when: "UNFINISHED" when: "UNFINISHED"
whenLabel: STATUS whenLabel: STATUS
order: 9 order: 5
draft: true
tech: [ATmega328PB, KiCad, LED matrix, 3D printing] tech: [ATmega328PB, KiCad, LED matrix, 3D printing]
--- ---
A word clock that lights up words to tell the time, using one of my LED matrix panels behind a custom 3D-printed face. The code was tested on an Arduino first, then I designed a PCB around an ATmega328PB. A word clock that tells the time by lighting up an LED panel behind a facade of words that spell it out. It was my first board, and the one that taught me the most by failing.
## What it does ## Why I built it
TODO: the crossed flash pins that stopped the board from being finished, and what I would check next time. During my time at FGCU I got interested in circuit board design, especially boards built around a microcontroller. I already knew the Arduino Uno, so the natural next step was a project built around the chip at its heart, the ATmega328PB. I wanted something simple for a first board, and I had seen word clocks before and wanted to redesign one from parts I already had.
## How it works ## How it works
TODO - An LED matrix panel I already owned sits behind a custom 3D-printed face, so only the right words light up.
- I prototyped the firmware on an Arduino first, starting with a simple test program that lit up the matrix.
- The board itself is deliberately simple: the MCU, a real-time clock with a battery, power pins, and a pin header for the matrix display.
## What went wrong ## What went wrong
TODO I sent the board files off to be manufactured and got my very first PCB back. Then, digging through the ATmega datasheet, I found I had crossed two pins on the UART programming header. The board was essentially dead on arrival, and I never finished it.
## What I learned ## What I learned
TODO Check every pin of the programming header against the datasheet before sending files to fab. I was still satisfied with the effort, and it showed me I could take the same design process one step further, which led to my [astrophotography management board](/projects/astrophotography-pcb/).
+1 -2
View File
@@ -2,11 +2,10 @@
title: YellowBird title: YellowBird
summary: "An unfinished clone of Atom Finance, started when the original shut down, with a lot of hand-drawn design work." summary: "An unfinished clone of Atom Finance, started when the original shut down, with a lot of hand-drawn design work."
domain: systems domain: systems
domainLabel: "DATA · WEB"
when: "UNFINISHED" when: "UNFINISHED"
whenLabel: STATUS whenLabel: STATUS
order: 11 order: 11
draft: true status: draft
tech: [] tech: []
--- ---
YellowBird was meant to be my own version of Atom Finance after it shut down. I never finished it, but the repository holds a lot of hand-drawn figures and ideas. YellowBird was meant to be my own version of Atom Finance after it shut down. I never finished it, but the repository holds a lot of hand-drawn figures and ideas.
+2
View File
@@ -79,6 +79,8 @@ export const skills: {
}, },
]; ];
export const domainLabel = (d: Domain) => domains.find((x) => x.domain === d)!.label;
export const domains: { domain: Domain; label: string }[] = [ export const domains: { domain: Domain; label: string }[] = [
{ domain: "silicon", label: "Silicon" }, { domain: "silicon", label: "Silicon" },
{ domain: "hardware", label: "Hardware" }, { domain: "hardware", label: "Hardware" },
+6 -3
View File
@@ -4,6 +4,7 @@ import type { GetStaticPaths } from 'astro';
import Base from '../../layouts/Base.astro'; import Base from '../../layouts/Base.astro';
import Button from '../../components/Button.astro'; import Button from '../../components/Button.astro';
import Label from '../../components/Label.astro'; import Label from '../../components/Label.astro';
import { domainLabel } from '../../data/skills';
import { getProjects } from '../../utils/projects'; import { getProjects } from '../../utils/projects';
export const getStaticPaths = (async () => { export const getStaticPaths = (async () => {
@@ -23,14 +24,16 @@ const d = entry.data;
<article class="pt-10" data-domain={d.domain}> <article class="pt-10" data-domain={d.domain}>
<a class="font-mono text-[13px] text-muted hover:text-amber" href="/#projects">← ALL PROJECTS</a> <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> <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> <p class="text-[20px] text-body">{d.summary}</p>
<div class="my-7 flex flex-wrap gap-px border border-line bg-line"> <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>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>DOMAIN</Label><div class="mt-1.5 font-mono text-[14px] text-(color:--dc) uppercase">{domainLabel(d.domain)}</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> <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>} {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>
<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.status === 'stub' && <div class="mb-6 border border-amber px-5 py-3.5 font-mono text-[13px] text-amber">WRITEUP COMING SOON</div>}
{d.status === 'draft' && <div class="mb-6 border border-rose px-5 py-3.5 font-mono text-[13px] text-rose">DRAFT · NOT SHOWN ON THE PUBLISHED SITE</div>}
<div class="text-[17px] leading-relaxed 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 && ( d.links.length > 0 && (
<div class="mt-7 flex flex-wrap gap-3"> <div class="mt-7 flex flex-wrap gap-3">
+1 -1
View File
@@ -1,6 +1,6 @@
import { getCollection } from 'astro:content'; import { getCollection } from 'astro:content';
export async function getProjects() { export async function getProjects() {
const all = await getCollection('projects', ({ data }) => import.meta.env.DEV || !data.draft); const all = await getCollection('projects', ({ data }) => import.meta.env.DEV || data.status !== 'draft');
return all.sort((a, b) => a.data.order - b.data.order); return all.sort((a, b) => a.data.order - b.data.order);
} }