chore: add no-js class and module to replace it if JavaScript is available

This commit is contained in:
Stefan Imhoff
2023-02-20 16:54:06 +01:00
parent 682eeccd07
commit eb1d0efa04

View File

@@ -1,4 +1,6 @@
--- ---
import '../styles/global.css';
export interface Props { export interface Props {
title: string; title: string;
} }
@@ -13,7 +15,7 @@ const { title } = Astro.props;
> >
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" /> <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} /> <meta name="generator" content={Astro.generator} />