diff --git a/.prettierrc.cjs b/.prettierrc.cjs index 4a49707..7772ceb 100644 --- a/.prettierrc.cjs +++ b/.prettierrc.cjs @@ -1,11 +1,14 @@ module.exports = { - plugins: [require.resolve("prettier-plugin-astro")], - overrides: [ - { - files: "*.astro", - options: { - parser: "astro", - }, - }, - ], + plugins: [ + require.resolve("prettier-plugin-astro"), + require.resolve("prettier-plugin-tailwindcss"), + ], + overrides: [ + { + files: "*.astro", + options: { + parser: "astro", + }, + }, + ], }; diff --git a/src/components/widgets/Fireworks.astro b/src/components/widgets/Fireworks.astro index 0762716..f8e64f9 100644 --- a/src/components/widgets/Fireworks.astro +++ b/src/components/widgets/Fireworks.astro @@ -1,15 +1,16 @@ \ No newline at end of file + const fireworks = new Fireworks(fireworksContainer, { + rocketsPoint: { + min: 0, + max: 100, + }, + autoresize: true, + }); + fireworks.start(); + diff --git a/src/components/widgets/Navbar.astro b/src/components/widgets/Navbar.astro index ba3d8fc..821f5f9 100644 --- a/src/components/widgets/Navbar.astro +++ b/src/components/widgets/Navbar.astro @@ -2,63 +2,58 @@ import Container from "../atoms/Container.astro"; const navItems = [ - { - name: "Home", - link: "/", - }, - { - name: "Projects", - link: "/projects", - }, - { - name: "Blog", - link: "/blog", - }, - { - name: "Docs", - link: "/docs", - }, + { + name: "Home", + link: "/", + }, + { + name: "Projects", + link: "/projects", + }, + { + name: "Blog", + link: "/blog", + }, + { + name: "Docs", + link: "/docs", + }, ]; ---
- - xHyroM - - - - + + xHyroM + + + +
diff --git a/src/components/widgets/Snow.astro b/src/components/widgets/Snow.astro index f2f5ea9..68bbfc6 100644 --- a/src/components/widgets/Snow.astro +++ b/src/components/widgets/Snow.astro @@ -1,3 +1,3 @@ diff --git a/src/components/widgets/index/Hero.astro b/src/components/widgets/index/Hero.astro index 7702873..4f40583 100644 --- a/src/components/widgets/index/Hero.astro +++ b/src/components/widgets/index/Hero.astro @@ -6,20 +6,20 @@ import Name from "./Name.astro"; ---
-
- -
-
- - -
+
+ +
+
+ + +
diff --git a/src/components/widgets/index/Name.astro b/src/components/widgets/index/Name.astro index 0eb9a6d..6bf8961 100644 --- a/src/components/widgets/index/Name.astro +++ b/src/components/widgets/index/Name.astro @@ -1,3 +1,3 @@
-

xHyroM

+

xHyroM

diff --git a/src/components/widgets/index/Socials.astro b/src/components/widgets/index/Socials.astro index e90ab61..3660b5e 100644 --- a/src/components/widgets/index/Socials.astro +++ b/src/components/widgets/index/Socials.astro @@ -1,40 +1,40 @@ --- const socials = [ - { - name: "GitHub", - link: "https://github.com/xHyroM/", - icon: "github", - }, - { - name: "Discord", - link: "https://discord.gg/kFPKmEKeMS/", - icon: "discord", - }, - { - name: "Twitter", - link: "https://twitter.com/hyrousek/", - icon: "twitter", - }, - { - name: "Instagram", - link: "https://www.instagram.com/hyro.dev/", - icon: "instagram", - }, + { + name: "GitHub", + link: "https://github.com/xHyroM/", + icon: "github", + }, + { + name: "Discord", + link: "https://discord.gg/kFPKmEKeMS/", + icon: "discord", + }, + { + name: "Twitter", + link: "https://twitter.com/hyrousek/", + icon: "twitter", + }, + { + name: "Instagram", + link: "https://www.instagram.com/hyro.dev/", + icon: "instagram", + }, ]; --- diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index c988450..1991d5d 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -30,16 +30,17 @@ const Head = head || DefaultHead; - + ::-webkit-scrollbar-thumb { + border: 6px solid rgba(0, 0, 0, 0); + background-clip: padding-box; + border-radius: 9999px; + background-color: #aaaaaa; + } + + diff --git a/src/layouts/blog/PostLayout.astro b/src/layouts/blog/PostLayout.astro index 6c4853b..d9c3d50 100644 --- a/src/layouts/blog/PostLayout.astro +++ b/src/layouts/blog/PostLayout.astro @@ -18,12 +18,12 @@ const { -

+

{title}

-
+
diff --git a/src/pages/404.astro b/src/pages/404.astro index 79f8007..67a493d 100644 --- a/src/pages/404.astro +++ b/src/pages/404.astro @@ -5,43 +5,40 @@ import Layout from "../layouts/Layout.astro"; --- - -

- WRONG TURN? -

+ +

+ WRONG TURN? +

- -
-

- We're sorry, but it looks like the page you were trying to visit - has been misplaced. It's not entirely clear where it's gone, but - we suspect it may have gotten lost in the vast expanse of the - internet. -

+ +
+

+ We're sorry, but it looks like the page you were trying to visit has + been misplaced. It's not entirely clear where it's gone, but we suspect + it may have gotten lost in the vast expanse of the internet. +

-

- We've searched high and low, but alas, we can't seem to find it. - It's possible that it's hiding behind a particularly stubborn - firewall, or maybe it's taking a much-needed vacation on a - remote server farm. -

+

+ We've searched high and low, but alas, we can't seem to find it. It's + possible that it's hiding behind a particularly stubborn firewall, or + maybe it's taking a much-needed vacation on a remote server farm. +

-

- Despite our best efforts, we just can't seem to locate the page - you were looking for. We apologize for any inconvenience this - may have caused. -

+

+ Despite our best efforts, we just can't seem to locate the page you were + looking for. We apologize for any inconvenience this may have caused. +

-

- In the meantime, why not take a look around our homepage and see if you can find something else that piques your interest? - Who knows, you might just stumble upon something even better than - what you were originally looking for. -

+

+ In the meantime, why not take a look around our homepage and see if you can find something else that piques your interest? Who knows, + you might just stumble upon something even better than what you were originally + looking for. +

-

Thanks for stopping by, and we hope to see you again soon!

-
-
+

Thanks for stopping by, and we hope to see you again soon!

+
+