-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresultado.html
207 lines (197 loc) · 18.5 KB
/
resultado.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IMC Cálculo</title>
<meta name="facebook-domain-verification" content="dmul7k34k1v4nsi55jas5knv1t04hd" />
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="./styles/globals.css">
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '234458321554346');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=234458321554346&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->
</head>
<body>
<!-- require Tailwind CSS v2.0+ -->
<div class="bg-gradient-to-r from-blue-100">
<div class="container flex flex-wrap px-4 md:px-0 max-w-6xl mx-auto">
<div class="inline-flex items-center justify-center w-full shadow-sm my-6 rounded-sm"><a
href="https://medfitpaulista.com.br/" target="_blank"><img src="./imgs/logo.png" class="w-64"></a></div>
<div
class="px-4 lg:w-3/6 rounded-lg lg:rounded-l-lg lg:rounded-r-none shadow-2xl text-center bg-white opacity-75 lg:mx-0">
<div class="p-1 text-center lg:text-left">
<h1 id="leadName" class="text-3xl font-bold text-center my-6"></h1>
<div id="textResult1Div" class="shadow-2xl bg-red-300 ml-auto mr-auto text-center mb-2 lg:w-4/5 rounded-2xl mt-4">
<p id="textResult1" class="text-lg font-medium p-2 text-center"></p>
</div><br>
<div class=" ">
<table class="table-responsive ml-auto mr-auto text-center mb-4 lg:w-4/5 rounded">
<thead>
<tr>
<th class="border w-2/6 px-4 py-2 border-b bg-black text-white">IMC</th>
<th class="border w-2/6 px-4 py-2 border-b bg-black text-white">Classificação</th>
</tr>
</thead>
<tbody>
<tr id='tr0' class="">
<td class="border text-md ">Menor que 18,5</td>
<td class="border px-4 py-2 text-md">Abaixo do peso</td>
</tr>
<tr id='tr1' class="">
<td class="border text-md">Entre 18,5 e 24,90</td>
<td class="border px-4 py-2 text-md">Normal</td>
</tr>
<tr id='tr2' class="">
<td class="border px-4 py-2 text-md">Entre 24,91 e 29,9</td>
<td class="border px-4 py-2 text-md">Sobrepeso</td>
</tr>
<tr id='tr3' class="">
<td class="border px-4 py-2 text-md">Entre 30,0 e 39,9</td>
<td class="border px-4 py-2 text-md">Obesidade</td>
</tr>
</tbody>
</table>
</div>
<div class="w-full lg:hidden md:hidden sm:hidden my-6 border-4 border-black">
<div class="w-full "><button disabled=""
class="disabled w-full lg:hidden sm:hidden md:hidden justify-center buttonIMC font-bold p-3 rounded inline-flex items-center"><span
class="font-size-resultado-veja-abaixo font-semibold text-center">VEJA ABAIXO COMO
ATINGIR O SEU PESO IDEAL</span></button></div>
</div>
</div>
</div>
<div class="p-6 lg:w-3/6 rounded-lg lg:rounded-l-lg lg:rounded-r-none shadow-3xl bg-gray-200 ">
<div id="responsiveVideoWrapper" class="h-60 w-full">
<iframe
class="w-full h-full"
src="https://www.youtube.com/embed/UKW0dV_nPW8"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
></iframe>
</div>
<p class="lg:hidden sm:hidden font-size-resultado text-justify font-bold">Clique no botão abaixo e descubra
como você pode emagrecer de 5 a 10kg nas próximas semanas com nosso acompanhamento</p>
<p class="hidden md:block text-md text-justify font-bold my-5">Clique no botão abaixo e descubra como você pode
emagrecer de 5 a 10kg nas próximas semanas com nosso acompanhamento</p>
<div class="lg:hidden mr-auto ml-auto mt-5 w-full">
<div class="w-full text-white ">
<a href="https://api.whatsapp.com/send?phone=5511972330763&text=Olá%21%20medfit" class=""
target="_blank">
<button style="background-color: #27d336"
class="w-full justify-center hover:text-green-700 text-white font-bold p-4 rounded inline-flex items-center"><svg
class="fill-current animate-bounce h-7 mr-3 cursor-pointer hover:text-green-700"
role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path
d="M17.498 14.382c-.301-.15-1.767-.867-2.04-.966-.273-.101-.473-.15-.673.15-.197.295-.771.964-.944 1.162-.175.195-.349.21-.646.075-.3-.15-1.263-.465-2.403-1.485-.888-.795-1.484-1.77-1.66-2.07-.174-.3-.019-.465.13-.615.136-.135.301-.345.451-.523.146-.181.194-.301.297-.496.1-.21.049-.375-.025-.524-.075-.15-.672-1.62-.922-2.206-.24-.584-.487-.51-.672-.51-.172-.015-.371-.015-.571-.015-.2 0-.523.074-.797.359-.273.3-1.045 1.02-1.045 2.475s1.07 2.865 1.219 3.075c.149.195 2.105 3.195 5.1 4.485.714.3 1.27.48 1.704.629.714.227 1.365.195 1.88.121.574-.091 1.767-.721 2.016-1.426.255-.705.255-1.29.18-1.425-.074-.135-.27-.21-.57-.345m-5.446 7.443h-.016c-1.77 0-3.524-.48-5.055-1.38l-.36-.214-3.75.975 1.005-3.645-.239-.375c-.99-1.576-1.516-3.391-1.516-5.26 0-5.445 4.455-9.885 9.942-9.885 2.654 0 5.145 1.035 7.021 2.91 1.875 1.859 2.909 4.35 2.909 6.99-.004 5.444-4.46 9.885-9.935 9.885M20.52 3.449C18.24 1.245 15.24 0 12.045 0 5.463 0 .104 5.334.101 11.893c0 2.096.549 4.14 1.595 5.945L0 24l6.335-1.652c1.746.943 3.71 1.444 5.71 1.447h.006c6.585 0 11.946-5.336 11.949-11.896 0-3.176-1.24-6.165-3.495-8.411">
</path>
</svg><span class="text-2xl text-center">WhatsApp</span></button></a></div><br>
<p class="lg:hidden sm:hidden font-size-resultado text-justify font-bold">DEPOIMENTO DE NOSSA PACIENTE
GABRIELA</p>
<p class="hidden md:block text-md text-justify font-bold">DEPOIMENTO DE NOSSA PACIENTE GABRIELA</p>
<div id="responsiveVideoWrapper" class="h-60 w-full">
<iframe
class="w-full h-full" src="https://www.youtube.com/embed/fUH92xqeAtQ"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen=""></iframe>
</div>
<div class="flex justify-end mt-5"><a class="link mx-6 " target="_blank"
href="https://www.facebook.com/medfitpaulista/" data-tippy-content="@facebook_handle"><svg
class="h-6 fill-current text-gray-600 hover:text-green-700" role="img" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg">
<title>Facebook</title>
<path
d="M22.676 0H1.324C.593 0 0 .593 0 1.324v21.352C0 23.408.593 24 1.324 24h11.494v-9.294H9.689v-3.621h3.129V8.41c0-3.099 1.894-4.785 4.659-4.785 1.325 0 2.464.097 2.796.141v3.24h-1.921c-1.5 0-1.792.721-1.792 1.771v2.311h3.584l-.465 3.63H16.56V24h6.115c.733 0 1.325-.592 1.325-1.324V1.324C24 .593 23.408 0 22.676 0">
</path>
</svg></a><a class="link " target="_blank" href="https://www.instagram.com/medfitclinica/"
data-tippy-content="@instagram_handle"><svg
class="h-6 fill-current text-gray-600 hover:text-green-700" role="img" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg">
<title>Instagram</title>
<path
d="M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z">
</path>
</svg></a></div>
</div>
<div class="w-full mr-auto ml-auto mt-3 hidden md:block">
<div class="w-full text-white flex justify-center "><a
href="https://api.whatsapp.com/send?phone=5511972330763&text=Olá%21%20medfit" class="float"
target="_blank"><button style="background: #27d336;"
class=" hover:text-green-700 text-white font-bold py-3 px-4 rounded inline-flex items-center"><svg
class="fill-current h-5 mr-1 cursor-pointer hover:text-green-700" role="img"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path
d="M17.498 14.382c-.301-.15-1.767-.867-2.04-.966-.273-.101-.473-.15-.673.15-.197.295-.771.964-.944 1.162-.175.195-.349.21-.646.075-.3-.15-1.263-.465-2.403-1.485-.888-.795-1.484-1.77-1.66-2.07-.174-.3-.019-.465.13-.615.136-.135.301-.345.451-.523.146-.181.194-.301.297-.496.1-.21.049-.375-.025-.524-.075-.15-.672-1.62-.922-2.206-.24-.584-.487-.51-.672-.51-.172-.015-.371-.015-.571-.015-.2 0-.523.074-.797.359-.273.3-1.045 1.02-1.045 2.475s1.07 2.865 1.219 3.075c.149.195 2.105 3.195 5.1 4.485.714.3 1.27.48 1.704.629.714.227 1.365.195 1.88.121.574-.091 1.767-.721 2.016-1.426.255-.705.255-1.29.18-1.425-.074-.135-.27-.21-.57-.345m-5.446 7.443h-.016c-1.77 0-3.524-.48-5.055-1.38l-.36-.214-3.75.975 1.005-3.645-.239-.375c-.99-1.576-1.516-3.391-1.516-5.26 0-5.445 4.455-9.885 9.942-9.885 2.654 0 5.145 1.035 7.021 2.91 1.875 1.859 2.909 4.35 2.909 6.99-.004 5.444-4.46 9.885-9.935 9.885M20.52 3.449C18.24 1.245 15.24 0 12.045 0 5.463 0 .104 5.334.101 11.893c0 2.096.549 4.14 1.595 5.945L0 24l6.335-1.652c1.746.943 3.71 1.444 5.71 1.447h.006c6.585 0 11.946-5.336 11.949-11.896 0-3.176-1.24-6.165-3.495-8.411">
</path>
</svg><span class="text-lg">WhatsApp</span></button></a></div><br>
<p class="lg:hidden sm:hidden font-size-resultado text-justify font-bold">DEPOIMENTO DE NOSSA PACIENTE
GABRIELA</p>
<p class="hidden md:block text-md text-justify font-bold">DEPOIMENTO DE NOSSA PACIENTE GABRIELA</p>
<div id="responsiveVideoWrapper" class="h-60 w-full my-5"><iframe
class="h-full w-full" src="https://www.youtube.com/embed/fUH92xqeAtQ"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen=""></iframe></div>
<div class="flex justify-center"><a class="link mx-6 mt-2" target="_blank"
href="https://www.facebook.com/medfitpaulista/" data-tippy-content="@facebook_handle"><svg
class="h-6 fill-current text-gray-600 hover:text-green-700" role="img" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg">
<title>Facebook</title>
<path
d="M22.676 0H1.324C.593 0 0 .593 0 1.324v21.352C0 23.408.593 24 1.324 24h11.494v-9.294H9.689v-3.621h3.129V8.41c0-3.099 1.894-4.785 4.659-4.785 1.325 0 2.464.097 2.796.141v3.24h-1.921c-1.5 0-1.792.721-1.792 1.771v2.311h3.584l-.465 3.63H16.56V24h6.115c.733 0 1.325-.592 1.325-1.324V1.324C24 .593 23.408 0 22.676 0">
</path>
</svg></a><a class="link mr-6 mt-2" target="_blank"
href="https://www.instagram.com/medfitclinica/" data-tippy-content="@instagram_handle"><svg
class="h-6 fill-current text-gray-600 hover:text-green-700" role="img" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg">
<title>Instagram</title>
<path
d="M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z">
</path>
</svg></a></div>
</div>
</div>
</div>
</div>
<script>
if (!window.localStorage.getItem('lead')) {
window.location.href = './index.html';
}
let lead = JSON.parse(window.localStorage.getItem('lead'));
document.getElementById('leadName').innerHTML = lead.nome + ', o seu IMC é: '+ lead.imc;
document.getElementById('textResult1').innerHTML = lead.textResult1;
switch (lead.result) {
case 0:
document.getElementById('textResult1Div').classList.add('bg-yellow-300');
document.getElementById('tr0').classList.add('bg-yellow-300');
break;
case 1:
document.getElementById('textResult1Div').classList.add('bg-green-200');
document.getElementById('tr1').classList.add('bg-green-200');
break;
case 2:
document.getElementById('textResult1Div').classList.add('bg-red-300');
document.getElementById('tr2').classList.add('bg-red-300');
break;
case 3:
document.getElementById('textResult1Div').classList.add('bg-red-500');
document.getElementById('tr3').classList.add('bg-red-500');
break;
default:
break;
}
</script>
</body>
</html>