From 5db96e66eb362fd3934a1abd7c1726623af9192a Mon Sep 17 00:00:00 2001 From: prototypa Date: Sun, 8 Jan 2023 21:18:37 -0500 Subject: [PATCH] Fix some minimal styles --- src/assets/styles/base.css | 2 +- src/components/blog/HighlightedPosts.astro | 8 ++++---- src/components/widgets/CallToAction.astro | 4 ++-- src/components/widgets/FAQs.astro | 6 +++--- src/components/widgets/Features2.astro | 2 +- src/components/widgets/Header.astro | 8 ++++++-- src/components/widgets/Steps.astro | 2 +- src/components/widgets/Steps2.astro | 10 +++++----- 8 files changed, 23 insertions(+), 19 deletions(-) diff --git a/src/assets/styles/base.css b/src/assets/styles/base.css index f2e0d89..8d44ad1 100644 --- a/src/assets/styles/base.css +++ b/src/assets/styles/base.css @@ -17,7 +17,7 @@ } #header.scroll { - @apply drop-shadow-md bg-white md:bg-white/90 md:backdrop-blur-sm dark:bg-slate-900 dark:md:bg-slate-900/90; + @apply shadow-lg bg-white md:bg-white/90 md:backdrop-blur-sm dark:bg-slate-900 dark:md:bg-slate-900/90; } .dropdown:hover .dropdown-menu { diff --git a/src/components/blog/HighlightedPosts.astro b/src/components/blog/HighlightedPosts.astro index d95a56e..90f5ec3 100644 --- a/src/components/blog/HighlightedPosts.astro +++ b/src/components/blog/HighlightedPosts.astro @@ -24,12 +24,12 @@ const posts = await findPostsByIds(postIds); ---
-
-
+
+
{ title && (

) @@ -37,7 +37,7 @@ const posts = await findPostsByIds(postIds); { allPostsText && allPostsLink && ( {allPostsText} ยป diff --git a/src/components/widgets/CallToAction.astro b/src/components/widgets/CallToAction.astro index ff62d32..dbd0250 100644 --- a/src/components/widgets/CallToAction.astro +++ b/src/components/widgets/CallToAction.astro @@ -40,8 +40,8 @@ const { callToAction && callToAction.text && callToAction.href && ( -
- +
+ {callToAction.icon && } {callToAction.text} diff --git a/src/components/widgets/FAQs.astro b/src/components/widgets/FAQs.astro index 128a222..e92d200 100644 --- a/src/components/widgets/FAQs.astro +++ b/src/components/widgets/FAQs.astro @@ -21,18 +21,18 @@ const {
-
+
{ title && (

) } { subtitle && ( -

+

) }

diff --git a/src/components/widgets/Features2.astro b/src/components/widgets/Features2.astro index 10d6b6a..537db2d 100644 --- a/src/components/widgets/Features2.astro +++ b/src/components/widgets/Features2.astro @@ -25,7 +25,7 @@ const {
-
+
{ (title || subtitle || highlight) && ( diff --git a/src/components/widgets/Header.astro b/src/components/widgets/Header.astro index cbcfb36..06511be 100644 --- a/src/components/widgets/Header.astro +++ b/src/components/widgets/Header.astro @@ -11,7 +11,11 @@ const links = [ text: 'Pages', links: [ { - text: 'Services', + text: 'Features', + href: "#", + }, + { + text: 'Pricing', href: "#", }, { @@ -55,7 +59,7 @@ const links = [