import { useState } from "react"; import { PopupBuildpc } from "../../components/buildpc/PopupBuildpc"; export function CreateBuildpc() { const [showPopup, setShowPopup] = useState(false); return ( <>
Sản phẩm
Thông tin Giá gốc Khuyến mãi Thành tiền Nhà cung cấp
{/* */}
CPU
4.700.000 Vnđ
20%
4.000.000đ
CPU Cooler
4.700.000 Vnđ
20%
4.000.000đ
4.700.000 Vnđ
20%
4.000.000đ
{ e.preventDefault(); setShowPopup(true); }} className="w-[130px] h-[30px] block text-xs mt-2.5 text-center leading-[30px] text-black rounded bg-zinc-300 font-bold hover:bg-[var(--color-global)] hover:text-white" > + Chọn thêm CPU
CPU Cooler
{ e.preventDefault(); setShowPopup(true); }} className="w-[130px] h-[30px] block text-xs text-center leading-[30px] text-black rounded bg-zinc-300 font-bold hover:bg-[var(--color-global)] hover:text-white" > + Chọn thêm CPU
CPU Cooler
{ e.preventDefault(); setShowPopup(true); }} className="w-[130px] h-[30px] block text-xs text-center leading-[30px] text-black rounded bg-zinc-300 font-bold hover:bg-[var(--color-global)] hover:text-white" > + Chọn thêm CPU
CPU Cooler
+ Chọn thêm CPU
CPU Cooler
+ Chọn thêm CPU
CPU Cooler
+ Chọn thêm CPU
{/* */}
Tổng tiền 2 sản phẩm: 8.000.000đ
In đơn hàng Mua hàng tại Hacom
{/* */} setShowPopup(false)} /> ); }