achat-maison-albi-fr/src/pages/pieces.astro

179 lines
7 KiB
Text
Raw Normal View History

---
// 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/sections/features/FeaturesStats.astro";
// Import necessary images
2025-01-05 12:10:36 +01:00
import photoSalonCheminee from "@images/salon-cheminee.jpg";
import photoSalonCuisine from "@images/salon.jpg";
import photoChambreEnfantEst from "@images/chambre-enfant-est.jpg";
import photoChambreEnfantOuest from "@images/chambre-enfant-ouest.jpg";
import photoParentale from "@images/chambre-parentale.jpg";
2025-01-05 19:20:53 +01:00
import photoChambre2 from "@images/chambre-2.jpg";
import usingTools from "@images/using-tools.avif";
import progressBuilding from "@images/progress-building.avif";
import underConstruction from "@images/under-construction.avif";
import { SITE } from "@data/constants";
interface Article {
isRightSection: boolean;
title: string;
subTitle: string;
btnExists?: boolean;
btnTitle?: string;
btnURL?: string;
single?: boolean;
img?: any;
imgAlt?: string;
imgOne?: any;
imgOneAlt?: string;
imgTwo?: any;
imgTwoAlt?: string;
}
const articles: Article[] = [
{
isRightSection: true,
2025-01-05 12:10:36 +01:00
title: "Grande pièce de vie lumineuse",
subTitle:
"Embarking on a construction project can be overwhelming. With our professional consultation services, we guide you through every stage, ensuring you make informed decisions. Whether you are a DIY enthusiast or a skilled contractor, our experts are on hand to offer tailored advice on product selection, project scope, and compliance with local regulations.",
single: false,
2025-01-05 12:10:36 +01:00
imgOne: photoSalonCheminee,
imgOneAlt: "Blueprints and digital tablet with construction plans.",
2025-01-05 12:10:36 +01:00
imgTwo: photoSalonCuisine,
imgTwoAlt: "Person working in the office",
},
{
isRightSection: false,
2025-01-05 22:50:51 +01:00
title: "Cuisine ouverte, toute équipée",
subTitle:
"Refaite en 2017, la cuisine allie plan de travail en bois et nombreux rangements. Elle est équipée de plaques à induction, dune hotte et dun four Bosch.",
img: photoSalonCheminee,
imgAlt: "Blueprints and digital tablet with construction plans.",
},
{
isRightSection: true,
2025-01-05 12:10:36 +01:00
title: "Chambre principale",
subTitle:
"Our skilled craftsmen bring precision and excellence to every construction project. From minor installations to substantial structural work, ScrewFast offers reliable construction services to turn your plans into tangible outcomes. We ensure the highest standards of safety and workmanship, utilizing top-quality tools and materials from our extensive inventory.",
2025-01-05 22:50:51 +01:00
imgOne: photoParentale,
imgOneAlt: "Construction site before and after",
single: true,
2025-01-05 19:20:53 +01:00
btnExists: false,
btnTitle: "Learn More",
btnURL: "#",
},
{
isRightSection: false,
title: "Seconde chambre",
subTitle:
"… ou chambre damis … ou salle de jeux … ou bureau … ou atelier … petit salon … quen ferez-vous ?",
img: photoChambre2,
imgAlt: "Second chambre, aménagée en petit salon de jeu",
btnExists: false,
btnTitle: "Learn More",
btnURL: "#",
},
{
isRightSection: true,
2025-01-05 12:10:36 +01:00
title: "Chambres enfants",
subTitle:
"Effective project management is at the heart of any successful build. ScrewFast provides thorough planning and robust management services that keep your project on time and within budget. Let us handle the complexities of workflow coordination, resource allocation, and stakeholder communication while you focus on your vision.",
single: false,
2025-01-05 12:10:36 +01:00
imgOne: photoChambreEnfantOuest,
imgOneAlt: "Construction workers orchestrating a project",
2025-01-05 12:10:36 +01:00
imgTwo: photoChambreEnfantEst,
imgTwoAlt: "Aerial view of managed construction",
2025-01-05 22:50:51 +01:00
}
];
2025-01-05 12:10:36 +01:00
const pageTitle: string = `Pièces | ${SITE.title}`;
---
<MainLayout
title={pageTitle}
2024-03-24 17:28:23 +04:00
structuredData={{
"@context": "https://schema.org",
"@type": "WebPage",
"@id": "https://screwfast.uk/services",
"url": "https://screwfast.uk/services",
"name": "Expert Consultation Services | ScrewFast",
"description": "Uniting expertise with your vision, ScrewFast provides exceptional service and comprehensive solutions in the hardware and construction industry, from consultation to project completion.",
"isPartOf": {
"@type": "WebSite",
"url": "https://screwfast.uk",
"name": "ScrewFast",
"description": "ScrewFast offers top-tier hardware tools and expert construction services to meet all your project needs."
},
2025-01-05 15:05:22 +01:00
"inLanguage": "fr-FR"
2024-03-24 17:28:23 +04:00
}}
>
<!--MainSection is the introductory section of the page, it also contains a CTA button-->
<MainSection
2025-01-05 12:10:36 +01:00
title="Des espaces pour chacun et chacune"
subTitle="Avec 5 chambres, 3 salles deau, un bureau et des beaux espaces de vie intérieurs comme extérieurs, notre maison est accueillante et conviviale."
btnTitle="Nous contacter"
btnURL="/contact"
/>
<!-- RightSection and LeftSection contain details about various services along with pertinent imagery.
They alternate for variety in design.
The 'btnExists' property is used to toggle the display of a button in these sections.
When btnExists={true}, a button is displayed.
This can be used to link to more detailed information or related resources.
RightSection can also conditionally render one or two images based on the 'single' property.
If 'single' is true, it displays one image, otherwise it displays two.
-->
{
articles.map(article => {
return article.isRightSection ? (
<RightSection
title={article.title}
subTitle={article.subTitle}
single={article.single}
imgOne={article.imgOne}
imgOneAlt={article.imgOneAlt}
imgTwo={article.imgTwo}
imgTwoAlt={article.imgTwoAlt}
btnExists={article.btnExists}
btnTitle={article.btnTitle}
btnURL={article.btnURL}
/>
) : (
<LeftSection
title={article.title}
subTitle={article.subTitle}
img={article.img}
imgAlt={article.imgAlt}
btnExists={article.btnExists}
btnTitle={article.btnTitle}
btnURL={article.btnURL}
/>
);
})
}
<!--FeaturesStats section showcases essential stats valuable to users-->
<FeaturesStats
title="By the Numbers"
subTitle="Our commitment to quality and reliability is evident in every project we undertake. At ScrewFast, we are dedicated to delivering industry-leading services that ensure your construction projects are built to last."
mainStatTitle="96%"
mainStatSubTitle="of our clients rate their experience with ScrewFast as exceptional"
stats={[
{
stat: "99.8%",
description: "project completion rate",
},
{
stat: "5,000+",
description: "successful installations",
},
{
stat: "85%",
description: "client growth year-over-year",
},
]}
/>
</MainLayout>