diff --git a/src/components/widgets/CallToAction.astro b/src/components/widgets/CallToAction.astro index b9bae02..e5af104 100644 --- a/src/components/widgets/CallToAction.astro +++ b/src/components/widgets/CallToAction.astro @@ -9,13 +9,14 @@ interface Props extends Widget { subtitle?: string; tagline?: string; callToAction?: CallToAction; + actions?: string | CallToAction[]; } const { title = await Astro.slots.render('title'), subtitle = await Astro.slots.render('subtitle'), tagline = await Astro.slots.render('tagline'), - callToAction = await Astro.slots.render('callToAction'), + actions = await Astro.slots.render('actions'), id, isDark = false, @@ -39,15 +40,18 @@ const { }} /> { - typeof callToAction === 'string' ? ( - - ) : ( - callToAction && - callToAction.text && ( -
-
- ) + actions && ( +
+ {Array.isArray(actions) ? ( + actions.map((action) => ( +
+
+ )) + ) : ( + + )} +
) } diff --git a/src/pages/homes/mobile-app.astro b/src/pages/homes/mobile-app.astro index 873787c..6fce46d 100644 --- a/src/pages/homes/mobile-app.astro +++ b/src/pages/homes/mobile-app.astro @@ -1,6 +1,8 @@ --- import Layout from '~/layouts/PageLayout.astro'; +import Header from '~/components/widgets/Header.astro'; + import Hero2 from '~/components/widgets/Hero2.astro'; import CallToAction from '~/components/widgets/CallToAction.astro'; import Features3 from '~/components/widgets/Features3.astro'; @@ -9,34 +11,54 @@ import Testimonials from '~/components/widgets/Testimonials.astro'; import FAQs from '~/components/widgets/FAQs.astro'; import Stats from '~/components/widgets/Stats.astro'; +import Button from '~/components/ui/Button.astro'; +import Image from '~/components/common/Image.astro'; + +import appStoreImg from '~/assets/images/app-store.png'; +import googlePlayImg from '~/assets/images/google-play.png'; + +const appStoreDownloadLink = 'https://github.com/onwidget/astrowind'; +const googlePlayDownloadLink = 'https://github.com/onwidget/astrowind'; + const metadata = { title: 'Mobile App Homepage', }; --- + + +
+ + - AstroWind App:
building professional websites - made easy + AstroWind App:
professional websites
@@ -45,6 +67,16 @@ const metadata = { Download now and embark on a journey to elevate your projects like never before. + +
+ + + +
@@ -248,12 +280,18 @@ const metadata = { + > +
+ + + +
+
diff --git a/src/pages/homes/personal.astro b/src/pages/homes/personal.astro index 097252d..7d70f82 100644 --- a/src/pages/homes/personal.astro +++ b/src/pages/homes/personal.astro @@ -380,10 +380,10 @@ const metadata = { diff --git a/src/pages/homes/startup.astro b/src/pages/homes/startup.astro index fb8ecf6..ad743f1 100644 --- a/src/pages/homes/startup.astro +++ b/src/pages/homes/startup.astro @@ -300,12 +300,12 @@ const metadata = { Be a part of our vision diff --git a/src/pages/index.astro b/src/pages/index.astro index f0e2772..963fe8f 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -377,11 +377,11 @@ const metadata = { Astro + 
Tailwind CSS diff --git a/src/pages/landing/click-through.astro b/src/pages/landing/click-through.astro index f5e5464..47140ed 100644 --- a/src/pages/landing/click-through.astro +++ b/src/pages/landing/click-through.astro @@ -2,7 +2,7 @@ import Layout from '~/layouts/LandingLayout.astro'; import Hero2 from '~/components/widgets/Hero2.astro'; -import CallToAction from "~/components/widgets/CallToAction.astro" +import CallToAction from '~/components/widgets/CallToAction.astro'; const metadata = { title: 'Click-through Landing Page Demo', @@ -16,7 +16,10 @@ const metadata = { tagline="Click-through Demo" title="Click-through Landing Page: The Perfect Bridge to Conversion!" subtitle="Learn how to design a Click-Through Landing Page that seamlessly guides visitors to your main offer." - actions={[{ variant:"primary", text: 'Call to Action', href: '#', icon: 'tabler:square-rounded-arrow-right' }, { text: 'Learn more', href: '#' }]} + actions={[ + { variant: 'primary', text: 'Call to Action', href: '#', icon: 'tabler:square-rounded-arrow-right' }, + { text: 'Learn more', href: '#' }, + ]} image={{ src: 'https://images.unsplash.com/photo-1516321497487-e288fb19713f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80', alt: 'Click-through Landing Page Hero Image', @@ -26,10 +29,13 @@ const metadata = { diff --git a/src/pages/landing/lead-generation.astro b/src/pages/landing/lead-generation.astro index fea8981..38c28bb 100644 --- a/src/pages/landing/lead-generation.astro +++ b/src/pages/landing/lead-generation.astro @@ -24,12 +24,13 @@ const metadata = { /> + title="Coming soon" + subtitle="We are working on the content of these demo pages. You will see them very soon. Stay tuned Stay tuned!" + actions={[{ + variant: "primary", + text: 'Download Template', + href: 'https://github.com/onwidget/astrowind', + icon: 'tabler:download', + }]} +/> diff --git a/src/pages/landing/pre-launch.astro b/src/pages/landing/pre-launch.astro index d9915ca..83f82d9 100644 --- a/src/pages/landing/pre-launch.astro +++ b/src/pages/landing/pre-launch.astro @@ -27,12 +27,13 @@ const metadata = { /> + title="Coming soon" + subtitle="We are working on the content of these demo pages. You will see them very soon. Stay tuned Stay tuned!" + actions={[{ + variant: "primary", + text: 'Download Template', + href: 'https://github.com/onwidget/astrowind', + icon: 'tabler:download', + }]} +/> diff --git a/src/pages/landing/product.astro b/src/pages/landing/product.astro index eead8a7..b13a9d9 100644 --- a/src/pages/landing/product.astro +++ b/src/pages/landing/product.astro @@ -27,12 +27,13 @@ const metadata = { /> + title="Coming soon" + subtitle="We are working on the content of these demo pages. You will see them very soon. Stay tuned Stay tuned!" + actions={[{ + variant: "primary", + text: 'Download Template', + href: 'https://github.com/onwidget/astrowind', + icon: 'tabler:download', + }]} +/> diff --git a/src/pages/landing/sales.astro b/src/pages/landing/sales.astro index 8fcab55..376ba33 100644 --- a/src/pages/landing/sales.astro +++ b/src/pages/landing/sales.astro @@ -24,12 +24,13 @@ const metadata = { /> + title="Coming soon" + subtitle="We are working on the content of these demo pages. You will see them very soon. Stay tuned Stay tuned!" + actions={[{ + variant: "primary", + text: 'Download Template', + href: 'https://github.com/onwidget/astrowind', + icon: 'tabler:download', + }]} +/> diff --git a/src/pages/landing/subscription.astro b/src/pages/landing/subscription.astro index 7731103..619c6c5 100644 --- a/src/pages/landing/subscription.astro +++ b/src/pages/landing/subscription.astro @@ -24,12 +24,13 @@ const metadata = { /> + title="Coming soon" + subtitle="We are working on the content of these demo pages. You will see them very soon. Stay tuned Stay tuned!" + actions={[{ + variant: "primary", + text: 'Download Template', + href: 'https://github.com/onwidget/astrowind', + icon: 'tabler:download', + }]} +/> diff --git a/src/pages/services.astro b/src/pages/services.astro index f1c6e1e..783c766 100644 --- a/src/pages/services.astro +++ b/src/pages/services.astro @@ -211,10 +211,10 @@ const metadata = {