Daniel Arias Portfolio — Trilingual Next.js Site

Daniel Arias Portfolio — Trilingual Next.js Site An architecture diagram generated by Archify. Translations · de · en · es · trilingual by routing, not by duplication Translations de · en · es Images + Press · through next/image · Architecture component Images + Press through next/image Tour Dates · typed, in the repo · Architecture component Tour Dates typed, in the repo Visitor · any of three locales · Architecture component Visitor any of three locales Locale Routing · [locale] segment · trilingual by routing, not by duplication Locale Routing [locale] segment Root Layout · App Router · Architecture component Root Layout App Router Six Sections · server components · Architecture component Six Sections server components Speed Insights · field Web Vitals · Architecture component Speed Insights field Web Vitals Media Gallery · lazy, responsive · Architecture component Media Gallery lazy, responsive Schedule · dates + bookings CTA · Architecture component Schedule dates + bookings CTA any locale next-intl resolved locale one tree optimised assets field Web Vitals photos dates typed dates trilingual by routing, not by duplication Legend Frontend Backend Database Cloud Security External

Three languages, one tree

  • • The locale is a route segment, not a separate site
  • • German, English and Spanish share one component tree and one set of pages
  • • The copy lives in three JSON files — adding a language does not fork the code

Six dependencies

  • • next, react, react-dom, next-intl, @next/third-parties, @vercel/speed-insights
  • • That is the whole list
  • • A site that is mostly photographs and dates does not need a component library

Measured on real visitors

  • • Speed Insights reports Core Web Vitals from the field, not from a lab run
  • • Images go through next/image rather than being shipped at full size
  • • Tour dates are typed data in the repo, so a wrong date is a type error