From 456db37eb61c92dffa75092f7662c05435c08962 Mon Sep 17 00:00:00 2001 From: tobias Date: Sun, 19 May 2024 15:33:37 +0200 Subject: [PATCH] Configure reasonable-ish CSS defaults --- astro/src/components/Content.astro | 5 +--- astro/src/components/Header.astro | 8 +++--- astro/src/global.css | 46 +++++++++++++++++++++++++++++- astro/src/layouts/BaseLayout.astro | 2 +- astro/src/pages/index.astro | 4 +-- astro/src/pages/posts/[id].astro | 6 ++-- astro/tailwind.config.cjs | 1 + 7 files changed, 57 insertions(+), 15 deletions(-) diff --git a/astro/src/components/Content.astro b/astro/src/components/Content.astro index 03a3a87..b66d864 100644 --- a/astro/src/components/Content.astro +++ b/astro/src/components/Content.astro @@ -5,8 +5,6 @@ import { getImageSrc } from "@/utils/payload"; const { content } = Astro.props; const contentArray = getContentArray(content); --- - -
{ contentArray.map((value) => { if (typeof value === "string") { @@ -23,5 +21,4 @@ const contentArray = getContentArray(content); ); } }) - } -
+ } \ No newline at end of file diff --git a/astro/src/components/Header.astro b/astro/src/components/Header.astro index a107ef1..54dac69 100644 --- a/astro/src/components/Header.astro +++ b/astro/src/components/Header.astro @@ -18,16 +18,16 @@ const links = [
- - + + Logo