Astro
@konami-emoji-blast/astro
provides an Astro config file integration that loads konami-emoji-blast
on all pages of your site.
First install the @konami-emoji-blast/astro
package as a dependency:
npm i @konami-emoji-blast/astro
You can then import and use its konamiEmojiBlast
integration in your Astro config file:
import { konamiEmojiBlast } from "@konami-emoji-blast/astro";import { defineConfig } from "astro/config";
export default defineConfig({ integrations: [konamiEmojiBlast()],});
Then, pressing the Konami Code on your Astro site should trigger fireworks blasts of emoji on the page. Yay! 🎆