diff --git a/src/components/PricingSection.astro b/src/components/PricingSection.astro index 633c345..69c21e7 100644 --- a/src/components/PricingSection.astro +++ b/src/components/PricingSection.astro @@ -1,16 +1,13 @@ --- -// Import the necessary dependencies from individual component files +// Import SecondaryCTA component for use in this module import SecondaryCTA from "./ui/buttons/SecondaryCTA.astro"; -// Variables for customization of the LoginModal Component -// Main heading +// Set heading and sub-heading for the pricing section const title: string = "Simple, Transparent Pricing"; - -// Sub-heading text const subTitle: string = "Boost efficiency with ScrewFast's clear, value-driven plans."; -/* TypeScript type for product. */ +// Define TypeScript type for products. type Product = { name: string; description: string; @@ -21,7 +18,7 @@ type Product = { purchaseBtnTitle: string; purchaseLink: string; }; - +// Define two products for display - Starter Kit and Professional Toolbox. const starterKit: Product = { name: "Starter Kit", description: "Best option for DIY projects", @@ -57,7 +54,7 @@ const professionalToolbox: Product = {
- +

- +
@@ -121,7 +118,7 @@ const professionalToolbox: Product = { >{starterKit.purchaseBtnTitle}
- +
@@ -182,7 +179,7 @@ const professionalToolbox: Product = { >
- +

Enterprise Solutions? diff --git a/src/components/ui/blocks/RightSection.astro b/src/components/ui/blocks/RightSection.astro index db6a8e1..d9bab0f 100644 --- a/src/components/ui/blocks/RightSection.astro +++ b/src/components/ui/blocks/RightSection.astro @@ -1,7 +1,8 @@ --- +// Import the required modules import { Image } from "astro:assets"; import PrimaryCTA from "../buttons/PrimaryCTA.astro"; - +// Extract properties from Astro.props const { title, subTitle, @@ -14,7 +15,7 @@ const { imgTwo, imgTwoAlt, } = Astro.props; - +// Define TypeScript interface for the properties interface Props { title: string; subTitle: string; @@ -28,26 +29,31 @@ interface Props { imgTwoAlt?: any; } --- - +

+

{title}

+

{subTitle}

+ {btnExists ? : null}
+ { single ? (
+ ) : (
+ + `; --- + - {title} - {noArrow ? null : - - } - \ No newline at end of file + {title} + + + + {noArrow ? null : } + diff --git a/src/components/ui/buttons/ProductTabBtn.astro b/src/components/ui/buttons/ProductTabBtn.astro index 3b6e8cd..dcf0f77 100644 --- a/src/components/ui/buttons/ProductTabBtn.astro +++ b/src/components/ui/buttons/ProductTabBtn.astro @@ -1,31 +1,34 @@ --- +// Destructure the properties from Astro.props const { id, dataTab, title, first } = Astro.props; +// Define TypeScript interface for the properties interface Props { id: string; dataTab: string; title: string; first?: boolean; } - +// Define constants for styling classes const BUTTON_CLASS = "flex w-full justify-center rounded-xl border border-transparent p-3 outline-none ring-zinc-500 transition duration-300 hover:bg-neutral-100 focus-visible:ring dark:ring-zinc-200 dark:hover:bg-neutral-700 dark:focus:outline-none md:p-5"; - const HEADING_CLASS = "block text-center font-bold"; - const INACTIVE_HEADING_CLASS = "text-neutral-800 dark:text-neutral-200"; +const HEADING_CLASS = "block text-center font-bold"; +const INACTIVE_HEADING_CLASS = "text-neutral-800 dark:text-neutral-200"; --- + - diff --git a/src/components/ui/buttons/SecondaryCTA.astro b/src/components/ui/buttons/SecondaryCTA.astro index a56c11b..61fa832 100644 --- a/src/components/ui/buttons/SecondaryCTA.astro +++ b/src/components/ui/buttons/SecondaryCTA.astro @@ -1,25 +1,31 @@ --- +// Destructure the properties from Astro.props const { title, url } = Astro.props; +// Define TypeScript interface for the properties interface Props { - title?: string; - url?: string; + title?: string; + url?: string; } - -const baseClasses = "inline-flex items-center justify-center gap-x-2 rounded-lg px-4 py-3 text-center text-sm font-medium text-neutral-600 shadow-sm outline-none ring-zinc-500 focus-visible:ring transition duration-300"; +// Define CSS classes for the hyperlink button +const baseClasses = + "inline-flex items-center justify-center gap-x-2 rounded-lg px-4 py-3 text-center text-sm font-medium text-neutral-600 shadow-sm outline-none ring-zinc-500 focus-visible:ring transition duration-300"; const borderClasses = "border border-neutral-200"; const bgColorClasses = "bg-neutral-300"; -const hoverClasses = "hover:bg-neutral-400/50 hover:text-neutral-600 active:text-neutral-700"; +const hoverClasses = + "hover:bg-neutral-400/50 hover:text-neutral-600 active:text-neutral-700"; const disableClasses = "disabled:pointer-events-none disabled:opacity-50"; const fontSizeClasses = "2xl:text-base"; const ringClasses = "ring-zinc-500"; -const darkClasses = "dark:border-neutral-700 dark:bg-zinc-700 dark:text-neutral-300 dark:ring-zinc-200 dark:hover:bg-zinc-600 dark:focus:outline-none"; +const darkClasses = + "dark:border-neutral-700 dark:bg-zinc-700 dark:text-neutral-300 dark:ring-zinc-200 dark:hover:bg-zinc-600 dark:focus:outline-none"; --- + - {title} - \ No newline at end of file + {title} + diff --git a/src/components/ui/forms/RecoverModal.astro b/src/components/ui/forms/RecoverModal.astro index 38d1b9e..cb65431 100644 --- a/src/components/ui/forms/RecoverModal.astro +++ b/src/components/ui/forms/RecoverModal.astro @@ -1,45 +1,42 @@ --- -// Import the necessary dependencies from individual component files +// Import necessary components from individual files import EmailInput from "./input/EmailInput.astro"; import AuthBtn from "../buttons/AuthBtn.astro"; -// Config object for customization of the RecoverModal Component +// Config object for customization of the component const config = { - // Modal identifier - id: "hs-toggle-between-modals-recover-modal", - - // Main heading - title: "Forgot password?", - - // Sub-heading text - subTitle: "Remember your password?", - - // Text and target link for the login button - loginBtn: "Sign in here", - loginBtnDataHS: "#hs-toggle-between-modals-login-modal" + id: "hs-toggle-between-modals-recover-modal", // Modal identifier + title: "Forgot password?", // Main heading + subTitle: "Remember your password?", // Sub-heading text + loginBtn: "Sign in here", // Text for login button + loginBtnDataHS: "#hs-toggle-between-modals-login-modal", // Target link for login button }; --- +

{config.subTitle} +

- +
+ - +
Or
- +
+ + + - + Terms and Conditions - +
diff --git a/src/images/product-image-1.avif b/src/images/product-image-1.avif index 8cb252b..2220d47 100644 Binary files a/src/images/product-image-1.avif and b/src/images/product-image-1.avif differ diff --git a/src/images/product-image-2.avif b/src/images/product-image-2.avif index 96a043e..856f17b 100644 Binary files a/src/images/product-image-2.avif and b/src/images/product-image-2.avif differ diff --git a/src/images/product-image-3.avif b/src/images/product-image-3.avif index 0dd368b..acc0d9f 100644 Binary files a/src/images/product-image-3.avif and b/src/images/product-image-3.avif differ diff --git a/src/images/product-image-4.avif b/src/images/product-image-4.avif index c69c603..f9ee723 100644 Binary files a/src/images/product-image-4.avif and b/src/images/product-image-4.avif differ diff --git a/src/images/product-image-main-1.avif b/src/images/product-image-main-1.avif index 74eafec..f1ec32e 100644 Binary files a/src/images/product-image-main-1.avif and b/src/images/product-image-main-1.avif differ diff --git a/src/images/product-image-main-2.avif b/src/images/product-image-main-2.avif index 6ad6ad6..3c209ef 100644 Binary files a/src/images/product-image-main-2.avif and b/src/images/product-image-main-2.avif differ diff --git a/src/images/product-image-main-3.avif b/src/images/product-image-main-3.avif index 2a5e2d8..c0abcba 100644 Binary files a/src/images/product-image-main-3.avif and b/src/images/product-image-main-3.avif differ diff --git a/src/images/product-image-main-4.avif b/src/images/product-image-main-4.avif index 186c67b..42226f7 100644 Binary files a/src/images/product-image-main-4.avif and b/src/images/product-image-main-4.avif differ diff --git a/src/pages/services.astro b/src/pages/services.astro index 74b6caa..4018f01 100644 --- a/src/pages/services.astro +++ b/src/pages/services.astro @@ -1,11 +1,12 @@ --- -// Import section components +// Import necessary components import MainLayout from "../layouts/MainLayout.astro"; import MainSection from "../components/ui/blocks/MainSection.astro"; import LeftSection from "../components/ui/blocks/LeftSection.astro"; import RightSection from "../components/ui/blocks/RightSection.astro"; import FeaturesStats from "../components/FeaturesStats.astro"; +// Import necessary images import blueprints from "../images/blueprints-image.avif"; import personWorking from "../images/person-working.avif"; import beforeAfter from "../images/before-after.avif"; @@ -16,7 +17,12 @@ import progressBuilding from "../images/progress-building.avif"; import underConstruction from "../images/under-construction.avif"; --- - + + + - + - +