2026-10-13 00:24:12 +07:00
|
|
|
import { AnimatedSection } from '@/components/ui/AnimatedSection'
|
2026-10-06 11:42:11 +07:00
|
|
|
import { SectionHeading } from '@/components/ui/SectionHeading'
|
|
|
|
|
import { Tag } from '@/components/ui/Tag'
|
|
|
|
|
import { profile } from '@/data/profile'
|
|
|
|
|
import { skillGroups } from '@/data/skills'
|
2026-10-14 11:15:48 +07:00
|
|
|
import { useLanguage } from '@/hooks/useLanguage'
|
|
|
|
|
import { strings } from '@/i18n/strings'
|
|
|
|
|
import { useField } from '@/i18n/useField'
|
2026-10-06 11:42:11 +07:00
|
|
|
|
|
|
|
|
export function AboutPage() {
|
2026-10-14 11:15:48 +07:00
|
|
|
const { lang } = useLanguage()
|
2026-10-06 11:42:11 +07:00
|
|
|
return (
|
|
|
|
|
<>
|
2026-10-13 00:24:12 +07:00
|
|
|
<AnimatedSection>
|
2026-10-06 11:42:11 +07:00
|
|
|
<section className="section container-content" aria-labelledby="about-heading">
|
|
|
|
|
<SectionHeading
|
2026-10-14 11:15:48 +07:00
|
|
|
title={strings.about.heading[lang]}
|
|
|
|
|
subtitle={strings.about.subtitle[lang]}
|
2026-10-14 14:50:27 +07:00
|
|
|
tag={strings.about.heading[lang]}
|
2026-10-06 11:42:11 +07:00
|
|
|
/>
|
2026-10-16 21:29:40 +07:00
|
|
|
<div className="page-body">
|
|
|
|
|
<p className="prose-lede">
|
2026-10-14 11:15:48 +07:00
|
|
|
{useField(profile.bio, profile.bioEn)}
|
2026-10-06 11:42:11 +07:00
|
|
|
</p>
|
|
|
|
|
|
2026-10-16 21:29:40 +07:00
|
|
|
<h3 className="subheading">
|
2026-10-14 11:15:48 +07:00
|
|
|
{strings.about.engineeringTitle[lang]}
|
2026-10-06 11:42:11 +07:00
|
|
|
</h3>
|
|
|
|
|
<div className="philosophy-grid">
|
|
|
|
|
{profile.philosophy.map((point) => (
|
|
|
|
|
<div key={point.title} className="philosophy-card">
|
|
|
|
|
<h3>{point.title}</h3>
|
|
|
|
|
<p>{point.description}</p>
|
|
|
|
|
<div className="philosophy-keywords">
|
|
|
|
|
{point.keywords.map((kw) => (
|
|
|
|
|
<Tag key={kw}>{kw}</Tag>
|
|
|
|
|
))}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
))}
|
|
|
|
|
</div>
|
|
|
|
|
|
2026-10-16 21:29:40 +07:00
|
|
|
<h3 className="subheading">
|
2026-10-14 11:15:48 +07:00
|
|
|
{strings.about.exploringTitlePage[lang]}
|
2026-10-06 11:42:11 +07:00
|
|
|
</h3>
|
|
|
|
|
<div className="interests-list">
|
|
|
|
|
{profile.currentInterests.map((interest) => (
|
|
|
|
|
<Tag key={interest} accent>
|
|
|
|
|
{interest}
|
|
|
|
|
</Tag>
|
|
|
|
|
))}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
2026-10-13 00:24:12 +07:00
|
|
|
</AnimatedSection>
|
|
|
|
|
<AnimatedSection>
|
2026-10-06 11:42:11 +07:00
|
|
|
<section className="section container-wide" aria-labelledby="expertise-heading">
|
2026-10-14 11:15:48 +07:00
|
|
|
<SectionHeading title={strings.about.expertise[lang]} />
|
2026-10-06 11:42:11 +07:00
|
|
|
<div className="expertise-grid">
|
2026-10-14 11:15:48 +07:00
|
|
|
{skillGroups.map((group) => (
|
2026-10-06 11:42:11 +07:00
|
|
|
<div key={group.title} className="expertise-card">
|
2026-10-14 14:50:27 +07:00
|
|
|
<h3>{useField(group.title, group.titleEn)}</h3>
|
2026-10-06 11:42:11 +07:00
|
|
|
<ul className="expertise-skills">
|
|
|
|
|
{group.skills.map((skill: string) => (
|
|
|
|
|
<li key={skill} className="expertise-skill">
|
|
|
|
|
{skill}
|
|
|
|
|
</li>
|
|
|
|
|
))}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
))}
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
2026-10-13 00:24:12 +07:00
|
|
|
</AnimatedSection>
|
2026-10-06 11:42:11 +07:00
|
|
|
</>
|
|
|
|
|
)
|
|
|
|
|
}
|