diff --git a/public/images/footer-showroom-cg.png b/public/images/footer-showroom-cg.png new file mode 100644 index 0000000..3974449 Binary files /dev/null and b/public/images/footer-showroom-cg.png differ diff --git a/public/images/footer-showroom-dd.png b/public/images/footer-showroom-dd.png new file mode 100644 index 0000000..65efd9c Binary files /dev/null and b/public/images/footer-showroom-dd.png differ diff --git a/public/images/hoang-ha-pc-cau-giay-6.jpg b/public/images/hoang-ha-pc-cau-giay-6.jpg new file mode 100644 index 0000000..cf59c8d Binary files /dev/null and b/public/images/hoang-ha-pc-cau-giay-6.jpg differ diff --git a/public/images/hoang-ha-pc-cau-giay-7.jpg b/public/images/hoang-ha-pc-cau-giay-7.jpg new file mode 100644 index 0000000..21693f9 Binary files /dev/null and b/public/images/hoang-ha-pc-cau-giay-7.jpg differ diff --git a/public/images/hoang-ha-pc-cau-giay-8.jpg b/public/images/hoang-ha-pc-cau-giay-8.jpg new file mode 100644 index 0000000..408d417 Binary files /dev/null and b/public/images/hoang-ha-pc-cau-giay-8.jpg differ diff --git a/public/images/hoang-ha-pc-cau-giay-9.jpg b/public/images/hoang-ha-pc-cau-giay-9.jpg new file mode 100644 index 0000000..b82c421 Binary files /dev/null and b/public/images/hoang-ha-pc-cau-giay-9.jpg differ diff --git a/public/images/hoang-ha-pc-dong-da-1.jpg b/public/images/hoang-ha-pc-dong-da-1.jpg new file mode 100644 index 0000000..ecab3f9 Binary files /dev/null and b/public/images/hoang-ha-pc-dong-da-1.jpg differ diff --git a/public/images/hoang-ha-pc-dong-da-2 (1).jpg b/public/images/hoang-ha-pc-dong-da-2 (1).jpg new file mode 100644 index 0000000..9220471 Binary files /dev/null and b/public/images/hoang-ha-pc-dong-da-2 (1).jpg differ diff --git a/public/images/hoang-ha-pc-dong-da-2.jpg b/public/images/hoang-ha-pc-dong-da-2.jpg new file mode 100644 index 0000000..9220471 Binary files /dev/null and b/public/images/hoang-ha-pc-dong-da-2.jpg differ diff --git a/public/images/hoang-ha-pc-dong-da-3.jpg b/public/images/hoang-ha-pc-dong-da-3.jpg new file mode 100644 index 0000000..2d8c8e4 Binary files /dev/null and b/public/images/hoang-ha-pc-dong-da-3.jpg differ diff --git a/public/images/hoang-ha-pc-dong-da-4.jpg b/public/images/hoang-ha-pc-dong-da-4.jpg new file mode 100644 index 0000000..d99fe30 Binary files /dev/null and b/public/images/hoang-ha-pc-dong-da-4.jpg differ diff --git a/public/images/hoang-ha-pc-hcm-1.jpg b/public/images/hoang-ha-pc-hcm-1.jpg new file mode 100644 index 0000000..15b1686 Binary files /dev/null and b/public/images/hoang-ha-pc-hcm-1.jpg differ diff --git a/public/images/hoang-ha-pc-hcm-2.jpg b/public/images/hoang-ha-pc-hcm-2.jpg new file mode 100644 index 0000000..6394b57 Binary files /dev/null and b/public/images/hoang-ha-pc-hcm-2.jpg differ diff --git a/public/images/hoang-ha-pc-hcm-3.jpg b/public/images/hoang-ha-pc-hcm-3.jpg new file mode 100644 index 0000000..7ac6e2e Binary files /dev/null and b/public/images/hoang-ha-pc-hcm-3.jpg differ diff --git a/public/images/hoang-ha-pc-hcm-4.jpg b/public/images/hoang-ha-pc-hcm-4.jpg new file mode 100644 index 0000000..bc52b0f Binary files /dev/null and b/public/images/hoang-ha-pc-hcm-4.jpg differ diff --git a/public/images/hoang-ha-pc-hcm-5.jpg b/public/images/hoang-ha-pc-hcm-5.jpg new file mode 100644 index 0000000..f60b8b3 Binary files /dev/null and b/public/images/hoang-ha-pc-hcm-5.jpg differ diff --git a/public/images/hoang_ha_pc_vinh_1.jpg b/public/images/hoang_ha_pc_vinh_1.jpg new file mode 100644 index 0000000..a41022d Binary files /dev/null and b/public/images/hoang_ha_pc_vinh_1.jpg differ diff --git a/public/images/hoang_ha_pc_vinh_10.jpg b/public/images/hoang_ha_pc_vinh_10.jpg new file mode 100644 index 0000000..405fc95 Binary files /dev/null and b/public/images/hoang_ha_pc_vinh_10.jpg differ diff --git a/public/images/hoang_ha_pc_vinh_2.jpg b/public/images/hoang_ha_pc_vinh_2.jpg new file mode 100644 index 0000000..8d98a8b Binary files /dev/null and b/public/images/hoang_ha_pc_vinh_2.jpg differ diff --git a/public/images/hoang_ha_pc_vinh_3.jpg b/public/images/hoang_ha_pc_vinh_3.jpg new file mode 100644 index 0000000..46b4855 Binary files /dev/null and b/public/images/hoang_ha_pc_vinh_3.jpg differ diff --git a/public/images/hoang_ha_pc_vinh_4.jpg b/public/images/hoang_ha_pc_vinh_4.jpg new file mode 100644 index 0000000..775c750 Binary files /dev/null and b/public/images/hoang_ha_pc_vinh_4.jpg differ diff --git a/public/images/phong-bao-hanh-2-min.jpg b/public/images/phong-bao-hanh-2-min.jpg new file mode 100644 index 0000000..aad7085 Binary files /dev/null and b/public/images/phong-bao-hanh-2-min.jpg differ diff --git a/public/images/phong-bao-hanh-3-min.jpg b/public/images/phong-bao-hanh-3-min.jpg new file mode 100644 index 0000000..3950fe0 Binary files /dev/null and b/public/images/phong-bao-hanh-3-min.jpg differ diff --git a/public/images/phong-bao-hanh-4-min.jpg b/public/images/phong-bao-hanh-4-min.jpg new file mode 100644 index 0000000..2a8ed4d Binary files /dev/null and b/public/images/phong-bao-hanh-4-min.jpg differ diff --git a/public/images/phong-bao-hanh-5-min.jpg b/public/images/phong-bao-hanh-5-min.jpg new file mode 100644 index 0000000..0ae1a81 Binary files /dev/null and b/public/images/phong-bao-hanh-5-min.jpg differ diff --git a/public/images/phong-bao-hanh-6-min.jpg b/public/images/phong-bao-hanh-6-min.jpg new file mode 100644 index 0000000..63ebfe8 Binary files /dev/null and b/public/images/phong-bao-hanh-6-min.jpg differ diff --git a/public/images/phong-bao-hanh-min.jpg b/public/images/phong-bao-hanh-min.jpg new file mode 100644 index 0000000..06c92a7 Binary files /dev/null and b/public/images/phong-bao-hanh-min.jpg differ diff --git a/public/images/showroom-central.png b/public/images/showroom-central.png new file mode 100644 index 0000000..3047f90 Binary files /dev/null and b/public/images/showroom-central.png differ diff --git a/public/images/static-showroom-bg.jpg b/public/images/static-showroom-bg.jpg new file mode 100644 index 0000000..590b469 Binary files /dev/null and b/public/images/static-showroom-bg.jpg differ diff --git a/public/images/static-showroom-pc-1.png b/public/images/static-showroom-pc-1.png new file mode 100644 index 0000000..a0fcf68 Binary files /dev/null and b/public/images/static-showroom-pc-1.png differ diff --git a/public/images/static-showroom-top.png b/public/images/static-showroom-top.png new file mode 100644 index 0000000..3b62934 Binary files /dev/null and b/public/images/static-showroom-top.png differ diff --git a/public/styles/library.css b/public/styles/library.css index 80bfa9a..ae3f1f6 100644 --- a/public/styles/library.css +++ b/public/styles/library.css @@ -1,4 +1,4 @@ -body{color:#333333;font-size:14px;line-height: 18px;font-family:'SF Pro Display',sans-serif;position:relative;word-break:break-word;counter-reset:section;font-weight:400;word-break: break-word;overflow-x:hidden} +body{color:#333333;font-size:14px;line-height: 18px;font-family:'SF Pro Display',sans-serif;position:relative;word-break:break-word;counter-reset:section;font-weight:400;word-break: break-word;} .fancybox__container .for-video.is-selected {border: 2px solid red;} /* css loading */ diff --git a/src/app/(main)/[slug]/renderBySlug.tsx b/src/app/(main)/[slug]/renderBySlug.tsx deleted file mode 100644 index a9e97df..0000000 --- a/src/app/(main)/[slug]/renderBySlug.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import { notFound } from "next/navigation"; - -import ProductCategory from "@/components/product/category"; -import ProductDetail from "@/components/product/detail"; -import ArticleCategory from "@/components/article/category"; -import ArticleDetail from "@/components/article/detail"; -import ArticleHome from "@/components/article/home"; - -export function renderBySlug(result: any, slug: string) { - - switch (result.type) { - case "product_category": - return ; - - case "product_detail": - return ; - - case "article_home": - return ; - - case "article_category": - return ; - - case "article_detail": - return ; - - default: - notFound(); - } -} diff --git a/src/app/(main)/cart/page.tsx b/src/app/(main)/cart/page.tsx index 2611e69..aeeae0b 100644 --- a/src/app/(main)/cart/page.tsx +++ b/src/app/(main)/cart/page.tsx @@ -1,5 +1,10 @@ import CartHome from "@/components/cart/home"; +import type { Metadata } from "next"; +export const metadata: Metadata = { + title: "Giỏ hàng của bạn", + description: "", +}; export default function Home() { return ( diff --git a/src/app/(main)/layout.tsx b/src/app/(main)/layout.tsx index 76a02bf..95877ae 100644 --- a/src/app/(main)/layout.tsx +++ b/src/app/(main)/layout.tsx @@ -1,13 +1,9 @@ import type { ReactNode } from 'react'; -import Header from "@/components/other/header"; -import Footer from "@/components/other/footer"; export default function MainLayout({ children }: { children: ReactNode }) { return ( <> -
{children} -