diff --git a/app/layout.js b/app/layout.js
index 72eeac9..928f93f 100644
--- a/app/layout.js
+++ b/app/layout.js
@@ -23,7 +23,7 @@ export const metadata = {
export default function RootLayout({ children }) {
return (
-
+
{/* Lazy load non-critical CSS */}
+
+ {/* Microsoft Clarity Tracking */}
+
{children}
diff --git a/components/sections/home/AreaOfInjury.js b/components/sections/home/AreaOfInjury.js
index 4c1c7b3..c2e39f5 100644
--- a/components/sections/home/AreaOfInjury.js
+++ b/components/sections/home/AreaOfInjury.js
@@ -35,7 +35,9 @@ export default function AreaOfInjury() {
{areaOfInjuryData.slice(0, 8).map((area, index) => (
-
+
diff --git a/components/sections/home2/Banner.js b/components/sections/home2/Banner.js
index de621fe..ea51eaa 100644
--- a/components/sections/home2/Banner.js
+++ b/components/sections/home2/Banner.js
@@ -49,48 +49,48 @@ const variants = {
},
rightToLeft: {
initial: { x: '100vw', opacity: 0 },
- animate: {
- x: 0,
- opacity: 1,
- transition: {
- duration: 0.8, // adjust speed
- ease: "easeInOut" // try "easeOut", "easeIn", or custom [0.4, 0, 0.2, 1]
- }
- },
- exit: {
- x: "-100vw",
- opacity: 0,
- transition: {
- duration: 0.6,
- ease: "easeInOut"
- }
- }
+ animate: {
+ x: 0,
+ opacity: 1,
+ transition: {
+ duration: 0.8, // adjust speed
+ ease: "easeInOut" // try "easeOut", "easeIn", or custom [0.4, 0, 0.2, 1]
+ }
+ },
+ exit: {
+ x: "-100vw",
+ opacity: 0,
+ transition: {
+ duration: 0.6,
+ ease: "easeInOut"
+ }
+ }
},
};
const revealVariants = {
- hidden: {
- scaleX: 0,
- opacity: 0,
- originX: 0, // same as transform-origin: 0% 50%
- },
- visible: {
- scaleX: 1,
- opacity: 1,
- originX: 0,
- transition: {
- duration: 0.8,
- ease: "easeInOut"
+ hidden: {
+ scaleX: 0,
+ opacity: 0,
+ originX: 0, // same as transform-origin: 0% 50%
+ },
+ visible: {
+ scaleX: 1,
+ opacity: 1,
+ originX: 0,
+ transition: {
+ duration: 0.6,
+ ease: "easeInOut"
+ }
+ },
+ exit: {
+ scaleX: 0,
+ opacity: 0,
+ originX: 0,
+ transition: {
+ duration: 0.6,
+ ease: "easeInOut"
+ }
}
- },
- exit: {
- scaleX: 0,
- opacity: 0,
- originX: 0,
- transition: {
- duration: 0.6,
- ease: "easeInOut"
- }
- }
};
const transition = {
@@ -111,125 +111,126 @@ export default function Banner() {
return (
- setActiveIndex(swiper.realIndex || 0)}
- onSlideChange={handleSlideChange}
->
+ setActiveIndex(swiper.realIndex || 0)}
+ onSlideChange={handleSlideChange}
+ >
-
-
- {activeIndex === 0 && (
-
-
-
-
-
-
Begin your
-
Recovery
-
• Rehab • Strength Training • Personalized Care
-
-
- Vist Our Location
-
-
-
-
-
- )}
-
-
+
+
+ {activeIndex === 0 && (
+
+
+
+
+
+
Begin your
+
Recovery
+
• Rehab • Strength Training • Personalized Care
+
+
+ Vist Our Location
+
+
+
+
+
+ )}
+
+
-
-
- {activeIndex === 1 && (
-
-
-
-
-
-
Build Your Strength &
-
Endurance
-
• Physiotherapy • Sports Therapy • Injury Prevention
-
-
- Book Your Appointment
-
-
-
-
-
- )}
-
-
+
+
+ {activeIndex === 1 && (
+
+
+
+
+
+
Build Your Strength &
+
Endurance
+
• Physiotherapy • Sports Therapy • Injury Prevention
+
+
+ Book Your Appointment
+
+
+
+
+
+ )}
+
+
- {/* ✅ existing 3rd slide remains as 3rd */}
-
-
- {activeIndex === 2 && (
-
-
-
-
-
-
Regain Your Strength
-
Heal
-
• Pain Relief • mobility • Wellness
-
-
- Explore Our Service
-
-
-
-
-
- )}
-
-
+ {/* ✅ existing 3rd slide remains as 3rd */}
+
+
+ {activeIndex === 2 && (
+
+
+
+
+
+
Regain Your Strength
+
Heal
+
• Pain Relief • mobility • Wellness
+
+
+
Schedule a Massage
+
-
-
- {activeIndex === 3 && (
-
-
-
-
-
-
Build your Core
-
Performance
-
• Pain Relief • Active Care • Long-Term Result
-
-
- Schedule a Massage
-
-
-
-
-
- )}
-
-
+
+
+
+
+ )}
+
+
-
+
+
+ {activeIndex === 3 && (
+
+
+
+
+
+
Build your Core
+
Performance
+
• Pain Relief • Active Care • Long-Term Result
+
+
+ Explore Our Service
+
+
+
+
+
+ )}
+
+
+
+
);
diff --git a/public/sitemap.xml b/public/sitemap.xml
index 05943fe..1daddef 100644
--- a/public/sitemap.xml
+++ b/public/sitemap.xml
@@ -1 +1 @@
-https://rapharehap.metatronnest.com/about-us/weekly0.8https://rapharehap.metatronnest.com/accident/weekly0.8https://rapharehap.metatronnest.com/accident/[slug]/weekly0.8https://rapharehap.metatronnest.com/area-of-injury/weekly0.8https://rapharehap.metatronnest.com/area-of-injury/[slug]/weekly0.8https://rapharehap.metatronnest.com/blog/weekly0.8https://rapharehap.metatronnest.com/blog/[slug]/weekly0.8https://rapharehap.metatronnest.com/caregivers/weekly0.8https://rapharehap.metatronnest.com/contact/weekly0.8https://rapharehap.metatronnest.com/covid-19-updates/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/[slug]/weekly0.8https://rapharehap.metatronnest.com/faq-physiotherapy-etobicoke/weekly0.8https://rapharehap.metatronnest.com/gallery-physiotherapy-etobicoke/weekly0.8https://rapharehap.metatronnest.com/locations/weekly0.8https://rapharehap.metatronnest.com/our-team-physiotherapy-etobicoke/weekly0.8https://rapharehap.metatronnest.com/our-team-physiotherapy-etobicoke/[slug]/weekly0.8https://rapharehap.metatronnest.com/ourapproach-physiotherapy-etobicoke/weekly0.8https://rapharehap.metatronnest.com/weekly1.0https://rapharehap.metatronnest.com/payment-insurance/weekly0.8https://rapharehap.metatronnest.com/rehabilitation/weekly0.8https://rapharehap.metatronnest.com/rehabilitation/[slug]/weekly0.8https://rapharehap.metatronnest.com/shortcodes/weekly0.8https://rapharehap.metatronnest.com/what-to-expect/weekly0.8https://rapharehap.metatronnest.com/why-rapha-physiotherapy-etobicoke/weekly0.8https://rapharehap.metatronnest.com/blog/chronic-pain-treatment-etobicoke/weekly0.8https://rapharehap.metatronnest.com/blog/top-rehab-wellness-etobicoke-hand-massage/weekly0.8https://rapharehap.metatronnest.com/blog/osteopath-near-me-first-visit-rapha-rehab/weekly0.8https://rapharehap.metatronnest.com/blog/strength-training-rehabilitation-rapha-rehab/weekly0.8https://rapharehap.metatronnest.com/blog/biceps-triceps-back-workouts-rapha-rehab/weekly0.8https://rapharehap.metatronnest.com/blog/beginner-workouts-rehab-wellness-rapha-rehab/weekly0.8https://rapharehap.metatronnest.com/blog/recover-strong-post-surgery-rehabilitation-exercises/weekly0.8https://rapharehap.metatronnest.com/blog/benefits-massage-therapy-sports-injuries/weekly0.8https://rapharehap.metatronnest.com/blog/shockwave-therapy-etobicoke-chronic-pain/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/physiotherapy-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/sportsinjury-physiotherapy-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/pelvic-floor-physiotherapy-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/massage-therapy-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/chiropractic-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/chiropdist-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/acupuncture-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/osteopathy-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/foot-reflexology-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/custom-knee-braces-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/laser-therapy-electrical-modalities/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/naturopathy-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/orthotics-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/spinal-decompression-therapy-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/concussion-management-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/chronic-pain-management-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/pre-post-operative-management-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/exercisetherapy-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/workplace-injury-management-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/home-care-physiotherapy-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/virtual-care-physiotherapy-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/gait-assessment-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/kids-physiotherapy-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/surgical-rehab-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/fascial-stretch-therapy-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/cupping-therapy-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/shiatsu-therapy-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/deep-tissue-massage-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/neuro-fascial-therapy-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/cranio-sacral-therapy-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/motor-vehicle-accident-rehabilitation-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/compression-stockings-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/cardiac-rehabilitation-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/intramuscular-stimulation-ims-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/psychotherapy-etobicoke/weekly0.8https://rapharehap.metatronnest.com/etobicoke-treatment-service/shockwave-therapy-etobicoke/weekly0.8https://rapharehap.metatronnest.com/accident/minor-injury-etobicoke/weekly0.8https://rapharehap.metatronnest.com/accident/catastropic-injury-etobicoke/weekly0.8https://rapharehap.metatronnest.com/accident/slip-and-fall-injury-etobicoke/weekly0.8https://rapharehap.metatronnest.com/accident/concussion-management-etobicoke/weekly0.8https://rapharehap.metatronnest.com/accident/psychotherapy-management-etobicoke/weekly0.8https://rapharehap.metatronnest.com/accident/hydrotherapy-etobicoke/weekly0.8https://rapharehap.metatronnest.com/accident/chronic-pain-management-etobicoke/weekly0.8https://rapharehap.metatronnest.com/area-of-injury/head-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehap.metatronnest.com/area-of-injury/neck-injury-physiotherapy-management-etobicokeneck-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehap.metatronnest.com/area-of-injury/shoulder-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehap.metatronnest.com/area-of-injury/elbow-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehap.metatronnest.com/area-of-injury/wristhand-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehap.metatronnest.com/area-of-injury/lowback-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehap.metatronnest.com/area-of-injury/hip-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehap.metatronnest.com/area-of-injury/legknee-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehap.metatronnest.com/area-of-injury/anklefoot-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehap.metatronnest.com/rehabilitation/spinalcord-rehabilitation-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/rehabilitation/amputee-rehabilitation-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/rehabilitation/fracture-rehabilitation-clinic-etobicoke/weekly0.8https://rapharehap.metatronnest.com/rehabilitation/neurological-rehabilitation-clinic-etobicoke/weekly0.8
\ No newline at end of file
+https://rapharehab.ca/about-us/weekly0.8https://rapharehab.ca/accident/weekly0.8https://rapharehab.ca/accident/[slug]/weekly0.8https://rapharehab.ca/area-of-injury/weekly0.8https://rapharehab.ca/area-of-injury/[slug]/weekly0.8https://rapharehab.ca/blog/weekly0.8https://rapharehab.ca/blog/[slug]/weekly0.8https://rapharehab.ca/caregivers/weekly0.8https://rapharehab.ca/contact/weekly0.8https://rapharehab.ca/covid-19-updates/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/[slug]/weekly0.8https://rapharehab.ca/faq-physiotherapy-etobicoke/weekly0.8https://rapharehab.ca/gallery-physiotherapy-etobicoke/weekly0.8https://rapharehab.ca/locations/weekly0.8https://rapharehab.ca/our-team-physiotherapy-etobicoke/weekly0.8https://rapharehab.ca/our-team-physiotherapy-etobicoke/[slug]/weekly0.8https://rapharehab.ca/ourapproach-physiotherapy-etobicoke/weekly0.8https://rapharehab.ca/weekly1.0https://rapharehab.ca/payment-insurance/weekly0.8https://rapharehab.ca/rehabilitation/weekly0.8https://rapharehab.ca/rehabilitation/[slug]/weekly0.8https://rapharehab.ca/shortcodes/weekly0.8https://rapharehab.ca/what-to-expect/weekly0.8https://rapharehab.ca/why-rapha-physiotherapy-etobicoke/weekly0.8https://rapharehab.ca/blog/chronic-pain-treatment-etobicoke/weekly0.8https://rapharehab.ca/blog/top-rehab-wellness-etobicoke-hand-massage/weekly0.8https://rapharehab.ca/blog/osteopath-near-me-first-visit-rapha-rehab/weekly0.8https://rapharehab.ca/blog/strength-training-rehabilitation-rapha-rehab/weekly0.8https://rapharehab.ca/blog/biceps-triceps-back-workouts-rapha-rehab/weekly0.8https://rapharehab.ca/blog/beginner-workouts-rehab-wellness-rapha-rehab/weekly0.8https://rapharehab.ca/blog/recover-strong-post-surgery-rehabilitation-exercises/weekly0.8https://rapharehab.ca/blog/benefits-massage-therapy-sports-injuries/weekly0.8https://rapharehab.ca/blog/shockwave-therapy-etobicoke-chronic-pain/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/physiotherapy-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/sportsinjury-physiotherapy-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/pelvic-floor-physiotherapy-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/massage-therapy-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/chiropractic-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/chiropdist-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/acupuncture-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/osteopathy-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/foot-reflexology-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/custom-knee-braces-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/laser-therapy-electrical-modalities/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/naturopathy-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/orthotics-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/spinal-decompression-therapy-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/concussion-management-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/chronic-pain-management-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/pre-post-operative-management-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/exercisetherapy-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/workplace-injury-management-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/home-care-physiotherapy-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/virtual-care-physiotherapy-clinic-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/gait-assessment-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/kids-physiotherapy-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/surgical-rehab-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/fascial-stretch-therapy-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/cupping-therapy-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/shiatsu-therapy-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/deep-tissue-massage-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/neuro-fascial-therapy-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/cranio-sacral-therapy-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/motor-vehicle-accident-rehabilitation-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/compression-stockings-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/cardiac-rehabilitation-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/intramuscular-stimulation-ims-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/psychotherapy-etobicoke/weekly0.8https://rapharehab.ca/etobicoke-treatment-service/shockwave-therapy-etobicoke/weekly0.8https://rapharehab.ca/accident/minor-injury-etobicoke/weekly0.8https://rapharehab.ca/accident/catastropic-injury-etobicoke/weekly0.8https://rapharehab.ca/accident/slip-and-fall-injury-etobicoke/weekly0.8https://rapharehab.ca/accident/concussion-management-etobicoke/weekly0.8https://rapharehab.ca/accident/psychotherapy-management-etobicoke/weekly0.8https://rapharehab.ca/accident/hydrotherapy-etobicoke/weekly0.8https://rapharehab.ca/accident/chronic-pain-management-etobicoke/weekly0.8https://rapharehab.ca/area-of-injury/head-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehab.ca/area-of-injury/neck-injury-physiotherapy-management-etobicokeneck-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehab.ca/area-of-injury/shoulder-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehab.ca/area-of-injury/elbow-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehab.ca/area-of-injury/wristhand-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehab.ca/area-of-injury/lowback-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehab.ca/area-of-injury/hip-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehab.ca/area-of-injury/legknee-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehab.ca/area-of-injury/anklefoot-injury-physiotherapy-management-etobicoke/weekly0.8https://rapharehab.ca/rehabilitation/spinalcord-rehabilitation-clinic-etobicoke/weekly0.8https://rapharehab.ca/rehabilitation/amputee-rehabilitation-clinic-etobicoke/weekly0.8https://rapharehab.ca/rehabilitation/fracture-rehabilitation-clinic-etobicoke/weekly0.8https://rapharehab.ca/rehabilitation/neurological-rehabilitation-clinic-etobicoke/weekly0.8
\ No newline at end of file
diff --git a/scripts/generate-sitemap.cjs b/scripts/generate-sitemap.cjs
index bb9c853..3e1e0b8 100644
--- a/scripts/generate-sitemap.cjs
+++ b/scripts/generate-sitemap.cjs
@@ -3,7 +3,7 @@ const path = require("path");
const { SitemapStream, streamToPromise } = require("sitemap");
const { pathToFileURL } = require("url");
-const hostname = "https://rapharehap.metatronnest.com";
+const hostname = "https://rapharehab.ca";
const addTrailingSlash = true; // ✅ Set this true if your Next.js uses trailingSlash: true
// // 🔧 Utility to format URLs based on config