first commit
This commit is contained in:
49
app/(shop)/cart/page.jsx
Normal file
49
app/(shop)/cart/page.jsx
Normal file
@ -0,0 +1,49 @@
|
||||
import Contact from "@/components/common/Contact";
|
||||
|
||||
import Footer1 from "@/components/footers/Footer1";
|
||||
import Header1 from "@/components/headers/Header1";
|
||||
import Link from "next/link";
|
||||
import ShopCart from "@/components/shop/ShopCart";
|
||||
|
||||
import React from "react";
|
||||
export const metadata = {
|
||||
title:
|
||||
"Shop Cart || Advitex - Finance and Business Consulting React Nextjs Template",
|
||||
description:
|
||||
"Advitex - Finance and Business Consulting React Nextjs Template",
|
||||
};
|
||||
export default function CartPage() {
|
||||
return (
|
||||
<>
|
||||
<div className="wrap-page-header">
|
||||
<Header1 />
|
||||
<div className="page-title style-default v4">
|
||||
<div className="tf-container">
|
||||
<div className="row">
|
||||
<div className="col-12">
|
||||
<div className="heading mb_51">
|
||||
<div className="text-display-2 mb_44 letter-spacing-1">
|
||||
Cart
|
||||
</div>
|
||||
<ul className="breadcrumb">
|
||||
<li>
|
||||
<Link href={`/`} className="link">
|
||||
Home
|
||||
</Link>
|
||||
</li>
|
||||
<li>Cart</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="main-content style-1">
|
||||
<ShopCart />
|
||||
<Contact />
|
||||
</div>
|
||||
<Footer1 />
|
||||
</>
|
||||
);
|
||||
}
|
||||
48
app/(shop)/checkout/page.jsx
Normal file
48
app/(shop)/checkout/page.jsx
Normal file
@ -0,0 +1,48 @@
|
||||
import Contact from "@/components/common/Contact";
|
||||
|
||||
import Footer1 from "@/components/footers/Footer1";
|
||||
import Header1 from "@/components/headers/Header1";
|
||||
import Checkout from "@/components/shop/Checkout";
|
||||
import Link from "next/link";
|
||||
import React from "react";
|
||||
export const metadata = {
|
||||
title:
|
||||
"Checkout || Advitex - Finance and Business Consulting React Nextjs Template",
|
||||
description:
|
||||
"Advitex - Finance and Business Consulting React Nextjs Template",
|
||||
};
|
||||
export default function CheckoutPage() {
|
||||
return (
|
||||
<>
|
||||
<div className="wrap-page-header">
|
||||
<Header1 />
|
||||
<div className="page-title style-default v5">
|
||||
<div className="tf-container">
|
||||
<div className="row">
|
||||
<div className="col-12">
|
||||
<div className="heading mb_44">
|
||||
<div className="text-display-2 text_black letter-spacing-1">
|
||||
Checkout
|
||||
</div>
|
||||
</div>
|
||||
<ul className="breadcrumb">
|
||||
<li>
|
||||
<Link href={`/`} className="link">
|
||||
Home
|
||||
</Link>
|
||||
</li>
|
||||
<li>Checkout</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="main-content style-1">
|
||||
<Checkout />
|
||||
<Contact />
|
||||
</div>
|
||||
<Footer1 />
|
||||
</>
|
||||
);
|
||||
}
|
||||
57
app/(shop)/product-details/[id]/page.jsx
Normal file
57
app/(shop)/product-details/[id]/page.jsx
Normal file
@ -0,0 +1,57 @@
|
||||
import Contact from "@/components/common/Contact";
|
||||
import Link from "next/link";
|
||||
import Footer1 from "@/components/footers/Footer1";
|
||||
import Header1 from "@/components/headers/Header1";
|
||||
import RelatedProducts from "@/components/shop/RelatedProducts";
|
||||
import ShopDescription from "@/components/shop/ShopDescription";
|
||||
import ShopDetails from "@/components/shop/ShopDetails";
|
||||
import { products } from "@/data/products";
|
||||
export const metadata = {
|
||||
title:
|
||||
"Product Details || Advitex - Finance and Business Consulting React Nextjs Template",
|
||||
description:
|
||||
"Advitex - Finance and Business Consulting React Nextjs Template",
|
||||
};
|
||||
export default async function ProductDetailsPage({ params }) {
|
||||
const { id } = await params;
|
||||
|
||||
const product = products.filter((p) => p.id == id)[0] || products[0];
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="wrap-page-header">
|
||||
<Header1 />
|
||||
<div className="page-title style-default v4">
|
||||
<div className="tf-container">
|
||||
<div className="row">
|
||||
<div className="col-12">
|
||||
<div className="heading mb_51">
|
||||
<div className="text-display-2 mb_25 letter-spacing-1 mb_43">
|
||||
Products Detail
|
||||
</div>
|
||||
<ul className="breadcrumb">
|
||||
<li>
|
||||
<Link href={`/`} className="link">
|
||||
Home
|
||||
</Link>
|
||||
</li>
|
||||
<li>Shop</li>
|
||||
<li>{product.title}</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/* /.page-title */}
|
||||
</div>
|
||||
</div>
|
||||
<div className="main-content style-1">
|
||||
<ShopDetails product={product} />
|
||||
<ShopDescription />
|
||||
<RelatedProducts />
|
||||
<Contact />
|
||||
</div>
|
||||
<Footer1 />
|
||||
</>
|
||||
);
|
||||
}
|
||||
46
app/(shop)/shop/page.jsx
Normal file
46
app/(shop)/shop/page.jsx
Normal file
@ -0,0 +1,46 @@
|
||||
import Contact from "@/components/common/Contact";
|
||||
|
||||
import Footer1 from "@/components/footers/Footer1";
|
||||
import Header1 from "@/components/headers/Header1";
|
||||
import Shop from "@/components/shop/Shop";
|
||||
import Link from "next/link";
|
||||
import React from "react";
|
||||
export const metadata = {
|
||||
title:
|
||||
"Shop || Advitex - Finance and Business Consulting React Nextjs Template",
|
||||
description:
|
||||
"Advitex - Finance and Business Consulting React Nextjs Template",
|
||||
};
|
||||
export default function ShopPage() {
|
||||
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_42">
|
||||
<div className="text-display-2 letter-spacing-1">Shop</div>
|
||||
</div>
|
||||
<ul className="breadcrumb">
|
||||
<li>
|
||||
<Link href={`/`} className="link">
|
||||
Home
|
||||
</Link>
|
||||
</li>
|
||||
<li>Shop</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="main-content style-1">
|
||||
<Shop />
|
||||
<Contact />
|
||||
</div>
|
||||
<Footer1 />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user