From d596ad13ed6873c2cdd0ae3ea077f5c67186b8b7 Mon Sep 17 00:00:00 2001 From: widgeter Date: Fri, 4 Aug 2023 22:03:31 +0200 Subject: [PATCH 1/3] Include Faqs widget in startup page --- src/components/widgets/Hero.astro | 8 +++--- src/components/widgets/Hero2.astro | 7 ++--- src/pages/landing/startup.astro | 43 ++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 6 deletions(-) diff --git a/src/components/widgets/Hero.astro b/src/components/widgets/Hero.astro index bf9316e..c1426fd 100644 --- a/src/components/widgets/Hero.astro +++ b/src/components/widgets/Hero.astro @@ -1,7 +1,7 @@ --- import { Icon } from 'astro-icon/components'; import { Picture } from '@astrojs/image/components'; -import type { CallToAction } from '~/components/widgets/CallToAction.astro'; +import { CallToAction } from '~/types'; export interface Props { title?: string; @@ -48,7 +48,8 @@ const { {callToAction?.icon && ( <> -   + +   )} {callToAction?.text} @@ -66,7 +67,8 @@ const { {callToAction2?.icon && ( <> -   + +   )} {callToAction2.text} diff --git a/src/components/widgets/Hero2.astro b/src/components/widgets/Hero2.astro index 9f68674..411786d 100644 --- a/src/components/widgets/Hero2.astro +++ b/src/components/widgets/Hero2.astro @@ -1,8 +1,7 @@ --- import { Icon } from 'astro-icon/components'; import { Picture } from '@astrojs/image/components'; - -import type { CallToAction } from '~/components/widgets/CallToAction.astro'; +import { CallToAction } from '~/types'; export interface Props { title?: string; @@ -39,7 +38,9 @@ const { }
{subtitle &&

} -

+
{ callToAction && (
diff --git a/src/pages/landing/startup.astro b/src/pages/landing/startup.astro index c7d032d..63e9c16 100644 --- a/src/pages/landing/startup.astro +++ b/src/pages/landing/startup.astro @@ -10,6 +10,7 @@ import Features2 from '~/components/widgets/Features2.astro'; import Features from '~/components/widgets/Features.astro'; import Stats from '~/components/widgets/Stats.astro'; import Features3 from '~/components/widgets/Features3.astro'; +import FAQs from '~/components/widgets/FAQs.astro'; const metadata = { title: 'Startup Landing Page', @@ -139,6 +140,48 @@ const metadata = { ]} /> + + + + +
+
+
+ Date: Sat, 5 Aug 2023 21:40:13 +0200 Subject: [PATCH 2/3] Include a feature widget in mobile-app page --- src/pages/landing/mobile-app.astro | 57 +++++++++++++++++++++++++----- src/pages/landing/startup.astro | 2 +- 2 files changed, 49 insertions(+), 10 deletions(-) diff --git a/src/pages/landing/mobile-app.astro b/src/pages/landing/mobile-app.astro index 170a971..23d080a 100644 --- a/src/pages/landing/mobile-app.astro +++ b/src/pages/landing/mobile-app.astro @@ -4,9 +4,10 @@ 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'; const metadata = { - title: "Mobile App Landing Page", + title: 'Mobile App Landing Page', }; --- @@ -17,12 +18,12 @@ const metadata = { links={[]} actions={[ { - type: "ghost", + type: 'ghost', text: 'Login', href: '#', }, { - type: "primary", + type: 'primary', text: 'Sign Up', href: '#', }, @@ -33,7 +34,7 @@ const metadata = { @@ -44,19 +45,57 @@ const metadata = { AstroWind is a free, customizable and production-ready template for Astro 2.0 + + Tailwind CSS. - AstroWind: Production-ready. Suitable for Startups, - Small Business, Sass Websites, Professional Portfolios, Marketing Websites, Landing Pages & Blogs. + AstroWind: Production-ready. Suitable for + Startups, Small Business, Sass Websites, Professional Portfolios, Marketing Websites, Landing Pages & Blogs. + + + + - + Date: Sat, 5 Aug 2023 22:15:18 +0200 Subject: [PATCH 3/3] Include some content widgets in mobile-app page --- src/pages/landing/mobile-app.astro | 85 ++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/src/pages/landing/mobile-app.astro b/src/pages/landing/mobile-app.astro index 23d080a..dfd7edc 100644 --- a/src/pages/landing/mobile-app.astro +++ b/src/pages/landing/mobile-app.astro @@ -5,6 +5,7 @@ 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'; +import Content from '~/components/widgets/Content.astro'; const metadata = { title: 'Mobile App Landing Page', @@ -91,6 +92,90 @@ const metadata = { }} /> + + + + +

Main Features

+
+
+ + + + + +

Benefits

+
+
+