Compare commits
2 commits
f8f69b2973
...
a0ff7fa0a9
| Author | SHA1 | Date | |
|---|---|---|---|
| a0ff7fa0a9 | |||
| 7165598f2d |
12 changed files with 62 additions and 25 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
|
||||
markdown request.path_info.to_sym, layout_engine: :erb, layout: :chapa_sigmoide
|
||||
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
|
||||
end
|
||||
end
|
||||
BIN
public/chapa-sigmoide/fabill.jpg
Normal file
BIN
public/chapa-sigmoide/fabill.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
BIN
public/chapa-sigmoide/henrique.png
Normal file
BIN
public/chapa-sigmoide/henrique.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 135 KiB |
|
|
@ -335,9 +335,8 @@ div.easteregg-visible
|
|||
}
|
||||
}
|
||||
|
||||
div.easteregg-visible div.description
|
||||
{ display: none; }
|
||||
|
||||
div.easteregg-visible div.description,
|
||||
div:not(.easteregg-visible) .easteregg,
|
||||
div:not(.easteregg-visible).easteregg
|
||||
{ display: none; }
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ for (const card of cards)
|
|||
card.addEventListener('click', handleCardClick);
|
||||
}
|
||||
|
||||
const eastereggContainers = document.querySelectorAll('div.ficha:has(.easteregg)');
|
||||
const eastereggContainers = document.querySelectorAll('div.ficha:has(.easteregg), div.ficha.easteregg');
|
||||
|
||||
const messageBox = document.getElementById('message-box');
|
||||
|
||||
|
|
@ -20,7 +20,6 @@ function hideEastereggs() {
|
|||
for (const div of eastereggContainers)
|
||||
{
|
||||
div.classList.remove('easteregg-visible');
|
||||
div.classList.add('easteregg-hidden');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -28,7 +27,6 @@ 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
|
||||
|
|
@ -75,5 +73,3 @@ function handleCardClick(event) {
|
|||
if (clickCount >= 3)
|
||||
{ expandEastereggs(); }
|
||||
}
|
||||
|
||||
window.onload = () => { hideEastereggs(); }
|
||||
|
|
@ -143,9 +143,9 @@
|
|||
</div>
|
||||
|
||||
<figure>
|
||||
<img src="/chapa-sigmoide/henrique.jpg"/>
|
||||
<img src="/chapa-sigmoide/henrique.png"/>
|
||||
|
||||
<img src="/chapa-sigmoide/henrique.jpg"/>
|
||||
<img src="/chapa-sigmoide/henrique.png"/>
|
||||
</figure>
|
||||
|
||||
<div class="description">
|
||||
|
|
@ -156,3 +156,27 @@
|
|||
<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
views/chapa-sigmoide/personality.markdown
Normal file
1
views/chapa-sigmoide/personality.markdown
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Personalidade
|
||||
1
views/chapa-sigmoide/proposals.markdown
Normal file
1
views/chapa-sigmoide/proposals.markdown
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Propostas
|
||||
19
views/chapa-sigmoide/readme.md
Normal file
19
views/chapa-sigmoide/readme.md
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# 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
views/chapa-sigmoide/symbology.md
Normal file
1
views/chapa-sigmoide/symbology.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Simbologia
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<a href="/readme.md">Início</a>
|
||||
<a href="/home">Início</a>
|
||||
|
||||
<a href="/chapa-sigmoide/readme.md">Chapa Sigmóide</a>
|
||||
<a href="/chapa-sigmoide/readme.markdown">Chapa Sigmóide</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
|
|
|||
|
|
@ -10,13 +10,9 @@
|
|||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<a href="/readme.md">Readme</a>
|
||||
<a href="/git">Git</a>
|
||||
|
||||
<a href="/chapa-sigmoide/readme">Chapa Sigmóide</a>
|
||||
|
||||
<a href="/building.md">Building</a>
|
||||
|
||||
<a href="/QA.md">Q&A</a>
|
||||
<a href="/chapa-sigmoide/readme.markdown">Chapa Sigmóide</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue