Almost updated
This commit is contained in:
@ -1,61 +1,67 @@
|
||||
import Contact from "@/components/common/Contact";
|
||||
import Faqs from "@/components/common/Faqs";
|
||||
import Pricing from "@/components/common/Pricing";
|
||||
|
||||
import Testimonials from "@/components/common/Testimonials";
|
||||
import Footer1 from "@/components/footers/Footer1";
|
||||
import Header1 from "@/components/headers/Header1";
|
||||
import Footer3 from "@/components/footers/Footer3";
|
||||
import Header4 from "@/components/headers/Header4";
|
||||
import Link from "next/link";
|
||||
import ServiceDetails from "@/components/otherPages/ServiceDetails";
|
||||
export const metadata = {
|
||||
title:
|
||||
"Service Details || Advitex - Finance and Business Consulting React Nextjs Template",
|
||||
description:
|
||||
"Advitex - Finance and Business Consulting React Nextjs Template",
|
||||
};
|
||||
import React from "react";
|
||||
import { allServices } from "@/data/services";
|
||||
|
||||
export const metadata = {
|
||||
title: "Service Details || Keystone Solutions",
|
||||
description:
|
||||
"Explore our comprehensive business process outsourcing services and data solutions at Keystone Solutions",
|
||||
};
|
||||
|
||||
export default async function ServiceDetailsPage({ params }) {
|
||||
const { id } = await params;
|
||||
|
||||
const service = allServices.filter((p) => p.id == id)[0] || allServices[0];
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="wrap-page-header">
|
||||
<Header1 />
|
||||
<div className="page-title style-default">
|
||||
<div className="tf-container">
|
||||
<div className="row">
|
||||
<div className="col-12">
|
||||
<div className="heading mb_43">
|
||||
<h1
|
||||
className="text_black letter-spacing-1"
|
||||
dangerouslySetInnerHTML={{ __html: service.title }}
|
||||
></h1>
|
||||
</div>
|
||||
<ul className="breadcrumb">
|
||||
<li>
|
||||
<Link href={`/`} className="link">
|
||||
<div className="primary-3">
|
||||
<div className="wrap-page-header">
|
||||
<Header4 />
|
||||
|
||||
{/* Page Title Section */}
|
||||
<section className="page-title tf-spacing-47">
|
||||
<div className="tf-container">
|
||||
<div className="row">
|
||||
<div className="col-12">
|
||||
{/* Breadcrumb */}
|
||||
<div className="breadcrumb-trail mb-3">
|
||||
<Link href="/" className="home-link text-body-2">
|
||||
Home
|
||||
</Link>
|
||||
</li>
|
||||
<li>Services</li>
|
||||
<li dangerouslySetInnerHTML={{ __html: service.title }}></li>
|
||||
</ul>
|
||||
<span className="separator text-body-2 mx-2">></span>
|
||||
<span className="text-body-2">Services</span>
|
||||
<span className="separator text-body-2 mx-2">></span>
|
||||
<span
|
||||
className="current-page text-body-2"
|
||||
dangerouslySetInnerHTML={{ __html: service.title }}
|
||||
></span>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div className="main-content style-1">
|
||||
<ServiceDetails service={service} />
|
||||
{/* <Pricing parentClass="section tf-spacing-13" />
|
||||
<Testimonials />
|
||||
<Faqs parentClass="section-faqs style-1 tf-spacing-8" />
|
||||
<Contact /> */}
|
||||
</div>
|
||||
</div>
|
||||
<div className="main-content style-1">
|
||||
<ServiceDetails />
|
||||
<Pricing parentClass="section tf-spacing-13" />
|
||||
<Testimonials />
|
||||
<Faqs parentClass="section-faqs style-1 tf-spacing-8" />
|
||||
<Contact />
|
||||
</div>
|
||||
<Footer1 />
|
||||
|
||||
<Footer3 />
|
||||
</>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user