Skip to content

Redesign the About page as a portfolio hub - #106

Merged
Smana merged 10 commits into
mainfrom
feat/portfolio-about-page
Jul 18, 2026
Merged

Redesign the About page as a portfolio hub#106
Smana merged 10 commits into
mainfrom
feat/portfolio-about-page

Conversation

@Smana

@Smana Smana commented Jul 18, 2026

Copy link
Copy Markdown
Owner

What

Reworks /about/ (English + French) from a short bio into a portfolio-style personal brand hub, giving community involvement and open source top billing with the career history as a compact backdrop.

Sections

  • Hero — profile photo, name, tagline, full first-person bio, and social links
  • Community — Cloud Native Paris, Kubernetes Community Days France, Cloud Native Days France
  • Open sourcecloud-native-ref and RunLore
  • Talks — 7 recorded talks (2016–2024)
  • Career at a glance — compact timeline, 8 roles
  • Beyond the terminal — hobbies + image credits

How

  • Built with small reusable pf-* shortcodes (layouts/shortcodes/pf-*.html) and theme-aware CSS appended to assets/sass/_custom.sass. Colors come only from the theme's CSS variables, so light/dark mode and mobile layout work automatically.
  • The About page is now a Hugo page bundle so the hero photo runs through the WebP resize pipeline (raw 2.3 MB PNG → ~32 KB WebP derivative) instead of shipping a full-size image.

Fixes made along the way

  • The theme's caption JavaScript (index.js AltImage()) was deleting the hero intro — it removes the element after any alt-bearing image, assuming it's a stale caption. Opted out with the theme's own title=" " convention.
  • The French "Liens" menu duplicated LinkedIn/Bluesky across two dropdowns (a mismatched parent identifier); it now nests both under one dropdown, matching the English menu.
  • The 2016 Skills Matter talk link (defunct site, Cloudflare-blocked) now points at the Wayback Machine snapshot.
  • Hid the date, reading time, and share buttons on the About page for a cleaner portfolio feel.

Verification

  • hugo --minify passes with no errors or warnings.
  • Post-JavaScript DOM checked for both languages: the hero intro and bio are preserved, with no phantom auto-caption.
  • All external links resolve (HTTP 200), except the intentionally-archived Skills Matter link.
  • No private data from the source CV (phone number, postal address) appears anywhere in the content.

Smana added 10 commits July 18, 2026 09:16
- convert the about page to a Hugo page bundle so the hero photo runs
  through the WebP resize pipeline instead of shipping a raw full-size image
- switch the hero photo to profile_2024.jpg
- restore the full first-person presentation the redesign had over-condensed
- override the theme's article-h2 style on the hero name, drop the inherited
  img auto-margin, and top-align the hero for the longer bio
- add aria-label to the social links
LinkedIn used parent="Liens" while the dropdown's identifier is "Links",
so Hugo created a second phantom "Liens" menu and split LinkedIn/Bluesky
across two dropdowns. Point LinkedIn at parent="Links" like Bluesky and EN.
The theme's AltImage() script (index.js) treats any alt-bearing <img> in
.post_content as a captioned figure: it removes the image's next sibling
(assumed to be an old caption) and inserts a <figcaption> from the alt text.
For the hero that deleted the whole .pf-hero_intro (tagline, bio, social),
leaving only the photo and an auto-caption of the name. Add title=" " — the
theme's documented opt-out (index.js sets addCaption=false) — to skip it.
@Smana
Smana merged commit bf99236 into main Jul 18, 2026
1 check passed
@Smana
Smana deleted the feat/portfolio-about-page branch July 18, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant