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:
14
.cursor/rules/git-workflow.mdc
Normal file
14
.cursor/rules/git-workflow.mdc
Normal 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.
|
||||||
@ -416,19 +416,47 @@ const langMeta = {
|
|||||||
const hasGlobe =
|
const hasGlobe =
|
||||||
'decoration' in card &&
|
'decoration' in card &&
|
||||||
card.decoration === 'wireframe-globe';
|
card.decoration === 'wireframe-globe';
|
||||||
|
const hasOchreAccent =
|
||||||
|
card.title === 'Aggiornamento e manutenzione evolutiva';
|
||||||
return (
|
return (
|
||||||
<article
|
<article
|
||||||
class:list={[
|
class:list={[
|
||||||
card.layout === 'wide' && 'md:col-span-2',
|
card.layout === 'wide' && 'md:col-span-2',
|
||||||
card.layout === 'tall' && 'md:row-span-2',
|
card.layout === 'tall' && 'md:row-span-2',
|
||||||
hasGlobe && 'relative overflow-hidden',
|
hasGlobe && 'relative overflow-hidden',
|
||||||
|
hasOchreAccent && 'border-amber-500/90 ring-1 ring-inset ring-amber-700/70',
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
{hasGlobe && <CardBottomRightTexture />}
|
{hasGlobe && <CardBottomRightTexture />}
|
||||||
<div class:list={[hasGlobe && 'relative z-10']}>
|
<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">
|
<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>
|
</p>
|
||||||
{'callout' in card && card.callout && (
|
{'callout' in card && card.callout && (
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user