Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeiel Lima Miranda committed Apr 11, 2024
1 parent da2ed3e commit 046694c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# quiz-jeiel
> Holy Bible
>Um aplicativo-web feito por: Jeiel Lima Miranda.
https://github.com/Jetrom17/quiz-jeiel.git

### Você pode contribuir adicionando mais perguntas em "bible.json".

Expand All @@ -20,6 +21,4 @@ Para ajudar na **contribuição**, segue o formato:
```
Se também encontrar alguma pergunta que não está na Bíblia Sagrada ou não está correto suas respostas; envie para `[email protected]` ou corrige, para que todos possam ter possibilidades de estudarem e atestarem seus conhecimentos.

#

> O aplicativo quando adicionado ao smartphone, não funciona no offline! Verifique sua conexão de internet.
20 changes: 17 additions & 3 deletions offline-page.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html lang="pt-br">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>README.md</title>
<title>Visualizador de README.md</title>
<style>
body {
font-family: Arial, sans-serif;
Expand Down Expand Up @@ -69,5 +69,19 @@

<!-- Biblioteca Showdown para converter Markdown para HTML -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/showdown.min.js"></script>

<!-- Registro do Service Worker -->
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker.register('service-worker.js')
.then(function(registration) {
console.log('Service Worker registrado com sucesso:', registration.scope);
}, function(err) {
console.error('Falha ao registrar o Service Worker:', err);
});
});
}
</script>
</body>
</html>
</html>

0 comments on commit 046694c

Please sign in to comment.