add additional projects as drafts
This commit is contained in:
@@ -12,6 +12,7 @@ const projects = defineCollection({
|
||||
when: z.string(), // e.g. "NOV 24 – FEB 25"
|
||||
whenLabel: z.enum(['WHEN', 'STATUS']).default('WHEN'),
|
||||
order: z.number(),
|
||||
draft: z.boolean().default(false),
|
||||
tech: z.array(z.string()).default([]),
|
||||
links: z.array(z.object({ label: z.string(), href: z.string().url() })).default([]),
|
||||
}),
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
---
|
||||
title: Apple Poster
|
||||
summary: "A poster of Steve Jobs's Stanford commencement speech with an Apple highlighted in the center, hanging in my office."
|
||||
domain: systems
|
||||
domainLabel: "DESIGN"
|
||||
when: "TBD"
|
||||
order: 14
|
||||
draft: true
|
||||
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.
|
||||
|
||||
## The poster
|
||||
|
||||
TODO: photo of the poster, the tools used, and a link to the source file for download.
|
||||
|
||||
## How I made it
|
||||
|
||||
TODO
|
||||
|
||||
## Download
|
||||
|
||||
TODO
|
||||
@@ -0,0 +1,23 @@
|
||||
---
|
||||
title: Nanotech Club Deliverables
|
||||
summary: "Deliverables for the nanotechnology club, collected in the naps-deliverable repositories."
|
||||
domain: silicon
|
||||
domainLabel: "SILICON · NANOTECH"
|
||||
when: "TBD"
|
||||
order: 10
|
||||
draft: true
|
||||
tech: []
|
||||
---
|
||||
A set of club deliverables, each in its own public repository named naps-deliverable-XX on my Gitea.
|
||||
|
||||
## What it covers
|
||||
|
||||
TODO: list each deliverable with a one-line description and a link.
|
||||
|
||||
## Deliverables
|
||||
|
||||
TODO
|
||||
|
||||
## What I learned
|
||||
|
||||
TODO
|
||||
@@ -0,0 +1,27 @@
|
||||
---
|
||||
title: Pacmen
|
||||
summary: "A Pac-Man clone written in C++ with SFML, for our group's final project in a C++ class."
|
||||
domain: systems
|
||||
domainLabel: "SYSTEMS · GAME"
|
||||
when: "COURSEWORK"
|
||||
order: 12
|
||||
draft: true
|
||||
tech: [C++, SFML]
|
||||
---
|
||||
A Pac-Man clone for the final project of a C++ programming class, built with my group, the Pacmen, using SFML.
|
||||
|
||||
## What it does
|
||||
|
||||
TODO: game loop, ghost behavior, who built what.
|
||||
|
||||
## How it works
|
||||
|
||||
TODO
|
||||
|
||||
## My part
|
||||
|
||||
TODO
|
||||
|
||||
## What I learned
|
||||
|
||||
TODO
|
||||
@@ -0,0 +1,27 @@
|
||||
---
|
||||
title: Split-Flap Display
|
||||
summary: "A 3D-printed split-flap display, modified and built around an ESP32 with a daughterboard in every cell."
|
||||
domain: hardware
|
||||
domainLabel: "HARDWARE · EMBEDDED"
|
||||
when: "TBD"
|
||||
order: 8
|
||||
draft: true
|
||||
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.
|
||||
|
||||
## What it does
|
||||
|
||||
TODO: I2C addressing (one address set per daughterboard), ESP32 firmware, the mechanical modifications.
|
||||
|
||||
## How it works
|
||||
|
||||
TODO
|
||||
|
||||
## What I changed
|
||||
|
||||
TODO
|
||||
|
||||
## What I learned
|
||||
|
||||
TODO
|
||||
@@ -0,0 +1,23 @@
|
||||
---
|
||||
title: Terminal Trainers
|
||||
summary: "A randomized Pokémon-catching game for the terminal, my first C++ final project."
|
||||
domain: systems
|
||||
domainLabel: "SYSTEMS · GAME"
|
||||
when: "COURSEWORK"
|
||||
order: 13
|
||||
draft: true
|
||||
tech: [C++]
|
||||
---
|
||||
A simple, randomized Pokémon catcher that runs in the terminal, built as the final project for my first C++ programming class.
|
||||
|
||||
## What it does
|
||||
|
||||
TODO: game mechanics and how the randomization works.
|
||||
|
||||
## How it works
|
||||
|
||||
TODO
|
||||
|
||||
## What I learned
|
||||
|
||||
TODO
|
||||
@@ -0,0 +1,28 @@
|
||||
---
|
||||
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."
|
||||
domain: hardware
|
||||
domainLabel: "HARDWARE · PCB"
|
||||
when: "UNFINISHED"
|
||||
whenLabel: STATUS
|
||||
order: 9
|
||||
draft: true
|
||||
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.
|
||||
|
||||
## What it does
|
||||
|
||||
TODO: the crossed flash pins that stopped the board from being finished, and what I would check next time.
|
||||
|
||||
## How it works
|
||||
|
||||
TODO
|
||||
|
||||
## What went wrong
|
||||
|
||||
TODO
|
||||
|
||||
## What I learned
|
||||
|
||||
TODO
|
||||
@@ -0,0 +1,28 @@
|
||||
---
|
||||
title: YellowBird
|
||||
summary: "An unfinished clone of Atom Finance, started when the original shut down, with a lot of hand-drawn design work."
|
||||
domain: systems
|
||||
domainLabel: "DATA · WEB"
|
||||
when: "UNFINISHED"
|
||||
whenLabel: STATUS
|
||||
order: 11
|
||||
draft: true
|
||||
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.
|
||||
|
||||
## What it was meant to do
|
||||
|
||||
TODO: the planned feature set, scans of the hand-drawn figures, and the tech stack.
|
||||
|
||||
## The design work
|
||||
|
||||
TODO
|
||||
|
||||
## Why it stalled
|
||||
|
||||
TODO
|
||||
|
||||
## What I learned
|
||||
|
||||
TODO
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
import { getCollection } from 'astro:content';
|
||||
import Base from '../layouts/Base.astro';
|
||||
import FlapBoard from '../components/FlapBoard.astro';
|
||||
import SectionHeader from '../components/SectionHeader.astro';
|
||||
@@ -11,8 +10,9 @@ import ContactPanel from '../components/ContactPanel.astro';
|
||||
import Button from '../components/Button.astro';
|
||||
import { site } from '../data/site';
|
||||
import { domains } from '../data/skills';
|
||||
import { getProjects } from '../utils/projects';
|
||||
|
||||
const projects = (await getCollection('projects')).sort((a, b) => a.data.order - b.data.order);
|
||||
const projects = await getProjects();
|
||||
const max_projects = 5;
|
||||
const select_projects = projects.slice(0, projects.length > max_projects ? max_projects : projects.length);
|
||||
---
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
---
|
||||
import { getCollection, render } from 'astro:content';
|
||||
import { 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';
|
||||
import { getProjects } from '../../utils/projects';
|
||||
|
||||
export const getStaticPaths = (async () => {
|
||||
const all = (await getCollection('projects')).sort((a, b) => a.data.order - b.data.order);
|
||||
const all = await getProjects();
|
||||
return all.map((entry, i) => ({
|
||||
params: { slug: entry.id },
|
||||
props: { entry, prev: all[i - 1], next: all[i + 1], n: i + 1 },
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
import { getCollection } from 'astro:content';
|
||||
|
||||
export async function getProjects() {
|
||||
const all = await getCollection('projects', ({ data }) => import.meta.env.DEV || !data.draft);
|
||||
return all.sort((a, b) => a.data.order - b.data.order);
|
||||
}
|
||||
Reference in New Issue
Block a user