76 lines
2.0 KiB
Plaintext
76 lines
2.0 KiB
Plaintext
---
|
|
import Base from '../layouts/Base.astro';
|
|
import SectionHeader from '../components/SectionHeader.astro';
|
|
import About from '../components/About.astro';
|
|
import Journey from '../components/Journey.astro';
|
|
import RecordList from '../components/RecordList.astro';
|
|
import Publications from '../components/Publications.astro';
|
|
import Coursework from '../components/Coursework.astro';
|
|
import Interests from '../components/Interests.astro';
|
|
import Timeline from '../components/Timeline.astro';
|
|
import ContactPanel from '../components/ContactPanel.astro';
|
|
import { honors, presentations } from '../data/records';
|
|
import { publications } from '../data/publications';
|
|
import { courses, interests } from '../data/interests';
|
|
|
|
const hasCourses = courses.some((g) => g.items.length > 0);
|
|
---
|
|
|
|
<Base title="About — Dylan Benzi">
|
|
<section class="pt-10" aria-labelledby="about-h">
|
|
<SectionHeader title="About me" />
|
|
<About />
|
|
</section>
|
|
|
|
<section class="pt-18" id="journey">
|
|
<SectionHeader title="My journey" />
|
|
<Journey />
|
|
</section>
|
|
|
|
{
|
|
honors.length > 0 && (
|
|
<section class="pt-18" id="honors">
|
|
<SectionHeader title="Honors & awards" />
|
|
<RecordList items={honors} columns={2} />
|
|
</section>
|
|
)
|
|
}
|
|
|
|
{
|
|
publications.length > 0 && (
|
|
<section class="pt-18" id="publications">
|
|
<SectionHeader title="Publications" />
|
|
<Publications />
|
|
</section>
|
|
)
|
|
}
|
|
|
|
{
|
|
presentations.length > 0 && (
|
|
<section class="pt-18" id="presentations">
|
|
<SectionHeader title="Presentations" />
|
|
<RecordList items={presentations} />
|
|
</section>
|
|
)
|
|
}
|
|
|
|
{
|
|
hasCourses && (
|
|
<section class="pt-18" id="courses">
|
|
<SectionHeader title="Select coursework" />
|
|
<Coursework />
|
|
</section>
|
|
)
|
|
}
|
|
|
|
{
|
|
interests.length > 0 && (
|
|
<section class="pt-18" id="interests">
|
|
<SectionHeader title="Interests" />
|
|
<Interests />
|
|
</section>
|
|
)
|
|
}
|
|
<ContactPanel />
|
|
</Base>
|