196 lines
7.0 KiB
JavaScript

import React from "react";
import Link from "next/link";
import Image from "next/image";
export default function AboutSection() {
return (
<section
className="about-style-two pt_90 pb_90 relative overflow-hidden"
style={{ minHeight: "600px" }}
>
{/* ===== Pattern Layers ===== */}
<div className="pattern-layer">
<div
className="pattern-1 rotate-me absolute"
style={{ width: "120px", height: "120px" }}
>
<Image
src="/assets/images/shape/shape-8.webp"
alt="Decorative Shape"
width={120}
height={120}
sizes="120px"
loading="lazy"
decoding="async"
style={{ objectFit: "contain", display: "block" }}
/>
</div>
<div
className="pattern-2 rotate-me absolute"
style={{ width: "30px", height: "30px" }}
>
<Image
src="/assets/images/shape/shape-9.webp"
alt="Decorative Shape"
width={23}
height={30}
sizes="30px"
loading="lazy"
decoding="async"
style={{ objectFit: "contain", display: "block" }}
/>
</div>
<div
className="pattern-3 absolute"
style={{ width: "150px", height: "150px" }}
>
<Image
src="/assets/images/shape/shape-11.webp"
alt="Decorative Shape"
width={150}
height={150}
sizes="150px"
loading="lazy"
decoding="async"
style={{ objectFit: "contain", display: "block" }}
/>
</div>
</div>
{/* ===== Content Area ===== */}
<div className="auto-container">
<div className="row clearfix">
{/* Left: Image Column */}
<div className="col-lg-6 col-md-12 col-sm-12 image-column">
<div className="image_block_one relative">
<div className="image-box relative">
{/* Background Shape */}
<div
className="image-shape absolute inset-0 -z-10"
style={{
width: "100%",
maxWidth: "600px",
aspectRatio: "6 / 5",
overflow: "hidden",
}}
>
<Image
src="/assets/images/shape/shape-26.webp"
alt="Background Shape"
width={600}
height={500}
sizes="(max-width: 768px) 90vw, 50vw"
priority // 👈 add this
fetchPriority="high" // 👈 optional (for clarity)
decoding="async"
style={{ objectFit: "contain", display: "block" }}
/>
</div>
{/* ===== Responsive Main Image ===== */}
<picture>
{/* Mobile image */}
<source
srcSet="/assets/images/home/welcome/home-welcome-mbl.webp"
media="(max-width: 768px)"
/>
{/* Desktop image */}
<Image
src="/assets/images/home/welcome/home-welcome.webp"
alt="Physiotherapy at Rapha Rehab"
width={600}
height={420}
className="welcome-image-home"
sizes="(max-width: 480px) 90vw, (max-width: 768px) 70vw, (max-width: 1200px) 50vw, 600px"
priority
quality={70}
placeholder="blur"
blurDataURL="/assets/images/home/welcome/home-welcome.webp"
style={{
width: "100%",
height: "auto",
borderRadius: "8px",
display: "block",
}}
/>
</picture>
{/* Top Icon */}
<div
className="icon-one absolute top-0 left-0"
style={{ width: "80px", height: "80px" }}
>
<Image
src="/assets/images/home/welcome/top-icon.webp"
alt="Physiotherapy Icon"
width={80}
height={80}
sizes="80px"
loading="lazy"
decoding="async"
style={{ objectFit: "contain", display: "block" }}
/>
</div>
{/* Bottom Icon */}
<div
className="icon-two absolute bottom-0 right-0"
style={{ width: "80px", height: "80px" }}
>
<Image
src="/assets/images/home/welcome/bottom-icon.webp"
alt="Physiotherapy Icon"
width={80}
height={80}
sizes="80px"
loading="lazy"
decoding="async"
style={{ objectFit: "contain", display: "block" }}
/>
</div>
</div>
</div>
</div>
{/* Right: Text Column */}
<div className="col-lg-6 col-md-12 col-sm-12 content-column">
<div className="content_block_one">
<div className="content-box ml_30">
<div className="sec-title mb_15">
<span className="sub-title">Welcome to Rapha Rehab</span>
<h2>Your Trusted Physiotherapy & Rehab Centre in Etobicoke</h2>
</div>
<div className="text-box mb_40">
<p className="mb-2">
At Rapha Rehab, we provide evidence-based physiotherapy designed to restore mobility, relieve pain, and enhance strength - all tailored to your unique recovery goals.
</p>
<p>
Our team of licensed physiotherapists uses personalized techniques and advanced rehabilitation methods to help you heal faster and move better.
</p>
<ul className="list-style-one clearfix">
<li>Chronic Pain Management (neck, back, joint discomfort)</li>
<li>Sports Injury Rehab (sprains, strains, post-surgical recovery)</li>
<li>Work-Related Injuries (WSIB & WCB claim support)</li>
<li>Movement & Neurological Disorders (stroke recovery, mobility training)</li>
</ul>
</div>
<div className="btn-box">
<Link href="/etobicoke-treatment-service" className="theme-btn btn-one" aria-label="Explore our service">
<span> Explore Our Services</span>
</Link>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
);
}