Rwhehhehe commited on
Commit
782512b
·
verified ·
1 Parent(s): bfdbb09

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +149 -19
  3. prompts.txt +0 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Teste 1 5
3
- emoji: 🌖
4
- colorFrom: green
5
- colorTo: gray
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: teste-1-5
3
+ emoji: 🐳
4
+ colorFrom: purple
5
+ colorTo: yellow
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,149 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: #ffffff;
10
+ color: #000000;
11
+ margin: 0;
12
+ padding: 0;
13
+ }
14
+ header {
15
+ background-color: #388e3c;
16
+ color: white;
17
+ padding: 20px;
18
+ text-align: center;
19
+ font-family: 'Georgia', serif;
20
+ font-size: 32px;
21
+ }
22
+ nav {
23
+ background-color: #94ff0f;
24
+ display: flex;
25
+ justify-content: space-around;
26
+ padding: 10px;
27
+ }
28
+ nav button {
29
+ background-color: #94ff0f;
30
+ color: white;
31
+ border: none;
32
+ font-weight: bold;
33
+ cursor: pointer;
34
+ }
35
+ section {
36
+ padding: 20px;
37
+ }
38
+ .matéria {
39
+ border-bottom: 1px solid #ccc;
40
+ padding: 10px 0;
41
+ }
42
+ .leia-mais {
43
+ color: blue;
44
+ cursor: pointer;
45
+ }
46
+ .hidden {
47
+ display: none;
48
+ }
49
+ .input-group {
50
+ margin-bottom: 10px;
51
+ }
52
+ .input-group label {
53
+ display: block;
54
+ margin-bottom: 5px;
55
+ }
56
+ .input-group input, .input-group textarea, .input-group select {
57
+ width: 100%;
58
+ padding: 8px;
59
+ }
60
+ .btn-submit {
61
+ background-color: #388e3c;
62
+ color: white;
63
+ padding: 10px;
64
+ border: none;
65
+ cursor: pointer;
66
+ }
67
+ </style>
68
+ </head>
69
+ <body>
70
+ <header>Jornal Oliveira</header> <nav>
71
+ <button onclick="mostrarSecao('inicio')">Início</button>
72
+ <button onclick="mostrarSecao('avaliar')">Avaliar</button>
73
+ <button onclick="mostrarSecao('sugestoes')">Sugestões</button>
74
+ <button onclick="mostrarSecao('participe')">Participe</button>
75
+ <button onclick="mostrarSecao('login')">Login</button>
76
+ </nav> <section id="inicio">
77
+ <h2>Últimas matérias</h2>
78
+ <div class="matéria">
79
+ <h3>Título da Matéria</h3>
80
+ <p>Resumo da matéria... <span class="leia-mais" onclick="alert('Exibir matéria completa em outra tela')">Leia mais</span></p>
81
+ </div>
82
+ </section> <section id="avaliar" class="hidden">
83
+ <h2>Avalie o jornal</h2>
84
+ <div class="input-group">
85
+ <label>Nota (1 a 5):</label>
86
+ <input type="number" min="1" max="5" required>
87
+ </div>
88
+ <div class="input-group">
89
+ <label>Comentário:</label>
90
+ <textarea required></textarea>
91
+ </div>
92
+ <button class="btn-submit">Enviar</button>
93
+ </section> <section id="sugestoes" class="hidden">
94
+ <h2>Sugestões</h2>
95
+ <div class="input-group">
96
+ <label>Sua sugestão:</label>
97
+ <textarea required></textarea>
98
+ </div>
99
+ <button class="btn-submit">Enviar</button>
100
+ </section> <section id="participe" class="hidden">
101
+ <h2>Participe</h2>
102
+ <div class="input-group">
103
+ <label>Nome completo:</label>
104
+ <input type="text" required>
105
+ </div>
106
+ <div class="input-group">
107
+ <label>Série:</label>
108
+ <input type="text" required>
109
+ </div>
110
+ <div class="input-group">
111
+ <label>Período:</label>
112
+ <select required>
113
+ <option>Manhã</option>
114
+ <option>Tarde</option>
115
+ <option>Noite</option>
116
+ </select>
117
+ </div>
118
+ <div class="input-group">
119
+ <label>RA (começando com 000):</label>
120
+ <input type="text" pattern="000[0-9]+" required>
121
+ </div>
122
+ <button class="btn-submit">Enviar</button>
123
+ <p style="font-size: small; color: gray;">Não nos responsabilizamos por vazamento de dados.</p>
124
+ </section> <section id="login" class="hidden">
125
+ <h2>Login</h2>
126
+ <div class="input-group">
127
+ <label>Código de acesso:</label>
128
+ <input type="password" id="codigoAcesso" required>
129
+ </div>
130
+ <button class="btn-submit" onclick="verificarCodigo()">Entrar</button>
131
+ </section> <script>
132
+ function mostrarSecao(secao) {
133
+ const secoes = document.querySelectorAll('section');
134
+ secoes.forEach(s => s.classList.add('hidden'));
135
+ document.getElementById(secao).classList.remove('hidden');
136
+ }
137
+
138
+ function verificarCodigo() {
139
+ const codigo = document.getElementById('codigoAcesso').value;
140
+ if (codigo === 'BRJORNAL') {
141
+ alert('Login como colaborador. Agora você pode enviar matérias.');
142
+ } else if (codigo === 'BRJORNALEDITOR') {
143
+ alert('Login como editor. Agora você pode aprovar/gerenciar matérias.');
144
+ } else {
145
+ alert('Código inválido.');
146
+ }
147
+ }
148
+ </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-5" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
149
+ </html>
prompts.txt ADDED
File without changes