Skip to content
AlixANNERAUDPublic

About

Bilingual (EN/FR) engineering portfolio of Alix ANNERAUD: Rust, embedded systems and security. Static Astro site deployed on GitHub Pages.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

Alix ANNERAUD - Portfolio

Software, systems & security. Software engineering · Systems · Security

Live portfolio · Projects · Français

A bilingual, statically generated engineering portfolio built entirely with Astro: every page is server-rendered HTML, and the few interactive controls are progressive enhancements. Project case studies are regular Markdown or MDX entries in a typed content collection.

Stack

  • Astro 7 generates static HTML, page layouts, routes and localized metadata.
  • Astro components + TypeScript render the whole UI. Small module <script>s add the project filters, the earlier-roles toggle, the logo fallback, the opt-in Xila browser demo and the optional WebGL architecture visualization; without JavaScript, all content stays visible. There is no client framework.
  • MDX embeds Astro components (architecture diagrams, the Xila demo) in the Xila, Infrastructure and Mini Train Store case studies.
  • Scoped Astro CSS on top of the design tokens in src/styles/tokens.css provides the responsive editorial UI. There is no CSS framework.
  • src/i18n/ui.ts is the typed EN/FR dictionary for every UI string.
  • GitHub Pages serves dist/; no backend or runtime server is required.

Work locally

npm ci
npm run dev       # Astro development server
npm run check     # format, types, unit tests, validation, build, static checks, snapshot
npm run preview   # serve the built dist/

npm run check runs, in order: format:check (Prettier), check:types (astro check), test:unit, validate:portfolio, build, verify:static and the comparison of the built pages and sitemap with scripts/reference/dist-snapshot.json. Run it before every commit; CI runs the same command.

The optional browser smoke test (Playwright) lives in tools/browser-checks/: run npm run preview, then npm ci and TEST_BASE_URL=<preview URL> npm test in that folder.

Images: the social cards (public/images/og-default.png, og-default.fr.png), the favicons (public/images/favicon.svg, public/favicon.ico), the Apple touch icon and the header monogram (src/assets/monogram.svg) are generated by scripts/generate-images.mjs. Run npm run images after changing meta.homeTitle or home.hero.discipline in src/i18n/ui.ts, a color token or a font, then commit the regenerated files. The output only depends on the pinned font packages, so it is the same on every machine.

Images: the social cards (public/images/og-default.png, og-default.fr.png), the favicons (public/images/favicon.svg, public/favicon.ico), the Apple touch icon and the header monogram (src/assets/monogram.svg) are generated by scripts/generate-images.mjs. Run npm run images after changing meta.homeTitle or home.hero.discipline in src/i18n/ui.ts, a color token or a font, then commit the regenerated files. The output only depends on the pinned font packages, so it is the same on every machine.

Project structure

astro.config.mjs          Static output with .html files, MDX, sitemap, fonts, Markdown plugins
src/
  pages/
    [...lang]/            Every page once, generated for / (English) and /fr/ (French):
                          index, projects, experiences, about, legal-notice, projects/[slug]
    404.astro
    llms.txt.ts           /llms.txt, a Markdown index of every page for language models
    .well-known/          security.txt (contact, renewed on each build)
  layouts/
    BaseLayout.astro      HTML shell: head, header, footer, JSON-LD
    ProjectLayout.astro   Project page: breadcrumb, title, meta line, body, related and next projects
  components/
    ui/                   Editorial primitives: Hero, SectionHeading, Card, Tags, NextLink, Eyebrow
    home/                 Homepage: animated tile field, Now, doorways and contact
    about/                About page: short bio (AboutFacts) and ContactSection
    experience/           ExperienceCard and ExperienceTimeline
    projects/             ProjectCard, ProjectCatalogue (filterable), Breadcrumb, RelatedProjects
    resume/               ResumeLinks: the EN and FR resume PDFs (Experience and About)
    skills/ xila/ mdx/    Page sections (skill domains, languages) and MDX components
    site/                 SiteHead, SiteHeader, SiteFooter, ThemeMenu (Auto / Light / Dark), JsonLd
  content.config.ts       Typed project collection
  content/
    projects/{en,fr}/     27 projects, one Markdown / MDX page per locale
    legal/{en,fr}.md      Legal notice and logo credits
  data/                   projects, experiences, skills, technologies (tags), site identity, shared types
  i18n/                   Locales and the typed UI dictionary (ui.ts)
  lib/                    seo.ts (JSON-LD), Markdown plugins (project title, French typography),
                          formatting, homepage orbit layout (home-orbit.ts)
  styles/                 tokens.css (design tokens), base, prose and motion styles
public/                   Images (including self-hosted logos), CNAME, robots.txt
scripts/                  Source validation, built-HTML checks, snapshot, unit tests
tools/browser-checks/     Playwright smoke test

Routes: English pages are at the root and French pages under /fr/. build.format = "preserve" writes dist/<page>.html, so /projects/<id> URLs stay stable. Every project has a page in both languages, with canonical and hreflang links. The main navigation is Projects · Experience · About. The former /skills and /resume pages (and their /fr/ versions) are static redirect pages to /about and /experiences, written by Astro's redirects option: a meta refresh, a canonical link to the target and noindex, outside the sitemap.

Structured data: every indexable page has a single JSON-LD @graph built by src/lib/seo.ts; the Person and WebSite nodes keep the same @id in both languages.

French typography: French Markdown is typeset at build time by src/lib/rehype-french-typography.mjs (no-break spaces, « » quotes, ordinals). UI strings and data are not processed, so validate:portfolio checks that they are already correct.

Content editing: add metadata to projects.ts and one page per locale under src/content/projects/{en,fr}/, with a title, a description of 120 to 160 characters and one H1. Use .mdx only when a component is needed (ArchitectureFlow, XilaBrowserDemo). Tags come from technologies.ts.

UI editing: reuse the primitives in src/components/ui/ and the tokens in src/styles/tokens.css. Add every UI string to src/i18n/ui.ts in both languages. Interactivity is a progressive-enhancement <script> inside the component; do not add a client framework.

Deployment: .github/workflows/ci.yml runs npm run check, and .github/workflows/deploy.yml publishes dist/ to GitHub Pages on pushes to main.

External services

The site is fully static. Umami analytics is loaded from s.anneraud.fr; the Xila browser demo is served from another origin and only loads after a click. Logos with a compatible licence are self-hosted; the others are loaded from the organizations' websites. All are credited in the legal notice and fall back to readable initials.

License

The source code is released under the MIT License.

About

Bilingual (EN/FR) engineering portfolio of Alix ANNERAUD: Rust, embedded systems and security. Static Astro site deployed on GitHub Pages.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages