diff --git a/public/chapa-sigmoide/fabill.jpg b/public/chapa-sigmoide/fabill.jpg new file mode 100644 index 0000000..eecc84b Binary files /dev/null and b/public/chapa-sigmoide/fabill.jpg differ diff --git a/public/chapa-sigmoide/henrique.png b/public/chapa-sigmoide/henrique.png new file mode 100644 index 0000000..51a035f Binary files /dev/null and b/public/chapa-sigmoide/henrique.png differ diff --git a/public/css/chapa_sigmoide.css b/public/css/chapa_sigmoide.css index a329335..63b89d1 100644 --- a/public/css/chapa_sigmoide.css +++ b/public/css/chapa_sigmoide.css @@ -335,10 +335,9 @@ div.easteregg-visible } } -div.easteregg-visible div.description -{ display: none; } - -div:not(.easteregg-visible) .easteregg +div.easteregg-visible div.description, +div:not(.easteregg-visible) .easteregg, +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 db0bbf9..3468fbe 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)'); +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 @@ -74,6 +72,4 @@ function handleCardClick(event) { // Check for the 3-click trigger if (clickCount >= 3) { expandEastereggs(); } -} - -window.onload = () => { hideEastereggs(); } \ No newline at end of file +} \ No newline at end of file diff --git a/views/chapa-sigmoide/readme.erb b/views/chapa-sigmoide/readme.erb index 80ca000..68b1df4 100644 --- a/views/chapa-sigmoide/readme.erb +++ b/views/chapa-sigmoide/readme.erb @@ -143,9 +143,9 @@
- + - +
@@ -155,4 +155,28 @@

Mais

+ + +
+
+

(Quase) Tesoureiro

+ +

Fabill

+ +

Windows user

+
+ +
+ +
+ +
+

Semestre: 2º.

+ +

Gosta de: bíblia, animes e FNAF.

+ +

america yaaa

+ +

Último detentor do Orange Pi.

+
\ No newline at end of file