Skip to content

feat(struttura): unify the organisation chart and align /about with Figma - #202

Merged
BIA3IA merged 7 commits into
feat/home-visual-refinementfrom
feat/struttura-visual-refinement
Nov 2, 2026
Merged

BIA3IA merged 7 commits into
feat/home-visual-refinementfrom
feat/struttura-visual-refinement

Conversation

@viganogabriele

Copy link
Copy Markdown
Contributor

This PR covers /about (Struttura): Figma 5625:7108 for desktop, 6210:11694 for mobile. It also unifies the organisation chart with /storia.

Stacked PR: the base is #201 (/chi-siamo), which sits on #200 (/storia) and #199 (home). Review the diff against feat/chi-siamo-visual-refinement.

What changes

One organisation chart instead of two

Desktop: nodes as in Figma

  • Correction to the audit: in Figma (5625:7108) the nodes are glass tiles, with a 40 % fill and the GLASS effect. The audit said they were free-standing, which was wrong. The tiles stay.
  • Nodes are rebuilt as one small component instead of CardIcon with [&_h3]:… overrides.
    • Main nodes: 48 px gradient icon above a 28 px label.
    • Team-lead nodes: 24 → 32 px icon above a 14 → 16 px label.
    • This keeps Figma's proportions at a 1120 px chart width.
  • Connectors are 1 px instead of 2 px, with smaller arrows. In Figma they are hairlines.
  • Below xl, labels may wrap instead of overflowing the narrow admin column.
  • Before, the /storia chart at 1280 px squeezed "Capi admin" against the tile edges.

Mobile: Figma's vertical "Sezione organigramma"

  • Team leads hang off a vertical rail, with a tick into each row.
  • "Membri Team" sits at the bottom of the admin column, with an arrow from the rail. This balances the two columns as in Figma.
  • Before, the five leads and Membri Team were stacked in the right-hand column only, which left the left column half empty.
  • At 320 px the lead rows tighten their padding so "International" still fits.

Soci

  • Gets Figma's "Ruolo trasversale" tag. It is a label, not an action: no link, no hover.
  • It shares the chart's column width. Before, it was wider than the chart above it.

Il Direttivo in carica

Come funziona l'associazione

  • Titles are text-primary with no icon, as in Figma. Before, they had a blue gradient title and an icon.
  • These are definitions, not objects to pick.

Trova il tuo posto

  • Card titles are text-primary, as in Figma. Icons and CTAs are unchanged.

Closing "Tutto ciò che c'è da sapere"

Container

  • The page uses the same container as /storia and /chi-siamo: max 1400 px, gutters 24/40/64 px. Before, it was 1320 px with a fixed 24 px gutter.

Shared changes and their reach

Change Other pages affected
OrganizationDiagram (in components/structure) now renders the chart in /storia too /storia "Come è organizzata PoliNetwork": same structure, Figma node sizes, new mobile layout. Checked at 320–1920 px.
No changes to components/ui, card-icon, glass or the carousel —

Screenshots

Chart, 1440 px (before → after)
chart 1440

Chart, 390 px (before → after)
chart 390

The same chart in /storia, 1280 px
storia chart

Full page
desktop 1440
tablet 1024
mobile 390
mobile 320

Verification

  • pnpm check, pnpm build, pnpm typecheck and node --test tests/*.test.mjs (2/2) all pass.
  • /about and /storia were checked in the browser at 320, 390, 768, 1024, 1279, 1280, 1440, 1728 and 1920 px.
  • No horizontal overflow, and no node wider than its column.

Trade-offs

  • Labels wrap below xl. At 1024–1279 px, and in /storia's narrower chart, "Capi admin" wraps to two lines. Shrinking the label to fit would undo Figma's hierarchy.
  • Mobile lead labels are 12 px, as in Figma's mobile frame. At 320 px some wrap to two lines.
  • The container constant is now copied three times: storia/constants, chi-siamo/constants and structure/constants. Hoisting it into a shared layout primitive belongs with the container/rhythm foundation, not this page PR.

Deliberately left out

  • The "Trova il tuo posto" repetition. The same three paths (team, soci, admin) also appear in /join. Removing one is a content and IA decision.
  • The Soci CTA. Figma has no CTA on Soci, only the "Ruolo trasversale" tag. The audit's mention of a CTA was mistaken.
  • "Forma giuridica" is already faithful and is unchanged.
  • The ui/hero title is shared with other pages and is unchanged.
  • The navigation architecture (Struttura under "Collabora") is an open decision (VISUAL_AUDIT §9).

Housekeeping

The screenshots live on the pr-assets/struttura-visual-refinement branch, which can be deleted after review.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Oct 27, 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: 46d42b72-4342-4df7-88ea-2a94d1e7383f

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 and others added 6 commits November 2, 2026 14:35
- Hero: Figma's centred XL title (fluid) with the two anchor actions; the
  rotated portrait collage and floating "200+" chip are gone (the board
  portraits already appear under "I nostri direttivi").
- "Come è nato tutto": the two 2016/2022 cards that repeated the timeline
  right below are removed; the text stands alone until the archive photo
  Figma reserves exists.
- Timeline: nodes on a line (vertical below lg, horizontal from lg) instead
  of four hoverable glass cards; the year is the link to its chapter.
- Chapters: numeral in the margin and one continuous vertical rule across
  all six; diagrams drawn without containers (icon chains, 5 → ~25 → 4,
  before → after columns, status list) instead of stacks of glass cards.
- No hover on things that are not links (board portraits, the closing
  statement); "L'obiettivo è raggiunto" is a statement, not a card.
- Projects note, thanks list, board summary and "La storia continua" lose
  their glass panels; the closing gradient panel and the filled "?" pill
  (which read as a button) become years on a line with an open slot.
- One container for every section (Figma's 1272px column, 24/40/64px
  gutters) and left alignment at every width for this long reading page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each milestone carries its own anchor and icon instead of two arrays
kept in step by position. The chapter numeral column is 3rem, wide
enough for "02" at 36px. The closing statement is a div: a figure
without a caption has no meaning here.
Improve the page where Figma v1 (implemented) and v2 agree, without
switching to v2, which is still an open design decision.

- Hero: drop the two CTAs (in neither version), add the "La nostra
  visione" label both versions use, same top spacing as /storia.
- Il problema: questions become compact non-interactive chips (icon first)
  in a 5/7 rail, instead of three tall button-like cards.
- I numeri: figures at headline size beside the icon (they were 45px and
  outranked the section titles).
- Da dove veniamo / Come siamo organizzati and Sostieni: free columns on
  the background; no glass cards holding section titles, no nested panel,
  no 57px "5x1000" and 36px tax code.
- One container, gutters and title/lead roles shared with /storia and
  the homepage; text left-aligned on mobile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The history blocks use SECTION_TITLE like every other section on the
page. The #cosa-facciamo anchor lost its only link in this PR, so it
goes too.
…igma

- One OrganizationDiagram shared by /about and /storia instead of two
  copies. Nodes follow Figma's "Nodo organigramma" (glass tile, icon above
  a 22px label, 1px connectors); no CardIcon className overrides.
- Mobile chart follows Figma's vertical "Sezione organigramma": team leads
  hang off a rail, Membri Team balances the admin column.
- Soci box gets Figma's "Ruolo trasversale" tag and shares the chart's
  column width.
- Board portraits no longer lift on hover (they are not links); the mobile
  carousel bleeds to the edge so the next portrait peeks in.
- "Come funziona" and "Trova il tuo posto": plain text-primary titles as in
  Figma, no icon on the definitions.
- Same container as /storia and /chi-siamo; the closing title uses the
  grey gradient (style guide: decorated background or coloured text).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ortrait card

- Mobile chart: the stem under Team growth now turns left and meets the
  rail the team leads hang from; before it stopped in mid-air.
- Node takes a `fill` flag instead of six call sites cancelling its
  min-width and padding.
- The chart's accessible label lists the teams from teamLeads.
- BoardMemberCard replaces the two copies of the Direttivo portrait in
  /about and /storia.
- Comments that narrated Figma or the change are removed; the xl
  overlap on /storia gets one explaining why.
@BIA3IA
BIA3IA force-pushed the feat/chi-siamo-visual-refinement branch from 24b822c to bb21321 Compare November 2, 2026 14:35
@BIA3IA
BIA3IA force-pushed the feat/struttura-visual-refinement branch from 85a1cb3 to b3fd927 Compare November 2, 2026 14:35
Base automatically changed from feat/chi-siamo-visual-refinement to feat/home-visual-refinement November 2, 2026 14:45
@BIA3IA
BIA3IA force-pushed the feat/home-visual-refinement branch from 57dda2d to b10fcbf Compare November 2, 2026 14:56
@BIA3IA
BIA3IA merged commit e51e6bf into feat/home-visual-refinement Nov 2, 2026
3 checks passed
@BIA3IA
BIA3IA deleted the feat/struttura-visual-refinement branch November 2, 2026 14:57
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