From ccd909c71e5e3a32a1dbc4ba00c90e5c181147d5 Mon Sep 17 00:00:00 2001
From: HJfod <60038575+HJfod@users.noreply.github.com>
Date: Mon, 4 Mar 2024 16:17:42 +0200
Subject: [PATCH] mobile fixes
---
src/components/Box.astro | 2 +-
src/components/Button.astro | 2 +-
src/components/Content.astro | 10 ++++++++++
src/components/Footer.astro | 2 +-
src/components/Link.astro | 2 +-
src/components/Title.astro | 1 +
src/layouts/Default.astro | 2 +-
src/pages/404.astro | 5 +++--
src/pages/about.astro | 6 +++---
src/pages/index.astro | 8 ++++----
src/pages/install.astro | 11 +++++------
11 files changed, 31 insertions(+), 20 deletions(-)
create mode 100644 src/components/Content.astro
diff --git a/src/components/Box.astro b/src/components/Box.astro
index 3dbde67..57cdd29 100644
--- a/src/components/Box.astro
+++ b/src/components/Box.astro
@@ -2,7 +2,7 @@
---
-
+
diff --git a/src/components/Button.astro b/src/components/Button.astro
index 463989a..47dbd51 100644
--- a/src/components/Button.astro
+++ b/src/components/Button.astro
@@ -1,6 +1,6 @@
---
const { link, style } = Astro.props;
-const url = link.startsWith('https') ? link : `${import.meta.env.BASE_URL}${link}`;
+const url = link.startsWith('https') || link.startsWith('#') ? link : `${import.meta.env.BASE_URL}${link}`;
---
diff --git a/src/components/Content.astro b/src/components/Content.astro
new file mode 100644
index 0000000..013f15d
--- /dev/null
+++ b/src/components/Content.astro
@@ -0,0 +1,10 @@
+---
+
+---
+
+
diff --git a/src/components/Footer.astro b/src/components/Footer.astro
index 53647bd..24ba711 100644
--- a/src/components/Footer.astro
+++ b/src/components/Footer.astro
@@ -3,7 +3,7 @@ import Link from "./Link.astro"
import Text from "./Text.astro"
---
-