Browse Source

fix(images): update image formats and improve styling in SectionClientSay component

main
sina_sajjadi 2 weeks ago
parent
commit
303cbc34dd
  1. 34
      src/components/SectionClientSay.tsx
  2. BIN
      src/images/clientSay1.jpg
  3. BIN
      src/images/clientSay2.webp
  4. BIN
      src/images/clientSay3.jpg
  5. BIN
      src/images/clientSay4.jpg
  6. BIN
      src/images/clientSay5.jpg
  7. BIN
      src/images/clientSay6.jpg
  8. BIN
      src/images/our-features.png
  9. BIN
      src/images/quotation.jpg

34
src/components/SectionClientSay.tsx

@ -3,14 +3,14 @@
import React, { FC, useState } from "react";
import Heading from "@/shared/Heading";
import clientSayMain from "@/images/clientSayMain.png";
import clientSay1 from "@/images/clientSay1.png";
import clientSay2 from "@/images/clientSay2.png";
import clientSay3 from "@/images/clientSay3.png";
import clientSay4 from "@/images/clientSay4.png";
import clientSay5 from "@/images/clientSay5.png";
import clientSay6 from "@/images/clientSay6.png";
import quotationImg from "@/images/quotation.png";
import quotationImg2 from "@/images/quotation2.png";
import clientSay1 from "@/images/clientSay1.jpg";
import clientSay2 from "@/images/clientSay2.webp";
import clientSay3 from "@/images/clientSay3.jpg";
import clientSay4 from "@/images/clientSay4.jpg";
import clientSay5 from "@/images/clientSay5.jpg";
import clientSay6 from "@/images/clientSay6.jpg";
import quotationImg from "@/images/quotation.jpg";
import quotationImg2 from "@/images/quotation.png";
import { MapPinIcon } from "@heroicons/react/24/outline";
import { AnimatePresence, motion, MotionConfig } from "framer-motion";
import Image from "next/image";
@ -60,32 +60,32 @@ const SectionClientSay: FC<SectionClientSayProps> = ({
return (
<div className="hidden md:block">
<Image
className="absolute top-9 -left-20"
className="absolute top-9 -left-20 w-14 h-14 object-cover rounded-full"
src={clientSay1}
alt={t("sectionClientSay.imageAltClient1")}
/>
<Image
className="absolute bottom-[100px] right-full mr-40"
className="absolute bottom-[100px] right-full mr-40 w-14 h-14 object-cover rounded-full"
src={clientSay2}
alt={t("sectionClientSay.imageAltClient2")}
/>
<Image
className="absolute top-full left-[140px]"
className="absolute top-full left-[140px] w-14 h-14 object-cover rounded-full"
src={clientSay3}
alt={t("sectionClientSay.imageAltClient3")}
/>
<Image
className="absolute -bottom-10 right-[140px]"
className="absolute -bottom-10 right-[140px] w-14 h-14 object-cover rounded-full"
src={clientSay4}
alt={t("sectionClientSay.imageAltClient4")}
/>
<Image
className="absolute left-full ml-32 bottom-[80px]"
className="absolute left-full ml-32 bottom-[80px] w-14 h-14 object-cover rounded-full"
src={clientSay5}
alt={t("sectionClientSay.imageAltClient5")}
/>
<Image
className="absolute -right-10 top-10"
className="absolute -right-10 top-10 w-14 h-14 object-cover rounded-full"
src={clientSay6}
alt={t("sectionClientSay.imageAltClient6")}
/>
@ -100,9 +100,9 @@ const SectionClientSay: FC<SectionClientSayProps> = ({
</Heading>
<div className="relative md:mb-16 max-w-2xl mx-auto">
{renderBg()}
<Image className="mx-auto" src={clientSayMain} alt={t("sectionClientSay.imageAltMain")} />
<Image className="mx-auto w-32 h-32 object-cover rounded-full" src={quotationImg} alt={t("sectionClientSay.imageAltMain")} />
<div className={`mt-12 lg:mt-16 relative`}>
<Image
{/* <Image
className="opacity-50 md:opacity-100 absolute -mr-16 lg:mr-3 right-full top-1"
src={quotationImg}
alt={t("sectionClientSay.imageAltQuotation1")}
@ -111,7 +111,7 @@ const SectionClientSay: FC<SectionClientSayProps> = ({
className="opacity-50 md:opacity-100 absolute -ml-16 lg:ml-3 left-full top-1"
src={quotationImg2}
alt={t("sectionClientSay.imageAltQuotation2")}
/>
/> */}
<MotionConfig
transition={{

BIN
src/images/clientSay1.jpg

After

Width: 177  |  Height: 285  |  Size: 6.8 KiB

BIN
src/images/clientSay2.webp

BIN
src/images/clientSay3.jpg

After

Width: 275  |  Height: 183  |  Size: 6.2 KiB

BIN
src/images/clientSay4.jpg

After

Width: 259  |  Height: 194  |  Size: 4.0 KiB

BIN
src/images/clientSay5.jpg

After

Width: 275  |  Height: 183  |  Size: 3.9 KiB

BIN
src/images/clientSay6.jpg

After

Width: 230  |  Height: 220  |  Size: 5.2 KiB

BIN
src/images/our-features.png

Before

Width: 1179  |  Height: 1032  |  Size: 999 KiB

After

Width: 827  |  Height: 473  |  Size: 327 KiB

BIN
src/images/quotation.jpg

After

Width: 177  |  Height: 284  |  Size: 5.5 KiB

Loading…
Cancel
Save