Overview
Key Features
-
Subscribe Button: Fixed the unresponsive "Subscribe" button from the original template. It now properly handles the email submission flow and collects user emails while correctly responding to email validation states.

Subscribe component - Type-Safe Debounce: Replaced the incorrectly typed debounce code used in email validation, resolving TypeScript issues and improving code reliability.
- Gallery: The Gallery section was enhanced to dynamically load images from the public/images/gallery folder, eliminating the need to manually specify hardcoded paths in the content configuration. A Next.js API route (src/app/api/gallery/route.ts) was implemented to handle server-side image discovery and provide dynamic loading capabilities. For optimal display, images should be named to indicate their orientation (e.g., image_vertical.jpg or image_horizontal.jpg), which helps determine the appropriate aspect ratio for layout purposes.
- Enhanced Component Flexibility: Improved flexibility in "Work", Carousel, and Media components to accept different child components, formats, and structures while maintaining predefined aspect ratios. Added accordions in the About section following modern CV presentation trends, organized into "Key Achievements" and "Tasks" sections.
- MDX Code Block Enhancement: Improved MDX code block handling to correctly process language and label information. The current implementation supports this syntax:
markdown
- Sitemap: Updated src/app/sitemap.ts to conditionally include blog posts and project pages only when their respective routes (/blog and /work) are enabled in src/resources/once-ui.config.ts. Previously, it included them unconditionally, even for disabled routes.
-
Favicon Implementation: Integrated comprehensive favicon markup in the site header, supporting multiple formats including ICO, SVG, PNG, and Apple Touch icons. Favicon assets and manifest files are located in the /public directory. Icon files can be generated using tools such as https://realfavicongenerator.net/. Simply extract and place the generated files from favicon generators into the public/ folder. Example:

Favicon example
Technologies Used
- Next.js: For building fast, server-rendered React applications with excellent performance and SEO.
- Figma: For creating and managing design assets and interactive prototypes.
- Once UI: For styling React components with a modular, themeable design system.
- GitHub: For version control and collaborative development workflows.
- Canva: For quick and efficient creation of images and videos.
- AI Tools (Kilo Code, GitHub Copilot, Gemini): For AI-assisted coding, design and development acceleration.
- Biome: For comprehensive linting and code formatting in a single, fast tool.
- Vercel: For seamless web deployment and hosting. Vercel offers an intuitive deployment process - simply connect your GitHub repository and specify that it's a Next.js application for automatic builds and deployments.
Challenges and Learnings
Project Structure
src/components/about/WorkExperience.tsx
MDX Composition
Biome
biome.json