Add 3 files
Browse files- README.md +7 -5
- index.html +177 -19
- prompts.txt +0 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: parte-1-2
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: gray
|
| 5 |
+
colorTo: gray
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,177 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html><html lang="pt-br">
|
| 2 |
+
<head>
|
| 3 |
+
<meta charset="UTF-8">
|
| 4 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 5 |
+
<title>Jornal Oliveira</title>
|
| 6 |
+
<style>
|
| 7 |
+
body {
|
| 8 |
+
font-family: Arial, sans-serif;
|
| 9 |
+
background-color: #e6f5e6;
|
| 10 |
+
color: #003300;
|
| 11 |
+
margin: 0;
|
| 12 |
+
padding: 0;
|
| 13 |
+
}
|
| 14 |
+
header {
|
| 15 |
+
background-color: #006600;
|
| 16 |
+
color: white;
|
| 17 |
+
padding: 1rem;
|
| 18 |
+
text-align: center;
|
| 19 |
+
font-family: "Old English Text MT", serif;
|
| 20 |
+
font-size: 2rem;
|
| 21 |
+
}
|
| 22 |
+
nav {
|
| 23 |
+
background-color: #009900;
|
| 24 |
+
display: flex;
|
| 25 |
+
justify-content: space-around;
|
| 26 |
+
padding: 0.5rem;
|
| 27 |
+
}
|
| 28 |
+
nav button {
|
| 29 |
+
background-color: white;
|
| 30 |
+
border: none;
|
| 31 |
+
padding: 0.5rem 1rem;
|
| 32 |
+
color: #006600;
|
| 33 |
+
cursor: pointer;
|
| 34 |
+
font-weight: bold;
|
| 35 |
+
}
|
| 36 |
+
.container {
|
| 37 |
+
padding: 1rem;
|
| 38 |
+
}
|
| 39 |
+
.hidden {
|
| 40 |
+
display: none;
|
| 41 |
+
}
|
| 42 |
+
.notification {
|
| 43 |
+
background-color: yellow;
|
| 44 |
+
padding: 1rem;
|
| 45 |
+
text-align: center;
|
| 46 |
+
font-weight: bold;
|
| 47 |
+
}
|
| 48 |
+
textarea, input[type=text], select {
|
| 49 |
+
width: 100%;
|
| 50 |
+
margin: 0.5rem 0;
|
| 51 |
+
padding: 0.5rem;
|
| 52 |
+
}
|
| 53 |
+
.section {
|
| 54 |
+
margin-bottom: 2rem;
|
| 55 |
+
}
|
| 56 |
+
</style>
|
| 57 |
+
</head>
|
| 58 |
+
<body> <div class="notification">
|
| 59 |
+
Este site está em desenvolvimento. Qualquer problema, entre em contato no Instagram @jornal_oliveira ou mande uma sugestão.
|
| 60 |
+
</div> <header>Jornal Oliveira</header>
|
| 61 |
+
<nav>
|
| 62 |
+
<button onclick="showSection('inicio')">Início</button>
|
| 63 |
+
<button onclick="showSection('avaliar')">Avaliar</button>
|
| 64 |
+
<button onclick="showSection('sugerir')">Sugestão</button>
|
| 65 |
+
<button onclick="showSection('participar')">Participar</button>
|
| 66 |
+
<button onclick="showSection('login')">Login</button>
|
| 67 |
+
<button id="enviarMateriaBtn" class="hidden" onclick="showSection('enviarMateria')">Enviar Matéria</button>
|
| 68 |
+
<button id="painelEditorBtn" class="hidden" onclick="showSection('painelEditor')">Painel do Editor</button>
|
| 69 |
+
</nav> <div class="container">
|
| 70 |
+
<div id="inicio" class="section">Últimas notícias aqui. <input type="text" placeholder="Pesquisar por autor ou categoria"></div><div id="avaliar" class="section hidden">
|
| 71 |
+
<h3>Avalie nosso conteúdo</h3>
|
| 72 |
+
<p>Nota: <select id="nota">
|
| 73 |
+
<option value="">Selecione</option>
|
| 74 |
+
<option>0</option><option>1</option><option>2</option>
|
| 75 |
+
<option>3</option><option>4</option><option>5</option>
|
| 76 |
+
</select></p>
|
| 77 |
+
<textarea id="comentarioAvaliacao" placeholder="Comentário (mínimo 5 palavras)"></textarea>
|
| 78 |
+
<button onclick="enviarAvaliacao()">Enviar</button>
|
| 79 |
+
</div>
|
| 80 |
+
|
| 81 |
+
<div id="sugerir" class="section hidden">
|
| 82 |
+
<h3>Envie sua sugestão</h3>
|
| 83 |
+
<textarea placeholder="Escreva sua sugestão detalhadamente"></textarea>
|
| 84 |
+
<button>Enviar</button>
|
| 85 |
+
</div>
|
| 86 |
+
|
| 87 |
+
<div id="participar" class="section hidden">
|
| 88 |
+
<h3>Participe do Jornal</h3>
|
| 89 |
+
<input type="text" placeholder="Nome completo">
|
| 90 |
+
<select onchange="verificarPeriodo(this.value)">
|
| 91 |
+
<option value="">Período</option>
|
| 92 |
+
<option value="manhã">Manhã</option>
|
| 93 |
+
<option value="tarde">Tarde</option>
|
| 94 |
+
<option value="noite">Noite</option>
|
| 95 |
+
</select>
|
| 96 |
+
<textarea placeholder="Mensagem"></textarea>
|
| 97 |
+
<p><input type="checkbox"> Li e aceito os termos e condições</p>
|
| 98 |
+
<button>Enviar</button>
|
| 99 |
+
<div id="avisoPeriodo" style="color: red;"></div>
|
| 100 |
+
</div>
|
| 101 |
+
|
| 102 |
+
<div id="login" class="section hidden">
|
| 103 |
+
<h3>Login</h3>
|
| 104 |
+
<input type="text" id="codigoLogin" placeholder="Digite o código/senha">
|
| 105 |
+
<button onclick="verificarLogin()">Entrar</button>
|
| 106 |
+
</div>
|
| 107 |
+
|
| 108 |
+
<div id="enviarMateria" class="section hidden">
|
| 109 |
+
<h3>Enviar Matéria</h3>
|
| 110 |
+
<input type="text" placeholder="Título">
|
| 111 |
+
<input type="text" placeholder="Lide (resumo)">
|
| 112 |
+
<textarea placeholder="Corpo da Matéria"></textarea>
|
| 113 |
+
<input type="text" placeholder="Nome do autor">
|
| 114 |
+
<input type="text" placeholder="Outros participantes">
|
| 115 |
+
<input type="text" placeholder="Data">
|
| 116 |
+
<select>
|
| 117 |
+
<option>Notícias da Escola</option>
|
| 118 |
+
<option>Entrevistas</option>
|
| 119 |
+
<option>Opinião</option>
|
| 120 |
+
<option>Cultura e Arte</option>
|
| 121 |
+
<option>Esportes</option>
|
| 122 |
+
<option>Humor</option>
|
| 123 |
+
<option>Você Sabia?</option>
|
| 124 |
+
<option>Projetos e Grêmios</option>
|
| 125 |
+
<option>Fala Estudante</option>
|
| 126 |
+
<option>Investigação</option>
|
| 127 |
+
</select>
|
| 128 |
+
<button>Enviar para avaliação</button>
|
| 129 |
+
</div>
|
| 130 |
+
|
| 131 |
+
<div id="painelEditor" class="section hidden">
|
| 132 |
+
<h3>Painel do Editor</h3>
|
| 133 |
+
<button>Ver Avaliações</button>
|
| 134 |
+
<button>Ver Sugestões</button>
|
| 135 |
+
<button>Ver Participações</button>
|
| 136 |
+
<button>Avaliar Matérias</button>
|
| 137 |
+
</div>
|
| 138 |
+
|
| 139 |
+
</div> <script>
|
| 140 |
+
function showSection(id) {
|
| 141 |
+
document.querySelectorAll('.section').forEach(div => div.classList.add('hidden'));
|
| 142 |
+
document.getElementById(id).classList.remove('hidden');
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
function verificarLogin() {
|
| 146 |
+
const codigo = document.getElementById("codigoLogin").value;
|
| 147 |
+
if (codigo === "BRJORNAL") {
|
| 148 |
+
document.getElementById("enviarMateriaBtn").classList.remove("hidden");
|
| 149 |
+
alert("Login como jornalista!");
|
| 150 |
+
} else if (codigo === "BRJORNALEDITOR") {
|
| 151 |
+
document.getElementById("painelEditorBtn").classList.remove("hidden");
|
| 152 |
+
alert("Login como editor!");
|
| 153 |
+
} else {
|
| 154 |
+
alert("Código incorreto");
|
| 155 |
+
}
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
function verificarPeriodo(valor) {
|
| 159 |
+
const aviso = document.getElementById("avisoPeriodo");
|
| 160 |
+
if (valor === "manhã" || valor === "noite") {
|
| 161 |
+
aviso.textContent = "Recomendamos que entre em contato pelo Instagram @jornal_oliveira ou WhatsApp 11 98172-2855 para aprovação imediata. Inicie a mensagem com 'Aqui pedidos' e diga que deseja falar com o responsável do jornal.";
|
| 162 |
+
} else {
|
| 163 |
+
aviso.textContent = "";
|
| 164 |
+
}
|
| 165 |
+
}
|
| 166 |
+
|
| 167 |
+
function enviarAvaliacao() {
|
| 168 |
+
const nota = document.getElementById("nota").value;
|
| 169 |
+
const comentario = document.getElementById("comentarioAvaliacao").value.trim();
|
| 170 |
+
if (comentario.split(" ").length < 5 || !nota) {
|
| 171 |
+
alert("Nota e comentário com pelo menos 5 palavras são obrigatórios.");
|
| 172 |
+
return;
|
| 173 |
+
}
|
| 174 |
+
alert("Avaliação enviada com sucesso!");
|
| 175 |
+
}
|
| 176 |
+
</script><p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Rwhehhehe/parte-1-2" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 177 |
+
</html>
|
prompts.txt
ADDED
|
File without changes
|