Skip to content

Commit 9d18adf

Browse files
committed
Remove Ahmed Alfahdi's CV PDF and update career schema: Deleted the 2025-Ahmed_Alfahdi.pdf file to streamline content. Added an optional lastUpdated field in the career schema for better tracking of updates. Enhanced career page to display last updated date for non-job entries, and included a link to the curriculum vitae for improved accessibility to professional qualifications.
1 parent 6067b4d commit 9d18adf

5 files changed

Lines changed: 27 additions & 0 deletions

File tree

src/content/career/cv.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: "Curriculum Vitae"
3+
lastUpdated: 2026-01-01
4+
---
5+
6+
import PDFViewer from '../../components/PDFViewer.astro';
7+
8+
# Curriculum Vitae
9+
10+
Professional resume and curriculum vitae documenting education, work experience, skills, and professional qualifications.
11+
12+
<PDFViewer src="/career/Ahmed_Alfahdi_2026Q1.pdf" title="Curriculum Vitae - Ahmed N. Alfahdi" height="calc(100vh - 100px)" />

src/content/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ const career = defineCollection({
4646
current: z.boolean().default(false),
4747
location: z.string().optional(),
4848
excludeFromTimeline: z.boolean().default(false),
49+
lastUpdated: z.date().optional(),
4950
}),
5051
});
5152

src/pages/career/[...slug].astro

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ const startDate = entry.data.startDate;
3737
</div>
3838
</div>
3939
)}
40+
{!isJobEntry && entry.data.lastUpdated && (
41+
<div class="header">
42+
<div class="meta">
43+
<span class="date">Last Updated: {entry.data.lastUpdated.toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' })}</span>
44+
</div>
45+
</div>
46+
)}
4047

4148
<div class="prose">
4249
<Content />

src/pages/career/index.astro

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ const sortedCareer = timelineCareer.sort((a, b) => {
4949
<p>Safety certifications, technical training, and industry standards compliance documentation.</p>
5050
</div>
5151
</a>
52+
<a href="/career/cv" class="info-card">
53+
<div class="card-icon">[+]</div>
54+
<div class="card-content">
55+
<h3>Curriculum Vitae</h3>
56+
<p>Professional resume and curriculum vitae with complete work history, education, and qualifications.</p>
57+
</div>
58+
</a>
5259
</div>
5360
</div>
5461
</BaseLayout>

0 commit comments

Comments
 (0)