add honors and awards

This commit is contained in:
2026-11-10 23:27:34 -05:00
parent d52907ff13
commit 5362d9c829
3 changed files with 49 additions and 7 deletions
+3 -3
View File
@@ -2,11 +2,11 @@
import Gallery from './Gallery.astro';
import type { Entry } from '../data/records';
interface Props { items: Entry[]; }
const { items } = Astro.props;
interface Props { items: Entry[]; columns?: 1 | 2; }
const { items, columns = 1 } = Astro.props;
---
<ul class="flex flex-col gap-3">
<ul class:list={['grid gap-3', columns === 2 && 'md:grid-cols-2']}>
{
items.map((r) => (
<li class="border border-line bg-panel px-5 py-4">
+45 -3
View File
@@ -9,9 +9,51 @@ export interface Entry {
export const honors: Entry[] = [
{
date: "YEAR",
title: "Placeholder award or honor",
detail: "Disolv or awarding organization",
date: "JAN – MAY 2026",
title: "Dean's List",
detail: "Florida Gulf Coast University",
tag: "HONOR",
},
{
date: "AUG – DEC 2025",
title: "President's List",
detail: "Florida Gulf Coast University",
tag: "HONOR",
},
{
date: "JAN – MAY 2025",
title: "President's List",
detail: "Florida Gulf Coast University",
tag: "HONOR",
},
{
date: "OCT 2024",
title: "Admitted to the Honors College",
detail: "Florida Gulf Coast University",
tag: "HONOR",
},
{
date: "AUG 2021",
title: "Young Tycoons Business Challenge, Global Winner",
detail: "Disolv Energy",
tag: "AWARD",
},
{
date: "MAR 2021",
title: "Pitch NJ, Winner",
detail: "Disolv Energy",
tag: "AWARD",
},
{
date: "2020",
title: "Diamond Challenge, Semifinalist",
detail: "Disolv Energy",
tag: "AWARD",
},
{
date: "2019",
title: "MIT Launch, Global Finalist",
detail: "Disolv Energy",
tag: "AWARD",
},
];
+1 -1
View File
@@ -31,7 +31,7 @@ const hasCourses = courses.some((g) => g.items.length > 0);
honors.length > 0 && (
<section class="pt-18" id="honors">
<SectionHeader title="Honors & awards" />
<RecordList items={honors} />
<RecordList items={honors} columns={2} />
</section>
)
}