about section performance updated
This commit is contained in:
parent
18bee619e9
commit
b3037ce050
@ -5,33 +5,35 @@ import React from "react";
|
|||||||
export default function AboutSection() {
|
export default function AboutSection() {
|
||||||
return (
|
return (
|
||||||
<section className="about-style-two pt_90 pb_90 relative overflow-hidden">
|
<section className="about-style-two pt_90 pb_90 relative overflow-hidden">
|
||||||
{/* Pattern Layers */}
|
{/* Pattern Layers with fixed sizes */}
|
||||||
<div className="pattern-layer">
|
<div className="pattern-layer">
|
||||||
<div className="pattern-1 rotate-me absolute">
|
<div className="pattern-1 rotate-me absolute w-[120px] h-[120px]">
|
||||||
<Image
|
<Image
|
||||||
src="/assets/images/shape/shape-8.webp"
|
src="/assets/images/shape/shape-8.webp"
|
||||||
alt="Decorative shape"
|
alt="Decorative shape"
|
||||||
fill
|
fill
|
||||||
priority={false}
|
sizes="120px"
|
||||||
sizes="15vw"
|
|
||||||
style={{ objectFit: "contain" }}
|
style={{ objectFit: "contain" }}
|
||||||
|
priority={false}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="pattern-2 rotate-me absolute">
|
|
||||||
|
<div className="pattern-2 rotate-me absolute w-[140px] h-[140px]">
|
||||||
<Image
|
<Image
|
||||||
src="/assets/images/shape/shape-9.webp"
|
src="/assets/images/shape/shape-9.webp"
|
||||||
alt="Decorative shape"
|
alt="Decorative shape"
|
||||||
fill
|
fill
|
||||||
sizes="15vw"
|
sizes="140px"
|
||||||
style={{ objectFit: "contain" }}
|
style={{ objectFit: "contain" }}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="pattern-3 absolute">
|
|
||||||
|
<div className="pattern-3 absolute w-[150px] h-[150px]">
|
||||||
<Image
|
<Image
|
||||||
src="/assets/images/shape/shape-11.webp"
|
src="/assets/images/shape/shape-11.webp"
|
||||||
alt="Decorative shape"
|
alt="Decorative shape"
|
||||||
fill
|
fill
|
||||||
sizes="15vw"
|
sizes="150px"
|
||||||
style={{ objectFit: "contain" }}
|
style={{ objectFit: "contain" }}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@ -44,7 +46,7 @@ export default function AboutSection() {
|
|||||||
<div className="image_block_one relative">
|
<div className="image_block_one relative">
|
||||||
<div className="image-box relative">
|
<div className="image-box relative">
|
||||||
{/* Background Shape */}
|
{/* Background Shape */}
|
||||||
<div className="image-shape absolute inset-0 -z-10">
|
<div className="image-shape absolute inset-0 -z-10 w-[600px] h-[500px]">
|
||||||
<Image
|
<Image
|
||||||
src="/assets/images/shape/shape-26.webp"
|
src="/assets/images/shape/shape-26.webp"
|
||||||
alt="Background shape"
|
alt="Background shape"
|
||||||
@ -55,7 +57,7 @@ export default function AboutSection() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Main Hero Image (LCP) */}
|
{/* Main Hero Image (LCP) */}
|
||||||
<figure className="image-2 relative">
|
<figure className="image-2 relative min-h-[420px]">
|
||||||
<Image
|
<Image
|
||||||
src="/assets/images/home/welcome/home-welcome.webp"
|
src="/assets/images/home/welcome/home-welcome.webp"
|
||||||
alt="Physiotherapy"
|
alt="Physiotherapy"
|
||||||
@ -65,28 +67,34 @@ export default function AboutSection() {
|
|||||||
sizes="(max-width: 768px) 100vw, 50vw"
|
sizes="(max-width: 768px) 100vw, 50vw"
|
||||||
placeholder="blur"
|
placeholder="blur"
|
||||||
blurDataURL="/assets/images/home/welcome/home-welcome-blur.webp"
|
blurDataURL="/assets/images/home/welcome/home-welcome-blur.webp"
|
||||||
style={{ borderRadius: "8px", width: "100%", height: "auto" }}
|
style={{
|
||||||
|
borderRadius: "8px",
|
||||||
|
width: "100%",
|
||||||
|
height: "auto",
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
{/* Top Icon */}
|
{/* Top Icon */}
|
||||||
<div className="icon-one absolute top-0 left-0">
|
<div className="icon-one absolute top-0 left-0 w-[40px] h-[40px]">
|
||||||
<Image
|
<Image
|
||||||
src="/assets/images/home/welcome/top-icon.webp"
|
src="/assets/images/home/welcome/top-icon.webp"
|
||||||
alt="Top decorative icon"
|
alt="Top decorative icon"
|
||||||
width={40}
|
fill
|
||||||
height={40}
|
sizes="40px"
|
||||||
|
style={{ objectFit: "contain" }}
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Bottom Icon */}
|
{/* Bottom Icon */}
|
||||||
<div className="icon-two absolute bottom-0 right-0">
|
<div className="icon-two absolute bottom-0 right-0 w-[40px] h-[40px]">
|
||||||
<Image
|
<Image
|
||||||
src="/assets/images/home/welcome/bottom-icon.webp"
|
src="/assets/images/home/welcome/bottom-icon.webp"
|
||||||
alt="Bottom decorative icon"
|
alt="Bottom decorative icon"
|
||||||
width={40}
|
fill
|
||||||
height={40}
|
sizes="40px"
|
||||||
|
style={{ objectFit: "contain" }}
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@ -105,8 +113,10 @@ export default function AboutSection() {
|
|||||||
|
|
||||||
<div className="text-box mb_40">
|
<div className="text-box mb_40">
|
||||||
<p>
|
<p>
|
||||||
At Rapha Rehab, we specialize in evidence-based physiotherapy tailored to your needs.
|
At Rapha Rehab, we specialize in evidence-based
|
||||||
Our expert care helps you recover, relieve pain, and regain strength for a better quality of life.
|
physiotherapy tailored to your needs. Our expert care helps
|
||||||
|
you recover, relieve pain, and regain strength for a better
|
||||||
|
quality of life.
|
||||||
</p>
|
</p>
|
||||||
<ul className="list-style-one clearfix">
|
<ul className="list-style-one clearfix">
|
||||||
<li>Chronic pain (back, neck, joints).</li>
|
<li>Chronic pain (back, neck, joints).</li>
|
||||||
@ -117,7 +127,10 @@ export default function AboutSection() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="btn-box">
|
<div className="btn-box">
|
||||||
<Link href="/etobicoke-treatment-service" className="theme-btn btn-one">
|
<Link
|
||||||
|
href="/etobicoke-treatment-service"
|
||||||
|
className="theme-btn btn-one"
|
||||||
|
>
|
||||||
<span>Explore Our Service</span>
|
<span>Explore Our Service</span>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user