-
+
@@ -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;
}
---
-
+
+
+
{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.title}
-
+
{config.subTitle}
+