diff --git a/src/layouts/layout.astro b/src/layouts/layout.astro index 92d2591..b119b51 100644 --- a/src/layouts/layout.astro +++ b/src/layouts/layout.astro @@ -8,6 +8,10 @@ */ import "@styles/main.scss"; +import LanguageSelect from "@components/language-select.astro"; +import Licence from "@components/licence.html"; +import Privacy from "@components/privacy.html"; + const { title } = Astro.props; --- @@ -55,7 +59,67 @@ const { title } = Astro.props; content={Astro.generator} /> +
+ Share2Fedi + + +
- +
+ +
+ + + diff --git a/src/pages/index.astro b/src/pages/index.astro index f571427..b7fd76b 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -8,10 +8,6 @@ */ import Layout from "@layouts/layout.astro"; import Form from "@components/form.astro"; -import Licence from "@components/licence.html"; -import Privacy from "@components/privacy.html"; - -import LanguageSelect from "@components/language-select.astro"; const searchParameters = new URL(Astro.request.url).searchParams; const prefilledText = searchParameters.get("text"); @@ -19,66 +15,8 @@ const prefilledInstance = searchParameters.get("instance"); --- -
- Share2Fedi - - -
-
-
-
- +