diff --git a/globals.d.ts b/globals.d.ts index cbe652d..4b516a4 100644 --- a/globals.d.ts +++ b/globals.d.ts @@ -1 +1,5 @@ declare module "*.css"; +declare module 'swiper/css'; +declare module 'swiper/css/navigation'; +declare module 'swiper/css/pagination'; +declare module 'swiper/css/autoplay'; \ No newline at end of file diff --git a/src/app/layout.tsx b/src/app/layout.tsx index fc52203..7778036 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,5 +1,8 @@ import type { Metadata } from 'next'; import '../styles/sf-pro-display.css'; +import 'swiper/css'; +import 'swiper/css/navigation'; +import 'swiper/css/pagination'; import '../styles/globals.css'; import Header from '@components/layout/Header/Header'; diff --git a/src/app/page.tsx b/src/app/page.tsx index 34c3cdf..eafe967 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -3,7 +3,7 @@ import SliderHome from '@components/layout/homepage/SliderHome'; export default function Home() { return ( -
Bán chạy nhất
+Bán chạy nhất
+
- Xây dựng cấu hình + Xây dựng cấu hình -
+
- Khách hàng liên hệ + Khách hàng liên hệ - -
+ +
Tin tức công nghệ
+ +
1
@@ -107,14 +98,14 @@ const HeaderMid: React.FC = () => {Tổng tiền hàng
THANH TOÁN NGAY
@@ -123,9 +114,9 @@ const HeaderMid: React.FC = () => { -+
Tài khoản diff --git a/src/components/layout/homepage/BoxProductDeal.tsx b/src/components/layout/homepage/BoxProductDeal.tsx index 4b2434d..f484154 100644 --- a/src/components/layout/homepage/BoxProductDeal.tsx +++ b/src/components/layout/homepage/BoxProductDeal.tsx @@ -1,6 +1,24 @@ 'use client'; import React from 'react'; -const BoxProductDeal: React.FC = () => {}; +const BoxProductDeal: React.FC = () => { + return ( +