Skip to content

Fix homepage portrait proportions - #6

Merged
sabujcb merged 1 commit into
mainfrom
fix/home-portrait-sizing
Sep 1, 2026
Merged

Fix homepage portrait proportions#6
sabujcb merged 1 commit into
mainfrom
fix/home-portrait-sizing

Conversation

@sabujcb

@sabujcb sabujcb commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • constrain the homepage portrait to a professional 4:5 frame instead of allowing it to stretch the full hero height
  • preserve the source photo's natural proportions with object-fit: cover
  • add responsive desktop and mobile size caps and center the portrait within the hero

Validation

  • npm run lint:prettier
  • python .codex/skills/github-pages-academic-portfolio/scripts/audit_portfolio.py . (0 errors, 0 warnings)
  • academic palette contrast checks passed
  • git diff --check

Notes

The existing portfolio photo is retained because it is high-resolution and suitable; only its presentation is corrected. A local production build was not available because Bundler is not installed, so the GitHub Pages workflow must pass before merge.

Rollback

Revert the single focused commit.

@sabujcb
sabujcb merged commit e0dd253 into main Sep 1, 2026
3 checks passed
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