diff --git a/app.rb b/app.rb
index b7aa410..100a814 100644
--- a/app.rb
+++ b/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
\ No newline at end of file
diff --git a/public/chapa-sigmoide/fabill.jpg b/public/chapa-sigmoide/fabill.jpg
deleted file mode 100644
index eecc84b..0000000
Binary files a/public/chapa-sigmoide/fabill.jpg and /dev/null differ
diff --git a/public/chapa-sigmoide/henrique.png b/public/chapa-sigmoide/henrique.png
deleted file mode 100644
index 51a035f..0000000
Binary files a/public/chapa-sigmoide/henrique.png and /dev/null differ
diff --git a/public/css/chapa_sigmoide.css b/public/css/chapa_sigmoide.css
index 63b89d1..a329335 100644
--- a/public/css/chapa_sigmoide.css
+++ b/public/css/chapa_sigmoide.css
@@ -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
diff --git a/public/javascript/chapa_sigmoide.js b/public/javascript/chapa_sigmoide.js
index 3468fbe..db0bbf9 100644
--- a/public/javascript/chapa_sigmoide.js
+++ b/public/javascript/chapa_sigmoide.js
@@ -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
@@ -72,4 +74,6 @@ function handleCardClick(event) {
// Check for the 3-click trigger
if (clickCount >= 3)
{ expandEastereggs(); }
-}
\ No newline at end of file
+}
+
+window.onload = () => { hideEastereggs(); }
\ No newline at end of file
diff --git a/views/chapa-sigmoide/personality.markdown b/views/chapa-sigmoide/personality.markdown
deleted file mode 100644
index 5e5d6f3..0000000
--- a/views/chapa-sigmoide/personality.markdown
+++ /dev/null
@@ -1 +0,0 @@
-# Personalidade
\ No newline at end of file
diff --git a/views/chapa-sigmoide/proposals.markdown b/views/chapa-sigmoide/proposals.markdown
deleted file mode 100644
index f0bbc2b..0000000
--- a/views/chapa-sigmoide/proposals.markdown
+++ /dev/null
@@ -1 +0,0 @@
-# Propostas
\ No newline at end of file
diff --git a/views/chapa-sigmoide/members.erb b/views/chapa-sigmoide/readme.erb
similarity index 84%
rename from views/chapa-sigmoide/members.erb
rename to views/chapa-sigmoide/readme.erb
index 68b1df4..80ca000 100644
--- a/views/chapa-sigmoide/members.erb
+++ b/views/chapa-sigmoide/readme.erb
@@ -143,9 +143,9 @@
+
-
+
(Quase) Tesoureiro
- -Fabill
- -Windows user
-
- Semestre: 2º.
- -Gosta de: bíblia, animes e FNAF.
- -america yaaa
- -Último detentor do Orange Pi.
-