Skip to content

Commit

Permalink
Add Soda banner
Browse files Browse the repository at this point in the history
  • Loading branch information
tvlooy committed Dec 4, 2023
1 parent 6bed3b5 commit d621f8c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
Binary file added public/banners/SodaStream-SODA_001-15--EN.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/banners/SodaStream-SODA_001-15--FR.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/banners/SodaStream-SODA_001-15--NL.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions templates/Party/create.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,22 @@
<img src="{{ absolute_url(asset('/sony2021.jpg')) }}" width="100%">
</a><br>
{% endif %}
{% if geoCountry() == "NL" %}
<a href="https://sodastream.nl/?utm_source=secret+santa&utm_medium=banner" rel="noopener noreferrer" target="_blank">
<img src="{{ absolute_url(asset('/banners/SodaStream-SODA_001-15--NL.png')) }}" width="100%">
</a><br>
{% endif %}
{% if geoCountry() == "BE" %}
{% if app.request.locale == "fr" %}
<a href="https://sodastream.be/fr/?utm_source=secret+santa&utm_medium=banner" rel="noopener noreferrer" target="_blank">
<img src="{{ absolute_url(asset('/banners/SodaStream-SODA_001-15--NL.png')) }}" width="100%">
</a><br>
{% else %}
<a href="https://sodastream.be/?utm_source=secret+santa&utm_medium=banner" rel="noopener noreferrer" target="_blank">
<img src="{{ absolute_url(asset('/banners/SodaStream-SODA_001-15--NL.png')) }}" width="100%">
</a><br>
{% endif %}
{% endif %}

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9463520136816719"
crossorigin="anonymous"></script>
Expand Down

0 comments on commit d621f8c

Please sign in to comment.