Update names of Layouts
This commit is contained in:
44
src/layouts/Empty.astro
Normal file
44
src/layouts/Empty.astro
Normal file
@ -0,0 +1,44 @@
|
||||
---
|
||||
import "~/assets/styles/base.css";
|
||||
|
||||
const { title = "", description = "", withHeader = true } = Astro.props;
|
||||
---
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
||||
<title>{title}</title>
|
||||
<meta name="description" content={description} />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;700&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<meta
|
||||
name="google-site-verification"
|
||||
content="orcPxI47GSa-cRvY11tUe6iGg2IO_RPvnA1q95iEM3M"
|
||||
/>
|
||||
</head>
|
||||
|
||||
<body
|
||||
class="antialiased text-gray-900 dark:text-slate-300 tracking-tight bg-white dark:bg-slate-900 font-ibm-plex-sans"
|
||||
>
|
||||
<slot />
|
||||
|
||||
<script is:inline>
|
||||
if (
|
||||
localStorage.theme === "dark" ||
|
||||
(!("theme" in localStorage) &&
|
||||
window.matchMedia("(prefers-color-scheme: dark)").matches)
|
||||
) {
|
||||
document.documentElement.classList.add("dark");
|
||||
} else {
|
||||
document.documentElement.classList.remove("dark");
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import Layout from "~/layouts/Layout.astro";
|
||||
import Layout from "~/layouts/Default.astro";
|
||||
|
||||
import BasicCTA from "~/components/astro/ctas/BasicCTA.astro";
|
||||
import BasicFeatures from "~/components/astro/features/BasicFeatures.astro";
|
||||
|
Reference in New Issue
Block a user