Fix minimal details

This commit is contained in:
prototypa
2022-09-04 00:56:24 -04:00
parent 570cf904c4
commit 1cf25d6b43
44 changed files with 757 additions and 641 deletions

View File

@ -1,28 +1,20 @@
---
import { SITE } from "~/config.mjs"
import "~/assets/styles/base.css";
import MetaTags from "~/components/core/MetaTags.astro";
import BasicScripts from "~/components/core/BasicScripts.astro";
import Analytics from '@julian_cataldo/astro-analytics/Analytics.astro';
const { meta = {} } = Astro.props;
const { googleAnalyticsId = false } = SITE;
---
<!DOCTYPE html>
<html lang="en" class="motion-safe:scroll-smooth 2xl:text-[24px]">
<head>
<MetaTags {...meta} />
</head>
<head>
<MetaTags {...meta} />
{googleAnalyticsId &&
<Analytics id={googleAnalyticsId} />}
</head>
<body class="antialiased text-gray-900 dark:text-slate-300 tracking-tight bg-white dark:bg-slate-900">
<slot />
<BasicScripts />
</body>
</html>
<body class="antialiased text-gray-900 dark:text-slate-300 tracking-tight bg-white dark:bg-slate-900">
<slot />
<BasicScripts />
</body>
</html>