-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
121 lines (106 loc) · 4.96 KB
/
index.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
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="google-site-verification" content="9yVeV5rWrMwQnwE57wRwDbmwXa9Zff6wvrcT5BTZFTQ" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Quiz Bíblico</title>
<link rel="icon" href="icon.png" />
<link rel="manifest" href="manifest.json" />
<link rel="apple-touch-icon" sizes="180x180" href="icon.png" />
<meta name="description" content="Você é bom de Bíblia Sagrada? Desafio você!" />
<meta name="keywords" content="Jeiel Lima Miranda, bíblica, quiz, Biblia Sagrada, biblia, sagrada, quiz biblico, quiz biblica" />
<meta name="robots" content="index, follow" />
<meta name="author" content="Jeiel Lima Miranda" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
<script>
// Função para verificar o tipo de dispositivo
function redirectToDesktop() {
if (window.innerWidth >= 768) {
window.location.href = 'desktop.html';
}
}
window.onload = redirectToDesktop;
</script>
<style>
body {
background-color: #fafbff;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
color: rgb(32, 33, 36);
}
.container {
max-width: 600px;
}
.hidden {
display: none;
}
#caixaDialogo {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: white;
border-radius: 20px 20px 0 0;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
z-index: 1000;
}
</style>
</head>
<body class="p-4">
<!-- Diálogo de informações -->
<div id="caixaDialogo" class="hidden">
<div class="p-4">
<h2 class="text-lg font-semibold mb-2">Sobre o Quiz</h2>
<p class="mb-2" style="margin-bottom: 0.5rem;">Criado por <a href="https://jeiel.pages.dev/" style="color: #3498db; text-decoration: none;">Jeiel Lima Miranda.</a></p>
<p class="mb-2" style="margin-bottom: 0.5rem;">Quiz baseado no programa de TV <a href="https://www.novotempo.com/programa/bomdebiblia/" style="color: #3498db; text-decoration: none;">"Bom de Bíblia"</a>.</p>
<p class="mb-2" style="margin-bottom: 0.5rem;">Contato: <a href="mailto:[email protected]" style="color: #3498db; text-decoration: none;">[email protected]</a> | Também é chave pix, caso queira fazer uma doação para o projeto.</p>
<p class="mb-4" style="margin-bottom: 1rem;">Você pode contribuir com mais perguntas e respostas no Github: <a href="https://github.com/Jetrom17/quiz-jeiel" style="color: #3498db; text-decoration: none;">Jetrom17/quiz-jeiel</a></p>
<button onclick="fecharDialogo()" class="bg-blue-500 text-white px-4 py-2 rounded">Fechar</button>
</div>
</div>
<!-- Conteúdo principal -->
<div class="container mx-auto">
<h1 class="text-blue-800 text-3xl text-center mb-6">Quiz Bíblico</h1>
<button id="about-btn" class="bg-gray-500 text-white px-4 py-2 rounded mt-4">
Sobre o Quiz
</button>
<div id="mode-selection" class="bg-white rounded-lg shadow p-4 mt-4">
<h2 class="text-center text-xl mb-4">Escolha um modo:</h2>
<div class="flex flex-col gap-4">
<button class="bg-blue-500 text-white px-4 py-2 rounded" id="mode-1">
10 perguntas em 30 segundos
</button>
<button class="bg-blue-500 text-white px-4 py-2 rounded" id="mode-2">
20 perguntas em 2 minutos
</button>
</div>
</div>
<p id="question-number" class="text-center text-lg my-4"></p>
<div id="question-container" class="bg-white rounded-lg shadow p-4 hidden">
<p id="question" class="text-lg mb-4"></p>
<div id="options" class="flex flex-col gap-4"></div>
<div class="text-center mt-4">
<button id="submit-btn" class="bg-blue-500 text-white px-4 py-2 rounded">
Enviar
</button>
</div>
</div>
<p id="result" class="text-center text-xl mt-4"></p>
</div>
<script src="script.js"></script>
<script>
document.getElementById('about-btn').addEventListener('click', function () {
document.getElementById('caixaDialogo').classList.remove('hidden');
});
function fecharDialogo() {
document.getElementById('caixaDialogo').classList.add('hidden');
}
</script>
<!-- Vercel -->
<script>
window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
</script>
<script defer src="/_vercel/insights/script.js"></script>
</script>
</body>
</html>