feat: add typed Persian portfolio content
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import type { Locale, Localized } from '@/i18n/content';
|
||||
|
||||
export interface EducationItem {
|
||||
degree: string;
|
||||
institution: string;
|
||||
@@ -6,11 +8,28 @@ export interface EducationItem {
|
||||
logo: string;
|
||||
}
|
||||
|
||||
export const education: EducationItem = {
|
||||
degree: "Bachelor's Degree in Computer Engineering",
|
||||
institution: 'University of Guilan',
|
||||
date: 'JAN 2022 - JUN 2026',
|
||||
logo: '/images/logo-guilan-crest.png',
|
||||
description:
|
||||
"My bachelor's years at the University of Guilan were where I grew from a curious student into someone who could build, teach, lead, and take responsibility for real outcomes. Alongside studying Computer Engineering, I worked on software projects, served as Head of the Computer Engineering Scientific Association, coordinated teaching assistants across several courses, organized technical events, and supported other students in learning and problem-solving. More than any single subject, this period taught me how to think systematically, collaborate with people, communicate ideas clearly, and turn knowledge into something useful for others.",
|
||||
type EducationCopy = Omit<EducationItem, 'logo'>;
|
||||
|
||||
const educationContent: Localized<EducationCopy> = {
|
||||
en: {
|
||||
degree: "Bachelor's Degree in Computer Engineering",
|
||||
institution: 'University of Guilan',
|
||||
date: 'JAN 2022 - JUN 2026',
|
||||
description:
|
||||
"My bachelor's years at the University of Guilan were where I grew from a curious student into someone who could build, teach, lead, and take responsibility for real outcomes. Alongside studying Computer Engineering, I worked on software projects, served as Head of the Computer Engineering Scientific Association, coordinated teaching assistants across several courses, organized technical events, and supported other students in learning and problem-solving. More than any single subject, this period taught me how to think systematically, collaborate with people, communicate ideas clearly, and turn knowledge into something useful for others.",
|
||||
},
|
||||
fa: {
|
||||
degree: 'کارشناسی مهندسی کامپیوتر',
|
||||
institution: 'دانشگاه گیلان',
|
||||
date: 'دی ۱۴۰۰ تا خرداد ۱۴۰۵',
|
||||
description:
|
||||
'دوره کارشناسی در دانشگاه گیلان برای من فقط درسخواندن نبود. در این سالها از یک دانشجوی کنجکاو به کسی تبدیل شدم که میتوانست بسازد، آموزش بدهد، تیم را هدایت کند و مسئولیت نتیجه واقعی را بپذیرد. همزمان با تحصیل مهندسی کامپیوتر، روی پروژههای نرمافزاری کار کردم، دبیر انجمن علمی مهندسی کامپیوتر بودم، تدریسیارهای چند درس را هماهنگ کردم، رویدادهای فنی برگزار کردم و در یادگیری و حل مسئله به دانشجویان دیگر کمک کردم. مهمتر از هر درس، یاد گرفتم منظم فکر کنم، با دیگران همکاری کنم، ایدهها را روشن توضیح بدهم و دانش را به چیزی مفید برای دیگران تبدیل کنم.',
|
||||
},
|
||||
};
|
||||
|
||||
export const getEducation = (locale: Locale): EducationItem => ({
|
||||
...educationContent[locale],
|
||||
logo: '/images/logo-guilan-crest.png',
|
||||
});
|
||||
|
||||
export const education = getEducation('en');
|
||||
|
||||
Reference in New Issue
Block a user