diff --git a/src/components/ui/banners/AnnouncementBanner.astro b/src/components/ui/banners/AnnouncementBanner.astro new file mode 100644 index 0000000..535cfaf --- /dev/null +++ b/src/components/ui/banners/AnnouncementBanner.astro @@ -0,0 +1,81 @@ +--- +const { title, bannerId, btnId, btnTitle, url } = Astro.props; + +interface Props { + title: string; + bannerId: string; + btnId: string; + btnTitle: string; + url: string; +} +--- + + +
+
+
+
+

+ {title} +

+ + {btnTitle} + + +
+ +
+
+
+
+ diff --git a/src/images/banner-pattern.svg b/src/images/banner-pattern.svg new file mode 100644 index 0000000..4f11173 --- /dev/null +++ b/src/images/banner-pattern.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/pages/index.astro b/src/pages/index.astro index d3dd9a6..3ec912b 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -9,6 +9,7 @@ import FeaturesNavs from "../components/sections/features/FeaturesNavs.astro"; import TestimonialsSection from "../components/sections/testimonials/TestimonialsSection.astro"; import PricingSection from "../components/sections/pricing/PricingSection.astro"; import FAQ from "../components/sections/FAQ.astro"; +import AnnouncementBanner from "../components/ui/banners/AnnouncementBanner.astro"; const avatarSrcs: Array = [ "https://images.unsplash.com/photo-1568602471122-7832951cc4c5?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=facearea&facepad=2&w=300&h=300&q=80", @@ -19,6 +20,14 @@ const avatarSrcs: Array = [ --- + + ScrewFast` @@ -38,9 +47,9 @@ const avatarSrcs: Array = [ title="Trusted by Industry Leaders" subTitle="Experience the reliability chosen by industry giants." /> - + - + = [ /> - + - +