diff --git a/package.json b/package.json index 6c721aa..431943e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@onwidget/astrowind", "description": "A template to make your website using Astro + Tailwind CSS.", - "version": "1.0.0-beta.0", + "version": "1.0.0-beta.1", "private": true, "scripts": { "dev": "astro dev", @@ -13,40 +13,40 @@ "lint:eslint": "eslint . --ext .js,.ts,.astro" }, "dependencies": { - "@astrojs/rss": "3.0.0-rc.2", + "@astrojs/rss": "^3.0.0", "@astrolib/analytics": "^0.4.2", "@astrolib/seo": "^1.0.0-beta.4", "@fontsource-variable/inter": "^5.0.8", - "astro": "^3.0.0-rc.7", + "astro": "^3.0.1", "astro-icon": "^1.0.0-next.2", - "limax": "2.1.0", + "limax": "4.1.0", "lodash.merge": "^4.6.2", "unpic": "^3.10.0" }, "devDependencies": { - "@astrojs/mdx": "1.0.0-rc.2", - "@astrojs/partytown": "2.0.0-rc.1", - "@astrojs/sitemap": "3.0.0-rc.1", - "@astrojs/tailwind": "5.0.0-rc.1", + "@astrojs/mdx": "^1.0.0", + "@astrojs/partytown": "^2.0.0", + "@astrojs/sitemap": "^3.0.0", + "@astrojs/tailwind": "5.0.0", "@iconify-json/flat-color-icons": "^1.1.7", "@iconify-json/tabler": "^1.1.89", "@tailwindcss/typography": "^0.5.9", "@types/lodash.merge": "^4.6.7", - "@typescript-eslint/eslint-plugin": "^6.4.1", - "@typescript-eslint/parser": "^6.4.1", + "@typescript-eslint/eslint-plugin": "^6.5.0", + "@typescript-eslint/parser": "^6.5.0", "astro-compress": "^2.0.14", - "eslint": "^8.47.0", - "eslint-plugin-astro": "^0.28.0", + "eslint": "^8.48.0", + "eslint-plugin-astro": "^0.29.0", "eslint-plugin-jsx-a11y": "^6.7.1", "js-yaml": "^4.1.0", "mdast-util-to-string": "^4.0.0", - "prettier": "^3.0.2", + "prettier": "^3.0.3", "prettier-plugin-astro": "^0.12.0", "reading-time": "^1.5.0", "svgo": "3.0.2", "tailwind-merge": "^1.14.0", "tailwindcss": "^3.3.3", - "typescript": "^5.1.6" + "typescript": "^5.2.2" }, "engines": { "node": ">=18.14.1" diff --git a/src/components/widgets/Hero.astro b/src/components/widgets/Hero.astro index 05e72cc..616adcb 100644 --- a/src/components/widgets/Hero.astro +++ b/src/components/widgets/Hero.astro @@ -1,6 +1,6 @@ --- -import { Icon } from 'astro-icon/components'; import Image from '~/components/common/Image.astro'; +import CTA from '../ui/CTA.astro'; const { title = await Astro.slots.render('title'), @@ -19,12 +19,14 @@ const {
- {tagline && ( -

- )} + { + tagline && ( +

+ ) + } { title && (

) : ( - - {callToAction?.icon && ( - <> - - - )} - {callToAction?.text} - +
+ +
)}

) @@ -60,15 +57,9 @@ const { {typeof callToAction2 === 'string' ? ( ) : ( - - {callToAction2?.icon && ( - <> - -   - - )} - {callToAction2.text} - +
+ +
)}
) diff --git a/src/components/widgets/Hero2.astro b/src/components/widgets/Hero2.astro index 2fbc87f..dcafae2 100644 --- a/src/components/widgets/Hero2.astro +++ b/src/components/widgets/Hero2.astro @@ -1,7 +1,7 @@ --- -import { Icon } from 'astro-icon/components'; import Image from '~/components/common/Image.astro'; import type { CallToAction } from '~/types'; +import CTA from '../ui/CTA.astro'; export interface Props { title?: string; @@ -30,12 +30,14 @@ const {
- {tagline && ( -

- )} + { + tagline && ( +

+ ) + } { title && (

) : ( - - {callToAction?.icon && ( - <> - {' '} - - )} - {callToAction?.text} - +
+ +
)}

) @@ -73,14 +70,9 @@ const { {typeof callToAction2 === 'string' ? ( ) : ( - - {callToAction2?.icon && ( - <> - {' '} - - )} - {callToAction2.text} - +
+ +
)}
) diff --git a/src/components/widgets/Testimonials.astro b/src/components/widgets/Testimonials.astro index c5db56a..5a114fe 100644 --- a/src/components/widgets/Testimonials.astro +++ b/src/components/widgets/Testimonials.astro @@ -45,7 +45,7 @@ const { ) : ( - + - + - + I'm a Graphic Designer passionate about crafting visual stories.
With 5 years of experience and a degree from New York University's School of Design. I infuse vitality into brands and designs, transforming concepts into diff --git a/src/pages/homes/saas.astro b/src/pages/homes/saas.astro index 9d3315c..5c8dfcc 100644 --- a/src/pages/homes/saas.astro +++ b/src/pages/homes/saas.astro @@ -41,7 +41,7 @@ const metadata = { diff --git a/src/pages/index.astro b/src/pages/index.astro index d1e32d7..0486f52 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -22,7 +22,12 @@ const metadata = { @@ -320,7 +325,7 @@ const metadata = { title="Frequently Asked Questions" subtitle="Dive into the following questions to gain insights into the powerful features that AstroWind offers and how it can elevate your web development journey." tagline="FAQs" - classes={{ container: 'max-w-6xl'}} + classes={{ container: 'max-w-6xl' }} items={[ { title: 'Why AstroWind?', diff --git a/src/pages/services.astro b/src/pages/services.astro index d0b81ac..c7cb42a 100644 --- a/src/pages/services.astro +++ b/src/pages/services.astro @@ -18,7 +18,7 @@ const metadata = { tagline="Services" title="Elevate your projects with our stunning templates" subtitle="Explore our meticulously crafted templates tailored to various industries and purposes. From captivating presentations to functional website designs, we offer the tools you need to succeed." - callToAction={{ text: 'Start exploring', href: '/' }} + callToAction={{ targetBlank: true, text: 'Start exploring', href: '/' }} image={{ src: 'https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80', alt: 'AstroWind Hero Image',