feat: snow

This commit is contained in:
Jozef Steinhübl 2023-11-25 15:42:38 +01:00
parent f8ab159483
commit 18bdfcde36
No known key found for this signature in database
GPG key ID: E944BC293F5FF7E7
3 changed files with 1436 additions and 544 deletions

View file

@ -11,27 +11,27 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@astrojs/preact": "^3.0.0", "@astrojs/preact": "^3.0.1",
"@astrojs/prefetch": "^0.4.0", "@astrojs/prefetch": "^0.4.1",
"@astrojs/sitemap": "^3.0.0", "@astrojs/sitemap": "^3.0.3",
"@astrojs/tailwind": "^5.0.0", "@astrojs/tailwind": "^5.0.2",
"@tailwindcss/typography": "^0.5.10", "@tailwindcss/typography": "^0.5.10",
"astro": "^3.2.2", "astro": "^3.6.0",
"astro-compress": "^2.0.15", "astro-compress": "^2.2.3",
"astro-icon": "^0.8.1", "astro-icon": "^0.8.1",
"astro-robots-txt": "^1.0.0", "astro-robots-txt": "^1.0.0",
"astro-tooltips": "^0.6.2", "astro-tooltips": "^0.6.2",
"fireworks-js": "^2.10.7", "fireworks-js": "^2.10.7",
"html-minifier": "^4.0.0", "html-minifier": "^4.0.0",
"preact": "^10.18.1", "preact": "^10.19.2",
"sharp": "^0.32.6", "sharp": "^0.32.6",
"tailwindcss": "^3.3.3" "tailwindcss": "^3.3.5"
}, },
"devDependencies": { "devDependencies": {
"@types/html-minifier": "^4.0.3", "@types/html-minifier": "^4.0.5",
"prettier": "3.0.3", "prettier": "3.1.0",
"prettier-plugin-astro": "^0.12.0", "prettier-plugin-astro": "^0.12.2",
"prettier-plugin-tailwindcss": "^0.5.5" "prettier-plugin-tailwindcss": "^0.5.7"
}, },
"pnpm": { "pnpm": {
"patchedDependencies": { "patchedDependencies": {

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,7 @@ import SEOEmbed from "@components/widgets/SEOEmbed.astro";
const { title, description, keywords, schemaOrg } = { const { title, description, keywords, schemaOrg } = {
title: "xHyroM", title: "xHyroM",
description: "I'm Hyro :) o/", description: "I'm Hyro :) o/",
keywords: "xhyrom developer dev hyro hyrousek", keywords: "xhyrom developer dev hyro hyrousek hyriik",
...Astro.props, ...Astro.props,
}; };
--- ---
@ -39,11 +39,12 @@ const { title, description, keywords, schemaOrg } = {
) )
} }
</head> </head>
<body class="overflow-x-hidden bg-dark-900 font-sans"> <body class="overflow-x-hidden snow-container bg-dark-900 font-sans">
<slot /> <slot />
<script> <script>
import "@scripts/menu.ts"; import "@scripts/menu.ts";
import "@scripts/snow.js"
</script> </script>
<style is:global> <style is:global>
::-webkit-scrollbar { ::-webkit-scrollbar {