Skip to content

Commit

Permalink
fix: data-element in service page (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
zetareticoli authored Jun 21, 2023
1 parent 92cf3ad commit ed4324b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/cmp-breadcrumbs/cmp-breadcrumbs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
color: get-color(primary, main);

&:hover {
color: $color-text-primary-hover;
color: get-color(dark-primary, main);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/cmp-heading/cmp-heading.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{{/if}}

{{#if subTitle}}
<p class="subtitle-small {{pClass}}">{{{subTitle}}}</p>
<p class="subtitle-small {{pClass}}" {{#if data-element}}data-element="{{data-element}}"{{/if}}>{{{subTitle}}}</p>
{{/if}}

{{#if label-tag}}
Expand Down
5 changes: 3 additions & 2 deletions src/pages/sito/servizio-dettaglio.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
class="text-button"
label-tag="Servizio attivo"
servizio-attivo=true
data-element="service-description"
}}
</div>
<hr class="d-none d-lg-block mt-2">
Expand All @@ -47,8 +48,8 @@
</section>

<section class="it-page-section mb-30" id="description">
<h2 class="mb-3" data-element="service-description">Descrizione</h2>
<div class="richtext-wrapper lora" data-element="service-extended-description">
<h2 class="mb-3">Descrizione</h2>
<div class="richtext-wrapper lora">
<p>Le domande di iscrizione devono essere presentate alle scuole nei mesi di
gennaio/febbraio.
L'Amministrazione pubblica un avviso con le modalità di accesso e i termini di presentazione della domanda.
Expand Down

1 comment on commit ed4324b

@vercel
Copy link

@vercel vercel bot commented on ed4324b Jun 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.