Skip to content

Commit

Permalink
- Replaced hero image svgs with higher quality
Browse files Browse the repository at this point in the history
- Adds null alt text to hero images
- Changes the guide card titles to just be
  headings instead of links
  • Loading branch information
dluetger committed Apr 12, 2024
1 parent 1326b7e commit 8ea4079
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 18 deletions.
4 changes: 2 additions & 2 deletions _includes/card-with-image-guides.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<!--Using a few inline styles here to force the hero div to respect the border radii of the card, but there might be a more elegant way of doing that-->
{% if include.hero_url %}
<div class="padding-4 display-flex flex-column bg-primary-dark hero-container" style="border-top-left-radius:inherit; border-top-right-radius: inherit;">
<img class="flex-align-self-center" src="{{ site.baseurl }}{{include.hero_url}}">
<img class="flex-align-self-center" alt="" src="{{ site.baseurl }}{{include.hero_url}}">
</div>
{% endif %}

Expand All @@ -40,7 +40,7 @@
{% endcapture %}

{% capture card_text %}
<a href="{{include.link_url}}" class="text-no-underline"><h3 class="text-bold margin-y-0">{{ include.text_content }}</h3></a>
<h3 class="text-bold margin-y-0">{{ include.text_content }}</h3>
{% endcapture %}

{% if include.image_side == "right" %}
Expand Down
24 changes: 16 additions & 8 deletions assets/img/guides/derisking-hero.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8ea4079

Please sign in to comment.