diff --git a/components/about-content.tsx b/components/about-content.tsx index 7a37ec3..da34f90 100644 --- a/components/about-content.tsx +++ b/components/about-content.tsx @@ -17,6 +17,7 @@ type TimelineItem = { title: string; subtitle: string; period: string; + current?: boolean; description?: string; }; @@ -44,48 +45,62 @@ function SectionHeading({ function TimelineList({ items }: { items: TimelineItem[] }) { return (
- {items.map((item) => ( -
- - - + {items.map((item) => { + return ( +
+ + + + +
+
+
+ + {item.title} + + + {item.subtitle} + +
-
-
-
- - {item.title} - - {item.subtitle} + {item.period}
- - {item.period} - + {item.description ? ( + + {item.description} + + ) : null}
- - {item.description ? ( - - {item.description} - - ) : null}
-
- ))} + ); + })}
); } @@ -100,6 +115,7 @@ export function AboutContent() { title: getLocalizedValue(item.title, locale), subtitle: item.institution, period: getLocalizedValue(item.period, locale), + current: "current" in item ? item.current : undefined, })); const experienceItems: TimelineItem[] = EXPERIENCE.map((item) => ({ @@ -107,6 +123,7 @@ export function AboutContent() { title: getLocalizedValue(item.role, locale), subtitle: item.company, period: getLocalizedValue(item.period, locale), + current: "current" in item ? item.current : undefined, })); return ( diff --git a/data/education.ts b/data/education.ts index a146b94..8d40cdc 100644 --- a/data/education.ts +++ b/data/education.ts @@ -10,6 +10,7 @@ export const EDUCATION = [ tr: "2024 - Günümüz", en: "2024 - Present", }, + current: true, description: { tr: "Yazılım temelleri, ürün bakış açısı ve disiplinler arası proje geliştirme alanlarında kendimi geliştirmeye devam ediyorum.", en: "Continuing to develop my skills in software foundations, product perspective, and interdisciplinary project development.", diff --git a/data/experience.ts b/data/experience.ts index e8104a4..b29756c 100644 --- a/data/experience.ts +++ b/data/experience.ts @@ -10,6 +10,7 @@ export const EXPERIENCE = [ tr: "Ağustos 2025 - Günümüz", en: "August 2025 - Present", }, + current: true, }, { id: "omedya-intern",