From c94b40525163e28cc0740c68f3a3ceff05b352df Mon Sep 17 00:00:00 2001 From: Javaxman Date: Thu, 23 Apr 2026 15:07:09 +0200 Subject: [PATCH] Aggiorna la card di manutenzione con accento ocra visibile Applica evidenza su bordo e parole chiave della card Aggiornamento e manutenzione evolutiva e versiona la regola Cursor per il workflow Git su branch dedicati. Made-with: Cursor --- .cursor/rules/git-workflow.mdc | 14 ++++++++++++++ src/pages/index.astro | 32 ++++++++++++++++++++++++++++++-- 2 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 .cursor/rules/git-workflow.mdc diff --git a/.cursor/rules/git-workflow.mdc b/.cursor/rules/git-workflow.mdc new file mode 100644 index 0000000..ebb39d2 --- /dev/null +++ b/.cursor/rules/git-workflow.mdc @@ -0,0 +1,14 @@ +--- +description: Git workflow standard for significant changes +alwaysApply: true +--- + +# Git Workflow Standard + +Use a dedicated branch for every non-secondary change. + +- Create a branch before editing code (`feat/*`, `fix/*`, `refactor/*`, `docs/*`, `chore/*`). +- Keep `main` as stable integration branch and avoid direct significant changes on it. +- Use focused commits with clear messages that explain intent. +- Merge to `main` only after validation and review. +- Keep tiny secondary edits (typos/comments/minor spacing) lightweight when explicitly requested. diff --git a/src/pages/index.astro b/src/pages/index.astro index d83fa82..71933a3 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -416,19 +416,47 @@ const langMeta = { const hasGlobe = 'decoration' in card && card.decoration === 'wireframe-globe'; + const hasOchreAccent = + card.title === 'Aggiornamento e manutenzione evolutiva'; return (
{hasGlobe && }
-

{card.title}

+

+ {hasOchreAccent ? ( + <> + Aggiornamento{' '} + e manutenzione evolutiva + + ) : ( + card.title + )} +

- {card.body} + {hasOchreAccent ? ( + <> + Il mondo dell'IA e delle{' '} + normative (legali e sanitarie) e' + in costante mutamento. Il nostro servizio include l'aggiornamento continuo + dei motori di analisi, garantendo che il software sia sempre allineato con + le ultime tecnologie e le evoluzioni del + mercato di riferimento. + + ) : ( + card.body + )}

{'callout' in card && card.callout && (