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 = () => {
heading="Contact Us"
/>
<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>
<Row className="justify-content-center">
<Col lg={4} md={4} sm={6}>
......@@ -26,7 +27,7 @@ const ContactInfo = () => {
<div className="icon">
<i className="ri-home-7-line"></i>
</div>
<h3>Main Office</h3>
<h3>Office</h3>
<p>No. 988, 1st Floor, 13th Cross, Banashankari 2nd Stage, Bengaluru - 560070</p>
</div>
</Col>
......@@ -36,7 +37,7 @@ const ContactInfo = () => {
<div className="icon">
<i className="ri-phone-line"></i>
</div>
<h3>Our Phone</h3>
<h3>Landline & Mobile</h3>
<p>
<span>Call:</span>
<a href="tel:08026719484">080-2671 9484</a>
......@@ -53,9 +54,8 @@ const ContactInfo = () => {
<div className="icon">
<i className="ri-mail-star-line"></i>
</div>
<h3>Email Address</h3>
<h3>Email</h3>
<p>
<span>Email:</span>
<a href="mailto: info@advithconsulting.in"> info@advithconsulting.in</a>
</p>
......
......@@ -64,7 +64,7 @@ const AboutContent = ({ Knowledges, KnowledgeTab }) => {
<Col lg={6} md={12}>
<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>
<Tabs>
......
......@@ -60,7 +60,7 @@ const HomeBlog = ({ data }) => {
<div className="section-title">
<span className="sub-title">OUR BLOGS</span>
<h2></h2>
<Heading el="h2" heading="Meet Up With Our Blogs" />
<Heading el="h2" heading="Advith’s Insights" />
</div>
<Row className="justify-content-center">
......
......@@ -18,7 +18,7 @@ const IndustryTab = ({ serviceTitle, services }) => {
<Col md={3} sm={12} className="mb-4 mb-md-0">
<div className="widget-area">
<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)}>
<TabList>
{services.map((service, index) => (
......
......@@ -150,14 +150,15 @@ const Header = () => {
</li>
<li className="nav-item">
<Link href="/career" className={`nav-link ${isActive("/career") ? "active" : ""}`}>
Careers
<Link href="/industry" className={`nav-link ${isActive("/industry") ? "active" : ""}`}>
Industry
</Link>
</li>
<li className="nav-item">
<Link href="/industry" className={`nav-link ${isActive("/industry") ? "active" : ""}`}>
Industry
<Link href="/career" className={`nav-link ${isActive("/career") ? "active" : ""}`}>
Careers
</Link>
</li>
<li className="nav-item">
......
......@@ -11,12 +11,13 @@ import { cleanImage } from "@/layout/imageHandling";
import IndustryOverview from "@/container/IndustryFocus/IndustryOverview";
import IndustryTab from "@/container/IndustryFocus/IndustryTab";
import Seo from "@/components/reuseables/Seo/Seo";
import IndustryClientele from "@/components/reuseables/IndustryClientele";
const industry = ({ IndustryPage }) => {
// console.log("conatct", IndustryPage)
console.log("conatct", IndustryPage)
const dynamicdata = IndustryPage?.IndustryDetails;
// console.log(dynamicdata , "dynamicdata")
console.log(dynamicdata , "dynamicdata")
const banners = [
{
imageSrc: cleanImage(IndustryPage?.Banner?.Image?.url),
......@@ -27,6 +28,8 @@ const industry = ({ IndustryPage }) => {
},
];
const seo = IndustryPage?.seo;
// console.log(seo, "seo")
return (
......@@ -46,6 +49,11 @@ const industry = ({ IndustryPage }) => {
serviceTitle={section?.Title}
services={section?.IndustryServiceList}
/>
case "layout.clientel":
return <IndustryClientele
partners={section?.logos}
/>
default:
return null;
}
......@@ -72,6 +80,7 @@ export async function getServerSideProps() {
"Banner.Image",
"IndustryDetails",
"IndustryDetails.Image",
"IndustryDetails.logos",
"IndustryDetails.IndustryServiceList",
"IndustryDetails.IndustryServiceList.CfoList",
"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!