diff --git a/src/assets/styles/base.css b/src/assets/styles/base.css index 7883b81..8c1c226 100644 --- a/src/assets/styles/base.css +++ b/src/assets/styles/base.css @@ -4,7 +4,7 @@ @layer components { .btn { - @apply inline-flex items-center justify-center rounded-md shadow-md border-gray-400 border bg-transparent font-medium text-center text-base text-gray-700 leading-snug transition py-3.5 px-6 md:px-7 ease-in duration-200 focus:ring-blue-500 focus:ring-offset-blue-200 focus:ring-2 focus:ring-offset-2 hover:bg-gray-100 hover:border-gray-600 dark:text-slate-300 dark:border-slate-500 dark:hover:bg-slate-800 dark:hover:border-slate-800; + @apply inline-flex items-center justify-center rounded-full shadow-md border-gray-400 border bg-transparent font-medium text-center text-base text-gray-700 leading-snug transition py-3.5 px-6 md:px-8 ease-in duration-200 focus:ring-blue-500 focus:ring-offset-blue-200 focus:ring-2 focus:ring-offset-2 hover:bg-gray-100 hover:border-gray-600 dark:text-slate-300 dark:border-slate-500 dark:hover:bg-slate-800 dark:hover:border-slate-800; } .btn-ghost { @@ -12,7 +12,11 @@ } .btn-primary { - @apply font-semibold bg-primary-800 text-white border-primary-800 hover:bg-primary-900 hover:border-primary-900 hover:text-white dark:text-white dark:bg-primary-700 dark:border-primary-700 dark:hover:border-primary-900 dark:hover:bg-primary-900; + @apply font-semibold bg-primary-800 text-white border-primary-800 hover:bg-primary-900 hover:border-primary-900 hover:text-white dark:text-white dark:bg-primary-800 dark:border-primary-800 dark:hover:border-primary-900 dark:hover:bg-primary-900; + } + + .bg-dark { + @apply bg-slate-900; } } diff --git a/src/components/blog/HighlightedPosts.astro b/src/components/blog/HighlightedPosts.astro index bddb1fd..08932dc 100644 --- a/src/components/blog/HighlightedPosts.astro +++ b/src/components/blog/HighlightedPosts.astro @@ -23,7 +23,7 @@ const { const posts = await findPostsByIds(postIds); --- -
+
{ diff --git a/src/components/common/ToggleTheme.astro b/src/components/common/ToggleTheme.astro index 3ab33d8..a49986e 100644 --- a/src/components/common/ToggleTheme.astro +++ b/src/components/common/ToggleTheme.astro @@ -1,6 +1,8 @@ --- import { Icon } from 'astro-icon'; +import { SITE } from '~/config.mjs'; + export interface Props { label?: string; class?: string; @@ -17,6 +19,10 @@ const { } = Astro.props; --- - +{ + !(SITE?.defaultTheme && SITE.defaultTheme.endsWith(':only')) && ( + + ) +} diff --git a/src/components/widgets/Content.astro b/src/components/widgets/Content.astro index 8dc0fba..009ad68 100644 --- a/src/components/widgets/Content.astro +++ b/src/components/widgets/Content.astro @@ -56,7 +56,7 @@ const { ) }
-
+
{content &&
} @@ -67,7 +67,7 @@ const { {items.map(({ title: title2, description, icon }) => (
-
+
diff --git a/src/components/widgets/Features2.astro b/src/components/widgets/Features2.astro index 23505af..ec521a9 100644 --- a/src/components/widgets/Features2.astro +++ b/src/components/widgets/Features2.astro @@ -24,7 +24,7 @@ const {
-
+
{ (title || subtitle || highlight) && ( diff --git a/src/components/widgets/Hero.astro b/src/components/widgets/Hero.astro index 581adfd..0058c36 100644 --- a/src/components/widgets/Hero.astro +++ b/src/components/widgets/Hero.astro @@ -19,26 +19,29 @@ export interface Props { const { title = await Astro.slots.render('title'), subtitle = await Astro.slots.render('subtitle'), + content = await Astro.slots.render('content'), callToAction = await Astro.slots.render('callToAction'), callToAction2 = await Astro.slots.render('callToAction2'), image = await Astro.slots.render('image'), } = Astro.props; --- -
-
+
+ +
+
-
+
{ title && (

) }
- {subtitle &&

} + {subtitle &&

}

{ callToAction && ( @@ -78,22 +81,23 @@ const { }
+ {content && }

{ image && ( -
+
{typeof image === 'string' ? ( ) : ( )} diff --git a/src/components/widgets/Pricing.astro b/src/components/widgets/Pricing.astro deleted file mode 100644 index 0161e91..0000000 --- a/src/components/widgets/Pricing.astro +++ /dev/null @@ -1,274 +0,0 @@ ---- ---- - - -
- -
-

Pricing

-

- Whatever your status, our offers evolve according to your needs. -

-
- - - -
- -
-

Free

- Free -

Forever free

- -
    -
  • - - - - 1 user -
  • - -
  • - - - - Plan features -
  • - -
  • - - - - Product support -
  • -
- - -
- - - -
-

- Most popular -

-

Startup

- - $ - 39 - -

All the basics for starting a new business

- -
    -
  • - - - - 2 users -
  • - -
  • - - - - Plan features -
  • - -
  • - - - - Product support -
  • -
- - -
- - - -
-

Team

- - $ - 89 - -

Everything you need for a growing business

- -
    -
  • - - - - 5 users -
  • - -
  • - - - - Plan features -
  • - -
  • - - - - Product support -
  • -
- - -
- - - -
-

Enterprise

- - $ - 149 - -

Advanced features for scaling your business

- -
    -
  • - - - - 10 users -
  • - -
  • - - - - Plan features -
  • - -
  • - - - - Product support -
  • -
- - -
- -
- -
- diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 80ff7a2..9edf313 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -21,7 +21,7 @@ const { language = 'en', textDirection = 'ltr' } = SITE; - +