refactor: move active link handling to JavaScript

This commit is contained in:
Stefan Imhoff
2023-06-14 13:58:46 +02:00
parent 991a7b45a0
commit 6f0b121915
5 changed files with 31 additions and 21 deletions

View File

@@ -9,6 +9,7 @@ import ThemeProvider from '../components/ThemeProvider.astro';
import PageHeader from '../components/PageHeader.astro';
import PageFooter from '../components/PageFooter.astro';
import Sal from '../components/Sal.astro';
import ActiveNavigationCheck from '../components/ActiveNavigationCheck.astro';
export interface Props {
backLink?: string;
@@ -152,6 +153,7 @@ const webManifest = isProduction && {
</script>
<Sal />
<ActiveNavigationCheck />
<ThemeProvider />
</head>