Commit b023c0b6 by sujata

change shared by client

1 parent f5aa0d6a
import React from "react";
import { Swiper, SwiperSlide } from "swiper/react";
import { Autoplay, Navigation } from "swiper/modules";
import Image from "next/image";
import SwiperNav from "./SwiperNav";
import { cleanImage } from "@/layout/imageHandling";
const IndustryClientele = ({
partners = [],
spaceBetween = 10,
autoplayDelay = 3000,
slidesPerViewBreakpoints = {
0: { slidesPerView: 2 },
576: { slidesPerView: 3 },
768: { slidesPerView: 4 },
992: { slidesPerView: 4 },
},
sliderClassName = "partner-slides position-relative",
itemClassName = "single-partner-item",
}) => {
console.log("clientlogo",partners)
return (
<div className="partner-area pb-100">
<div className="container">
<div className="position-relative">
<Swiper
spaceBetween={spaceBetween}
breakpoints={slidesPerViewBreakpoints}
loop={true}
autoplay={{
delay: autoplayDelay,
disableOnInteraction: true,
pauseOnMouseEnter: true,
}}
// navigation={{
// nextEl: ".custom-swiper-button-next",
// prevEl: ".custom-swiper-button-prev",
// }}
modules={[Autoplay]}
className={sliderClassName}
>
{partners &&
partners?.map((logo) => (
<SwiperSlide className={itemClassName} key={logo.id}>
<div className="justify-content-center align-items-center ">
<Image
alt={logo?.alternativeText ? logo?.alternativeText : "image"}
src={cleanImage(logo?.url)}
fill
className="img-fluid image industry-logo"
/>
</div>
</SwiperSlide>
))}
</Swiper>
{/* <div className="cust_nav text-center mt-md-4 mt-2">
<SwiperNav />
</div> */}
</div>
</div>
</div>
);
};
export default IndustryClientele;
...@@ -17,8 +17,9 @@ const ContactInfo = () => { ...@@ -17,8 +17,9 @@ const ContactInfo = () => {
heading="Contact Us" heading="Contact Us"
/> />
<p> <p>
Let's get ready to Sail Together: Provide us with your Contact Details & we'll make sure that you Kick off in no time Lets get ready to sail together. Provide us with your Contact Details and well make sure that we reach out to you in no time
</p> </p>
<Row className="justify-content-center"> <Row className="justify-content-center">
<Col lg={4} md={4} sm={6}> <Col lg={4} md={4} sm={6}>
...@@ -26,7 +27,7 @@ const ContactInfo = () => { ...@@ -26,7 +27,7 @@ const ContactInfo = () => {
<div className="icon"> <div className="icon">
<i className="ri-home-7-line"></i> <i className="ri-home-7-line"></i>
</div> </div>
<h3>Main Office</h3> <h3>Office</h3>
<p>No. 988, 1st Floor, 13th Cross, Banashankari 2nd Stage, Bengaluru - 560070</p> <p>No. 988, 1st Floor, 13th Cross, Banashankari 2nd Stage, Bengaluru - 560070</p>
</div> </div>
</Col> </Col>
...@@ -36,7 +37,7 @@ const ContactInfo = () => { ...@@ -36,7 +37,7 @@ const ContactInfo = () => {
<div className="icon"> <div className="icon">
<i className="ri-phone-line"></i> <i className="ri-phone-line"></i>
</div> </div>
<h3>Our Phone</h3> <h3>Landline & Mobile</h3>
<p> <p>
<span>Call:</span> <span>Call:</span>
<a href="tel:08026719484">080-2671 9484</a> <a href="tel:08026719484">080-2671 9484</a>
...@@ -53,9 +54,8 @@ const ContactInfo = () => { ...@@ -53,9 +54,8 @@ const ContactInfo = () => {
<div className="icon"> <div className="icon">
<i className="ri-mail-star-line"></i> <i className="ri-mail-star-line"></i>
</div> </div>
<h3>Email Address</h3> <h3>Email</h3>
<p> <p>
<span>Email:</span>
<a href="mailto: info@advithconsulting.in"> info@advithconsulting.in</a> <a href="mailto: info@advithconsulting.in"> info@advithconsulting.in</a>
</p> </p>
......
...@@ -64,7 +64,7 @@ const AboutContent = ({ Knowledges, KnowledgeTab }) => { ...@@ -64,7 +64,7 @@ const AboutContent = ({ Knowledges, KnowledgeTab }) => {
<Col lg={6} md={12}> <Col lg={6} md={12}>
<div className="what-we-do-content"> <div className="what-we-do-content">
<Heading el="h2" heading="Knowledgeshack" className="h2" /> <Heading el="h2" heading={Knowledges?.Heading} className="h2" />
<span>{Knowledges?.Description}</span> <span>{Knowledges?.Description}</span>
<Tabs> <Tabs>
......
...@@ -60,7 +60,7 @@ const HomeBlog = ({ data }) => { ...@@ -60,7 +60,7 @@ const HomeBlog = ({ data }) => {
<div className="section-title"> <div className="section-title">
<span className="sub-title">OUR BLOGS</span> <span className="sub-title">OUR BLOGS</span>
<h2></h2> <h2></h2>
<Heading el="h2" heading="Meet Up With Our Blogs" /> <Heading el="h2" heading="Advith’s Insights" />
</div> </div>
<Row className="justify-content-center"> <Row className="justify-content-center">
......
...@@ -18,7 +18,7 @@ const IndustryTab = ({ serviceTitle, services }) => { ...@@ -18,7 +18,7 @@ const IndustryTab = ({ serviceTitle, services }) => {
<Col md={3} sm={12} className="mb-4 mb-md-0"> <Col md={3} sm={12} className="mb-4 mb-md-0">
<div className="widget-area"> <div className="widget-area">
<div className="widget widget_service_categories"> <div className="widget widget_service_categories">
<h3 className="widget-title">CFO Services</h3> <h3 className="widget-title">Services</h3>
<Tabs selectedIndex={selectedIndex} onSelect={(index) => setSelectedIndex(index)}> <Tabs selectedIndex={selectedIndex} onSelect={(index) => setSelectedIndex(index)}>
<TabList> <TabList>
{services.map((service, index) => ( {services.map((service, index) => (
......
...@@ -150,14 +150,15 @@ const Header = () => { ...@@ -150,14 +150,15 @@ const Header = () => {
</li> </li>
<li className="nav-item"> <li className="nav-item">
<Link href="/career" className={`nav-link ${isActive("/career") ? "active" : ""}`}> <Link href="/industry" className={`nav-link ${isActive("/industry") ? "active" : ""}`}>
Careers Industry
</Link> </Link>
</li> </li>
<li className="nav-item"> <li className="nav-item">
<Link href="/industry" className={`nav-link ${isActive("/industry") ? "active" : ""}`}> <Link href="/career" className={`nav-link ${isActive("/career") ? "active" : ""}`}>
Industry Careers
</Link> </Link>
</li> </li>
<li className="nav-item"> <li className="nav-item">
......
...@@ -11,12 +11,13 @@ import { cleanImage } from "@/layout/imageHandling"; ...@@ -11,12 +11,13 @@ import { cleanImage } from "@/layout/imageHandling";
import IndustryOverview from "@/container/IndustryFocus/IndustryOverview"; import IndustryOverview from "@/container/IndustryFocus/IndustryOverview";
import IndustryTab from "@/container/IndustryFocus/IndustryTab"; import IndustryTab from "@/container/IndustryFocus/IndustryTab";
import Seo from "@/components/reuseables/Seo/Seo"; import Seo from "@/components/reuseables/Seo/Seo";
import IndustryClientele from "@/components/reuseables/IndustryClientele";
const industry = ({ IndustryPage }) => { const industry = ({ IndustryPage }) => {
// console.log("conatct", IndustryPage) console.log("conatct", IndustryPage)
const dynamicdata = IndustryPage?.IndustryDetails; const dynamicdata = IndustryPage?.IndustryDetails;
// console.log(dynamicdata , "dynamicdata") console.log(dynamicdata , "dynamicdata")
const banners = [ const banners = [
{ {
imageSrc: cleanImage(IndustryPage?.Banner?.Image?.url), imageSrc: cleanImage(IndustryPage?.Banner?.Image?.url),
...@@ -27,6 +28,8 @@ const industry = ({ IndustryPage }) => { ...@@ -27,6 +28,8 @@ const industry = ({ IndustryPage }) => {
}, },
]; ];
const seo = IndustryPage?.seo; const seo = IndustryPage?.seo;
// console.log(seo, "seo") // console.log(seo, "seo")
return ( return (
...@@ -46,6 +49,11 @@ const industry = ({ IndustryPage }) => { ...@@ -46,6 +49,11 @@ const industry = ({ IndustryPage }) => {
serviceTitle={section?.Title} serviceTitle={section?.Title}
services={section?.IndustryServiceList} services={section?.IndustryServiceList}
/> />
case "layout.clientel":
return <IndustryClientele
partners={section?.logos}
/>
default: default:
return null; return null;
} }
...@@ -72,6 +80,7 @@ export async function getServerSideProps() { ...@@ -72,6 +80,7 @@ export async function getServerSideProps() {
"Banner.Image", "Banner.Image",
"IndustryDetails", "IndustryDetails",
"IndustryDetails.Image", "IndustryDetails.Image",
"IndustryDetails.logos",
"IndustryDetails.IndustryServiceList", "IndustryDetails.IndustryServiceList",
"IndustryDetails.IndustryServiceList.CfoList", "IndustryDetails.IndustryServiceList.CfoList",
"IndustryDetails.IndustryServiceList.CfoList.Icon", "IndustryDetails.IndustryServiceList.CfoList.Icon",
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!