Skip to content

Commit

Permalink
Merge pull request #8463 from cfpb/homepage_fix_20240611
Browse files Browse the repository at this point in the history
Remove broken highlight from homepage
  • Loading branch information
csebianlander committed Jun 11, 2024
2 parents 61ce6ea + 8b09422 commit 678aa37
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 37 deletions.
24 changes: 0 additions & 24 deletions cfgov/v1/jinja2/v1/home_page/_hardcoded_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,6 @@
"is_jumbo": true
} -%}

{%- set inkwell = {
"infounits": [
{
"heading": "We enforce",
"content": "We’ve taken action against predatory companies and practices, returning billions of dollars to harmed consumers.",
},
{
"heading": "We educate",
"content": "We help consumers build the skills they need to take control of their finances and plan for the future.",
},
{
"heading": "We empower",
"content": "Our tools and resources help consumers make informed decisions through every step of their financial journey.",
},
],
} -%}

{%- set answers_heading = "Find answers to your money questions" -%}

{%- set topics = {
Expand Down Expand Up @@ -62,13 +45,6 @@
<!-- {%- set highlights_heading = "Bureau highlights" -%} -->

{%- set highlights = [
{
"img_src": static( "apps/homepage/img/putting-green_finances-covid.png" ),
"card_type": "highlight",
"heading": "Help with finances during the COVID-19 pandemic",
"link_text": "Get help",
"link_url": "/coronavirus/"
},
{
"img_src": static( "apps/homepage/img/putting-green_housing-counselor.png" ),
"card_type": "highlight",
Expand Down
2 changes: 1 addition & 1 deletion cfgov/v1/jinja2/v1/home_page/home_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<div class="o-info-unit-group">
<div class="content-l">
{% for highlight in hardcoded.highlights %}
<div class="content-l__col content-l__col-1-3">
<div class="content-l__col content-l__col-1-2">
<div class="m-info-unit">
<div style="padding-bottom:.25em;">
<img style="max-height:2.5em;" src="{{ highlight.img_src }}" alt="" width="60" height="40">
Expand Down
12 changes: 0 additions & 12 deletions cfgov/v1/jinja2/v1/home_page/home_page_legacy.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,6 @@
{% include "v1/includes/molecules/hero.html" with context %}
{% endwith %}

{% with value = hardcoded.features %}
<section class="wrapper
wrapper--match-content
block
block--bg
block--border
block--flush-top
u-mb0"
>
{% include "v1/includes/organisms/info-unit-group.html" with context %}
</section>
{% endwith %}
{% endblock %}

{% block content_main %}
Expand Down

0 comments on commit 678aa37

Please sign in to comment.