From 20063d8a253bfb56643393cc14c0528617b015a9 Mon Sep 17 00:00:00 2001 From: dylanbenzi Date: Sun, 1 Nov 2026 17:30:42 -0500 Subject: [PATCH] update linkedin, github, resume, projects --- src/components/SectionHeader.astro | 4 ++-- src/data/site.ts | 6 +++--- src/pages/index.astro | 7 ++++++- src/pages/projects.astro | 23 +++++++++++++++++++++++ 4 files changed, 34 insertions(+), 6 deletions(-) create mode 100644 src/pages/projects.astro diff --git a/src/components/SectionHeader.astro b/src/components/SectionHeader.astro index 45bdbe1..2576198 100644 --- a/src/components/SectionHeader.astro +++ b/src/components/SectionHeader.astro @@ -1,11 +1,11 @@ --- -interface Props { tag: string; title: string; } +interface Props { tag?: string; title: string; } const { tag, title } = Astro.props; ---
- {tag} + {tag && {tag}}

{title}

diff --git a/src/data/site.ts b/src/data/site.ts index 1496c6b..b9298c3 100644 --- a/src/data/site.ts +++ b/src/data/site.ts @@ -5,11 +5,11 @@ export const site = { "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: "dylan@benziventures.com", location: "ATL · 33.75°N 84.39°W", - github: undefined as string | undefined, - linkedin: "https://linkedin.com/in/dylanbenzi" as string | undefined, + github: "https://github.com/dylanbenzi" as string, + linkedin: "https://linkedin.com/in/dylanbenzi" as string, 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: "Dylan Benzi Resume.pdf" as string | undefined, + resume: "Dylan Benzi Resume.pdf" as string, nowTracking: "Flight Tracker Display", readouts: [ { label: "SCHOOL", value: "Georgia Tech, CpE · 2028", amber: false }, diff --git a/src/pages/index.astro b/src/pages/index.astro index e173e76..eec7010 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -13,6 +13,8 @@ import { site } from '../data/site'; import { domains } from '../data/skills'; const projects = (await getCollection('projects')).sort((a, b) => a.data.order - b.data.order); +const max_projects = 5; +const select_projects = projects.slice(0, projects.length > max_projects ? max_projects : projects.length); --- @@ -43,7 +45,10 @@ const projects = (await getCollection('projects')).sort((a, b) => a.data.order - {domains.map((d) =>
  • {d.label}
  • )}
      - {projects.map((p, i) => )} + {select_projects.map((p, i) => )} +
      + +
    diff --git a/src/pages/projects.astro b/src/pages/projects.astro new file mode 100644 index 0000000..6344fe3 --- /dev/null +++ b/src/pages/projects.astro @@ -0,0 +1,23 @@ +--- +import { getCollection } from "astro:content"; +import SectionHeader from "../components/SectionHeader.astro"; +import { site } from '../data/site'; +import { domains } from '../data/skills'; +import Button from "../components/Button.astro"; +import ProjectStrip from "../components/ProjectStrip.astro"; +import Base from "../layouts/Base.astro"; + +const projects = (await getCollection('projects')).sort((a, b) => a.data.order - b.data.order); +--- + + +
    + +
      + {domains.map((d) =>
    • {d.label}
    • )} +
    +
      + {projects.map((p, i) => )} +
    +
    +