Skip to content

Commit

Permalink
changed badge to officialStatisticsBadge in macro file
Browse files Browse the repository at this point in the history
  • Loading branch information
SriHV committed Jan 6, 2025
1 parent 4449d1b commit ba0682c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/hero/_macro.njk
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
{% if params.topic %}
<h2 class="ons-hero--topic">{{ params.topic | safe }}</h2>
{% endif %}
<div class="ons-hero__title-container {% if params.badge %}ons-hero__title-badge{% endif %}">
<div class="ons-hero__title-container {% if params.officialStatisticsBadge %}ons-hero__title-badge{% endif %}">
<header>
<h1 class="ons-hero__title ons-u-fs-3xl">{{ params.title }}</h1>
{% if params.subtitle %}
<h2 class="ons-hero__subtitle ons-u-fs-r--b">{{ params.subtitle }}</h2>
{% endif %}
</header>
{% if params.badge == true %}
{% if params.officialStatisticsBadge == true %}
{% from "components/icon/_macro.njk" import onsIcon %}
<div class="ons-hero__badge">
{{-
Expand Down

0 comments on commit ba0682c

Please sign in to comment.