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" --- -