Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
precious-onyenaucheya-ons committed Dec 16, 2024
1 parent d9b3d83 commit ba37ef9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/hero/_macro.njk
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
</div>
{% endif %}
<div class="ons-hero__container ons-container{{ ' ons-container--wide' if params.wide }}">
<div
class="ons-hero__details ons-grid__col{% if params.variants != 'analysis' %}ons-col-{{ detailsColumns }}@m ons-col-10@s@m{% endif %}"
>
<div class="ons-hero__details ons-grid__col ons-col-{{ detailsColumns }}@m ons-col-10@s@m">
{% if params.variants == 'analysis' %}
{% from "components/breadcrumbs/_macro.njk" import onsBreadcrumbs %}
{{
Expand Down
1 change: 1 addition & 0 deletions src/components/hero/example-hero-analysis.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
{{
onsHero({
"variants": 'analysis',
"detailsColumns": '12',
"topic": 'Analysis',
"title": 'Retail sales rise amid summer discounts and sporting events, according to a first estimate',
"text": 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum id mattis ligula, nec sollicitudin arcu. Donec non tristique tellus. Donec eget malesuada lorem.',
Expand Down

0 comments on commit ba37ef9

Please sign in to comment.