From 9f20921275912ea74610cccb455727903a45dcfc Mon Sep 17 00:00:00 2001 From: log101 Date: Thu, 16 May 2024 14:14:54 +0300 Subject: [PATCH] style: replace styles with tailwind classes --- src/components/Card.astro | 61 ----------- src/components/Footer.astro | 19 +--- src/components/Header.astro | 52 ++++----- src/components/Post.astro | 101 +++--------------- .../blog/ataturk-ve-demokratik-turkiye.md | 2 - src/layouts/Layout.astro | 4 +- .../category/[category]/[slug]/index.astro | 9 +- src/pages/category/[category]/index.astro | 20 ++-- src/pages/index.astro | 20 ++-- src/styles/main.css | 6 ++ 10 files changed, 65 insertions(+), 229 deletions(-) delete mode 100644 src/components/Card.astro diff --git a/src/components/Card.astro b/src/components/Card.astro deleted file mode 100644 index bd6d597..0000000 --- a/src/components/Card.astro +++ /dev/null @@ -1,61 +0,0 @@ ---- -interface Props { - title: string; - body: string; - href: string; -} - -const { href, title, body } = Astro.props; ---- - - - diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 6e546bc..d0adb8a 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -2,22 +2,7 @@ --- - - -