Skip to content

Commit

Permalink
black friday 2023 (#1937)
Browse files Browse the repository at this point in the history
Co-authored-by: Son NK <[email protected]>
  • Loading branch information
nguyenkims and Son NK authored Nov 7, 2023
1 parent e5cc8b9 commit a097e33
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@
</head>
<body>
<div class="page">
{% if current_user.is_authenticated and current_user.should_show_upgrade_button() %}

<div class="alert alert-success text-center mb-0" role="alert">
Black Friday: $20 for the first year instead of $30. Available until December 1st.
</div>
{% endif %}
{% block announcement %}{% endblock %}
<div class="container">
<!-- For flash messages -->
Expand Down
13 changes: 13 additions & 0 deletions templates/dashboard/pricing.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,19 @@
{% endblock %}
{% block default_content %}

<div class="alert alert-info">
Black Friday Deal: 33% off on the yearly plan for the <b>first</b> year ($20 instead of $30).
<br>
Please use this coupon code
<em data-toggle="tooltip"
title="Click to copy"
class="clipboard"
data-clipboard-text="BF2023">BF2023</em> during the checkout.
<br>
<img src="/static/images/coupon.png" class="m-2">
<br>
Available until December 1, 2023.
</div>
<div class="pb-8">
<div class="text-center mx-md-auto mb-8 mt-6">
<h1>Upgrade to unlock premium features</h1>
Expand Down

0 comments on commit a097e33

Please sign in to comment.