update linkedin, github, resume, projects
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
---
|
||||
interface Props { tag: string; title: string; }
|
||||
interface Props { tag?: string; title: string; }
|
||||
const { tag, title } = Astro.props;
|
||||
---
|
||||
|
||||
<div class="mb-6 flex flex-wrap items-center justify-between gap-x-5 gap-y-3">
|
||||
<div class="flex items-center gap-4">
|
||||
<span class="border border-accent px-[9px] py-[5px] font-mono text-[12px] text-accent">{tag}</span>
|
||||
{tag && <span class="border border-accent px-[9px] py-[5px] font-mono text-[12px] text-accent">{tag}</span>}
|
||||
<h2 class="text-[36px] font-semibold tracking-[-0.02em] max-sm:text-[28px]">{title}</h2>
|
||||
</div>
|
||||
<slot />
|
||||
|
||||
+3
-3
@@ -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: "[email protected]",
|
||||
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 },
|
||||
|
||||
@@ -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);
|
||||
---
|
||||
|
||||
<Base>
|
||||
@@ -43,7 +45,10 @@ const projects = (await getCollection('projects')).sort((a, b) => a.data.order -
|
||||
{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="flex flex-col gap-3">
|
||||
{projects.map((p, i) => <ProjectStrip project={p} index={i} />)}
|
||||
{select_projects.map((p, i) => <ProjectStrip project={p} index={i} />)}
|
||||
<div class="flex ">
|
||||
<Button primary href="projects">All Projects</Button>
|
||||
</div>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -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);
|
||||
---
|
||||
|
||||
<Base>
|
||||
<section class="pt-10" id="projects" aria-labelledby="projects-h">
|
||||
<SectionHeader tag="" title={"All Projects (" + projects.length + ")"} />
|
||||
<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="flex flex-col gap-3">
|
||||
{projects.map((p, i) => <ProjectStrip project={p} index={i} />)}
|
||||
</ul>
|
||||
</section>
|
||||
</Base>
|
||||
Reference in New Issue
Block a user