Skip to content

Step 2: quick wins (OG card, favicon, footer, mobile hero, WebP, cleanup) - #47

Merged
andreachiocca merged 4 commits into
masterfrom
claude/step-2-quick-wins
Nov 4, 2026
Merged

andreachiocca merged 4 commits into
masterfrom
claude/step-2-quick-wins

Conversation

@andreachiocca

Copy link
Copy Markdown
Owner

Preview (once the preview check succeeds): https://pr-47.academic-website-preview.pages.dev/ · IT: https://pr-47.academic-website-preview.pages.dev/it/

Step 2 of docs/site-roadmap.md. Independent of #46: both branch from master and touch different files.

Changes (audit codes from docs/site-audit.md)

  • Q1 Open Graph card. assets/img/og-card.png (1200×630) is rendered from the built homepage FIG. 01 by tools/generate_og_image.js. It is set as og_image, emitted as an absolute URL with width, height and alt text, and paired with the large Twitter card.
  • Q2 Social icons. Reduced from 4rem to 1.75rem.
  • Q3 Footer. Affiliation, address, text links (ORCID, Scholar, Scopus, ResearchGate, GitHub, LinkedIn) and the ISO build date, bilingual. The institution name reuses the existing institution_display translations.
  • Q4 Publications. The intro no longer repeats the page description; it keeps only the link to the software and data catalogue.
  • Q5 Mobile hero. At ≤ 900 px, FIG. 01 and the portrait follow the name instead of the full biography. Desktop is unchanged.
  • Q6 WebP. The global -resize 800x ran before the per-width resize, so the "1400 px" variant was an 800 px copy. Variants now match their widths (portrait: 10 kB / 28 kB / 112 kB).
  • Q8 Favicon. An SVG isometric-cube favicon plus apple-touch-icon replace the University logo. UnipiLogo.png stays in the repository.
  • Q9 Cleanup. Removed the theme example notebook, the Plotly demo, papers.bib and two placeholder PDFs (Prova.pdf, example_pdf.pdf), none of them referenced. Both workflows no longer install Jupyter.

Deferred: Q10 (repeated spotlight cards in Repositories) moves to Step 6, because the spotlight links target the catalogue cards. Q7 (fonts) moves to Step 3.

Verification (local)

  • unittest: 57 tests passed.
  • check_cache_bust, check_localization and check_recent_publications: passed.
  • Jekyll production build: OK.
  • verify_languages, verify_research_atlas, verify_outputs_atlas, verify_publications_index and verify_teaching_thesis_editorial: passed.
  • Browser checks: same result as the master baseline in this sandbox (CDN and fonts blocked); CI is authoritative.
  • No horizontal scroll at 390, 768 or 1440 px.

Generated by Claude Code

The global '-resize 800x' flag ran before the per-width resize, so the
1400 px variant was an 800 px copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KzHgFgeEYmpqcsxvvbphUy
- 1200x630 og:image rendered from the built homepage figure
  (tools/generate_og_image.js), absolute URL, large Twitter card.
- SVG favicon and apple-touch-icon replace the University logo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KzHgFgeEYmpqcsxvvbphUy
- Footer with affiliation, address, profile links and build date (EN/IT).
- Social icons reduced from 4rem to 1.75rem.
- Stacked layouts show FIG. 01 and the portrait right after the name.
- Publications intro no longer repeats the page description.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KzHgFgeEYmpqcsxvvbphUy
@andreachiocca
andreachiocca merged commit 5354801 into master Nov 4, 2026
4 checks passed
@andreachiocca
andreachiocca deleted the claude/step-2-quick-wins branch November 4, 2026 18:55

This branch was previously deployed

1 inactive deployment
website-preview-AC — 68b59c11 Deployed Nov 4, 2026 by andreachiocca via preview #103
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.

2 participants