Skip to content

Commit 46baca0

Browse files
authored
Merge branch 'master' into cursos
2 parents 94c63d6 + d6980fc commit 46baca0

46 files changed

Lines changed: 1964 additions & 1424 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pythonpro/checkout/facade.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
from django.utils import timezone
44

5-
launch_datetime_begin = timezone.make_aware(datetime(2020, 8, 16, 20, 0, 0))
5+
launch_datetime_begin = timezone.make_aware(datetime(2020, 8, 16, 19, 0, 0))
66
discount_50_percent_datetime_limit = timezone.make_aware(datetime(2020, 8, 17, 23, 59, 59))
77
discount_35_percent_datetime_limit = timezone.make_aware(datetime(2020, 8, 18, 23, 59, 59))
8-
launch_datetime_finish = timezone.make_aware(datetime(2020, 8, 21, 23, 59, 59))
8+
launch_datetime_finish = timezone.make_aware(datetime(2020, 8, 19, 23, 59, 59))
99

1010

1111
def is_launch_open():

pythonpro/checkout/templates/checkout/_bootcamp_lp_payment_block.html

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h5 class="summary-main__group__price__description text-uppercase fw-800 font-hi
1212
<div class="summary-main__group__price__group summary-main__group__price__group--top">
1313
<div class="summary-main__group__price__group__info">
1414
<img class="summary-main__group__price__group__info__icon" src="{% static 'img/spp/summary-main/summary-price-icon.jpg' %}" alt="Ícone com símbolo de porcentagem com fundo transparente e bordas verdes">
15-
<h6 class="summary-main__group__price__group__info__title fw-700 text-uppercase text-blue font-highlighted">Promoção do primeiro dia</h6>
15+
<h6 class="summary-main__group__price__group__info__title fw-700 text-uppercase text-blue font-highlighted">Promoção do dia de hoje</h6>
1616
</div>
1717

1818
<div class="summary-main__group__price__group__value">
@@ -49,13 +49,17 @@ <h6 class="summary-main__group__price__group__info__title fw-700 text-uppercase
4949
</div>
5050
{% endif %}
5151

52-
{% if not user.is_authenticated %}
53-
<div>
54-
<h4 class="summary-main__group__price__login fw-400">
55-
(Se você comprou o Django Pro, <a class="text-blue" href="{{ login_url }}">faça o login</a> para ganhar um desconto)
56-
</h4>
57-
</div>
58-
{% endif %}
52+
{#{% if not user.is_authenticated %}#}
53+
{#<div>#}
54+
{# <h4 class="summary-main__group__price__login fw-400">#}
55+
{# (Se você comprou o Django Pro,#}
56+
{# <a class="text-blue"#}
57+
{# href="{% url 'two_factor:login' %}?next={% url 'checkout:bootcamp_lp' %}"#}
58+
{# >faça o login</a>#}
59+
{# para ganhar um desconto)#}
60+
{# </h4>#}
61+
{#</div>#}
62+
{#{% endif %}#}
5963

6064
<div class="header-main__group__button">
6165
<a href="#" class="header-main__group__button__item text-uppercase fw-700 main-transition" rel="noopener noreferrer" data-toggle="modal" data-target="#modal-waiting-capture">Sim, eu quero me tornar um profissional!</a>

pythonpro/checkout/templates/checkout/bootcamp_lp_d1.html

Lines changed: 399 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{% extends "checkout/bootcamp_lp_subscription_open.html" %}
2+
{% load static %}
3+
{% load django_pagarme %}
4+
{% load bootstrap4 %}
5+
6+
{% block vsl %}https://www.youtube.com/embed/41DjlWEbT1M{% endblock vsl %}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{% extends "checkout/bootcamp_lp_subscription_open.html" %}
2+
{% load static %}
3+
{% load django_pagarme %}
4+
{% load bootstrap4 %}
5+
6+
{% block vsl %}https://www.youtube.com/embed/rwxY_WjIjEE{% endblock vsl %}
7+
8+
{% block extrabonus %}
9+
<div class="summary-main__group__price">
10+
<h3 class="summary-main__group__price__title fw-800 text-uppercase text-red font-highlighted">
11+
BÔNUS ESPECIAL PARA HOJE!
12+
</h3>
13+
14+
<p class="summary-main__group__bonus__cards__item__content__description fw-400">
15+
Se imagine daqui a alguns meses…
16+
</p>
17+
18+
<p class="summary-main__group__bonus__cards__item__content__description fw-400">
19+
Você já estará preparado para aplicar para diversas vagas de trabalho. Quem sabe até já estará empregado, ou fazendo freelas e ganhando dinheiro com programação.
20+
</p>
21+
22+
<p class="summary-main__group__bonus__cards__item__content__description fw-400">
23+
Agora que você já é um programador profissional, com certeza vão surgir novos desafios. Serão problemas mais complexos, que vão exigir de você novas fontes de conhecimento.
24+
</p>
25+
26+
<p class="summary-main__group__bonus__cards__item__content__description fw-400">
27+
Como você faria para aprender estes novos conhecimentos?
28+
</p>
29+
30+
<p class="summary-main__group__bonus__cards__item__content__description fw-400">
31+
<img style='max-width: 700px; text-align:center' class='d-none d-lg-block' src="{% static 'img/spp/pacote-proximo-nivel.png' %}" />
32+
<img style='max-width: 350px' class='d-lg-none' src="{% static 'img/spp/pacote-proximo-nivel-mobile.png' %}" />
33+
</p>
34+
</div>
35+
{% endblock %}

0 commit comments

Comments
 (0)