This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
---
|
||||
import { Image } from 'astro:assets';
|
||||
|
||||
const found = import.meta.glob<{ default: ImageMetadata }>('../assets/photos/*.{jpg,jpeg,png,webp,avif}', { eager: true });
|
||||
const photos = Object.entries(found)
|
||||
.sort(([a], [b]) => a.localeCompare(b))
|
||||
.slice(0, 3)
|
||||
.map(([path, mod]) => ({
|
||||
src: mod.default,
|
||||
caption: (path.split('/').pop() ?? '').replace(/\.[^.]+$/, '').replace(/[-_]+/g, ' ').toUpperCase(),
|
||||
}));
|
||||
const slots = [0, 1, 2].map((i) => photos[i] ?? null);
|
||||
---
|
||||
|
||||
<div class="captures">
|
||||
<figure class:list={['shot big', slots[0] ? 'photo' : 'empty']}>
|
||||
{slots[0] ? <Image src={slots[0].src} alt={slots[0].caption} widths={[640, 1000, 1400]} sizes="(max-width: 900px) 100vw, 700px" /> : null}
|
||||
<figcaption>{slots[0] ? slots[0].caption : '[PHOTO 1 · FEATURED]'}</figcaption>
|
||||
</figure>
|
||||
<div class="side">
|
||||
{
|
||||
[1, 2].map((i) => (
|
||||
<figure class:list={['shot', slots[i] ? 'photo' : 'empty']}>
|
||||
{slots[i] ? <Image src={slots[i]!.src} alt={slots[i]!.caption} widths={[400, 700]} sizes="(max-width: 900px) 100vw, 350px" /> : null}
|
||||
<figcaption>{slots[i] ? slots[i]!.caption : `[PHOTO ${i + 1}]`}</figcaption>
|
||||
</figure>
|
||||
))
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
import { skills } from '../data/skills';
|
||||
---
|
||||
|
||||
<aside class="channels" aria-labelledby="skills-h">
|
||||
<div class="label" id="skills-h">CHANNELS (SKILLS)</div>
|
||||
<div class="groups">
|
||||
{
|
||||
skills.map((g) => (
|
||||
<div data-domain={g.domain}>
|
||||
<div class="gname">{g.label}</div>
|
||||
<ul class="chips">{g.items.map((i) => <li>{i}</li>)}</ul>
|
||||
</div>
|
||||
))
|
||||
}
|
||||
</div>
|
||||
</aside>
|
||||
@@ -0,0 +1,18 @@
|
||||
---
|
||||
import { site } from '../data/site';
|
||||
const links = [
|
||||
{ label: site.email, href: `mailto:${site.email}` },
|
||||
site.github && { label: 'GitHub', href: site.github },
|
||||
site.linkedin && { label: 'LinkedIn', href: site.linkedin },
|
||||
site.gitea && { label: 'Gitea', href: site.gitea },
|
||||
site.resume && { label: 'Résumé (PDF)', href: site.resume },
|
||||
].filter(Boolean) as { label: string; href: string }[];
|
||||
---
|
||||
|
||||
<section class="contact" id="contact" aria-labelledby="contact-h">
|
||||
<div class="l">
|
||||
<div class="label amber">TRANSMIT</div>
|
||||
<div class="big" id="contact-h">Open for summer 2027.</div>
|
||||
</div>
|
||||
<ul>{links.map((l) => <li><a href={l.href}>{l.label}</a></li>)}</ul>
|
||||
</section>
|
||||
@@ -0,0 +1,23 @@
|
||||
---
|
||||
import { boardRows, boardLabel } from '../data/board';
|
||||
import { toCells } from '../utils/flap';
|
||||
|
||||
const rows = boardRows.map((r, i) => toCells(r, i));
|
||||
---
|
||||
|
||||
<div class="cabinet">
|
||||
<span class="screw"></span><span class="screw"></span><span class="screw"></span><span class="screw"></span>
|
||||
<div class="cabinet-head">
|
||||
<h1>DYLAN BENZI · WELCOME BOARD</h1>
|
||||
<span>ATL · NOW BOARDING</span>
|
||||
</div>
|
||||
<div class="board" role="img" aria-label={boardLabel}>
|
||||
{
|
||||
rows.map((row) => (
|
||||
<div class="fr" aria-hidden="true">
|
||||
{row.map((c) => <div class:list={['f', c.tone !== 'white' && c.tone]}>{c.ch}</div>)}
|
||||
</div>
|
||||
))
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
import { nav, site } from '../data/site';
|
||||
---
|
||||
|
||||
<nav class="nav" aria-label="Primary">
|
||||
<a class="brand" href="/"><i></i>DYLAN BENZI</a>
|
||||
{nav.map((n) => <a class="link" href={n.href}>{n.label}</a>)}
|
||||
<div class="coords">{site.location}</div>
|
||||
</nav>
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
import type { CollectionEntry } from 'astro:content';
|
||||
interface Props { project: CollectionEntry<'projects'>; index: number; }
|
||||
const { project, index } = Astro.props;
|
||||
const d = project.data;
|
||||
---
|
||||
|
||||
<li>
|
||||
<a class="strip" data-domain={d.domain} href={`/projects/${project.id}/`}>
|
||||
<div class="n">{String(index + 1).padStart(2, '0')}</div>
|
||||
<div class="main"><div class="name">{d.title}</div><div class="desc">{d.summary}</div></div>
|
||||
<div class="dom"><div class="label">DOMAIN</div><div class="val" style="color:var(--dc)">{d.domainLabel}</div></div>
|
||||
<div class="when"><div class="label">{d.whenLabel}</div><div class="val" style={d.whenLabel === 'STATUS' ? 'color:var(--amber)' : ''}>{d.when}</div></div>
|
||||
</a>
|
||||
</li>
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
interface Props { tag: string; title: string; }
|
||||
const { tag, title } = Astro.props;
|
||||
---
|
||||
|
||||
<div class="section-head">
|
||||
<div class="t"><span class="tag">{tag}</span><h2>{title}</h2></div>
|
||||
<slot />
|
||||
</div>
|
||||
@@ -0,0 +1,21 @@
|
||||
---
|
||||
import { experience } from '../data/experience';
|
||||
const dots = [14, 12, 10, 8, 6];
|
||||
const colors = ['var(--accent)', '#2f8f63', '#2a7355', '#25584a', '#1f4438'];
|
||||
---
|
||||
|
||||
<ol class="track">
|
||||
{
|
||||
experience.map((e, i) => {
|
||||
const s = dots[Math.min(i, dots.length - 1)];
|
||||
return (
|
||||
<li class:list={{ now: e.current }}>
|
||||
<span class="dot" style={`width:${s}px;height:${s}px;left:${-23 - s}px;background:${colors[Math.min(i, colors.length - 1)]}`} />
|
||||
<div class="dates">{e.dates}</div>
|
||||
<div class="what">{e.title}</div>
|
||||
<div class="text">{e.text}</div>
|
||||
</li>
|
||||
);
|
||||
})
|
||||
}
|
||||
</ol>
|
||||
@@ -0,0 +1,20 @@
|
||||
import { defineCollection } from 'astro:content';
|
||||
import { glob } from 'astro/loaders';
|
||||
import { z } from 'astro/zod';
|
||||
|
||||
const projects = defineCollection({
|
||||
loader: glob({ pattern: '**/*.md', base: './src/content/projects' }),
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
summary: z.string(),
|
||||
domain: z.enum(['hardware', 'rf', 'silicon', 'systems']),
|
||||
domainLabel: z.string(), // e.g. "HARDWARE · PCB"
|
||||
when: z.string(), // e.g. "NOV 24 – FEB 25"
|
||||
whenLabel: z.enum(['WHEN', 'STATUS']).default('WHEN'),
|
||||
order: z.number(),
|
||||
tech: z.array(z.string()).default([]),
|
||||
links: z.array(z.object({ label: z.string(), href: z.string().url() })).default([]),
|
||||
}),
|
||||
});
|
||||
|
||||
export const collections = { projects };
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
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."
|
||||
domain: hardware
|
||||
domainLabel: "HARDWARE · PCB"
|
||||
when: "NOV 24 – FEB 25"
|
||||
order: 1
|
||||
tech: [STM32, KiCad, MOSFET switching, PWM, USB 3.0]
|
||||
---
|
||||
A custom board for managing power and devices on an astrophotography setup.
|
||||
|
||||
## What it does
|
||||
|
||||
- Switches power to each connected device with MOSFETs, controlled by an STM32 microcontroller.
|
||||
- Drives dew heaters with PWM so each heater can be held at the level the night calls for.
|
||||
- Includes a USB 3.0 hub for connecting peripherals.
|
||||
|
||||
## 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.
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
title: CMOS Inverter in TCAD
|
||||
summary: "A Hackerfab process rebuilt as Silvaco DeckBuild scripts, from process to device simulation."
|
||||
domain: silicon
|
||||
domainLabel: "SILICON"
|
||||
when: "COURSEWORK"
|
||||
order: 5
|
||||
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.
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
title: Design Verification Onboarding
|
||||
summary: "A testbench and CPU RTL, built to learn the verification flow end to end."
|
||||
domain: silicon
|
||||
domainLabel: "SILICON"
|
||||
when: "FALL 2026"
|
||||
order: 4
|
||||
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.
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
title: Disolv
|
||||
summary: "A biodegradable solid-state battery company started in high school, with Dylan as CEO."
|
||||
domain: hardware
|
||||
domainLabel: "HARDWARE · ENERGY"
|
||||
when: "STARTUP"
|
||||
order: 8
|
||||
tech: [Solid-state batteries, Biodegradable materials]
|
||||
---
|
||||
A startup I founded in high school around biodegradable solid-state batteries. I served as CEO.
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
title: Flight Radar Display
|
||||
summary: "Live aircraft on an LED matrix, from a 1090 MHz antenna into a Raspberry Pi."
|
||||
domain: rf
|
||||
domainLabel: "RF · EMBEDDED"
|
||||
when: "IN PROGRESS"
|
||||
whenLabel: STATUS
|
||||
order: 3
|
||||
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.
|
||||
|
||||
**Status:** in progress, due mid-November.
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
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."
|
||||
domain: systems
|
||||
domainLabel: "DATA · WEB"
|
||||
when: "MAR 25 – MAY 26"
|
||||
order: 7
|
||||
tech: [R Shiny, PostgreSQL, PostGIS, Leaflet]
|
||||
links:
|
||||
- label: Live app
|
||||
href: https://hurricane.dylanbenzi.com
|
||||
---
|
||||
A full-stack geospatial web app for exploring hurricane impact research data.
|
||||
|
||||
## What it does
|
||||
|
||||
- Serves 700+ storms of in-house research data from PostgreSQL with PostGIS.
|
||||
- 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.
|
||||
@@ -0,0 +1,18 @@
|
||||
---
|
||||
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."
|
||||
domain: hardware
|
||||
domainLabel: "HARDWARE · FIRMWARE"
|
||||
when: "JAN – MAY 2026"
|
||||
order: 2
|
||||
tech: [Arduino, AVR assembly, Bare-metal firmware]
|
||||
---
|
||||
A physical take on the cooperative bomb-defusal game *Keep Talking and Nobody Explodes*, running on an Arduino.
|
||||
|
||||
## What it does
|
||||
|
||||
The game is written in AVR assembly: more than 2000 lines of it, written by hand.
|
||||
|
||||
## What I learned
|
||||
|
||||
Working close to the hardware, and structuring a large assembly program so it stays maintainable.
|
||||
@@ -0,0 +1,22 @@
|
||||
---
|
||||
title: Self-Hosted Infrastructure
|
||||
summary: "A Proxmox server with multiple networks, VMs and containers, SSO and GPU passthrough, reached through Cloudflare and Tailscale."
|
||||
domain: systems
|
||||
domainLabel: "SYSTEMS"
|
||||
when: "SINCE 2020"
|
||||
order: 6
|
||||
tech: [Proxmox, Docker, Tailscale, Cloudflare, SSO, GPU passthrough]
|
||||
links:
|
||||
- label: Gitea
|
||||
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.
|
||||
|
||||
## What is in it
|
||||
|
||||
- Proxmox with multiple networks, and a mix of VMs and containers.
|
||||
- Single sign-on across services.
|
||||
- GPU passthrough to a VM.
|
||||
- Remote access through Cloudflare and Tailscale.
|
||||
|
||||
This site is deployed by pushing to Gitea, where a runner builds it and publishes it to the server.
|
||||
@@ -0,0 +1,16 @@
|
||||
import type { BoardRow } from '../utils/flap';
|
||||
|
||||
// 24 columns max per row. Eight rows.
|
||||
export const boardRows: BoardRow[] = [
|
||||
["HI, I'M ", { text: 'DYLAN BENZI', tone: 'amber' }, '.'],
|
||||
['GEORGIA TECH COMPUTER'],
|
||||
['ENGINEERING STUDENT,'],
|
||||
['CLASS OF ', { text: '2028', tone: 'amber' }, '. I DESIGN'],
|
||||
['PCBS, WRITE BARE-METAL'],
|
||||
['FIRMWARE, AND RUN MY'],
|
||||
['OWN SERVER STACK.'],
|
||||
[{ text: 'SEEKING HW INTERN 2027', tone: 'amber' }],
|
||||
];
|
||||
|
||||
export const boardLabel =
|
||||
"Hi, I'm Dylan Benzi, a Georgia Tech computer engineering student, class of 2028. I design PCBs, write bare-metal firmware, and run my own server stack. Seeking a hardware internship in 2027.";
|
||||
@@ -0,0 +1,36 @@
|
||||
export interface Entry {
|
||||
dates: string;
|
||||
title: string;
|
||||
text: string;
|
||||
current?: boolean;
|
||||
}
|
||||
|
||||
// Newest first.
|
||||
export const experience: Entry[] = [
|
||||
{
|
||||
dates: 'AUG 2026 → NOW · EXPECTED 2028',
|
||||
title: 'Georgia Tech, B.S. Computer Engineering',
|
||||
text: 'SiliconJackets and Nanotechnology and Photonics. Currently in Digital System Design.',
|
||||
current: true,
|
||||
},
|
||||
{
|
||||
dates: 'JUL 2025 – MAY 2026',
|
||||
title: 'Market and Data Analysis Intern, TVEyes',
|
||||
text: 'Built a multi-factor customer tiering in R, used to prioritize 1,000+ accounts.',
|
||||
},
|
||||
{
|
||||
dates: 'MAR 2025 – MAY 2026',
|
||||
title: 'Undergraduate Research Assistant, FGCU',
|
||||
text: 'Hurricane impacts research with Dr. Joanne Muller. Normalized 100+ years of storm costs and co-authored three published papers.',
|
||||
},
|
||||
{
|
||||
dates: 'JUN 2024 – MAY 2026',
|
||||
title: 'Florida Gulf Coast University',
|
||||
text: 'B.S. Software Engineering, GPA 3.92, then transferred to Georgia Tech.',
|
||||
},
|
||||
{
|
||||
dates: 'JUL 2023 → NOW',
|
||||
title: 'Co-Founder and Partner, Okami Capital',
|
||||
text: 'An alternative investment company for early to mid-stage private companies. Raised $700K+ from investors.',
|
||||
},
|
||||
];
|
||||
@@ -0,0 +1,27 @@
|
||||
export const site = {
|
||||
name: 'Dylan Benzi',
|
||||
title: 'Dylan Benzi — Computer Engineering, Georgia Tech',
|
||||
description:
|
||||
'Georgia Tech computer engineering student (class of 2028) who designs PCBs, writes bare-metal firmware and runs a self-hosted server stack. Seeking a hardware internship for summer 2027.',
|
||||
email: '[email protected]',
|
||||
location: 'ATL · 33.75°N 84.39°W',
|
||||
// Fill these in to show them. Anything left undefined is not rendered.
|
||||
github: undefined as string | undefined,
|
||||
linkedin: undefined as string | undefined,
|
||||
gitea: 'https://gitea.dylanbenzi.com/dylan',
|
||||
// Put a public résumé (no phone or street address) in /public and set e.g. '/dylan-benzi-resume.pdf'.
|
||||
resume: undefined as string | undefined,
|
||||
nowTracking: 'Flight Radar Display, due mid-November',
|
||||
readouts: [
|
||||
{ label: 'SCHOOL', value: 'Georgia Tech, CpE · 2028', amber: false },
|
||||
{ label: 'FOCUS', value: 'Embedded · PCB design · digital systems', amber: false },
|
||||
{ label: 'SEEKING', value: 'Hardware internship, summer 2027', amber: true },
|
||||
],
|
||||
};
|
||||
|
||||
export const nav = [
|
||||
{ label: 'Projects', href: '/#projects' },
|
||||
{ label: 'Experience', href: '/#history' },
|
||||
{ label: 'Photography', href: '/#captures' },
|
||||
{ label: 'Contact', href: '/#contact' },
|
||||
];
|
||||
@@ -0,0 +1,23 @@
|
||||
export type Domain = 'hardware' | 'rf' | 'silicon' | 'systems';
|
||||
|
||||
export const skills: { domain: Domain; label: string; items: string[] }[] = [
|
||||
{
|
||||
domain: 'hardware',
|
||||
label: 'HARDWARE',
|
||||
items: ['STM32', 'ESP32', 'Raspberry Pi', 'Multilayer PCB layout', 'KiCad', 'Fusion 360', 'SMD soldering', 'I2C · SPI · UART'],
|
||||
},
|
||||
{ domain: 'rf', label: 'RF', items: ['1090 MHz reception'] },
|
||||
{ domain: 'silicon', label: 'SILICON', items: ['Silvaco TCAD', 'RTL', 'Verification', 'AVR assembly'] },
|
||||
{
|
||||
domain: 'systems',
|
||||
label: 'SYSTEMS & CODE',
|
||||
items: ['C / C++', 'Python', 'R', 'SQL / PostGIS', 'TypeScript', 'Linux', 'Proxmox', 'Docker', 'Git'],
|
||||
},
|
||||
];
|
||||
|
||||
export const domains: { domain: Domain; label: string }[] = [
|
||||
{ domain: 'rf', label: 'RF' },
|
||||
{ domain: 'silicon', label: 'Silicon' },
|
||||
{ domain: 'hardware', label: 'Hardware' },
|
||||
{ domain: 'systems', label: 'Systems & data' },
|
||||
];
|
||||
@@ -0,0 +1,45 @@
|
||||
---
|
||||
import '@fontsource-variable/space-grotesk';
|
||||
import '@fontsource-variable/jetbrains-mono';
|
||||
import '../styles/global.css';
|
||||
import Nav from '../components/Nav.astro';
|
||||
import { site } from '../data/site';
|
||||
|
||||
interface Props {
|
||||
title?: string;
|
||||
description?: string;
|
||||
}
|
||||
const { title = site.title, description = site.description } = Astro.props;
|
||||
const canonical = new URL(Astro.url.pathname, Astro.site);
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>{title}</title>
|
||||
<meta name="description" content={description} />
|
||||
<meta name="theme-color" content="#0A0F0D" />
|
||||
<link rel="canonical" href={canonical} />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link rel="sitemap" href="/sitemap-index.xml" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content={title} />
|
||||
<meta property="og:description" content={description} />
|
||||
<meta property="og:url" content={canonical} />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
</head>
|
||||
<body>
|
||||
<a class="skip" href="#main">Skip to content</a>
|
||||
<div class="wrap">
|
||||
<Nav />
|
||||
<main id="main">
|
||||
<slot />
|
||||
</main>
|
||||
<footer class="foot">
|
||||
© {new Date().getFullYear()} Dylan Benzi · Built with Astro, self-hosted
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
import Base from '../layouts/Base.astro';
|
||||
---
|
||||
|
||||
<Base title="Signal lost — Dylan Benzi">
|
||||
<div class="nf">
|
||||
<div class="label amber">ERR 404</div>
|
||||
<h1>Signal lost.</h1>
|
||||
<p>That page is not on the board.</p>
|
||||
<a class="btn primary" href="/">Back to the board</a>
|
||||
</div>
|
||||
</Base>
|
||||
+63
-7
@@ -1,11 +1,67 @@
|
||||
---
|
||||
import Welcome from '../components/Welcome.astro';
|
||||
import Layout from '../layouts/Layout.astro';
|
||||
import { getCollection } from 'astro:content';
|
||||
import Base from '../layouts/Base.astro';
|
||||
import FlapBoard from '../components/FlapBoard.astro';
|
||||
import SectionHeader from '../components/SectionHeader.astro';
|
||||
import ProjectStrip from '../components/ProjectStrip.astro';
|
||||
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 { site } from '../data/site';
|
||||
import { domains } from '../data/skills';
|
||||
|
||||
// Welcome to Astro! Wondering what to do next? Check out the Astro documentation at https://docs.astro.build
|
||||
// Don't want to use any of this? Delete everything in this file, the `assets`, `components`, and `layouts` directories, and start fresh.
|
||||
const projects = (await getCollection('projects')).sort((a, b) => a.data.order - b.data.order);
|
||||
---
|
||||
|
||||
<Layout>
|
||||
<Welcome />
|
||||
</Layout>
|
||||
<Base>
|
||||
<section class="hero">
|
||||
<FlapBoard />
|
||||
<div class="readouts">
|
||||
{
|
||||
site.readouts.map((r) => (
|
||||
<div>
|
||||
<div class:list={['label', r.amber && 'amber']}>{r.label}</div>
|
||||
<div class="value">{r.value}</div>
|
||||
</div>
|
||||
))
|
||||
}
|
||||
</div>
|
||||
<div class="actions">
|
||||
<div class="btns">
|
||||
<a class="btn primary" href="#projects">See projects</a>
|
||||
<a class="btn" href={site.resume ?? '#contact'}>{site.resume ? 'Résumé (PDF)' : 'Contact'}</a>
|
||||
</div>
|
||||
<div class="tracking"><b>NOW TRACKING</b>{site.nowTracking}</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section" id="projects" aria-labelledby="projects-h">
|
||||
<div class="section-head">
|
||||
<div class="t"><span class="tag">RNG 1</span><h2 id="projects-h">Projects</h2></div>
|
||||
</div>
|
||||
<ul class="legend">
|
||||
{domains.map((d) => <li data-domain={d.domain}><i></i>{d.label}</li>)}
|
||||
</ul>
|
||||
<ul class="strips">
|
||||
{projects.map((p, i) => <ProjectStrip project={p} index={i} />)}
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section class="section" id="history" aria-labelledby="history-h">
|
||||
<div class="cols">
|
||||
<div class="hist">
|
||||
<div class="section-head" style="margin-bottom:28px"><div class="t"><span class="tag">RNG 2</span><h2 id="history-h">Track history</h2></div></div>
|
||||
<Timeline />
|
||||
</div>
|
||||
<Channels />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section" id="captures" aria-labelledby="captures-h">
|
||||
<SectionHeader tag="RNG 3" title="Captures" />
|
||||
<Captures />
|
||||
</section>
|
||||
|
||||
<ContactPanel />
|
||||
</Base>
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
---
|
||||
import { getCollection, render } from 'astro:content';
|
||||
import type { GetStaticPaths } from 'astro';
|
||||
import Base from '../../layouts/Base.astro';
|
||||
|
||||
export const getStaticPaths = (async () => {
|
||||
const all = (await getCollection('projects')).sort((a, b) => a.data.order - b.data.order);
|
||||
return all.map((entry, i) => ({
|
||||
params: { slug: entry.id },
|
||||
props: { entry, prev: all[i - 1], next: all[i + 1], n: i + 1 },
|
||||
}));
|
||||
}) satisfies GetStaticPaths;
|
||||
|
||||
const { entry, prev, next, n } = Astro.props;
|
||||
const { Content } = await render(entry);
|
||||
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>}
|
||||
</div>
|
||||
<div class="prose"><Content /></div>
|
||||
{
|
||||
d.links.length > 0 && (
|
||||
<div class="links">
|
||||
{d.links.map((l) => <a class="btn" href={l.href}>{l.label} ↗</a>)}
|
||||
</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>
|
||||
</article>
|
||||
</Base>
|
||||
@@ -0,0 +1,182 @@
|
||||
:root {
|
||||
--bg: #0a0f0d;
|
||||
--panel: #101915;
|
||||
--panel-2: #0f1814;
|
||||
--line: #25382f;
|
||||
--line-2: #3b5a4b;
|
||||
--text: #d8e6de;
|
||||
--body: #b4c6bc;
|
||||
--muted: #9db3a7;
|
||||
--accent: #5cf2a0;
|
||||
--amber: #ffb547;
|
||||
--cyan: #5ccbff;
|
||||
--rose: #ff7a9c;
|
||||
--green: #5cf2a0;
|
||||
--flap: #f4f1e8;
|
||||
--sans: 'Space Grotesk Variable', system-ui, sans-serif;
|
||||
--mono: 'JetBrains Mono Variable', ui-monospace, monospace;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
|
||||
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
|
||||
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.5; }
|
||||
a { color: inherit; }
|
||||
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
|
||||
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
|
||||
.mono { font-family: var(--mono); }
|
||||
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--bg); padding: 10px 14px; font-family: var(--mono); z-index: 10; }
|
||||
.skip:focus { left: 8px; top: 8px; }
|
||||
|
||||
[data-domain='hardware'] { --dc: var(--amber); }
|
||||
[data-domain='rf'] { --dc: var(--cyan); }
|
||||
[data-domain='silicon'] { --dc: var(--rose); }
|
||||
[data-domain='systems'] { --dc: var(--green); }
|
||||
|
||||
/* nav */
|
||||
.nav { display: flex; flex-wrap: wrap; gap: 1px; background: #1f2e27; border: 1px solid #1f2e27; border-top: none; font-family: var(--mono); font-size: 13px; }
|
||||
.nav > * { background: var(--bg); padding: 15px 18px; text-decoration: none; color: var(--muted); }
|
||||
.nav a:hover { background: #14201b; color: var(--amber); }
|
||||
.nav .brand { flex: 1 1 200px; color: var(--accent); display: flex; align-items: center; gap: 10px; }
|
||||
.nav .brand i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
|
||||
.nav .link { flex: 0 1 130px; }
|
||||
.nav .coords { flex: 2 1 220px; }
|
||||
|
||||
/* hero */
|
||||
.hero { padding: 40px 0 0; }
|
||||
.cabinet { position: relative; background: #050807; border: 2px solid var(--line-2); padding: 20px 24px 24px; }
|
||||
.cabinet .screw { position: absolute; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--line-2); }
|
||||
.cabinet .screw:nth-child(1) { top: 8px; left: 8px; }
|
||||
.cabinet .screw:nth-child(2) { top: 8px; right: 8px; }
|
||||
.cabinet .screw:nth-child(3) { bottom: 8px; left: 8px; }
|
||||
.cabinet .screw:nth-child(4) { bottom: 8px; right: 8px; }
|
||||
.cabinet-head { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; margin: 0 0 16px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
|
||||
.cabinet-head h1 { margin: 0; font-size: inherit; font-weight: 400; letter-spacing: inherit; }
|
||||
.board { container-type: inline-size; display: flex; flex-direction: column; gap: 6px; }
|
||||
.fr { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 4px; }
|
||||
.f {
|
||||
position: relative; display: flex; align-items: center; justify-content: center;
|
||||
aspect-ratio: 0.68; border-radius: 3px; background: linear-gradient(#1a241f 50%, #131b17 50%);
|
||||
font-family: var(--mono); font-weight: 700; font-size: 16px; font-size: calc(100cqw / 24 * 0.95);
|
||||
line-height: 1; color: var(--flap);
|
||||
}
|
||||
.f::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: #040706; }
|
||||
.f.amber { color: var(--amber); }
|
||||
.f.muted { color: var(--muted); }
|
||||
.f.cyan { color: var(--cyan); }
|
||||
.f.rose { color: var(--rose); }
|
||||
.f.green { color: var(--green); }
|
||||
@media (max-width: 640px) {
|
||||
.wrap { padding: 0 16px; }
|
||||
.cabinet { padding: 16px 14px 18px; }
|
||||
.fr { gap: 2px; }
|
||||
.board { gap: 4px; }
|
||||
.f { aspect-ratio: 0.4; font-size: calc(100cqw / 24 * 1.3); }
|
||||
}
|
||||
|
||||
.readouts { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); margin-top: 16px; }
|
||||
.readouts > div { flex: 1 1 220px; background: var(--panel-2); padding: 14px 20px; }
|
||||
.label { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }
|
||||
.label.amber { color: var(--amber); }
|
||||
.readouts .value { margin-top: 6px; font-size: 18px; font-weight: 500; }
|
||||
|
||||
.actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-top: 16px; }
|
||||
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
|
||||
.btn { font-family: var(--mono); font-size: 14px; text-decoration: none; padding: 14px 20px; border: 1px solid var(--line-2); background: var(--bg); }
|
||||
.btn.primary { border-color: var(--accent); background: var(--accent); color: var(--bg); font-weight: 500; }
|
||||
.btn:hover { background: var(--amber); border-color: var(--amber); color: var(--bg); }
|
||||
.tracking { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 12px 16px; border: 1px solid #5a4318; background: #1a150a; font-size: 15px; color: #eadbc0; }
|
||||
.tracking b { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--amber); }
|
||||
|
||||
/* sections */
|
||||
.section { padding: 72px 0 0; }
|
||||
.section-head { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
|
||||
.section-head .t { display: flex; align-items: center; gap: 16px; }
|
||||
.tag { font-family: var(--mono); font-size: 12px; padding: 5px 9px; border: 1px solid var(--accent); color: var(--accent); }
|
||||
h2 { margin: 0; font-size: 36px; font-weight: 600; letter-spacing: -0.02em; }
|
||||
@media (max-width: 640px) { h2 { font-size: 28px; } }
|
||||
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 0 0 24px; padding: 0; list-style: none; }
|
||||
.legend li { display: flex; align-items: center; gap: 8px; }
|
||||
.legend i { width: 10px; height: 10px; background: var(--dc); }
|
||||
|
||||
/* project strips */
|
||||
.strips { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
|
||||
.strip { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); border-left: 8px solid var(--dc); text-decoration: none; }
|
||||
.strip > div { background: var(--panel); padding: 18px 20px; }
|
||||
.strip:hover > div { background: #14201b; }
|
||||
.strip .n { flex: 0 0 72px; padding: 18px 0; text-align: center; font-family: var(--mono); font-size: 22px; color: var(--dc); }
|
||||
.strip .main { flex: 1 1 320px; min-width: 0; padding: 18px 22px; }
|
||||
.strip .name { font-size: 24px; font-weight: 600; }
|
||||
.strip .desc { margin-top: 6px; font-size: 16px; color: var(--body); }
|
||||
.strip .dom { flex: 1 1 150px; }
|
||||
.strip .when { flex: 1 1 130px; }
|
||||
.strip .val { margin-top: 6px; font-family: var(--mono); font-size: 14px; }
|
||||
@media (max-width: 640px) { .strip .name { font-size: 21px; } }
|
||||
|
||||
/* history */
|
||||
.cols { display: flex; flex-wrap: wrap; gap: 40px; }
|
||||
.cols > .hist { flex: 1.3 1 420px; min-width: 0; }
|
||||
.track { border-left: 2px dashed var(--line-2); margin: 0 0 0 6px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
|
||||
.track li { position: relative; margin-left: 28px; border: 1px solid var(--line); background: var(--panel); padding: 16px 20px; }
|
||||
.track li.now { border-color: var(--line-2); }
|
||||
.track .dot { position: absolute; top: 20px; border-radius: 50%; }
|
||||
.track .dates { font-family: var(--mono); font-size: 12px; color: var(--muted); }
|
||||
.track .now .dates { color: var(--accent); }
|
||||
.track .what { margin-top: 6px; font-size: 20px; font-weight: 600; }
|
||||
.track .text { margin-top: 6px; color: var(--body); }
|
||||
.channels { flex: 1 1 320px; min-width: 0; align-self: flex-start; border: 1px solid var(--line-2); background: var(--panel-2); padding: 28px; }
|
||||
.channels .groups { display: flex; flex-direction: column; gap: 22px; margin-top: 20px; }
|
||||
.channels .gname { font-family: var(--mono); font-size: 13px; color: var(--dc); margin-bottom: 10px; }
|
||||
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
|
||||
.chips li { padding: 6px 12px; border: 1px solid var(--dc); }
|
||||
|
||||
/* captures */
|
||||
.captures { display: flex; flex-wrap: wrap; gap: 12px; }
|
||||
.captures .big { flex: 2 1 360px; min-width: 0; height: 372px; }
|
||||
.captures .side { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
|
||||
.captures .side .shot { height: 180px; }
|
||||
.shot { position: relative; margin: 0; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
|
||||
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
|
||||
.shot figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 18px 20px 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
|
||||
.shot.photo figcaption { background: linear-gradient(transparent, rgba(5, 8, 7, 0.85)); color: var(--text); }
|
||||
.shot.empty::before, .shot.empty::after { content: ''; position: absolute; width: 22px; height: 22px; border: 0 solid var(--accent); }
|
||||
.shot.empty::before { top: 10px; left: 10px; border-top-width: 2px; border-left-width: 2px; }
|
||||
.shot.empty::after { bottom: 10px; right: 10px; border-bottom-width: 2px; border-right-width: 2px; }
|
||||
@media (max-width: 640px) { .captures .big { height: 260px; } }
|
||||
|
||||
/* contact */
|
||||
.contact { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; margin: 72px 0 56px; padding: 40px 36px; border: 1px solid var(--line-2); background: var(--panel-2); }
|
||||
.contact .l { flex: 1 1 300px; }
|
||||
.contact .big { margin-top: 10px; font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
|
||||
.contact ul { flex: 1 1 260px; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 15px; color: var(--accent); }
|
||||
.contact a { display: inline-block; padding: 8px 0; }
|
||||
.contact a:hover { color: var(--amber); }
|
||||
@media (max-width: 640px) { .contact { padding: 28px 20px; } .contact .big { font-size: 28px; } }
|
||||
|
||||
footer.foot { border-top: 1px solid var(--line); padding: 20px 0 32px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
|
||||
|
||||
/* project detail */
|
||||
.detail { padding: 40px 0 0; }
|
||||
.crumb { font-family: var(--mono); font-size: 13px; color: var(--muted); text-decoration: none; }
|
||||
.crumb:hover { color: var(--amber); }
|
||||
.detail h1 { margin: 20px 0 12px; font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; border-left: 8px solid var(--dc); padding-left: 18px; }
|
||||
@media (max-width: 640px) { .detail h1 { font-size: 30px; } }
|
||||
.detail .lead { font-size: 20px; color: var(--body); max-width: 60ch; }
|
||||
.meta { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 28px 0; }
|
||||
.meta > div { flex: 1 1 160px; background: var(--panel); padding: 14px 20px; }
|
||||
.meta .val { margin-top: 6px; font-family: var(--mono); font-size: 14px; }
|
||||
.prose { max-width: 68ch; font-size: 17px; color: var(--body); }
|
||||
.prose h2 { font-size: 24px; color: var(--text); margin: 32px 0 10px; }
|
||||
.prose a { color: var(--accent); }
|
||||
.prose li { margin: 4px 0; }
|
||||
.links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
|
||||
.pager { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin: 56px 0; font-family: var(--mono); font-size: 14px; }
|
||||
.pager a { padding: 14px 20px; border: 1px solid var(--line-2); text-decoration: none; }
|
||||
.pager a:hover { background: var(--amber); border-color: var(--amber); color: var(--bg); }
|
||||
.nf { padding: 96px 0; }
|
||||
.nf h1 { font-size: 56px; margin: 12px 0; }
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.nav .brand, .nav .coords { flex: 1 1 100%; }
|
||||
.nav .link { flex: 1 1 auto; text-align: center; }
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
export const COLS = 24;
|
||||
|
||||
export type Tone = 'amber' | 'white' | 'muted' | 'cyan' | 'rose' | 'green';
|
||||
export type Segment = string | { text: string; tone?: Tone };
|
||||
export type BoardRow = Segment[];
|
||||
export interface Cell {
|
||||
ch: string;
|
||||
tone: Tone;
|
||||
}
|
||||
|
||||
/** Flatten a row of text segments into exactly COLS tiles. Throws if the row is too long. */
|
||||
export function toCells(row: BoardRow, rowIndex: number): Cell[] {
|
||||
const cells: Cell[] = [];
|
||||
for (const seg of row) {
|
||||
const text = typeof seg === 'string' ? seg : seg.text;
|
||||
const tone: Tone = typeof seg === 'string' ? 'white' : (seg.tone ?? 'white');
|
||||
for (const ch of text.toUpperCase()) cells.push({ ch, tone });
|
||||
}
|
||||
if (cells.length > COLS) {
|
||||
throw new Error(`Board row ${rowIndex + 1} has ${cells.length} characters; the maximum is ${COLS}.`);
|
||||
}
|
||||
while (cells.length < COLS) cells.push({ ch: ' ', tone: 'white' });
|
||||
return cells.map((c) => ({ ...c, ch: c.ch === ' ' ? ' ' : c.ch }));
|
||||
}
|
||||
Reference in New Issue
Block a user