feat: enable fireworks

This commit is contained in:
Jozef Steinhübl 2023-12-31 12:58:28 +01:00
parent b62b136ea0
commit d81e9118a3
No known key found for this signature in database
GPG key ID: E944BC293F5FF7E7
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,6 @@ import compress from "astro-compress";
import preact from "@astrojs/preact"; import preact from "@astrojs/preact";
// https://astro.build/config // https://astro.build/config
import prefetch from "@astrojs/prefetch";
import robotsTxt from "astro-robots-txt"; import robotsTxt from "astro-robots-txt";
import minify from "./astro-integrations/minify"; import minify from "./astro-integrations/minify";
@ -32,7 +31,6 @@ export default defineConfig({
svg: false, svg: false,
html: false, html: false,
}), }),
prefetch(),
robotsTxt({ robotsTxt({
policy: [ policy: [
{ {

View file

@ -1,6 +1,7 @@
--- ---
import SEOEmbed from "@components/widgets/SEOEmbed.astro"; import SEOEmbed from "@components/widgets/SEOEmbed.astro";
import Snow from "../components/widgets/decorations/Snow.astro"; import Snow from "../components/widgets/decorations/Snow.astro";
import Fireworks from "../components/widgets/decorations/Fireworks.astro";
const { title, description, keywords, schemaOrg } = { const { title, description, keywords, schemaOrg } = {
title: "xHyroM", title: "xHyroM",
@ -43,6 +44,7 @@ const { title, description, keywords, schemaOrg } = {
<body class="overflow-x-hidden bg-dark-900 font-sans"> <body class="overflow-x-hidden bg-dark-900 font-sans">
<slot /> <slot />
<Snow /> <Snow />
<Fireworks />
<script> <script>
import "@scripts/menu.ts"; import "@scripts/menu.ts";