Use Prettier

This commit is contained in:
prototypa
2022-09-11 03:51:55 -04:00
parent 51362812c8
commit d909adb658
52 changed files with 1487 additions and 1447 deletions

View File

@ -1,26 +1,25 @@
---
import "~/assets/styles/base.css";
import '~/assets/styles/base.css';
import MetaTags from "~/components/core/MetaTags.astro";
import BasicScripts from "~/components/core/BasicScripts.astro";
import MetaTags from '~/components/core/MetaTags.astro';
import BasicScripts from '~/components/core/BasicScripts.astro';
const { meta = {} } = Astro.props;
---
<!DOCTYPE html>
<html lang="en" class="motion-safe:scroll-smooth 2xl:text-[20px]">
<head>
<MetaTags {...meta} />
</head>
<head>
<MetaTags {...meta} />
</head>
<body class="antialiased text-gray-900 dark:text-slate-300 tracking-tight bg-white dark:bg-slate-900">
<slot />
<BasicScripts />
</body>
<body class="antialiased text-gray-900 dark:text-slate-300 tracking-tight bg-white dark:bg-slate-900">
<slot />
<BasicScripts />
<style is:global>
img {
content-visibility: auto;
}
</style>
</body>
</html>
<style is:global>
img {
content-visibility: auto;
}
</style>

View File

@ -1,18 +1,18 @@
---
import Layout from "~/layouts/PageLayout.astro";
import Layout from '~/layouts/PageLayout.astro';
const { meta } = Astro.props;
---
<Layout meta={meta}>
<section class="px-6 sm:px-6 py-12 sm:py-16 lg:py-20 mx-auto max-w-3xl">
<header>
<h1
class="text-center text-4xl md:text-5xl font-bold leading-tighter tracking-tighter mb-8 md:mb-16 font-heading"
>
<slot name="title" />
</h1>
</header>
<slot />
</section>
<Layout {meta}>
<section class="px-6 sm:px-6 py-12 sm:py-16 lg:py-20 mx-auto max-w-3xl">
<header>
<h1
class="text-center text-4xl md:text-5xl font-bold leading-tighter tracking-tighter mb-8 md:mb-16 font-heading"
>
<slot name="title" />
</h1>
</header>
<slot />
</section>
</Layout>

View File

@ -1,15 +1,15 @@
---
import Layout from "~/layouts/BaseLayout.astro";
import Header from "~/components/widgets/Header.astro";
import Footer from "~/components/widgets/Footer.astro";
import Layout from '~/layouts/BaseLayout.astro';
import Header from '~/components/widgets/Header.astro';
import Footer from '~/components/widgets/Footer.astro';
const { meta } = Astro.props;
---
<Layout meta={meta}>
<Header />
<main>
<slot />
</main>
<Footer />
<Layout {meta}>
<Header />
<main>
<slot />
</main>
<Footer />
</Layout>