From 0d472b5b9e7ce10743218e77f05654736c528af2 Mon Sep 17 00:00:00 2001 From: Juan gomen Date: Wed, 12 Feb 2025 22:59:06 -0600 Subject: [PATCH] fix: hide overflow scrollbar --- package.json | 4 ++-- src/components/CountDown.astro | 2 +- src/layouts/Layout.astro | 7 +++++++ src/pages/index.astro | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index fd48e83..773cbe8 100755 --- a/package.json +++ b/package.json @@ -10,10 +10,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/check": "^0.5.5", + "@astrojs/check": "^0.9.4", "@fontsource-variable/inter": "^5.0.18", "@fontsource/inknut-antiqua": "^5.0.13", - "astro": "^4.4.4", + "astro": "^5.2.6", "typescript": "^5.3.3" }, "devDependencies": { diff --git a/src/components/CountDown.astro b/src/components/CountDown.astro index 40496f5..6503f00 100755 --- a/src/components/CountDown.astro +++ b/src/components/CountDown.astro @@ -1,6 +1,6 @@ --- //const LAUNCH_DATE = new Date(2024, 3, 13, 12, 30).getTime(); // 1713033000000 -const LAUNCH_DATE = new Date("2025-02-29T12:30:00Z").getTime(); // 1713033000000 +const LAUNCH_DATE = new Date("2025-06-27T12:30:00Z").getTime(); // 1713033000000 ---
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index f53ceb6..6d83344 100755 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -52,4 +52,11 @@ const { title, description } = Astro.props; body { color: #fff; } + .hide-scrollbar { + -ms-overflow-style: none; /* IE 10+*/ + scrollbar-width: none; /* Firefox */ + } + .hide-scrollbar::-webkit-scrollbar { + display: none; /* Safari and Chrome */ + } diff --git a/src/pages/index.astro b/src/pages/index.astro index c9deb7e..74f1aa3 100755 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -8,7 +8,7 @@ import SocialTags from "../components/SocialTags.astro"; title="Gomen's portfolio" description="Dev portfolio under construction" > -
+

Coming soon

I'm currently working on creating my portfolio