Skip to content

Commit

Permalink
static: Creates banners for High Holiday fundraisinng
Browse files Browse the repository at this point in the history
  • Loading branch information
rneiss committed Sep 5, 2023
1 parent 506e904 commit da130f3
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 9 deletions.
4 changes: 2 additions & 2 deletions sefaria/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@


GLOBAL_INTERRUPTING_MESSAGE = {
"name": "2023-08-20-torah-campaign",
"style": "modal", # "modal" or "banner"
"name": "2023-09-04-new-year",
"style": "banner", # "modal" or "banner"
"repetition": 1,
"is_fundraising": False,
"condition": {
Expand Down
8 changes: 4 additions & 4 deletions static/mobile/message-en.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"title": "",
"text": [
"Five books. 304,805 letters. One Torah. Help us complete the Global Community Torah by adding your unique letter to the digital scroll."
"Please make a donation today in honor of the upcoming new year. As a non-profit organization, Sefaria relies on donations to make new texts and translations available to users like you."
],
"buttonLink": "https://torah.sefaria.org?utm_source=app",
"buttonText": "Make Your Mark",
"name": "2023-08-20-torah-campaign",
"buttonLink": "https://donate.sefaria.org/give/487265/#!/donation/checkout?c_src=mobile",
"buttonText": "Donate",
"name": "2023-09-04-new-year",
"schemaVersion": 1
}
6 changes: 3 additions & 3 deletions static/mobile/message-he.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"title": "",
"text": [
"חמישה ספרים. 304,805 אותיות. תורה אחת. עזרו לנו להשלים את פרויקט ספר התורה השיתופי-עולמי על ידי הוספת האות המיוחדת שלכם לספר התורה הדיגיטלי."
"לכבוד השנה החדשה, תרמו היום. כארגון ללא מטרות רווח, ספריא מתבססת על תרומות כדי להנגיש מקורות ותרגומים חדשים!"
],
"buttonLink": "https://torah.sefaria.org?utm_source=app",
"buttonText": "הוסיפו את האות שלכם",
"name": "2023-08-20-torah-campaign",
"buttonText": "לתרומה",
"name": "2023-09-04-new-year",
"schemaVersion": 1
}
22 changes: 22 additions & 0 deletions templates/messages/2023-09-04-new-year.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<style>
#bannerMessage {
background-color: #CB6158;
}
</style>
<div id="bannerTextBox" >
<span class="int-en" style="font-weight: bold">
Please make a donation today in honor of the upcoming new year. As a non-profit organization, Sefaria relies on donations to make new texts and translations available to users like you.

</span>
<span class="int-he" style="font-weight: bold">
לכבוד השנה החדשה, תרמו היום. כארגון ללא מטרות רווח, ספריא מתבססת על תרומות כדי להנגיש מקורות ותרגומים חדשים!
</span>
</div>
<div id="bannerButtonBox">
<a class="button white int-en" href="https://donate.sefaria.org/give/487265/#!/donation/checkout?c_src=web">
<span>Donate</span>
</a>
<a class="button white int-he" href="https://donate.sefaria.org/give/468442/#!/donation/checkout?c_src=webh">
<span>לתרומה</span>
</a>
</div>

0 comments on commit da130f3

Please sign in to comment.