Compare commits
No commits in common. "a0ff7fa0a9e3c708cd1535d3d936eecf3dcfdd7f" and "f8f69b297302f80089bbe6e68921a171eaa27e65" have entirely different histories.
a0ff7fa0a9
...
f8f69b2973
12 changed files with 25 additions and 62 deletions
10
app.rb
10
app.rb
|
|
@ -20,11 +20,11 @@ class TonTonWeb::App < Sinatra::Base
|
|||
markdown request.path_info.to_sym, layout_engine: :erb, layout: true
|
||||
end
|
||||
|
||||
get '/chapa-sigmoide/readme' do
|
||||
erb request.path_info.to_sym, layout_engine: :erb, layout: :chapa_sigmoide
|
||||
end
|
||||
|
||||
get '/chapa-sigmoide/:name' do
|
||||
if request.path_info.end_with? '.markdown'
|
||||
markdown request.path_info.sub('.markdown', '').to_sym, layout_engine: :erb, layout: :chapa_sigmoide
|
||||
elsif request.path_info.end_with? '.erb'
|
||||
erb request.path_info.sub('.erb', '').to_sym, layout_engine: :erb, layout: :chapa_sigmoide
|
||||
end
|
||||
markdown request.path_info.to_sym, layout_engine: :erb, layout: :chapa_sigmoide
|
||||
end
|
||||
end
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 135 KiB |
|
|
@ -335,9 +335,10 @@ div.easteregg-visible
|
|||
}
|
||||
}
|
||||
|
||||
div.easteregg-visible div.description,
|
||||
div:not(.easteregg-visible) .easteregg,
|
||||
div:not(.easteregg-visible).easteregg
|
||||
div.easteregg-visible div.description
|
||||
{ display: none; }
|
||||
|
||||
div:not(.easteregg-visible) .easteregg
|
||||
{ display: none; }
|
||||
|
||||
div.easteregg-visible .easteregg
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ for (const card of cards)
|
|||
card.addEventListener('click', handleCardClick);
|
||||
}
|
||||
|
||||
const eastereggContainers = document.querySelectorAll('div.ficha:has(.easteregg), div.ficha.easteregg');
|
||||
const eastereggContainers = document.querySelectorAll('div.ficha:has(.easteregg)');
|
||||
|
||||
const messageBox = document.getElementById('message-box');
|
||||
|
||||
|
|
@ -20,6 +20,7 @@ function hideEastereggs() {
|
|||
for (const div of eastereggContainers)
|
||||
{
|
||||
div.classList.remove('easteregg-visible');
|
||||
div.classList.add('easteregg-hidden');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -27,6 +28,7 @@ function expandEastereggs() {
|
|||
for (const div of eastereggContainers)
|
||||
{
|
||||
div.classList.add('easteregg-visible');
|
||||
div.classList.remove('easteregg-hidden');
|
||||
}
|
||||
|
||||
// Clear any existing timeout and set a new one
|
||||
|
|
@ -73,3 +75,5 @@ function handleCardClick(event) {
|
|||
if (clickCount >= 3)
|
||||
{ expandEastereggs(); }
|
||||
}
|
||||
|
||||
window.onload = () => { hideEastereggs(); }
|
||||
|
|
@ -1 +0,0 @@
|
|||
# Personalidade
|
||||
|
|
@ -1 +0,0 @@
|
|||
# Propostas
|
||||
|
|
@ -143,9 +143,9 @@
|
|||
</div>
|
||||
|
||||
<figure>
|
||||
<img src="/chapa-sigmoide/henrique.png"/>
|
||||
<img src="/chapa-sigmoide/henrique.jpg"/>
|
||||
|
||||
<img src="/chapa-sigmoide/henrique.png"/>
|
||||
<img src="/chapa-sigmoide/henrique.jpg"/>
|
||||
</figure>
|
||||
|
||||
<div class="description">
|
||||
|
|
@ -156,27 +156,3 @@
|
|||
<p><a href="henrique">Mais</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ficha easteregg">
|
||||
<div class="names">
|
||||
<p><span class="shadowed">(Quase) <span><strong>Tesoureiro</strong></p>
|
||||
|
||||
<p>Fabill</p>
|
||||
|
||||
<p class="shadowed">Windows user</p>
|
||||
</div>
|
||||
|
||||
<figure>
|
||||
<img class="easteregg" src="/chapa-sigmoide/fabill.jpg"/>
|
||||
</figure>
|
||||
|
||||
<div class="easteregg">
|
||||
<p><strong>Semestre:</strong> 2º.</p>
|
||||
|
||||
<p><strong>Gosta de:</strong> bíblia, animes e FNAF.</p>
|
||||
|
||||
<p>america yaaa</p>
|
||||
|
||||
<p>Último detentor do Orange Pi.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
# Chapa Sigmóide
|
||||
|
||||
Olá, mundo!
|
||||
|
||||
A Chapa Sigmóide é uma chapa eleitoral concorrendo à gerência do Centro Acadêmico de Ciência da Computação da Universidade Federal do Pará (UFPA), campus de Belém.
|
||||
|
||||
[Integrantes](members.erb)
|
||||
|
||||
[Simbologia](symbology.markdown)
|
||||
|
||||
[Personalidade (em produção)](personality.markdown)
|
||||
|
||||
[Propostas (em produção)](proposals.markdown)
|
||||
|
||||
[Mascotes (em produção)](mascots.markdown)
|
||||
|
||||
Esse site é construído de forma aberta e graças à colaboração dos membros, com o código fonte disponível em [mytonton.com.br/git](/git).
|
||||
|
||||
O domínio [mytonton.com.br](https://mytonton.com.br) é custeado por Mateus Barreto (Presidente) e Yuri Delgado (Tesoureiro Geral), de forma voluntária.
|
||||
|
|
@ -1 +0,0 @@
|
|||
# Simbologia
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<a href="/home">Início</a>
|
||||
<a href="/readme.md">Início</a>
|
||||
|
||||
<a href="/chapa-sigmoide/readme.markdown">Chapa Sigmóide</a>
|
||||
<a href="/chapa-sigmoide/readme.md">Chapa Sigmóide</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
|
|
|||
|
|
@ -10,9 +10,13 @@
|
|||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<a href="/git">Git</a>
|
||||
<a href="/readme.md">Readme</a>
|
||||
|
||||
<a href="/chapa-sigmoide/readme.markdown">Chapa Sigmóide</a>
|
||||
<a href="/chapa-sigmoide/readme">Chapa Sigmóide</a>
|
||||
|
||||
<a href="/building.md">Building</a>
|
||||
|
||||
<a href="/QA.md">Q&A</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue