Skip to content

Commit

Permalink
[Fixes🛠️] changed email templates logo link from svg to png to avoid …
Browse files Browse the repository at this point in the history
…display issues
  • Loading branch information
[esekyi] committed Sep 17, 2024
1 parent 9fb3df8 commit 8a60f4f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
Binary file added app/static/logo/email-templates.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion app/templates/email/base_email.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@
<td>
<!-- Header with logo -->
<div class="header">
<img src="https://recipe-files.s3.eu-north-1.amazonaws.com/logo/email-templates.svg" alt="SpiceShare Logo">
<img src="https://recipe-files.s3.eu-north-1.amazonaws.com/logo/email-templates.png"
alt="SpiceShare Logo" width="150" height="auto">
</div>

<!-- Title Block -->
Expand Down
2 changes: 1 addition & 1 deletion app/templates/email/subscribed_email.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
<p>Get ready to receive the latest and greatest recipes, cooking tips, and special updates from SpiceShare, delivered
straight to your inbox.</p>
<p>To explore our collection of recipes, visit our site:</p>
<a href="{{ url_for('recipe_routes.list_recipes', _external=True) }}" class="button">Explore Recipes</a>
<a href="{{ url_for('recipe_routes.list_recipes', _external=True) }}" class="button" style="color: rgb(255, 255, 255);">Explore Recipes</a>
{% endblock %}
3 changes: 2 additions & 1 deletion app/templates/email/unsubscribed_email.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
{% block email_content %}
<p>We're sad to see you go. You’ve successfully unsubscribed from the SpiceShare newsletter.</p>
<p>If this was a mistake, feel free to <a href="{{ resubscribe_url }}">resubscribe here</a>.</p>
<a href="{{ url_for('recipe_routes.list_recipes', _external=True) }}" class="button">Back to Recipes</a>
<a href="{{ url_for('recipe_routes.list_recipes', _external=True) }}" class="button" style="color: #fff;">Back to
Recipes</a>
{% endblock %}
3 changes: 2 additions & 1 deletion app/templates/email/welcome_email.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
<p>Hi {{first_name}},</p>
<p>Thank you for joining SpiceShare! We're excited to have you with us. You'll be receiving the latest and greatest
recipes, tips, and more!</p>
<a href="{{ url_for('recipe_routes.list_recipes', _external=True) }}" class="button">Explore Recipes</a>
<a href="{{ url_for('recipe_routes.list_recipes', _external=True) }}" class="button"
style="color: rgb(255, 255, 255);">Explore Recipes</a>
{% endblock %}

0 comments on commit 8a60f4f

Please sign in to comment.