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
This commit is contained in:
Javaxman
2026-04-23 15:07:09 +02:00
parent 253deef47e
commit c94b405251
2 changed files with 44 additions and 2 deletions

View File

@ -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.

View File

@ -416,19 +416,47 @@ const langMeta = {
const hasGlobe =
'decoration' in card &&
card.decoration === 'wireframe-globe';
const hasOchreAccent =
card.title === 'Aggiornamento e manutenzione evolutiva';
return (
<article
class:list={[
card.layout === 'wide' && 'md:col-span-2',
card.layout === 'tall' && 'md:row-span-2',
hasGlobe && 'relative overflow-hidden',
hasOchreAccent && 'border-amber-500/90 ring-1 ring-inset ring-amber-700/70',
]}
>
{hasGlobe && <CardBottomRightTexture />}
<div class:list={[hasGlobe && 'relative z-10']}>
<h3 class="text-lg font-semibold text-nx-fg">{card.title}</h3>
<h3
class:list={[
'text-lg font-semibold',
hasOchreAccent ? 'text-amber-200/95' : 'text-nx-fg',
]}
>
{hasOchreAccent ? (
<>
<span class="text-amber-500">Aggiornamento</span>{' '}
<span class="text-white">e manutenzione evolutiva</span>
</>
) : (
card.title
)}
</h3>
<p class="mt-2 text-sm leading-relaxed text-nx-muted">
{card.body}
{hasOchreAccent ? (
<>
Il mondo dell'IA e delle{' '}
<span class="text-amber-500">normative</span> (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 <span class="text-amber-500">tecnologie</span> e le evoluzioni del
mercato di riferimento.
</>
) : (
card.body
)}
</p>
{'callout' in card && card.callout && (
<div