Skip to content

Commit 031349c

Browse files
renzonrenzon
authored andcommitted
Improved CPL video size and included Telegram Button
hold #1564
1 parent 1184775 commit 031349c

File tree

1 file changed

+20
-10
lines changed
  • pythonpro/launch/templates/launch

1 file changed

+20
-10
lines changed

pythonpro/launch/templates/launch/cpl.html

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
{% block title %}{{ title }}{% endblock %}
44
{% block description %}{{ description }}{% endblock %}
55
{% block head %}
6+
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css'>
67
<link rel='stylesheet' href='https://unpkg.com/emoji.css/dist/emoji.min.css'>
78

89
<style>
@@ -107,24 +108,33 @@ <h2 class='col-md-8 offset-md-2'>
107108
</div>
108109
</div>
109110
</div>
110-
<div class='bg-primary pt-4 pb-2'>
111+
<div class='bg-primary pt-4 pb-4'>
111112
<div class="container">
112113
<div class="row justify-content-center text-center">
113-
<div class="col-12">
114-
<div class="embed-container">
115-
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{ video_id }}"
116-
frameborder="0"
117-
webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
118-
<div id="fb-root"></div>
114+
<div class="col col-lg-8 offset-lg-2">
115+
<div style="max-width: 560px; max-height: 315px">
116+
<div class="embed-container">
117+
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{ video_id }}"
118+
frameborder="0"
119+
webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
120+
<div id="fb-root"></div>
121+
</div>
119122
</div>
123+
120124
</div>
121125
</div>
122126
</div>
123127
</div>
124-
125128
<div class="container">
126-
<div class="row justify-content-center">
127-
<div class="col">
129+
<div class="row text-center">
130+
<div class="col justify-content-center col-lg-8 offset-lg-2">
131+
<div class="mt-5">
132+
<a class='btn btn-lg btn-warning font-weight-bold text-light mb-5'
133+
href='https://t.me/ProgramadorProfissional' target='_blank'>
134+
<i class="fa fa-telegram" aria-hidden="true"></i> Entrar para o canal no Telegram!
135+
</a>
136+
</div>
137+
<h2>Deixe seu Comentário!</h2>
128138
<script async defer crossorigin="anonymous"
129139
src="https://connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v4.0&appId=828510970515986&autoLogAppEvents=1"></script>
130140
<div class="mb-5">

0 commit comments

Comments
 (0)