Skip to content

Commit

Permalink
feat(assets): Update banner color scheme to red
Browse files Browse the repository at this point in the history
  • Loading branch information
ERosendo committed Dec 3, 2024
1 parent 4465da0 commit e6af4c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions cl/assets/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ <h1>You did not supply the "private" variable to your template.
{% if FUNDRAISING_MODE %}
{% include 'includes/dismissible_nav_banner.html' with link="https://donate.free.law/forms/supportflp" cookie_name="eoy_banner" button_text="Make your DONATION TODAY" button_emoji='<i class="fa fa-heart-o"></i>' text="Your support has grown CourtListener to over 10 million opinions, with improved search and API functionality. Help us continue expanding and enhancing access to the law. Donate before the end of 2024 to power free and open legal information for everyone" %}
{% endif %}

<!-- Broken Email Banner -->
{% if EMAIL_BAN_REASON %}
<div class="navbar navbar-default subnav alert-danger alert-dismissible broken-email-banner" role="navigation">
Expand Down
6 changes: 3 additions & 3 deletions cl/assets/templates/includes/dismissible_nav_banner.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{% endcomment %}

{% if cookie_name not in request.COOKIES %}
<div class="navbar navbar-default subnav alert-info alert-dismissible" role="navigation">
<div class="navbar navbar-default subnav alert-danger alert-dismissible" role="navigation">
<div class="container-fluid">
<div class="row">
<div class="col-xs-12">
Expand All @@ -48,9 +48,9 @@
</div>
<div class="{% if single_row %}col-xs-2{% else %}col-xs-12{% endif %} flex justify-content-center justify-content-sm-end {% if not single_row %}second-row-btn{% endif %}">
<a href="{{link}}"
class="btn btn-primary btn-lg hidden-xs">{% if button_emoji %}{{button_emoji}}{% endif %}&nbsp;{% if button_text %}{{button_text}}{% else %}Learn More{% endif %}</a>
class="btn btn-danger btn-lg hidden-xs">{% if button_emoji %}{{button_emoji}}{% endif %}&nbsp;{% if button_text %}{{button_text}}{% else %}Learn More{% endif %}</a>
<a href="{{link}}"
class="btn btn-primary btn-sm hidden-sm hidden-md hidden-lg">{% if button_emoji %}{{button_emoji}}&nbsp;{% endif %}{% if button_text %}{{button_text}}{% else %}Learn More{% endif %}</a>
class="btn btn-danger btn-sm hidden-sm hidden-md hidden-lg">{% if button_emoji %}{{button_emoji}}&nbsp;{% endif %}{% if button_text %}{{button_text}}{% else %}Learn More{% endif %}</a>
</div>
</div>
</div>
Expand Down

0 comments on commit e6af4c5

Please sign in to comment.