2024-02-14 22:57:02 +04:00
---
import { Image } from "astro:assets";
2024-02-20 08:43:57 +04:00
import product5 from "../../../images/features-image.avif";
2024-02-14 22:57:02 +04:00
2024-02-20 20:50:32 +04:00
// Define the variables to be used in the component
2024-02-14 22:57:02 +04:00
const title: string = "Why Choose ScrewFast?";
const subTitle: string =
"Transform your ideas into tangible results with ScrewFast tools. Whether you're starting with a sketch on a napkin or diving into a comprehensive construction project, our tools are engineered to help you build with confidence.";
const benefits: string[] = [
"Robust and reliable tools for long-lasting performance.",
"Innovative solutions tailored to modern construction needs.",
"Customer support dedicated to your project's success.",
];
2024-02-20 08:41:34 +04:00
// Define SVG marker to be used in the component
2024-02-18 07:39:53 +04:00
const ListItemMarker: string = `<svg fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="mt-0.5 h-6 w-6 text-[#fa5a15] dark:text-[#fb713b]"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/></svg>`;
2024-02-14 22:57:02 +04:00
---
2024-02-19 09:36:37 +04:00
<section
2024-02-14 22:57:02 +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"
>
<!-- Grid -->
<div class="lg:grid lg:grid-cols-12 lg:items-center lg:gap-16">
<div class="lg:col-span-7">
<Image class="rounded-xl" src={product5} alt="Mockup of floating boxes" />
</div>
<div class="mt-5 sm:mt-10 lg:col-span-5 lg:mt-0">
<div class="space-y-6 sm:space-y-8">
<div class="space-y-2 md:space-y-4">
<h2
class="text-balance text-3xl font-bold text-neutral-800 dark:text-neutral-200 lg:text-4xl"
>
{title}
</h2>
<p class="text-pretty text-neutral-600 dark:text-neutral-400">
{subTitle}
</p>
</div>
2024-02-18 07:39:53 +04:00
<ul class="space-y-2 sm:space-y-4">
2024-02-14 22:57:02 +04:00
{
benefits.map((item) => (
<li class="flex space-x-3">
2024-02-18 07:39:53 +04:00
<Fragment set:html={ListItemMarker} />
2024-02-14 22:57:02 +04:00
2024-02-18 23:16:41 +04:00
<span class="text-pretty text-base font-medium text-neutral-600 dark:text-neutral-400">
2024-02-14 22:57:02 +04:00
{item}
</span>
</li>
))
}
</ul>
</div>
</div>
</div>
2024-02-19 09:36:37 +04:00
</section>