diff --git a/client/src/components/SwipeNavigation.astro b/client/src/components/SwipeNavigation.astro new file mode 100644 index 00000000..4c5f87cc --- /dev/null +++ b/client/src/components/SwipeNavigation.astro @@ -0,0 +1,98 @@ +--- +// SwipeNavigation component for mobile swipe-to-go-back functionality +--- + +
+
+
+ + + + \ No newline at end of file diff --git a/client/src/layouts/Layout.astro b/client/src/layouts/Layout.astro index 7f45dadf..23884a96 100644 --- a/client/src/layouts/Layout.astro +++ b/client/src/layouts/Layout.astro @@ -2,6 +2,7 @@ import "../styles/global.css"; import Head from "./Head.astro"; import Navigation from "../components/Navigation.astro"; +import SwipeNavigation from "../components/SwipeNavigation.astro"; import { getLanguageFromPath } from "../lib/i18n"; import ReloadPrompt from '../components/ReloadPrompt.astro'; @@ -22,6 +23,7 @@ const currentLang = getLanguageFromPath(Astro.url.pathname); +