Developer-focused README for the repository. This file summarizes architecture, developer guidance, runtime behavior and a concise list of UI effects (with file locations) used across the project.
svelte-i18n)public/ (e.g. public/assets/projects/)src/
HeroSect, AboutSect, ProjectsSect, ContactSectInView.svelte, SvgInline.svelte, ProjectIcon.svelte, modalFx.tsBaseLayout.astro (SEO, head tags, view-transitions)i18n.ts, messages.ts, server.tsabout.ts, projects.ts (data source; projects.ts uses a shared baseProjects + localized text map)/, /about, /projects, /contact) and API endpoints (like /api/section2)public/
projects/*.svg (shared project icons), favicons, manifestSvgInline.svelte (src/components/ui/SvgInline.svelte)color.onMount (client-only) with { cache: "force-cache" }.fill / stroke to currentColor and removes width/height where possible.viewBox based on width/height when missing so SVGs scale responsively./assets/projects/en/foo.svg ™?? /assets/projects/foo.svg.public/assets/projects/<id>.svg and reference that exact path from src/lib/content/projects.ts to avoid client-side fallbacks.ProjectIcon.svelte (src/components/ui/ProjectIcon.svelte)SvgInline and contains the icon hover effects (orbiting dot, hover shadow).prefers-reduced-motion.modalFx.ts (src/components/ui/modalFx.ts)backdrop ™?? backdrop fademodal ™?? subtle scale/translate/fadeclipReveal ™?? mask-wipe reveal used for the Projects modal (clip-path-based, reduced-motion-safe)projects.ts (src/lib/content/projects.ts)baseProjects (shared fields: id, url, tech, icon) + localized text map for title, summary, details.baseProjects (include id and icon ™?? e.g. /assets/projects/portfolio.svg).public/assets/projects/<id>.svg and ensure it has a viewBox (or width/height so SvgInline can generate one).src/components/ui/InView.sveltesrc/components/ui/modalFx.tsclipReveal in modalFx.ts (applied in ProjectsSect.svelte)ProjectsSect.svelte (.cta-underline).modal-cta) ™?? ProjectsSect.svelteProjectsSect.svelte (card button styles)src/components/ui/ProjectIcon.sveltesrc/components/ui/SvgInline.sveltesrc/layouts/BaseLayout.astrosrc/components/NavBar.svelte + tokens in src/styles/global.cssnpm installnpm run devnpm run buildBuild and host as static files (Netlify, Vercel, GitHub Pages etc):
npm run build