-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
517 lines (455 loc) · 16.8 KB
/
index.html
File metadata and controls
517 lines (455 loc) · 16.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Transistir</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary-color: #2c3e50;
--secondary-color: #3498db;
--accent-color: #e74c3c;
--bg-color: #f8f9fa;
--card-bg: #ffffff;
--text-color: #333333;
--text-light: #666666;
--border-color: #e0e0e0;
--shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
--shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
line-height: 1.6;
padding: 20px;
position: relative;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
header {
text-align: center;
margin-bottom: 60px;
padding: 40px 0 20px;
position: relative;
}
.logo-container {
margin-bottom: 30px;
}
.logo-container img {
max-width: 200px;
height: auto;
margin-bottom: 20px;
}
header h1 {
font-family: 'Playfair Display', serif;
font-size: 4rem;
color: var(--primary-color);
margin-bottom: 20px;
font-weight: 700;
letter-spacing: -1px;
}
.subtitle {
font-family: 'Inter', sans-serif;
font-size: 1.3rem;
color: var(--text-light);
font-weight: 300;
font-style: italic;
max-width: 800px;
margin: 0 auto 40px;
line-height: 1.8;
}
.about-section {
margin: 50px 0;
text-align: center;
padding: 30px;
background: white;
border-radius: 12px;
box-shadow: var(--shadow);
}
.about-section h2 {
font-family: 'Playfair Display', serif;
font-size: 2rem;
color: var(--primary-color);
margin-bottom: 20px;
font-weight: 700;
}
.about-section p {
color: var(--text-light);
margin-bottom: 25px;
line-height: 1.8;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
.about-link {
display: inline-block;
background: var(--primary-color);
color: white;
text-decoration: none;
padding: 14px 32px;
border-radius: 6px;
font-weight: 500;
transition: background 0.3s ease, transform 0.2s ease;
font-size: 1.1rem;
}
.about-link:hover {
background: #1a252f;
transform: translateY(-2px);
}
.projects-section {
margin-top: 60px;
}
.projects-section h2 {
font-family: 'Playfair Display', serif;
font-size: 2.5rem;
color: var(--primary-color);
text-align: center;
margin-bottom: 40px;
font-weight: 700;
}
.language-toggle {
position: fixed;
top: 20px;
right: 20px;
display: flex;
gap: 4px;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
padding: 4px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
z-index: 1000;
}
.language-toggle button {
background: transparent;
color: var(--text-light);
border: none;
padding: 6px 12px;
border-radius: 6px;
cursor: pointer;
font-size: 0.85rem;
font-weight: 500;
transition: all 0.2s ease;
min-width: 60px;
}
.language-toggle button:hover {
background: rgba(52, 152, 219, 0.1);
color: var(--secondary-color);
}
.language-toggle button.active {
background: var(--primary-color);
color: white;
}
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 30px;
margin-top: 30px;
}
.project-card {
background: var(--card-bg);
border-radius: 12px;
box-shadow: var(--shadow);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: flex;
flex-direction: column;
}
.project-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-hover);
}
.project-image {
width: 100%;
height: 200px;
object-fit: cover;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 0.9rem;
text-align: center;
padding: 20px;
}
.project-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.project-content {
padding: 25px;
flex-grow: 1;
display: flex;
flex-direction: column;
}
.project-title {
font-size: 1.5rem;
color: var(--primary-color);
margin-bottom: 12px;
font-weight: 600;
}
.project-description {
color: var(--text-light);
margin-bottom: 20px;
flex-grow: 1;
line-height: 1.6;
}
.project-link {
display: inline-block;
background: var(--secondary-color);
color: white;
text-decoration: none;
padding: 12px 24px;
border-radius: 6px;
text-align: center;
font-weight: 500;
transition: background 0.3s ease;
margin-bottom: 15px;
}
.project-link:hover {
background: #2980b9;
}
footer {
text-align: center;
margin-top: 60px;
padding: 30px 0;
color: var(--text-light);
font-size: 0.9rem;
}
@media (max-width: 768px) {
header h1 {
font-size: 2.5rem;
}
.subtitle {
font-size: 1.1rem;
}
.logo-container img {
max-width: 150px;
}
.projects-grid {
grid-template-columns: 1fr;
gap: 20px;
}
body {
padding: 15px;
}
.about-section h2 {
font-size: 1.6rem;
}
.projects-section h2 {
font-size: 2rem;
}
.language-toggle {
top: 15px;
right: 15px;
}
.language-toggle button {
padding: 5px 10px;
font-size: 0.8rem;
min-width: 50px;
}
}
</style>
</head>
<body>
<div class="container">
<header>
<div class="logo-container">
<img src="transistir-branco.png" alt="Transistir" onerror="this.style.display='none'">
</div>
<h1>Transistir Social Tech</h1>
<p class="subtitle" data-i18n="subtitle">Não um corpo que se opõe até se esgotar, mas um corpo que se deixa atravessar para reconfigurar o campo</p>
</header>
<div class="language-toggle">
<button class="active" onclick="changeLanguage('pt')">PT</button>
<button onclick="changeLanguage('en')">EN</button>
</div>
<div class="about-section">
<h2 data-i18n="aboutTitle">Sobre</h2>
<p data-i18n="aboutText">Conheça o manifesto que inspira nossos projetos e nossa forma de pensar tecnologia, resistência e transformação.</p>
<a href="manifesto.html" class="about-link" data-i18n="readManifesto">Ler Manifesto</a>
</div>
<div class="projects-section">
<h2 data-i18n="projectsTitle">Projetos</h2>
<div class="projects-grid" id="projectsGrid">
<!--
============================================
COMO ADICIONAR NOVOS PROJETOS:
============================================
1. Adicione um novo objeto ao array 'projects' no JavaScript abaixo
seguindo este formato:
{
id: 'nome-do-projeto',
title: {
pt: 'Título em Português',
en: 'Title in English'
},
description: {
pt: 'Descrição em português do projeto...',
en: 'Description in English of the project...'
},
image: 'nome-da-imagem.png',
repository: 'https://github.com/transistir/nome-do-repositorio',
notes: {
pt: '', // Suas notas pessoais em português (opcional)
en: '' // Suas notas pessoais em inglês (opcional)
}
}
2. Adicione a imagem do projeto na pasta raiz do repositório
(ou ajuste o caminho da imagem conforme necessário)
3. Os cards serão gerados automaticamente pelo JavaScript
============================================
-->
</div>
</div>
<footer>
<p data-i18n="footer">Transistir with love</p>
</footer>
</div>
<script>
// Dados dos projetos
const projects = [
{
id: 'cadeiadominial',
title: {
pt: 'CadeiaDominial',
en: 'CadeiaDominial'
},
description: {
pt: 'Ferramenta para análise de cadeias dominiais',
en: 'Tool for analyzing domain chains'
},
image: 'cadeiadominial-screenshot.png',
repository: 'https://github.com/transistir/CadeiaDominial'
},
{
id: 'kutary',
title: {
pt: 'Kutary',
en: 'Kutary'
},
description: {
pt: 'Aplicação completa com frontend (Kutary_app) e backend (Kutary_db)',
en: 'Complete application with frontend (Kutary_app) and backend (Kutary_db)'
},
image: 'kutary-screenshot.png',
repository: 'https://github.com/transistir/Kutary_app'
},
{
id: 'ia-local-audio',
title: {
pt: 'IA Local Audio',
en: 'Local AI Audio'
},
description: {
pt: 'Sistema de processamento de áudio com inteligência artificial local',
en: 'Audio processing system with local artificial intelligence'
},
image: 'ia-local-audio-screenshot.png',
repository: 'https://github.com/transistir/ia-local-audio'
},
{
id: 'terralab-v2',
title: {
pt: 'TerraLab v2',
en: 'TerraLab v2'
},
description: {
pt: 'TerraLab é um sistema de gerenciamento de informações geoespaciais baseado em GeoNode, adaptado para atender às necessidades do IIEB. A função principal desse sistema é facilitar o acesso, gerenciamento e compartilhamento de dados geoespaciais pelos membros dos times do IIEB.',
en: 'TerraLab is a geospatial information management system based on GeoNode, adapted to meet IIEB needs. The main function of this system is to facilitate access, management and sharing of geospatial data by IIEB team members.'
},
image: 'terralab-screenshot.png',
repository: 'https://github.com/transistir/terralab_v2'
}
];
// Textos de interface traduzidos
const translations = {
pt: {
subtitle: 'Não um corpo que se opõe até se esgotar, mas um corpo que se deixa atravessar para reconfigurar o campo',
aboutTitle: 'Sobre',
aboutText: 'Conheça o manifesto que inspira nossos projetos e nossa forma de pensar tecnologia, resistência e transformação.',
readManifesto: 'Ler Manifesto',
projectsTitle: 'Projetos',
footer: 'Página gerada automaticamente | GitHub Pages',
viewRepository: 'Ver no GitHub',
imageNotFound: 'Imagem não encontrada'
},
en: {
subtitle: 'Not a body that opposes until it is exhausted, but a body that lets itself be crossed to reconfigure the field',
aboutTitle: 'About',
aboutText: 'Learn about the manifesto that inspires our projects and our way of thinking about technology, resistance and transformation.',
readManifesto: 'Read Manifesto',
projectsTitle: 'Projects',
footer: 'Auto-generated page | GitHub Pages',
viewRepository: 'View on GitHub',
imageNotFound: 'Image not found'
}
};
let currentLanguage = 'pt';
// Função para mudar o idioma
function changeLanguage(lang) {
currentLanguage = lang;
// Atualiza botões de idioma
document.querySelectorAll('.language-toggle button').forEach(btn => {
btn.classList.remove('active');
if ((lang === 'pt' && btn.textContent.trim() === 'PT') ||
(lang === 'en' && btn.textContent.trim() === 'EN')) {
btn.classList.add('active');
}
});
// Atualiza textos da interface
document.querySelectorAll('[data-i18n]').forEach(element => {
const key = element.getAttribute('data-i18n');
if (translations[lang][key]) {
element.textContent = translations[lang][key];
}
});
// Recria os cards com o novo idioma
renderProjects();
}
// Função para renderizar os projetos
function renderProjects() {
const grid = document.getElementById('projectsGrid');
grid.innerHTML = '';
projects.forEach(project => {
const card = document.createElement('div');
card.className = 'project-card';
const imageHtml = `
<div class="project-image">
<img
src="${project.image}"
alt="${project.title[currentLanguage]}"
onerror="this.style.display='none'; this.parentElement.innerHTML='${translations[currentLanguage].imageNotFound}'"
>
</div>
`;
card.innerHTML = `
${imageHtml}
<div class="project-content">
<h2 class="project-title">${project.title[currentLanguage]}</h2>
<p class="project-description">${project.description[currentLanguage]}</p>
<a href="${project.repository}" target="_blank" rel="noopener noreferrer" class="project-link">
${translations[currentLanguage].viewRepository}
</a>
</div>
`;
grid.appendChild(card);
});
}
// Inicialização
renderProjects();
</script>
</body>
</html>