Expanding Global Reach: Adding English CV Support to My Portfolio
The Challenge
When managing a personal portfolio using React, maintaining localized content can quickly become a bottleneck. As my career goals expanded, I realized that my static document assets were limiting the accessibility of my profile for international recruiters. The goal was simple: integrate an English version of my CV to ensure that my background and skills are clearly communicated across language barriers.
The Approach
Rather than implementing a complex i18n framework for a single document, I focused on a modular approach that allows for clean asset management within the React build process. By keeping the English CV as a separate, accessible resource, I ensured that site performance remained unaffected while providing users with a clear toggle or link to the English version.
Integrating Static Assets
I structured the repository to support versioning of documents directly within the public asset directory, ensuring they are easily reachable by the build system:
const ResumeSection = () => {
return (
<div className="resume-controls">
<a href="/assets/cv-en.pdf" download>
Download English CV
</a>
</div>
);
};
This implementation provides a direct path to the new asset, allowing for seamless file retrieval by end-users. By decoupling the document from the component logic, I maintained a lightweight footprint while fulfilling the requirement for English documentation.
Key Benefits
- Improved Accessibility: Recruiters can now access my qualifications in a globally recognized language.
- Simplified Maintenance: Updating the English version only requires replacing a single static file rather than refactoring site components.
- SEO Friendly: Descriptive file naming and clear link structures help ensure search engines index the documentation appropriately.
Takeaway
When scaling your portfolio for international audiences, start by decoupling your localized static assets from your application logic. A simple, direct download approach is often more effective and easier to maintain than over-engineering a full localization solution for static files.
Generated with Gitvlg.com