From fb05345c857da06da1ab879ce56c0769c88e9111 Mon Sep 17 00:00:00 2001 From: Matias Bubello Date: Wed, 13 Mar 2024 11:27:08 -0300 Subject: [PATCH 1/4] Update KonamiCode.astro --- src/components/KonamiCode.astro | 156 ++++++++++++++++++++++---------- 1 file changed, 108 insertions(+), 48 deletions(-) diff --git a/src/components/KonamiCode.astro b/src/components/KonamiCode.astro index dbad28310..b2f8070f0 100644 --- a/src/components/KonamiCode.astro +++ b/src/components/KonamiCode.astro @@ -1,49 +1,109 @@ - From 12b89ef3938767959c67b911e0164462d76ee222 Mon Sep 17 00:00:00 2001 From: Matias Bubello Date: Wed, 13 Mar 2024 11:52:33 -0300 Subject: [PATCH 2/4] Midu --- src/components/KonamiCode.astro | 86 +++++++++++++++++++-------------- 1 file changed, 49 insertions(+), 37 deletions(-) diff --git a/src/components/KonamiCode.astro b/src/components/KonamiCode.astro index b2f8070f0..9d9acef07 100644 --- a/src/components/KonamiCode.astro +++ b/src/components/KonamiCode.astro @@ -8,9 +8,17 @@ height: 60px; opacity: 1; bottom: -50px; + display: block; animation: bubble linear forwards 3s; } + #midu { + width: 150px; + height: 150px; + left: 50%; + transform: translateX(-50%); + } + @keyframes bubble { from { opacity: 1; @@ -25,7 +33,7 @@ } From a1a40b9f86478ed1b61f5b2973e9b6b6a52861b7 Mon Sep 17 00:00:00 2001 From: Matias Bubello Date: Wed, 13 Mar 2024 14:06:17 -0300 Subject: [PATCH 3/4] KonamiCode & MiduCode Ahora quedaron ambos, el konami code y el miducode --- src/components/KonamiCode.astro | 160 +++++++++----------------------- src/components/MiduCode.astro | 105 +++++++++++++++++++++ src/layouts/Layout.astro | 2 + 3 files changed, 151 insertions(+), 116 deletions(-) create mode 100644 src/components/MiduCode.astro diff --git a/src/components/KonamiCode.astro b/src/components/KonamiCode.astro index 9d9acef07..dbad28310 100644 --- a/src/components/KonamiCode.astro +++ b/src/components/KonamiCode.astro @@ -1,121 +1,49 @@ - - diff --git a/src/components/MiduCode.astro b/src/components/MiduCode.astro new file mode 100644 index 000000000..1e9593d29 --- /dev/null +++ b/src/components/MiduCode.astro @@ -0,0 +1,105 @@ + + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 047d6afa0..c8851fe60 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,6 +1,7 @@ --- import { ViewTransitions } from "astro:transitions" +import MiduCode from "../components/MiduCode.astro" import ButtonUp from "@/components/ButtonUp.astro" import KonamiCode from "@/components/KonamiCode.astro" import LightsBackground from "@/components/LightsBackground.astro" @@ -38,6 +39,7 @@ const { title, description, preloadImgLCP } = Astro.props