Skip to content

Commit

Permalink
fix(components): update images, adjust layout, and improve text seman…
Browse files Browse the repository at this point in the history
…tics across various components
  • Loading branch information
jordanlepera committed Dec 29, 2024
1 parent 9d8629a commit 2830762
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 34 deletions.
Binary file modified bun.lockb
Binary file not shown.
Binary file added public/assets/images/blocks/block1-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/contact/Contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ const Contact: FC = () => {
</div>
</div>
<br />
<div className="md:w-7/12 lg:w-1/2">
<div className="rounded-lg bg-white p-6 shadow-lg">
<div className="">
<div className="">
{statusMessage && (
<div
className={`mb-4 rounded-lg p-4 ${
Expand Down
2 changes: 1 addition & 1 deletion src/components/landing/bloc1/Bloc1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { motion } from 'framer-motion';
import Image from 'next/image';
import React from 'react';

import Block1 from '@/public/assets/images/blocks/block1.jpg';
import Block1 from '@/public/assets/images/blocks/block1-2.jpg';
// import { ScrollAnimate } from '@/components/scrollanimate/ScrollAnimate';

export const Bloc1: React.FC = () => {
Expand Down
3 changes: 1 addition & 2 deletions src/components/landing/landing/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Bloc2 } from '../bloc2/Bloc2';
import { Bloc3 } from '../bloc3/Bloc3';
import { Bloc4 } from '../bloc4/Bloc4';
import { Bloc5 } from '../bloc5/Bloc5';
import { Bloc6 } from '../bloc6/Bloc6';

const Landing: React.FC = () => {
return (
Expand All @@ -27,7 +26,7 @@ const Landing: React.FC = () => {
</div>
</div>
<Bloc5 />
<Bloc6 />
{/* <Bloc6 /> */}
</>
);
};
Expand Down
4 changes: 2 additions & 2 deletions src/components/rootlayoutcontent/RootLayoutContent.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import RootLayoutContent from './RootLayoutContent';

describe('RoootLayout', () => {
describe('Render method', () => {
it('should have 10 menu items', () => {
it('should have 8 menu items', () => {
render(<RootLayoutContent>test</RootLayoutContent>);

const menuItemList = screen.getAllByRole('listitem');

expect(menuItemList).toHaveLength(10);
expect(menuItemList).toHaveLength(8);
});
});
});
2 changes: 1 addition & 1 deletion src/components/rootlayoutcontent/RootLayoutContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const RootLayoutContent = (props: RootLayoutProps) => (
</div>
</header>

<main className="overflow-hidden text-xl xl:min-h-[calc(100vh-6rem)]">
<main className="grow overflow-hidden text-xl xl:min-h-[calc(100vh-12rem)]">
{props.children}
</main>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ const AmenagementExterieurService: React.FC = () => {
>
<div className="lg:w-1/2">
<motion.div
initial={{ opacity: 0, x: -50 }}
whileInView={{ opacity: 1, x: 0 }}
initial={{ opacity: 0, y: -50 }}
whileInView={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5 }}
>
<Image
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ const ChapeEtRagreageService: React.FC = () => {
>
<div className="lg:w-1/2">
<motion.div
initial={{ opacity: 0, x: -50 }}
whileInView={{ opacity: 1, x: 0 }}
initial={{ opacity: 0, y: -50 }}
whileInView={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5 }}
>
<Image
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ const CoffrageEtCoulageBetonService: React.FC = () => {
>
<div className="lg:w-1/2">
<motion.div
initial={{ opacity: 0, x: -50 }}
whileInView={{ opacity: 1, x: 0 }}
initial={{ opacity: 0, y: -50 }}
whileInView={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5 }}
>
<Image
Expand Down
15 changes: 8 additions & 7 deletions src/components/services/demolition/contactcta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,28 @@ const ContactCTA: React.FC = () => {
<section className="bg-stone-600 px-4 py-16 sm:px-6 lg:px-8">
<div className="mx-auto max-w-7xl text-center">
<h2 className="mb-4 text-3xl font-extrabold text-white">
Obtenez un Devis Gratuit
Obtenez un devis gratuit
</h2>
<p className="mb-8 text-lg text-stone-100">
Prêt à démarrer votre rénovation sur de bonnes bases ? Contactez-nous
dès aujourd&apos;hui pour obtenir un devis gratuit pour votre projet
de démolition. Nous sommes là pour répondre à toutes vos questions et
vous aider à planifier les prochaines étapes de votre projet de
Prêt à démarrer votre projet sur de bonnes bases ?
<br />
Contactez-nous dès aujourd&apos;hui pour obtenir un devis gratuit.
Nous sommes là pour répondre à toutes vos questions et vous aider à
planifier les prochaines étapes de votre projet de construction ou de
rénovation.
</p>
<div className="flex justify-center space-x-4">
<Link
href="/contact"
className="inline-flex items-center justify-center rounded-md border border-transparent bg-white px-6 py-3 text-base font-medium text-stone-600 hover:bg-stone-50"
>
Demandez un Devis Gratuit
Demandez un devis gratuit
</Link>
<Link
href="/services"
className="inline-flex items-center justify-center rounded-md border border-white bg-transparent px-6 py-3 text-base font-medium text-white hover:bg-stone-500"
>
Découvrez Nos Autres Services
Découvrez nos autres services
</Link>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/services/demolition/demolitionservice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ const DemolitionService: React.FC = () => {
>
<div className="lg:w-1/2">
<motion.div
initial={{ opacity: 0, x: -50 }}
whileInView={{ opacity: 1, x: 0 }}
initial={{ opacity: 0, y: -50 }}
whileInView={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5 }}
>
<Image
Expand Down
18 changes: 9 additions & 9 deletions src/components/services/demolition/whychooseus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@ import { HiGlobeAlt, HiShieldCheck, HiThumbUp, HiUsers } from 'react-icons/hi';

const features = [
{
name: "Main d'oeuvre Expérimentée",
name: "Main d'oeuvre expérimentée",
description:
"Nous sommes experts en démolition avec des années d'expérience, garantissant que chaque travail est réalisé en toute sécurité et efficacement.",
"Notre équipe qualifiée possède des années d'expérience dans le domaine, garantissant un travail de qualité et des prestations irréprochables.",
icon: HiUsers,
},
{
name: 'Sécurité Avant Tout',
name: 'Sécurité avant tout',
description:
'Nous priorisons la sécurité dans chaque projet de démolition, en mettant en place des mesures de contrôle de la poussière, de gestion des débris et des protocoles de sécurité pour protéger à la fois notre équipe et votre propriété.',
'Nous priorisons la sécurité dans chaque projet, en mettant en place des mesures de contrôle appropriées pour protéger à la fois notre équipe et votre propriété.',
icon: HiShieldCheck,
},
{
name: 'Pratiques Écologiques',
name: 'Engagement environnemental',
description:
"Nous sommes engagés dans une démolition respectueuse de l'environnement, en recyclant les matériaux autant que possible et en assurant une élimination appropriée des déchets.",
"Nous adoptons une approche éco-responsable dans tous nos projets, en privilégiant des pratiques durables et respectueuses de l'environnement.",
icon: HiGlobeAlt,
},
{
name: 'Satisfaction Client',
name: 'Satisfaction client',
description:
'Nous travaillons en étroite collaboration avec vous pour comprendre vos besoins et livrer des résultats qui dépassent vos attentes.',
'Votre satisfaction est notre priorité. Nous vous accompagnons à chaque étape du projet pour garantir des résultats à la hauteur de vos attentes.',
icon: HiThumbUp,
},
];
Expand All @@ -35,7 +35,7 @@ const WhyChooseUs: React.FC = () => {
<section className="bg-white px-4 py-16 sm:px-6 lg:px-8">
<div className="mx-auto max-w-7xl text-center">
<h2 className="mb-8 text-3xl font-extrabold text-gray-900">
Pourquoi Nous Choisir ?
Pourquoi nous choisir ?
</h2>
<div className="mt-10 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4">
{features.map((feature) => (
Expand Down
4 changes: 2 additions & 2 deletions src/components/services/gros-oeuvre/grosoeuvreservice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ const GrosOeuvreService: React.FC = () => {
>
<div className="lg:w-1/2">
<motion.div
initial={{ opacity: 0, x: -50 }}
whileInView={{ opacity: 1, x: 0 }}
initial={{ opacity: 0, y: -50 }}
whileInView={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5 }}
>
<Image
Expand Down

0 comments on commit 2830762

Please sign in to comment.