Skip to content

Commit

Permalink
feat: add Remix banner
Browse files Browse the repository at this point in the history
  • Loading branch information
allejo committed Nov 19, 2024
1 parent c4b651f commit 547559d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ collections:
permalink: /:title
description: >-
A resource to help transit providers upgrade their fare collection systems to accept contactless payment methods like credit/debit cards and smartphones.
announcement:
enabled: true
text: |
Cal-ITP is offering smaller providers in California a limited number of free
licenses to Remix’s suite of scheduling products. Check your eligibility and
sign up using our [intake form](https://share.hsforms.com/13WkzY7taSoSdxBATWsNedQ3aanu){:target="_black"}.
# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/alert.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="alert alert-light {{ include.display }}" role="alert">
<div class="container fs-7">
<!-- Alert text goes here -->
{{ include.text | markdownify }}
</div>
</div>
4 changes: 3 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
newsletter_background: bg-white
---

{% include alert.html display="d-none" %}
{% if site.announcement.enabled %}
{% include alert.html text=site.announcement.text %}
{% endif %}

<div class="container">
<div class="imaged-section imaged-section--right">
Expand Down

0 comments on commit 547559d

Please sign in to comment.