import { Bi } from '@/lib/i18n' import type { Resume } from '@/lib/types' import styles from './sections.module.css' // The English resume gives the structure; the Russian one is paired with it by position, and anything the // Russian file lacks falls back to the English text. type Pair = { en: Resume; ru: Resume } export function Skills({ en, ru }: Readonly) { return (

{en.skills.map((skill, i) => { const r = ru.skills?.[i] return (

    {skill.stack.map((tag, t) => (
  • ))}
) })}
) } export function Experience({ en, ru }: Readonly) { return (

{en.experience.map((entry, i) => { const r = ru.experience?.[i] return (

    {entry.points.map((point, p) => (
  • ))}
) })}
) } export function Education({ en, ru }: Readonly) { return (

{en.education.map((entry, i) => { const r = ru.education?.[i] return (

) })}

{en.languages.map((language, i) => { const r = ru.languages?.[i] return (
) })}

) } export function Contact({ en, ru }: Readonly) { const [primary, ...others] = en.contacts return ( ) }