From 41deaa4fbfc53b078f615ca4de4d80b9e251baea Mon Sep 17 00:00:00 2001 From: Emil Gulamov <125820963+mearashadowfax@users.noreply.github.com> Date: Mon, 12 Feb 2024 04:48:22 +0400 Subject: [PATCH] Refactor component names and add newline in SecondaryCTA Refactored the names of the Testimonials and Pricing components to TestimonialsSection and PricingSection for better understanding. Also fixed the lack of newline at the end of file in SecondaryCTA component. --- .../{Testimonials.astro => TestimonialsSection.astro} | 0 src/components/ui/buttons/SecondaryCTA.astro | 2 +- src/pages/index.astro | 8 ++++---- 3 files changed, 5 insertions(+), 5 deletions(-) rename src/components/{Testimonials.astro => TestimonialsSection.astro} (100%) diff --git a/src/components/Testimonials.astro b/src/components/TestimonialsSection.astro similarity index 100% rename from src/components/Testimonials.astro rename to src/components/TestimonialsSection.astro diff --git a/src/components/ui/buttons/SecondaryCTA.astro b/src/components/ui/buttons/SecondaryCTA.astro index 7f8ce6c..8344969 100644 --- a/src/components/ui/buttons/SecondaryCTA.astro +++ b/src/components/ui/buttons/SecondaryCTA.astro @@ -12,4 +12,4 @@ interface Props { href={url} > {title} - + \ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index 3b09a69..af71b03 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -5,8 +5,8 @@ import HeroSection from "../components/HeroSection.astro"; import ClientsSection from "../components/ClientsSection.astro"; import FeaturesGeneral from "../components/FeaturesGeneral.astro"; import FeaturesNavs from "../components/FeaturesNavs.astro"; -import Testimonials from "../components/Testimonials.astro"; -import Pricing from "../components/Pricing.astro"; +import TestimonialsSection from "../components/TestimonialsSection.astro"; +import PricingSection from "../components/PricingSection.astro"; import FAQ from "../components/FAQ.astro"; --- @@ -16,7 +16,7 @@ import FAQ from "../components/FAQ.astro"; - - + +