Skip to content

feat(matricole): align the Guida della Matricola page with the shared layout - #213

Merged
BIA3IA merged 3 commits into
feat/home-visual-refinementfrom
feat/guida-matricola-visual-refinement
Nov 2, 2026
Merged

BIA3IA merged 3 commits into
feat/home-visual-refinementfrom
feat/guida-matricola-visual-refinement

Conversation

@viganogabriele

Copy link
Copy Markdown
Contributor

Stacked on #212: feat/guides-visual-refinement, the last layer of the stack that starts at #199. This covers /matricole/guida, the Guida della Matricola download page. None of the earlier PRs touched it: #209 only covered /matricole.

The page is standalone by design: header and footer are hidden on it (#133, #156). So it keeps its own screen-centered layout and does not take the shared hero and section rhythm, which assume the fixed header.

What changes

  • Fluid title: the title jumped from 45 px to 120 px at 1024 px, so tablets got a small title and lg:leading-33 patched the line height. It now uses typo-display-fluid-extralarge (from feat(home): refine homepage layout, proportions and card states #199): about 44 px on phones, 66 px at 768, 81 px at 1024, 106 px at 1440, 120 px from about 1728.
  • Title tag: the title is now the page's h1. The page had no h1, because the header is hidden.
  • Description: it uses text-balance instead of leaving "aggiornato." alone on the last line, with one size step at sm instead of at lg.
  • Gutters: the shared CONTAINER gutters (24/40/64 px) replace the 48 px margins that squeezed the text at 320 px.
  • Short screens: py-16 keeps the content off the edges on short landscape screens, where the centered block can be taller than the viewport.
  • CardSplit on phones: in the stacked layout, the 40 px gaps between version, label and download button become 12/24 px, so the three parts read as one card. The row layout from sm is unchanged. CardSplit is used only by this page.

Content, the fallback guide, the download action and its accessible label are unchanged. No new dependencies.

Not changed

I first tried the shared Hero, but its title-sizing rule gave a 3-line, 113 px title at 640 px, so I went back to the fluid scale above.

The download button stays icon-only, as in the CardSplit design. Whether to add a visible "Scarica" label is a designer call.

Screenshots (before | after)

The backend is unreachable locally, so both sides show the built-in fallback guide (1.0, 14 luglio 2026). The Next dev overlay is hidden.

1440
1024
768
402
320

1920

1920

Verification

  • Widths: 320, 360, 402, 640, 768, 1024, 1280, 1440 and 1920 px, with no horizontal overflow. Also checked 844×390 landscape.
  • Checks: pnpm check (Biome), pnpm build, pnpm typecheck and node --test tests/*.test.mjs (3/3) all pass.

Merge order

Merge after #212, in the stack order #199 → … → #212 → this. The pr-assets/guida-matricola-visual-refinement branch only holds the screenshots and can be deleted after review.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d03cbc23-4ee0-4ab7-b649-497ccbef3de4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@viganogabriele
viganogabriele marked this pull request as ready for review October 31, 2026 17:54
@BIA3IA
BIA3IA force-pushed the feat/guida-matricola-visual-refinement branch from f92325f to b269c65 Compare November 2, 2026 13:53
@BIA3IA
BIA3IA force-pushed the feat/guides-visual-refinement branch 2 times, most recently from bd337e9 to e3378e4 Compare November 2, 2026 14:06
@BIA3IA
BIA3IA force-pushed the feat/guida-matricola-visual-refinement branch 2 times, most recently from 36f22d9 to 5bde9d0 Compare November 2, 2026 14:20
@BIA3IA
BIA3IA force-pushed the feat/guides-visual-refinement branch from 07c2fa0 to cc86268 Compare November 2, 2026 14:32
@BIA3IA
BIA3IA force-pushed the feat/guida-matricola-visual-refinement branch 2 times, most recently from 8c86923 to 468495e Compare November 2, 2026 14:35
@BIA3IA
BIA3IA force-pushed the feat/guides-visual-refinement branch 2 times, most recently from 0411096 to 29dadc5 Compare November 2, 2026 14:56
@BIA3IA
BIA3IA force-pushed the feat/guida-matricola-visual-refinement branch 2 times, most recently from 35e8f73 to d8178b0 Compare November 2, 2026 15:00
@BIA3IA
BIA3IA force-pushed the feat/guides-visual-refinement branch 2 times, most recently from d08ebb6 to 7827987 Compare November 2, 2026 15:02
@BIA3IA
BIA3IA force-pushed the feat/guida-matricola-visual-refinement branch 2 times, most recently from 1b62fea to 805bbd8 Compare November 2, 2026 15:14
@BIA3IA
BIA3IA force-pushed the feat/guides-visual-refinement branch from 7827987 to 3f49e8b Compare November 2, 2026 15:14
@BIA3IA
BIA3IA force-pushed the feat/guida-matricola-visual-refinement branch from 805bbd8 to 624cbf7 Compare November 2, 2026 15:19
@BIA3IA
BIA3IA force-pushed the feat/guides-visual-refinement branch from 3f49e8b to 2d04118 Compare November 2, 2026 15:19
@BIA3IA
BIA3IA force-pushed the feat/guida-matricola-visual-refinement branch from 624cbf7 to 4c3271d Compare November 2, 2026 15:26
@BIA3IA
BIA3IA force-pushed the feat/guides-visual-refinement branch from 2d04118 to 49a9d5e Compare November 2, 2026 15:26
@BIA3IA
BIA3IA force-pushed the feat/guida-matricola-visual-refinement branch from 4c3271d to f1758be Compare November 2, 2026 15:28
@BIA3IA
BIA3IA force-pushed the feat/guides-visual-refinement branch 2 times, most recently from df6552b to b030678 Compare November 2, 2026 16:03
@BIA3IA
BIA3IA force-pushed the feat/guida-matricola-visual-refinement branch from f1758be to 65a1d49 Compare November 2, 2026 16:03
Base automatically changed from feat/guides-visual-refinement to feat/home-visual-refinement November 2, 2026 16:04
viganogabriele and others added 3 commits November 2, 2026 16:05
… layout

The standalone download page kept its own title steps (45px up to 1023px,
then 120px) and 48px side margins. It now uses the fluid display scale and
the shared container gutters, stays centered with padding for short
screens, and its title is the page's h1 (header and footer are hidden here).

CardSplit, used only by this page, tightens its stacked phone layout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It was the third page-title implementation, with its own gradient and
sizes. Hero already fits long words to the width.
Hero wrapped the title onto three lines at 320px and pushed the
download button below a 320x568 screen. This standalone page has no
header, so it keeps its fluid title; a comment now says why.
@BIA3IA
BIA3IA force-pushed the feat/guida-matricola-visual-refinement branch from 65a1d49 to b1de36d Compare November 2, 2026 16:05
@BIA3IA
BIA3IA merged commit dc46b29 into feat/home-visual-refinement Nov 2, 2026
2 checks passed
@BIA3IA
BIA3IA deleted the feat/guida-matricola-visual-refinement branch November 2, 2026 16:05
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