2024-02-12 04:48:34 +04:00
|
|
|
---
|
Refactor multiple components, enhance comments, and rename
Refactored multiple Astro UI components, including sections, buttons, and modals, with a focus on code cleanliness and efficiency. This included revising import statements, reordering and redefining CSS classes, and updating HTML elements. Enhanced inline comments to add context and explanations, especially registering the purpose of components and properties for improved understanding. The Accordion-related functionality was removed, pointing towards a redesign of its element usage. Moreover, TestimonialsSection2 was renamed to TestimonialsSectionAlt for better semantics.
2024-02-18 07:41:36 +04:00
|
|
|
// Import SecondaryCTA component for use in this module
|
2024-02-19 18:14:31 +04:00
|
|
|
import SecondaryCTA from "../ui/buttons/SecondaryCTA.astro";
|
2024-02-13 05:50:53 +04:00
|
|
|
|
Refactor multiple components, enhance comments, and rename
Refactored multiple Astro UI components, including sections, buttons, and modals, with a focus on code cleanliness and efficiency. This included revising import statements, reordering and redefining CSS classes, and updating HTML elements. Enhanced inline comments to add context and explanations, especially registering the purpose of components and properties for improved understanding. The Accordion-related functionality was removed, pointing towards a redesign of its element usage. Moreover, TestimonialsSection2 was renamed to TestimonialsSectionAlt for better semantics.
2024-02-18 07:41:36 +04:00
|
|
|
// Set heading and sub-heading for the pricing section
|
2024-02-12 04:48:34 +04:00
|
|
|
const title: string = "Simple, Transparent Pricing";
|
|
|
|
|
const subTitle: string =
|
|
|
|
|
"Boost efficiency with ScrewFast's clear, value-driven plans.";
|
|
|
|
|
|
Refactor multiple components, enhance comments, and rename
Refactored multiple Astro UI components, including sections, buttons, and modals, with a focus on code cleanliness and efficiency. This included revising import statements, reordering and redefining CSS classes, and updating HTML elements. Enhanced inline comments to add context and explanations, especially registering the purpose of components and properties for improved understanding. The Accordion-related functionality was removed, pointing towards a redesign of its element usage. Moreover, TestimonialsSection2 was renamed to TestimonialsSectionAlt for better semantics.
2024-02-18 07:41:36 +04:00
|
|
|
// Define TypeScript type for products.
|
2024-02-12 04:48:34 +04:00
|
|
|
type Product = {
|
|
|
|
|
name: string;
|
|
|
|
|
description: string;
|
|
|
|
|
price: string;
|
|
|
|
|
cents: string;
|
|
|
|
|
billingFrequency: string;
|
|
|
|
|
features: Array<string>;
|
|
|
|
|
purchaseBtnTitle: string;
|
|
|
|
|
purchaseLink: string;
|
|
|
|
|
};
|
Refactor multiple components, enhance comments, and rename
Refactored multiple Astro UI components, including sections, buttons, and modals, with a focus on code cleanliness and efficiency. This included revising import statements, reordering and redefining CSS classes, and updating HTML elements. Enhanced inline comments to add context and explanations, especially registering the purpose of components and properties for improved understanding. The Accordion-related functionality was removed, pointing towards a redesign of its element usage. Moreover, TestimonialsSection2 was renamed to TestimonialsSectionAlt for better semantics.
2024-02-18 07:41:36 +04:00
|
|
|
// Define two products for display - Starter Kit and Professional Toolbox.
|
2024-02-12 04:48:34 +04:00
|
|
|
const starterKit: Product = {
|
|
|
|
|
name: "Starter Kit",
|
|
|
|
|
description: "Best option for DIY projects",
|
2024-02-14 05:47:32 +04:00
|
|
|
price: "$49",
|
2024-02-12 04:48:34 +04:00
|
|
|
cents: ".00",
|
|
|
|
|
billingFrequency: "USD / monthly",
|
|
|
|
|
features: [
|
|
|
|
|
"Key hardware tools",
|
|
|
|
|
"Access to guides & tutorials",
|
|
|
|
|
"Standard support",
|
|
|
|
|
],
|
|
|
|
|
purchaseBtnTitle: "Get the Starter Kit",
|
|
|
|
|
purchaseLink: "#",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const professionalToolbox: Product = {
|
|
|
|
|
name: "Professional Toolbox",
|
|
|
|
|
description: "Best for large scale uses",
|
2024-02-14 05:47:32 +04:00
|
|
|
price: "$89",
|
2024-02-12 04:48:34 +04:00
|
|
|
cents: ".00",
|
|
|
|
|
billingFrequency: "USD / monthly",
|
|
|
|
|
features: [
|
|
|
|
|
"Premium tool selection",
|
|
|
|
|
"Priority support",
|
|
|
|
|
"Exclusive content & deals",
|
|
|
|
|
"Bulk order discounts",
|
|
|
|
|
],
|
|
|
|
|
purchaseBtnTitle: "Get the Professional Toolbox",
|
|
|
|
|
purchaseLink: "#",
|
|
|
|
|
};
|
|
|
|
|
---
|
|
|
|
|
|
2024-02-19 09:36:37 +04:00
|
|
|
<section
|
2024-02-12 04:48:34 +04:00
|
|
|
class="mx-auto max-w-[85rem] px-4 py-10 sm:px-6 lg:px-8 lg:py-14 2xl:max-w-full"
|
|
|
|
|
>
|
Refactor multiple components, enhance comments, and rename
Refactored multiple Astro UI components, including sections, buttons, and modals, with a focus on code cleanliness and efficiency. This included revising import statements, reordering and redefining CSS classes, and updating HTML elements. Enhanced inline comments to add context and explanations, especially registering the purpose of components and properties for improved understanding. The Accordion-related functionality was removed, pointing towards a redesign of its element usage. Moreover, TestimonialsSection2 was renamed to TestimonialsSectionAlt for better semantics.
2024-02-18 07:41:36 +04:00
|
|
|
<!-- Section heading and sub-heading -->
|
2024-02-12 04:48:34 +04:00
|
|
|
<div class="mx-auto mb-10 max-w-2xl text-center lg:mb-14">
|
|
|
|
|
<h2
|
2024-02-13 05:50:53 +04:00
|
|
|
class="text-balance text-2xl font-bold tracking-tight text-neutral-800 dark:text-neutral-200 md:text-4xl md:leading-tight"
|
2024-02-12 04:48:34 +04:00
|
|
|
>
|
|
|
|
|
{title}
|
|
|
|
|
</h2>
|
|
|
|
|
<p class="mt-1 text-pretty text-neutral-600 dark:text-neutral-400">
|
|
|
|
|
{subTitle}
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- Contains two main product blocks -->
|
|
|
|
|
<div class="flex flex-wrap items-center justify-center gap-4 sm:gap-0">
|
Refactor multiple components, enhance comments, and rename
Refactored multiple Astro UI components, including sections, buttons, and modals, with a focus on code cleanliness and efficiency. This included revising import statements, reordering and redefining CSS classes, and updating HTML elements. Enhanced inline comments to add context and explanations, especially registering the purpose of components and properties for improved understanding. The Accordion-related functionality was removed, pointing towards a redesign of its element usage. Moreover, TestimonialsSection2 was renamed to TestimonialsSectionAlt for better semantics.
2024-02-18 07:41:36 +04:00
|
|
|
<!-- Starter Kit product details -->
|
2024-02-12 04:48:34 +04:00
|
|
|
<div
|
|
|
|
|
class="w-full rounded-xl bg-gray-800 p-6 sm:w-1/2 sm:rounded-r-none sm:p-8 lg:w-1/3"
|
|
|
|
|
>
|
|
|
|
|
<div class="mb-4">
|
2024-02-14 05:47:32 +04:00
|
|
|
<h3 class="text-2xl font-bold text-neutral-100 sm:text-3xl">
|
2024-02-12 04:48:34 +04:00
|
|
|
{starterKit.name}
|
|
|
|
|
</h3>
|
|
|
|
|
<p class="text-indigo-300">{starterKit.description}</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="mb-4">
|
|
|
|
|
<span class="text-4xl font-bold text-neutral-200"
|
|
|
|
|
>{starterKit.price}</span
|
|
|
|
|
>
|
|
|
|
|
<span class="text-lg font-bold text-neutral-300"
|
|
|
|
|
>{starterKit.cents}</span
|
|
|
|
|
>
|
|
|
|
|
<span class="ms-3 text-sm text-indigo-200"
|
|
|
|
|
>{starterKit.billingFrequency}</span
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- Features list - automatically created by mapping over `features` array -->
|
|
|
|
|
<ul class="mb-6 space-y-2 text-neutral-300">
|
|
|
|
|
{
|
|
|
|
|
starterKit.features.map((feature) => (
|
|
|
|
|
<li class="flex items-center gap-1.5">
|
|
|
|
|
<svg
|
|
|
|
|
class="h-5 w-5 shrink-0"
|
|
|
|
|
viewBox="0 0 20 20"
|
|
|
|
|
fill="currentColor"
|
|
|
|
|
>
|
|
|
|
|
<path
|
|
|
|
|
fill-rule="evenodd"
|
|
|
|
|
d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z"
|
|
|
|
|
clip-rule="evenodd"
|
|
|
|
|
/>
|
|
|
|
|
</svg>
|
|
|
|
|
|
|
|
|
|
<span>{feature}</span>
|
|
|
|
|
</li>
|
|
|
|
|
))
|
|
|
|
|
}
|
|
|
|
|
</ul>
|
|
|
|
|
<!-- CTA for purchasing the product -->
|
|
|
|
|
<a
|
|
|
|
|
href={starterKit.purchaseLink}
|
2024-02-14 05:47:32 +04:00
|
|
|
class="block rounded-lg bg-gray-500 px-8 py-3 text-center text-sm font-bold text-gray-100 outline-none ring-indigo-300 transition duration-100 hover:bg-gray-600 focus-visible:ring active:text-gray-300 md:text-base"
|
2024-02-12 04:48:34 +04:00
|
|
|
>{starterKit.purchaseBtnTitle}</a
|
|
|
|
|
>
|
|
|
|
|
</div>
|
Refactor multiple components, enhance comments, and rename
Refactored multiple Astro UI components, including sections, buttons, and modals, with a focus on code cleanliness and efficiency. This included revising import statements, reordering and redefining CSS classes, and updating HTML elements. Enhanced inline comments to add context and explanations, especially registering the purpose of components and properties for improved understanding. The Accordion-related functionality was removed, pointing towards a redesign of its element usage. Moreover, TestimonialsSection2 was renamed to TestimonialsSectionAlt for better semantics.
2024-02-18 07:41:36 +04:00
|
|
|
<!-- Professional Toolbox product details -->
|
2024-02-12 04:48:34 +04:00
|
|
|
<div
|
|
|
|
|
class="w-full rounded-xl bg-gradient-to-tr from-[#FF512F] to-[#F09819] p-6 shadow-xl sm:w-1/2 sm:p-8"
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
|
class="mb-4 flex flex-col items-start justify-between gap-4 lg:flex-row"
|
|
|
|
|
>
|
|
|
|
|
<div>
|
2024-02-14 05:47:32 +04:00
|
|
|
<h3 class="text-2xl font-bold text-neutral-100 sm:text-3xl">
|
2024-02-12 04:48:34 +04:00
|
|
|
{professionalToolbox.name}
|
|
|
|
|
</h3>
|
|
|
|
|
<p class="text-orange-200">{professionalToolbox.description}</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<span
|
2024-02-14 05:47:32 +04:00
|
|
|
class="order-first inline-block rounded-full bg-orange-200 bg-opacity-50 px-3 py-1 text-xs font-bold uppercase tracking-wider text-orange-600 lg:order-none"
|
2024-02-12 04:48:34 +04:00
|
|
|
>Best value</span
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="mb-4">
|
|
|
|
|
<span class="text-6xl font-bold text-neutral-200"
|
|
|
|
|
>{professionalToolbox.price}</span
|
|
|
|
|
>
|
2024-02-12 17:17:04 +04:00
|
|
|
<span class="text-lg font-bold text-orange-100"
|
2024-02-12 04:48:34 +04:00
|
|
|
>{professionalToolbox.cents}</span
|
|
|
|
|
>
|
|
|
|
|
<span class="ms-3 text-orange-200"
|
|
|
|
|
>{professionalToolbox.billingFrequency}</span
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- Features list - automatically created by mapping over `features` array -->
|
|
|
|
|
<ul class="mb-6 space-y-2 text-orange-100">
|
|
|
|
|
{
|
|
|
|
|
professionalToolbox.features.map((feature) => (
|
|
|
|
|
<li class="flex items-center gap-1.5">
|
|
|
|
|
<svg
|
|
|
|
|
class="h-5 w-5 shrink-0"
|
|
|
|
|
viewBox="0 0 20 20"
|
|
|
|
|
fill="currentColor"
|
|
|
|
|
>
|
|
|
|
|
<path
|
|
|
|
|
fill-rule="evenodd"
|
|
|
|
|
d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z"
|
|
|
|
|
clip-rule="evenodd"
|
|
|
|
|
/>
|
|
|
|
|
</svg>
|
|
|
|
|
|
|
|
|
|
<span>{feature}</span>
|
|
|
|
|
</li>
|
|
|
|
|
))
|
|
|
|
|
}
|
|
|
|
|
</ul>
|
|
|
|
|
<!-- CTA for purchasing the product -->
|
|
|
|
|
<a
|
|
|
|
|
href={professionalToolbox.purchaseLink}
|
2024-02-14 05:47:32 +04:00
|
|
|
class="block rounded-lg bg-orange-200 bg-opacity-50 px-8 py-3 text-center text-sm font-bold text-neutral-100 outline-none ring-orange-300 transition duration-100 hover:bg-orange-300 hover:bg-opacity-50 focus-visible:ring active:bg-orange-400 md:text-base"
|
2024-02-12 04:48:34 +04:00
|
|
|
>{professionalToolbox.purchaseBtnTitle}</a
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
Refactor multiple components, enhance comments, and rename
Refactored multiple Astro UI components, including sections, buttons, and modals, with a focus on code cleanliness and efficiency. This included revising import statements, reordering and redefining CSS classes, and updating HTML elements. Enhanced inline comments to add context and explanations, especially registering the purpose of components and properties for improved understanding. The Accordion-related functionality was removed, pointing towards a redesign of its element usage. Moreover, TestimonialsSection2 was renamed to TestimonialsSectionAlt for better semantics.
2024-02-18 07:41:36 +04:00
|
|
|
<!-- Call to action for Enterprise Solutions -->
|
2024-02-12 04:48:34 +04:00
|
|
|
<div class="mt-8 flex items-center justify-center gap-x-3 md:mt-12">
|
|
|
|
|
<p class="text-sm text-neutral-600 dark:text-neutral-400">
|
|
|
|
|
Enterprise Solutions?
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<SecondaryCTA title="Get a Custom Quote" url="#" />
|
|
|
|
|
</div>
|
2024-02-19 09:36:37 +04:00
|
|
|
</section>
|