Images Updated for team page and details page
@ -3,7 +3,6 @@ import Link from "next/link";
|
||||
import { notFound } from "next/navigation";
|
||||
import { areaOfInjuryData } from "@/utils/AreaOfInjery.utils";
|
||||
|
||||
// ✅ Static params for export
|
||||
export async function generateStaticParams() {
|
||||
return areaOfInjuryData.map((item) => ({
|
||||
slug: item.slug,
|
||||
|
||||
@ -13,7 +13,7 @@ const ProgressBar = ({ label, percent }) => (
|
||||
</div>
|
||||
);
|
||||
|
||||
// ✅ Generate static params for team members
|
||||
|
||||
export async function generateStaticParams() {
|
||||
return teamMembers.map((member) => ({
|
||||
slug: member.slug,
|
||||
@ -35,14 +35,19 @@ export default function TeamDetails({ params }) {
|
||||
}
|
||||
|
||||
return (
|
||||
<Layout headerStyle={2} footerStyle={1} breadcrumbTitle="Team Details">
|
||||
<Layout
|
||||
headerStyle={2}
|
||||
footerStyle={1}
|
||||
breadcrumbTitle={member.name}
|
||||
bannerImage={member.bannerImage}
|
||||
>
|
||||
<section className="team-details sec-pad-2">
|
||||
<div className="auto-container">
|
||||
<div className="team-details-content mb_50">
|
||||
<div className="row clearfix">
|
||||
<div className="col-lg-5 col-md-12 col-sm-12 image-column">
|
||||
<figure className="image-box mr_15">
|
||||
<img src={member.image} alt={member.name} />
|
||||
<img src={member.imageDetail} alt={member.name} />
|
||||
</figure>
|
||||
</div>
|
||||
<div className="col-lg-7 col-md-12 col-sm-12 content-column">
|
||||
|
||||
@ -6,8 +6,8 @@ import { teamMembers } from "@/utils/constant.utils";
|
||||
export default function Home() {
|
||||
return (
|
||||
<>
|
||||
<Layout headerStyle={2} footerStyle={1} breadcrumbTitle="Our Team">
|
||||
<section className="team-section sec-pad centred">
|
||||
<Layout headerStyle={2} footerStyle={1} breadcrumbTitle="Our Team" bannerImage="/assets/images/our-team/our-team-banner.webp">
|
||||
<section className="team-section pt_120 pb_120 centred">
|
||||
<div className="auto-container">
|
||||
<div className="sec-title mb_50">
|
||||
<span className="sub-title">Our Team</span>
|
||||
|
||||
BIN
public/assets/images/our-team/chandra.webp
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
public/assets/images/our-team/details/chandra.webp
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
public/assets/images/our-team/details/dhanya.webp
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 31 KiB |
BIN
public/assets/images/our-team/dhanya.webp
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
public/assets/images/our-team/our-team-banner.webp
Normal file
|
After Width: | Height: | Size: 12 KiB |
@ -5,7 +5,9 @@ export const teamMembers = [
|
||||
slug: "dhanya-prashant",
|
||||
name: "Dhanya Prashant",
|
||||
designation: "Physiotherapist",
|
||||
image: "/assets/images/team/team-5.jpg",
|
||||
image: "/assets/images/our-team/dhanya.webp",
|
||||
imageDetail: "/assets/images/our-team/details/dhanya.webp",
|
||||
bannerImage : "/assets/images/our-team/details/our-team-details-banner-1.webp",
|
||||
description: "Dhanya Prashant is a registered physiotherapist with more than 10 years of experience in the field with special interests in McKenzie method of back pain management, vestibular rehabilitation, and musculoskeletal injuries. Dhanya has been a part of the El Rapha Rehab team for the past five years. Dhanya believes in a holistic patient-oriented approach to treatment using combinations of exercise prescription and manual therapy techniques help to maximize long-term functions.",
|
||||
about1:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.",
|
||||
@ -31,7 +33,9 @@ export const teamMembers = [
|
||||
slug: "chandra-babu",
|
||||
name: "Chandra Babu",
|
||||
designation: "Massage Therapist",
|
||||
image: "/assets/images/team/team-5.jpg",
|
||||
bannerImage : "/assets/images/our-team/details/our-team-details-banner-2.webp",
|
||||
image: "/assets/images/our-team/chandra.webp",
|
||||
imageDetail: "/assets/images/our-team/details/chandra.webp",
|
||||
description: "Hi my name is Chandra Babu, Registered massage therapist. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.",
|
||||
about1:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.",
|
||||
|
||||