| <!DOCTYPE html> |
| <html lang="pt-br"> |
| <head> |
| <meta charset="UTF-8" /> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
| <title>Jornal Oliveira</title> |
| <style> |
| body { |
| font-family: Georgia, serif; |
| background-color: white; |
| margin: 0; |
| padding: 0; |
| } |
| |
| header { |
| background-color: #388e3c; |
| padding: 20px; |
| color: white; |
| text-align: center; |
| font-size: 2em; |
| font-family: 'Times New Roman', serif; |
| letter-spacing: 2px; |
| } |
| |
| nav { |
| background-color: #66bb6a; |
| display: flex; |
| justify-content: space-around; |
| padding: 10px; |
| } |
| |
| nav button { |
| background-color: transparent; |
| border: 2px solid white; |
| padding: 10px; |
| color: white; |
| border-radius: 5px; |
| cursor: pointer; |
| } |
| |
| section { |
| padding: 20px; |
| } |
| |
| .materia { |
| border-bottom: 1px solid #ccc; |
| margin-bottom: 15px; |
| } |
| |
| .materia h3 { |
| margin: 0; |
| color: #2e7d32; |
| } |
| |
| .botao-enviar { |
| background-color: #388e3c; |
| color: white; |
| border: none; |
| padding: 10px 15px; |
| cursor: pointer; |
| border-radius: 5px; |
| } |
| |
| .oculto { |
| display: none; |
| } |
| |
| .termo { |
| font-size: 0.9em; |
| color: #555; |
| } |
| |
| .destaque { |
| color: red; |
| font-weight: bold; |
| } |
| |
| label { |
| display: block; |
| margin-top: 10px; |
| } |
| |
| input, textarea, select { |
| width: 100%; |
| padding: 8px; |
| margin-top: 5px; |
| } |
| |
| .campo-avaliacao { |
| display: flex; |
| gap: 10px; |
| } |
| </style> |
| </head> |
| <body> |
| <header>Jornal Oliveira</header> |
| <nav> |
| <button onclick="mostrar('inicio')">Início</button> |
| <button onclick="mostrar('avaliar')">Avaliar</button> |
| <button onclick="mostrar('sugestoes')">Sugestões</button> |
| <button onclick="mostrar('participar')">Participe</button> |
| <button onclick="mostrar('login')">Login</button> |
| </nav> |
|
|
| <section id="inicio"> |
| <h2>Últimas matérias</h2> |
| <div class="materia"> |
| <h3>Título da Matéria</h3> |
| <p>Resumo da matéria feito pelo autor... <a href="#">Leia mais</a></p> |
| </div> |
| |
| </section> |
|
|
| <section id="avaliar" class="oculto"> |
| <h2 style="color:black;">Avalie o Jornal</h2> |
| <label>Nota (1 a 5):</label> |
| <select id="nota"> |
| <option value="1">1</option> |
| <option value="2">2</option> |
| <option value="3">3</option> |
| <option value="4">4</option> |
| <option value="5">5</option> |
| </select> |
| <label>Comentário (opcional):</label> |
| <textarea placeholder="Escreva algo se quiser..."></textarea> |
| <button class="botao-enviar" onclick="enviarAvaliacao()">Enviar</button> |
| </section> |
|
|
| <section id="sugestoes" class="oculto"> |
| <h2>Sugestões</h2> |
| <label>Seu nome (obrigatório):</label> |
| <input type="text" required /> |
| <label>Escreva sua sugestão:</label> |
| <textarea></textarea> |
| <button class="botao-enviar">Enviar</button> |
| </section> |
|
|
| <section id="participar" class="oculto"> |
| <h2>Participar do Jornal Oliveira</h2> |
| <label>RA (Registro de Aluno):</label> |
| <input type="text" /> |
| <label> |
| <input type="checkbox" /> |
| Declaro que li e concordo com os termos abaixo |
| </label> |
| <details> |
| <summary>Leia mais</summary> |
| <p class="termo"> |
| Prezado(a) estudante,<br><br> |
| Para fins de organização e reconhecimento dos participantes do Jornal Oliveira, solicitamos que os novos integrantes forneçam o seu RA (Registro do Aluno) no momento da inscrição. Essa informação será utilizada exclusivamente para identificação interna no âmbito do projeto.<br><br> |
| O Jornal Oliveira compromete-se a utilizar o RA apenas para os fins aqui descritos, não realizando qualquer tipo de divulgação ou compartilhamento não autorizado. <span class="destaque">Contudo, ao fornecer essa informação, o participante declara estar ciente de que a organização não se responsabiliza por eventuais vazamentos ou acessos indevidos</span> que ocorram por fatores externos ou alheios à sua vontade.<br><br> |
| Ao assinalar a opção acima, o(a) participante declara estar de acordo com os termos apresentados e autoriza expressamente o uso do seu RA para os fins descritos. |
| </p> |
| </details> |
| <button class="botao-enviar">Enviar</button> |
| </section> |
|
|
| <section id="login" class="oculto"> |
| <h2>Login</h2> |
| <label>Código de acesso:</label> |
| <input type="password" id="codigo" /> |
| <button class="botao-enviar" onclick="verificarCodigo()">Entrar</button> |
| </section> |
|
|
| <section id="enviar-materia" class="oculto"> |
| <h2>Enviar Matéria</h2> |
| <label>Título:</label> |
| <input type="text" /> |
| <label>Lige (chamada de destaque):</label> |
| <textarea></textarea> |
| <label>Corpo da notícia (desenvolvimento):</label> |
| <textarea></textarea> |
| <label>Fontes e declarações:</label> |
| <textarea></textarea> |
| <label>Conclusão:</label> |
| <textarea></textarea> |
| <label>Participantes (opcional):</label> |
| <textarea></textarea> |
| <button class="botao-enviar">Enviar Matéria</button> |
| </section> |
|
|
| <script> |
| function mostrar(id) { |
| document.querySelectorAll("section").forEach(s => s.classList.add("oculto")); |
| document.getElementById(id).classList.remove("oculto"); |
| } |
| |
| function verificarCodigo() { |
| const codigo = document.getElementById("codigo").value; |
| if (codigo === "BRJORNAL") { |
| alert("Bem-vindo, jornalista!"); |
| document.getElementById("enviar-materia").classList.remove("oculto"); |
| mostrar("enviar-materia"); |
| } else if (codigo === "BRJORNALEDITOR") { |
| alert("Bem-vindo, editor!"); |
| |
| } else { |
| alert("Código incorreto."); |
| } |
| } |
| |
| function enviarAvaliacao() { |
| const nota = parseInt(document.getElementById("nota").value); |
| if (nota < 1 || nota > 5) { |
| alert("Nota inválida!"); |
| return; |
| } |
| alert("Avaliação enviada. Obrigado!"); |
| } |
| </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/teste-1-4" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> |
| </html> |