Files
saladeaula.digital/superpage/src/layouts/Layout.astro
2025-05-07 16:34:02 -03:00

59 lines
1.3 KiB
Plaintext

---
import "~/styles/global.css";
import BaseHead, {
type Props as HeadProps,
} from "./_components/BaseHead.astro";
import Header from "./_components/Header.astro";
import Footer from "./_components/Footer.astro";
interface Props extends HeadProps {}
---
<!doctype html>
<html lang="pt-br">
<head>
<BaseHead {...Astro.props} />
<script
is:inline
type="text/plain"
data-type="text/partytown"
data-category="analytics"
src="https://www.googletagmanager.com/gtag/js?id=GTM-N3F7P9ZB"
></script>
<script
is:inline
type="text/plain"
data-type="text/partytown"
data-category="analytics"
>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "GTM-N3F7P9ZB");
</script>
</head>
<body>
<Header />
<slot name="nav" />
<main id="main" data-pagefind-body>
<slot />
</main>
<Footer />
<style is:global>
/* https://css-tricks.com/almanac/properties/c/content-visibility/ */
img {
content-visibility: auto;
}
</style>
</body>
</html>