-
Notifications
You must be signed in to change notification settings - Fork 0
/
faq.html
247 lines (232 loc) · 10.8 KB
/
faq.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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<html>
<head>
<title>Opportunity</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#79b6a6">
<link rel="stylesheet" href="css/custom-mobile.css" />
<link rel="stylesheet" href="css/custom.css" />
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css" />
<link rel="stylesheet" href="OwlCarousel/dist/assets/owl.carousel.min.css" />
<link rel="stylesheet" href="OwlCarousel/dist/assets/owl.theme.default.min.css" />
<link href="https://fonts.googleapis.com/css?family=Ubuntu&display=swap" rel="stylesheet">
</head>
<body>
<header>
<div class="btn-message-email-header">
<div class="btn-message-email-icon">
<i class="fas fa-envelope-open-text"></i>
</div>
</div>
</header>
<div class="chat__box__fundo disabled_chat">
<div class="chat__box">
<div class="mo o__centered o__reversed header__meta_wrapper">
<div class="mo__body header__site_name">
<div class="header__logo">
<a href="index.html">
<img src="images/opportunity-logo-verde.png" width="120" alt="logo Opportunity">
</a>
</div>
</div>
</div>
<div class="title_chat">
<h2 class="title__chat__text">
Olá
</h2>
</div>
<div class="title_chat">
<p class="subtitle__chat__text">
Como posso te ajudar hoje?
</p>
</div>
<div class="chat__bot__content">
<div class="title__chat__intern">
<h2>
Deixe a sua mensagem
</h2>
</div>
<div>
<div class="control input__email">
<form>
<input class="input chat__inputs" type="text" placeholder="E-mail">
<textarea class="textarea chat__inputs" cols="2" rows="2" placeholder="Mensagem"></textarea>
<button class="button chat__inputs">Enviar mensagem</button>
</form>
</div>
</div>
</div>
</div>
</div>
<section class="hero is-content is-info">
<div class="hero-body hero-content">
<div class="container" style="max-width: 900px !important;">
<div class="content-faq">
<div class="mo o__centered o__reversed header__meta_wrapper">
<div class="mo__body header__site_name">
<div class="header__logo">
<a href="index.html">
<img src="images/opportunity-image.png" width="40" height="40"
alt="logo Opportunity">
</a>
</div>
</div>
<div class="mo__aside">
<div class="header__links">
<a href="index.html" class="back_to_inicio" target="_blank">
<i class="fas fa-sign-in-alt"></i>
<span>Ir para Opportunity</span>
</a>
</div>
</div>
</div>
<h1 class="header__headline">FAQ</h1>
<form action="" autocomplete="off" class="header__form search">
<input type="search" id="myInput" onkeyup="myFunction()" autocomplete="off"
class="search__input js__search-input o__ltr" placeholder="A procurar respostas..."
tabindex="0" onfocus="focusFunction()" onblur="blurFunction()" />
<div class="search_icons">
<button type="submit" class="search__submit o__ltr">
<i class="fas fa-search icon__search"></i>
</button>
<a class="search__clear-text__icon">
<i class="interface-icon"></i>
</a>
</div>
</form>
</div>
</div>
</div>
</section>
<section class="section question__content">
<div class="container">
<div class="box box1">
<article class="media">
<div class="media-content">
<div class="content">
<ul id="myUL">
<li class="questions_list">
<strong>Felipe Dias</strong><small> @felipedias</small>
<br>
<span>Como posso me cadastrar como cliente?</span>
</li>
<p class="resp resp_question1 disabled">Na página inicial da Opportunity, clique no botão "Criar Formulário" localizado no canto superior direito da tela, você será direcionado a tela para criar seu formulário. Preencha os campos nome e sobrenome, em seguida haverá uma caixa de opções onde será selecionado "Cliente".</p>
</ul>
</div>
</div>
</article>
</div>
<div class="box box2">
<article class="media">
<div class="media-content">
<div class="content">
<ul id="myUL2">
<li class="questions_list li2">
<strong>Otavio Souza</strong><small> @otaviosouza</small>
<br>
<span>Como sei quando finalizei o cadastro do formulário?</span>
</li>
<p class="resp resp_question2 disabled">No site aparecerá uma mensagem "Cadastro finalizado", como também você receberá uma mensagem em seu e-mail!</p>
</ul>
</div>
</div>
</article>
</div>
<div class="box box3">
<article class="media">
<div class="media-content">
<div class="content">
<ul id="myUL3">
<li class="questions_list li3">
<strong>Fernando Silva</strong><small> @fernandosilva</small>
<br>
<span>Preciso me inscrever para enviar uma mensagem para a empresa?</span>
</li>
<p class="resp resp_question3 disabled">Não é necessário estar inscrito, utilize o nosso chat para qualquer dúvida!</p>
</ul>
</div>
</div>
</article>
</div>
</div>
</section>
<script src="https://kit.fontawesome.com/7dff0295f2.js"></script>
<script src="js/index.js"></script>
<script src="js/jquery.js"></script>
<script src="OwlCarousel/dist/owl.carousel.min.js"></script>
<script>
$(document).ready(function () {
$('.btn-message-email-header').click(function () {
$('.fa-envelope-open-text').toggleClass('fa-times')
$('.fa-times').toggleClass('fa-envelope-open-text')
$('.chat__box__fundo').toggleClass('disabled_chat')
})
$('.box1').click(function () {
$('.resp_question1').toggleClass('disabled')
})
$('.box2').click(function () {
$('.resp_question2').toggleClass('disabled')
})
$('.box3').click(function () {
$('.resp_question3').toggleClass('disabled')
})
});
</script>
<script>
function focusFunction() {
document.querySelector('.search__input').style.background = "#fff"
document.querySelector('.search__input').style.color = "#000"
document.querySelector('.icon__search').style.color = "#000"
}
function blurFunction() {
document.querySelector('.search__input').style.background = "rgba(255,255,255,0.2)"
document.querySelector('.search__input').style.color = "#fff"
document.querySelector('.icon__search').style.color = "#fff"
}
function myFunction() {
var input, filter, ul, li, a, i, txtValue, box;
box = document.querySelectorAll(".box")
input = document.getElementById("myInput");
filter = input.value.toUpperCase();
ul = document.getElementById("myUL");
li = ul.getElementsByTagName("li");
for (i = 0; i < li.length; i++) {
a = li[i].getElementsByTagName("span")[0];
txtValue = a.textContent || a.innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
box[i].style.display = "";
} else {
box[i].style.display = "none";
}
}
var ul2, box2, li2;
ul2 = document.getElementById("myUL2");
box2 = document.querySelectorAll(".box2")
li2 = ul2.querySelectorAll(".li2");
for (i = 0; i < li.length; i++) {
a = li2[i].getElementsByTagName("span")[0];
txtValue = a.textContent || a.innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
box2[i].style.display = "";
} else {
box2[i].style.display = "none";
}
}
var ul3, box3, li3;
ul3 = document.getElementById("myUL3");
box3 = document.querySelectorAll(".box3")
li3 = ul3.querySelectorAll(".li3");
for (i = 0; i < li.length; i++) {
a = li3[i].getElementsByTagName("span")[0];
txtValue = a.textContent || a.innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
box3[i].style.display = "";
} else {
box3[i].style.display = "none";
}
}
}
</script>
</body>
</html>