pwa
This commit is contained in:
@@ -3,6 +3,7 @@ import "../styles/global.css";
|
||||
import Head from "./Head.astro";
|
||||
import Navigation from "../components/Navigation.astro";
|
||||
import { getLanguageFromPath } from "../lib/i18n";
|
||||
import ReloadPrompt from '../components/ReloadPrompt.astro';
|
||||
|
||||
const { title = "Just a title", description = "Adescription" } = Astro.props;
|
||||
|
||||
@@ -18,6 +19,8 @@ const currentLang = getLanguageFromPath(Astro.url.pathname);
|
||||
</header>
|
||||
<main class="container max-w-4xl mx-auto p-4">
|
||||
<slot />
|
||||
<ReloadPrompt />
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user