Images Updated for team page and details page

This commit is contained in:
akash 2025-08-29 19:20:14 +05:30
parent b37df694b0
commit 09bb3f0083
11 changed files with 16 additions and 8 deletions

View File

@ -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,

View File

@ -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">

View File

@ -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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -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 industrys 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 industrys 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 industrys 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.",