update about page with presentations, interests, coursework
This commit is contained in:
@@ -2,10 +2,68 @@
|
||||
import Base from '../layouts/Base.astro';
|
||||
import SectionHeader from '../components/SectionHeader.astro';
|
||||
import About from '../components/About.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>
|
||||
|
||||
{
|
||||
honors.length > 0 && (
|
||||
<section class="pt-18" id="honors">
|
||||
<SectionHeader title="Honors & awards" />
|
||||
<RecordList items={honors} />
|
||||
</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>
|
||||
|
||||
Reference in New Issue
Block a user