feat: render locale-aware portfolio routes

This commit is contained in:
2026-09-08 19:21:26 +03:30
parent 3bb6b4396c
commit 3af34dbd92
22 changed files with 797 additions and 186 deletions

View File

@@ -1,15 +1,18 @@
import React from 'react';
import Image from 'next/image';
import { education } from '@/data/education';
import { getEducation } from '@/data/education';
import { messagesByLocale, type Locale } from '@/i18n/content';
import styles from './EducationSection.module.css';
export const EducationSection: React.FC = () => {
export const EducationSection = ({ locale }: { locale: Locale }) => {
const education = getEducation(locale);
const copy = messagesByLocale[locale].education;
return (
<section id="education" className={styles.educationSection}>
<div className="content-container">
<div className="section-header" data-reveal="soft">
<div className="section-title-wrap">
<h2 className="section-title">Where I Built the Foundation</h2>
<h2 className="section-title">{copy.title}</h2>
<div className="section-underline" />
</div>
</div>