Spaces:
Running
Running
Teste
#102
by
Rwhehhehe
- opened
- Jornal Oliveira +93 -0
Jornal Oliveira
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 { font-family: Arial, sans-serif; margin: 20px; background: #f9f9f9; }
|
8 |
+
header, footer { background: #003366; color: white; padding: 10px; text-align: center; }
|
9 |
+
h1, h2 { color: #003366; }
|
10 |
+
.categoria, .banco-materias, .formulario, .instagram { margin: 20px 0; }
|
11 |
+
.formulario input, .formulario select, .formulario textarea { display: block; margin: 10px 0; width: 100%; padding: 8px; }
|
12 |
+
.formulario button { padding: 10px 20px; background: #003366; color: white; border: none; cursor: pointer; }
|
13 |
+
.materia { background: white; padding: 10px; border: 1px solid #ccc; margin-top: 10px; }
|
14 |
+
.oculto { display: none; }
|
15 |
+
</style>
|
16 |
+
</head>
|
17 |
+
<body>
|
18 |
+
<header>
|
19 |
+
<h1>Jornal Oliveira</h1>
|
20 |
+
<p>O Jornal da Escola Fala Sobre Você!</p>
|
21 |
+
</header> <section>
|
22 |
+
<h2>Sobre o Jornal</h2>
|
23 |
+
<p>No Jornal da Escola, destacamos os projetos dos alunos, suas conquistas, suas ideias e tudo o que acontece no nosso dia a dia. Aqui, cada estudante tem vez e voz!</p>
|
24 |
+
<ul>
|
25 |
+
<li>Entrevistas Exclusivas</li>
|
26 |
+
<li>Opiniões de Estudantes</li>
|
27 |
+
<li>Cultura & Arte</li>
|
28 |
+
<li>Esportes</li>
|
29 |
+
<li>Humor</li>
|
30 |
+
<li>Você Sabia?</li>
|
31 |
+
<li>Projetos e Grêmios</li>
|
32 |
+
<li>Investigação</li>
|
33 |
+
<li>Lá Fora</li>
|
34 |
+
<li>Notícias da Escola</li>
|
35 |
+
</ul>
|
36 |
+
</section> <section class="formulario">
|
37 |
+
<h2>Envie sua Matéria</h2>
|
38 |
+
<input type="text" id="autor" placeholder="Seu nome">
|
39 |
+
<select id="categoria">
|
40 |
+
<option value="Entrevistas">Entrevistas</option>
|
41 |
+
<option value="Opinião">Opinião</option>
|
42 |
+
<option value="Cultura e Arte">Cultura e Arte</option>
|
43 |
+
<option value="Esportes">Esportes</option>
|
44 |
+
<option value="Humor">Humor</option>
|
45 |
+
<option value="Você Sabia?">Você Sabia?</option>
|
46 |
+
<option value="Projetos e Grêmios">Projetos e Grêmios</option>
|
47 |
+
<option value="Investigação">Investigação</option>
|
48 |
+
<option value="Lá Fora">Lá Fora</option>
|
49 |
+
<option value="Notícias da Escola">Notícias da Escola</option>
|
50 |
+
</select>
|
51 |
+
<textarea id="conteudo" rows="5" placeholder="Escreva sua matéria aqui..."></textarea>
|
52 |
+
<button onclick="adicionarMateria()">Enviar</button>
|
53 |
+
</section> <section class="banco-materias">
|
54 |
+
<h2>Banco de Matérias (Acesso Restrito)</h2>
|
55 |
+
<input type="password" id="senha" placeholder="Digite a senha">
|
56 |
+
<button onclick="verificarSenha()">Acessar</button>
|
57 |
+
<div id="listaMaterias" class="oculto"></div>
|
58 |
+
</section> <section class="instagram">
|
59 |
+
<h2>Siga no Instagram</h2>
|
60 |
+
<a href="https://www.instagram.com/jornal_oliveira?igsh=MW1nZGp4Zmw2YWNnbQ==" target="_blank">@jornal_oliveira</a>
|
61 |
+
</section> <footer>
|
62 |
+
<p>Feito por alunos, para alunos. Jornal Oliveira © 2025</p>
|
63 |
+
</footer> <script>
|
64 |
+
const materias = [];
|
65 |
+
|
66 |
+
function adicionarMateria() {
|
67 |
+
const autor = document.getElementById('autor').value;
|
68 |
+
const categoria = document.getElementById('categoria').value;
|
69 |
+
const conteudo = document.getElementById('conteudo').value;
|
70 |
+
if (autor && categoria && conteudo) {
|
71 |
+
materias.push({ autor, categoria, conteudo });
|
72 |
+
alert("Matéria enviada com sucesso!");
|
73 |
+
document.getElementById('autor').value = '';
|
74 |
+
document.getElementById('conteudo').value = '';
|
75 |
+
} else {
|
76 |
+
alert("Preencha todos os campos.");
|
77 |
+
}
|
78 |
+
}
|
79 |
+
|
80 |
+
function verificarSenha() {
|
81 |
+
const senha = document.getElementById('senha').value;
|
82 |
+
if (senha === "1903") {
|
83 |
+
const lista = document.getElementById('listaMaterias');
|
84 |
+
lista.innerHTML = '<h3>Matérias Publicadas</h3>' + materias.map(m =>
|
85 |
+
`<div class='materia'><strong>${m.categoria}</strong><br><em>${m.autor}</em><p>${m.conteudo}</p></div>`
|
86 |
+
).join('');
|
87 |
+
lista.classList.remove('oculto');
|
88 |
+
} else {
|
89 |
+
alert("Senha incorreta!");
|
90 |
+
}
|
91 |
+
}
|
92 |
+
</script></body>
|
93 |
+
</html>
|