diff --git a/public/images/static-about-us-pic-1.png b/public/images/static-about-us-pic-1.png new file mode 100644 index 0000000..b11dfa3 Binary files /dev/null and b/public/images/static-about-us-pic-1.png differ diff --git a/public/images/static-about-us-pic-2.png b/public/images/static-about-us-pic-2.png new file mode 100644 index 0000000..c5b13cb Binary files /dev/null and b/public/images/static-about-us-pic-2.png differ diff --git a/public/images/static-about-us-pic-3.png b/public/images/static-about-us-pic-3.png new file mode 100644 index 0000000..cffd7f4 Binary files /dev/null and b/public/images/static-about-us-pic-3.png differ diff --git a/public/images/static-about-us-pic-4.png b/public/images/static-about-us-pic-4.png new file mode 100644 index 0000000..6a87805 Binary files /dev/null and b/public/images/static-about-us-pic-4.png differ diff --git a/public/images/static-about-us-pic-5.png b/public/images/static-about-us-pic-5.png new file mode 100644 index 0000000..18ba544 Binary files /dev/null and b/public/images/static-about-us-pic-5.png differ diff --git a/public/images/static-about-us-section-hero.png b/public/images/static-about-us-section-hero.png new file mode 100644 index 0000000..f82fb47 Binary files /dev/null and b/public/images/static-about-us-section-hero.png differ diff --git a/public/images/static-buy-online-banner.png b/public/images/static-buy-online-banner.png new file mode 100644 index 0000000..0085354 Binary files /dev/null and b/public/images/static-buy-online-banner.png differ diff --git a/public/images/static-buy-online-bg-1.png b/public/images/static-buy-online-bg-1.png new file mode 100644 index 0000000..13de34b Binary files /dev/null and b/public/images/static-buy-online-bg-1.png differ diff --git a/public/images/static-contact-info-pic-1.png b/public/images/static-contact-info-pic-1.png new file mode 100644 index 0000000..65fea5e Binary files /dev/null and b/public/images/static-contact-info-pic-1.png differ diff --git a/src/app/(main)/designer-tool/[slug]/page.tsx b/src/app/(main)/designer-tool/[slug]/page.tsx new file mode 100644 index 0000000..78700de --- /dev/null +++ b/src/app/(main)/designer-tool/[slug]/page.tsx @@ -0,0 +1,23 @@ +import { findBySlug } from "@/lib/slug/slugMap"; +import { notFound } from "next/navigation"; +import LayoutTypeSetter from "@/components/layout/LayoutTypeSetter" +import { SLUG_CONFIG } from "@/app/[slug]/slugConfig"; +import { renderBySlug } from "@/app/[slug]/renderBySlug"; + + +export default async function SlugPage({ params }: { params: { slug: string } }) { + console.log("designer-tool layout check"); + const { slug } = await params; + const result = await findBySlug(slug); + if (!result) notFound(); + + const config = SLUG_CONFIG[result.type]; + if (!config) notFound(); + + return ( + + {renderBySlug(result)} + + ); + +} \ No newline at end of file diff --git a/src/app/(main)/designer-tool/page.tsx b/src/app/(main)/designer-tool/page.tsx new file mode 100644 index 0000000..3c4a0e8 --- /dev/null +++ b/src/app/(main)/designer-tool/page.tsx @@ -0,0 +1,14 @@ + +import DesignerTool from "@/components/designer-tool"; +import type { Metadata } from "next"; +export const metadata: Metadata = { + title: "PC Đồ Họa Tool | Chọn cấu hình theo phần mềm ", + description: "Công cụ chọn PC đồ họa theo phần mềm: Photoshop, Illustrator, Lumion, AutoCAD… Đề xuất cấu hình chuẩn cho thiết kế 2D, 3D, CAD và render.", +}; + +export default function Home() { + + return ( + + ) +} diff --git a/src/app/(static)/gioi-thieu/page.tsx b/src/app/(static)/gioi-thieu/page.tsx new file mode 100644 index 0000000..95a698b --- /dev/null +++ b/src/app/(static)/gioi-thieu/page.tsx @@ -0,0 +1,11 @@ +import Info from "@/components/about/Info" +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "Giới Thiệu Về Hoàng Hà PC", + description: "Hoàng Hà PC được thành lập vào năm 2008. Đến nay, Hoàng Hà PC đã trở thành công ty hàng đầu trong lĩnh vực kinh doanh máy tính tại Việt Nam.", +}; + +export default function Home() { + return ; +} diff --git a/src/app/(static)/layout.tsx b/src/app/(static)/layout.tsx index eecba76..a5d3ff9 100644 --- a/src/app/(static)/layout.tsx +++ b/src/app/(static)/layout.tsx @@ -1,12 +1,16 @@ import type { ReactNode } from 'react'; import LayoutTypeSetter from "@/components/layout/LayoutTypeSetter"; +import StaticStyleLoader from "@/components/layout/StaticStyleLoader"; -import '@/styles/static_page.css'; -import '@/styles/tuyen_dung.css'; +// import '@/styles/static_page.css'; +// import '@/styles/tuyen_dung.css'; + +export default function StaticLayout({ children }: { children: ReactNode }) { -export default function TuyenDungLayout({ children }: { children: ReactNode }) { return ( <> + + {children} diff --git a/src/app/(static)/lien-he/page.tsx b/src/app/(static)/lien-he/page.tsx new file mode 100644 index 0000000..9e39ae1 --- /dev/null +++ b/src/app/(static)/lien-he/page.tsx @@ -0,0 +1,11 @@ +import Contact from "@/components/about/Contact" +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "Thông tin liên hệ", + description: "Thông tin liên hệ bao gồm điện thoại, địa chỉ cửa hàng", +}; + +export default function Home() { + return ; +} diff --git a/src/app/[slug]/page.tsx b/src/app/[slug]/page.tsx index 1d1563e..9077d9e 100644 --- a/src/app/[slug]/page.tsx +++ b/src/app/[slug]/page.tsx @@ -7,9 +7,6 @@ import type { Metadata } from "next"; import LayoutTypeSetter from "@/components/layout/LayoutTypeSetter" import { SLUG_CONFIG } from "./slugConfig"; -const getCachedSlugData = cache(async (slug: string) => { - return findBySlug(slug); -}); export async function generateMetadata({ params, @@ -17,14 +14,14 @@ export async function generateMetadata({ params: Promise<{ slug: string }>; }): Promise { const { slug } = await params; - const result = await getCachedSlugData(slug); + const result = await findBySlug(slug); if (!result) return { title: "Local PC" }; return metadataBySlug(result); } export default async function SlugPage({ params }: { params: { slug: string } }) { const { slug } = await params; - const result = await getCachedSlugData(slug); + const result = await findBySlug(slug); if (!result) notFound(); const config = SLUG_CONFIG[result.type]; diff --git a/src/app/[slug]/renderBySlug.tsx b/src/app/[slug]/renderBySlug.tsx index 13f62cb..b182b58 100644 --- a/src/app/[slug]/renderBySlug.tsx +++ b/src/app/[slug]/renderBySlug.tsx @@ -3,7 +3,8 @@ import { SLUG_CONFIG } from "./slugConfig"; import { notFound } from "next/navigation"; export function renderBySlug(result: any) { - const config = SLUG_CONFIG[result.type]; + const config = SLUG_CONFIG[result.type]; + if (!config) notFound(); return config.render(result.data); diff --git a/src/app/[slug]/slugConfig.tsx b/src/app/[slug]/slugConfig.tsx index 5bd3c99..024226c 100644 --- a/src/app/[slug]/slugConfig.tsx +++ b/src/app/[slug]/slugConfig.tsx @@ -5,6 +5,7 @@ import ArticleCategory from "@/components/article/category"; import ArticleDetail from "@/components/article/detail"; import ArticleHome from "@/components/article/home"; import JobDetail from "@/components/recruit/Detail"; +import DesignerDetail from "@/components/designer-tool/Detail"; export type SlugLayout = "main" | "static"; @@ -34,10 +35,13 @@ Record , }, - - // TUYỂN DỤNG + designer_detail: { + layout: "main", + render: (data) => , + }, job_detail: { layout: "static", render: (data) => , }, + }; diff --git a/src/app/layout.tsx b/src/app/layout.tsx index cce582e..4dc11be 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -2,7 +2,7 @@ import { Toaster } from "sonner"; import TooltipProvider from "@/components/providers/TooltipProvider"; import HeaderFooterSwitch from "@/components/other/HeaderFooterSwitch"; import { LayoutProvider } from "@/components/layout/LayoutContext"; -import "../styles/globals.css"; +import "@/styles/globals.css"; export default function RootLayout({ children }: { children: React.ReactNode }) { return ( diff --git a/src/components/about/Contact.tsx b/src/components/about/Contact.tsx new file mode 100644 index 0000000..9ac5ae1 --- /dev/null +++ b/src/components/about/Contact.tsx @@ -0,0 +1,144 @@ +export default function Contact() { + return ( + <> +

Liên hệ

+ +
+
+
+
+
+

+ Công ty tin rằng khách hàng chính là nhân tố quan trọng cho phát triển của Hoàng Hà PC. Vì vậy, mọi hoạt động kinh doanh của công ty luôn hướng tới mục tiêu tôn trọng và bảo đảm quyền lợi cho khách hàng, chinh phục khách hàng bằng chất lượng sản phẩm và dịch vụ tốt nhất. +

+

+ Để được phục vụ cũng như giải đáp mọi thắc mắc, Quý khách vui lòng liên hệ với chúng tôi theo các thông tin sau: +

+
+
+ contact-info +
+
+ +
+
+ +

Showroom bán hàng

+

PHƯỜNG CẦU GIẤY, HÀ NỘI

+

41 Khúc Thừa Dụ, Phường Cầu Giấy, Hà Nội

+ + + + +
+ + {/* QUẬN ĐỐNG ĐA, HÀ NỘI */} +
+ +

Showroom bán hàng

+

PHƯỜNG ĐỐNG ĐA, HÀ NỘI

+

94E-94F Đường Láng , Phường Đống Đa, Hà Nội

+ + + + +
+ + {/* VINH, NGHỆ AN */} +
+ +

Showroom bán hàng

+

VINH, NGHỆ AN

+

72 Lê Lợi, Thành Vinh, Nghệ An

+ + + + +
+ + {/* HỒ CHÍ MINH */} +
+ +

Showroom bán hàng

+

HỒ CHÍ MINH

+

K8bis Bửu Long, Phường Hòa Hưng, Hồ Chí Minh

+ + + + +
+
+
+
+
+ + ) +} \ No newline at end of file diff --git a/src/components/about/Info.tsx b/src/components/about/Info.tsx new file mode 100644 index 0000000..26961a5 --- /dev/null +++ b/src/components/about/Info.tsx @@ -0,0 +1,285 @@ +export default function Info() { + return ( + <> +

Giới Thiệu Hoàng Hà PC

+
+
+
+
+
+
+ +

+ GIỚI THIỆU VỀ HOÀNG HÀ PC +

+
+
+
+
+
+
+
+
+

+ Hoàng Hà PC + được thành lập vào năm 2008 với tên gọi là Trung Tâm Tin Học + Hoàng Hà nhằm đáp ứng nhu cầu của thị trường lúc bấy giờ như + lắp đặt hệ thống máy tính văn phòng, máy tính gaming, lắp đặt + thi công quán net và các sản phẩm máy tính cao cấp dành cho + thiết kế đồ họa. +

+
+
+
+
+
+
+

+ SƠ LƯỢC +

+

+ Suốt nhiều năm hoạt động từ khi mới thành lập cho tới nay, + Hoàng Hà PC + đã luôn phát triển và tạo dựng được niềm tin với khách + hàng từ chất lượng dịch vụ đến mức giá hợp lý. Trong + khoảng thời gian hoạt động, Trung Tâm Tin Học Hoàng Hà + quyết định đổi tên thành + Công ty TNHH Dịch Vụ Và Công Nghệ Hoàng + Hà + vào năm 2016 với mục tiêu trở thành đơn vị cung cấp máy + tính chuyên dụng cao cấp tiên phong tại Việt Nam, đi đầu + về xu hướng công nghệ mới và tư vấn giải pháp tối ưu phần + cứng máy tính cho các nhu cầu của người sử dụng. +

+

+ Đến nay, + Hoàng Hà PC + tự hào là đơn vị cung cấp các sản phẩm chính hãng nổi + tiếng như: + Supermicro, Intel, AMD, Nvidia, Zotac, + Gigabyte, Asus, + Asrock, MSI, Seasonic, Gskill, Corsair… + đáp ứng yêu cầu của khách hàng trong lĩnh vực Server, + Workstation và giữ nguyên tiêu chí từ khi Hoàng Hà PC mới + thành lập chính là “vì khách hàng”. +

+

+ Nhờ nỗ lực phát triển không ngừng, Hoàng Hà PC đã đón nhận + những thành viên mới, tạo nên một tập thể đoàn kết vững + mạnh với đội ngũ nhân viên 100 thành viên, có nhiều năm + kinh nghiệm làm việc thực tế, am hiểu sâu về hệ thống phần + cứng và phần mềm và đặc biệt luôn tận tâm với khách hàng.. +

+

+ Hoàng Hà PC + đã vươn lên trở thành công ty hàng đầu trong lĩnh vực lắp + đặt máy tính cao cấp, luôn đưa ra các chính sách về hỗ trợ + khách hàng từ bảo hành, hỗ trợ tư vấn giải pháp và tối ưu + giá trị ngân sách một cách hiệu quả nhất một cách nhanh + chóng và chu đáo nhất. +

+
+
+ About image +
+
+
+
+
+
+
+

+ GIÁ TRỊ CỐT LÕI HOÀNG HÀ PC +

+

+ Văn hóa của Hoàng Hà PC được hình thành từ tiêu chí “vì khách hàng”, đây là yếu tố quan trọng mang + lại không chỉ sự phát + triển của + Hoàng Hà PC + mà còn cả giá trị tinh thần vô cùng to lớn cho nhân viên của + Hoàng Hà PC. Vì vậy giá trị cốt lõi của + Hoàng Hà PC chính là: + Nỗ + lực + - + Cải tiến + - + Sáng tạo + - + Trách nhiệm: +

+
+
+
    +
  • + +

    + Nỗ lực +

    + Hoàng Hà PC luôn cống hiến hết sức mình cho mục tiêu đề + ra. Đưa ra giải pháp tốt nhất cho khách hàng. +
  • +
  • + +

    + Cải tiến +

    + Hoàng Hà PC không ngừng cải tiến để mang đến chính sách + phù hợp với KH nhất, vươn lên dẫn đầu trong lĩnh vực lắp + đặt máy tính +
  • +
  • + +

    + Sáng tạo +

    + Hoàng Hà PC luôn đề cao sự sáng tạo kết hợp giữa giá + trị hiện có và ý tưởng mới tạo nên sự khác biệt so với + các công ty khác. +
  • +
  • + +

    + Trách nhiệm +

    + Hoàng Hà PC luôn duy trì tinh thần trách nhiệm cao để + đạt được các kết quả nhất quán với định hướng:”Vì Khách + Hàng”. +
  • +
+
+
+
+
+
+

+ SƠ ĐỒ TỔ CHỨC HOÀNG HÀ PC +

+
+
+ organization + organization +
+
+
+
+
+
+
+
+

+ CÁC LĨNH VỰC KINH DOANH +

+

+ Đặc biệt trong lĩnh vực Tin học, Hoàng Hà PC chú trọng các + hoạt động như: +

+
    +
  • +
    + + 1 +
    +

    + Cung cấp giải pháp: Máy chủ, máy tính đồ họa, máy tính + workstation, máy tính văn phòng và các linh kiện máy + tính. +

    +
  • +
  • +
    + + 2 +
    +

    + Thiết kế giải pháp tổng thể (thiết kế hệ thống, xây + dựng mạng LAN, WAN,..) +

    +
  • +
  • +
    + + 3 +
    +

    + Tư vấn và đào tạo cho khách hàng. +

    +
  • +
  • +
    + + 4 +
    +

    + Các dịch vụ bảo hành, bảo trì. +

    +
  • +
+
+
+ business-image +
+
+
+
+
+
+

+ Những Thành Tựu Hoàng Hà PC Đã Đạt Được +

+
    +
  • + +

    + Top 10 nhà cung cấp máy tính tốt nhất việt nam +

    +
  • +
  • + +

    + Tốc độ tăng trưởng đạt 200% +

    +
  • +
  • + +

    + Đối tác chiến lược của Intel, AMD, Asus, Gigabyte, MSI +

    +
  • +
  • + +

    + 10 Năm kinh nghiệm trong lĩnh vực máy tính đồ họa, PC + workstation +

    +
  • +
+
+
+
+
+

+ Khách Hàng Của Hoàng Hà PC +

+
+
+ customer-image +
+
    +
  • Doanh nghiệp nhà nước
  • +
  • Tập đoàn lớn
  • +
  • Doanh nghiệp tư nhân vừa và nhỏ
  • +
  • Tổ chức phi chính phủ
  • +
  • Doanh nghiệp vốn đầu tư nước ngoài
  • +
  • Trường học, bệnh viện
  • +
  • Team Youtube, MMO
  • +
+
+
+
+
+
+
+ + ) +} \ No newline at end of file diff --git a/src/components/designer-tool/DesignerItem.tsx b/src/components/designer-tool/DesignerItem.tsx new file mode 100644 index 0000000..8ed107b --- /dev/null +++ b/src/components/designer-tool/DesignerItem.tsx @@ -0,0 +1,37 @@ +export default function DesignerItem({ item }: any) { + console.log('DesignerItem: ', item) + return ( + <> +
+ + {{ _item.productName }} + +
+ +

{'{'}{'{'} _item.productName {'}'}{'}'}

+
+
+

+ {'{'}% if _item.price > 0 %{'}'} {'{'}{'{'} _item.price | format_price {'}'}{'}'} đ + {'{'}% else %{'}'} Liên hệ + {'{'}% endif %{'}'} +

+ {'{'}% if _item.price_off > 0 %{'}'} + {'{'}{'{'} _item.marketPrice | format_price {'}'}{'}'} đ + -{'{'}{'{'} _item.price_off {'}'}{'}'}% + {'{'}% endif %{'}'} +
+ {'{'}% if _item.productSummary %{'}'} +
+ {'{'}% assign _summary = _item.productSummary | get_line %{'}'} + {'{'}% for _item in _summary | limit: 5 %{'}'} +
{'{'}{'{'} _item {'}'}{'}'}
+ {'{'}% endfor %{'}'} +
+ {'{'}% endif %{'}'} +
+
+ + + ) +} \ No newline at end of file diff --git a/src/components/designer-tool/Detail.tsx b/src/components/designer-tool/Detail.tsx new file mode 100644 index 0000000..0a82e1d --- /dev/null +++ b/src/components/designer-tool/Detail.tsx @@ -0,0 +1,115 @@ +'use client'; +import { usePathname } from 'next/navigation'; +import Link from "next/link"; +import FAQ from "./Faq"; + +export default function Detail({ slug }: any) { + // console.log('DesignerDetail: ', slug) + const title = usePathname().includes('device=laptop') ? 'Laptop' : 'PC'; + + const ignoreKeys = ["Loại máy", "Loại máy tính"]; + + const filteredAttribute = slug.attribute_list.filter( + (item: any) => !ignoreKeys.includes(item.name) + ); + + + return ( + <> +
+
+
    +
  1. + + Trang chủ + + +
  2. + +
  3. + + PC Đồ Họa Tool + + +
  4. + +
  5. + + {slug.item_info.name} + + +
  6. +
+
+
+ +
+

+ {title} dành cho {slug.item_info.name} +

+ + {filteredAttribute && +
+
+ { + filteredAttribute.map((item: any) => + + )} +
+
+ } + +
+
+ +
+ +
+ +

+
+
+ +
+ + {slug.item_info.description && +
+
+
{slug.item_info.description}
+ +
+ + + +
+
+
+ } + +
+
+
+

Các câu hỏi thường gặp

+

+ Nếu quý khách còn có bất kì câu hỏi nào cần hỗ trợ, vui lòng liên hệ với chúng tôi qua các số hotline để được tư vấn và giải đáp nhanh chóng nhất. +

+
+ + + +
+
+ + ) +} \ No newline at end of file diff --git a/src/components/designer-tool/Faq.tsx b/src/components/designer-tool/Faq.tsx new file mode 100644 index 0000000..7381252 --- /dev/null +++ b/src/components/designer-tool/Faq.tsx @@ -0,0 +1,35 @@ +'use client'; +import { useState } from "react"; + +export default function FAQ() { + + const [openIds, setOpenIds] = useState([]); + + const toggle = (id: number) => { + setOpenIds(prev => + prev.includes(id) + ? prev.filter(i => i !== id) + : [...prev, id] + ); + }; + + const isOpen = openIds.includes(1); + + return ( + <> +
+
+ + + ) +} \ No newline at end of file diff --git a/src/components/designer-tool/index.tsx b/src/components/designer-tool/index.tsx new file mode 100644 index 0000000..1d5e42e --- /dev/null +++ b/src/components/designer-tool/index.tsx @@ -0,0 +1,133 @@ +'use client'; +import Link from "next/link"; +import { useEffect, useState, useMemo } from "react"; +import { DesignerToolData } from "@/data/designer-tool" +import FAQ from "./Faq"; +import { convertToSlug } from "@/lib/utils" + +export default function DesignerTool() { + + const [keyword, setKeyword] = useState(""); + + const filteredSoftware = useMemo(() => { + const searchSlug = convertToSlug(keyword).toUpperCase(); + + return DesignerToolData.item_list.filter((item: any) => { + const textSlug = convertToSlug(item.name).toUpperCase(); + return textSlug.includes(searchSlug); + }); + + }, [keyword]); + + const [ device, setDevice ] = useState("desktop"); + + useEffect(() => { + document.body.style.background = '#FFFFFF'; + console.log('device: ', device) + }, [device]); + + return ( + <> +
+
+
    +
  1. + + Trang chủ + + +
  2. +
  3. + + PC Đồ Họa Tool + + +
  4. +
+
+
+ +
+
+
+

PC đồ họa chuyên nghiệp

+ +

Công cụ Tìm kiếm PC Đồ Họa giúp bạn dễ dàng chọn lựa cấu hình phù hợp với nhu cầu thiết kế và sáng tạo. Hoàng Hà PC đã tuyển chọn những bộ PC hiệu năng cao, tối ưu hóa cho các phần mềm đồ họa như Photoshop, Illustrator, AutoCAD, 3ds Max, Blender, v.v. Xem đề xuất hàng đầu từ Hoàng Hà PC hay so sánh các dòng PC chuyên dụng để tìm ra lựa chọn tốt nhất - Tất cả đều có trong công cụ của chúng tôi.

+ +
+
+ setKeyword(e.target.value)} + placeholder="Nhập phần mềm cần tìm" + className="w-[calc(100%_-_36px)] pr-3 placeholder:!text-[#5F5F5F] placeholder:!text-[14px] h-9" /> + + +
+ +
+ + + +
+
+
+ +

Chọn phần mềm và xem cấu hình gợi ý

+ +
+ {filteredSoftware.map((item: any) => + + )} +
+
+ + +
+
+
+

Các câu hỏi thường gặp

+

+ Nếu quý khách còn có bất kì câu hỏi nào cần hỗ trợ, vui lòng liên hệ với chúng tôi qua các số hotline để được tư vấn và giải đáp nhanh chóng nhất. +

+
+ + +
+
+
+ + ) +} \ No newline at end of file diff --git a/src/components/home/Slider/index.tsx b/src/components/home/Slider/index.tsx index 244f83e..e3e782c 100644 --- a/src/components/home/Slider/index.tsx +++ b/src/components/home/Slider/index.tsx @@ -34,7 +34,6 @@ export default function Slider() { ) } -
diff --git a/src/components/layout/StaticStyleLoader.tsx b/src/components/layout/StaticStyleLoader.tsx new file mode 100644 index 0000000..0eef980 --- /dev/null +++ b/src/components/layout/StaticStyleLoader.tsx @@ -0,0 +1,14 @@ +// components/layout/StaticStyleLoader.tsx +'use client'; + +import { useEffect } from 'react'; + +export default function StaticStyleLoader() { + useEffect(() => { + // Import CSS chỉ khi component được mount + import('@/styles/static_page.css'); + import('@/styles/tuyen_dung.css'); + }, []); + + return null; +} \ No newline at end of file diff --git a/src/components/other/Footer/Newsletter.tsx b/src/components/other/Footer/Newsletter.tsx index c98bc58..430b2c4 100644 --- a/src/components/other/Footer/Newsletter.tsx +++ b/src/components/other/Footer/Newsletter.tsx @@ -2,7 +2,7 @@ export default function Newsletter() { return (
- +

Hãy để lại Email để nhận thông báo Khuyến mại hấp dẫn hoặc tư vấn miễn phí từ Hoàng Hà PC!

diff --git a/src/components/other/Footer/Showroom.tsx b/src/components/other/Footer/Showroom.tsx index 4ce3ce0..081e8e4 100644 --- a/src/components/other/Footer/Showroom.tsx +++ b/src/components/other/Footer/Showroom.tsx @@ -9,7 +9,7 @@ export default function Showroom(){
- HoangHaPc Cầu Giấy + HoangHaPc Cầu Giấy
@@ -46,7 +46,7 @@ export default function Showroom(){
- HoangHaPc Đống Đa + HoangHaPc Đống Đa
@@ -83,7 +83,7 @@ export default function Showroom(){
- HoangHaPc Vinh + HoangHaPc Vinh
@@ -120,7 +120,7 @@ export default function Showroom(){
- HoangHaPc HỒ CHÍ MINH + HoangHaPc HỒ CHÍ MINH
diff --git a/src/components/static/store/StoreItem.tsx b/src/components/static/store/StoreItem.tsx new file mode 100644 index 0000000..0acca96 --- /dev/null +++ b/src/components/static/store/StoreItem.tsx @@ -0,0 +1,101 @@ +'use client'; +import { Swiper, SwiperSlide } from 'swiper/react'; +import { Navigation, Pagination, Autoplay } from 'swiper/modules'; + +export default function StoreItem({ item, storeId }: any) { + + return ( + <> +
+
+
+

+ { + storeId === 4 ? 'Trung Tâm Bảo Hành' : 'Showroom bán hàng' + } +

+ +

+ {item.district} +

+ + + +
+ +
+
+ +
+
+ + {item.images.map((image: string, index: number) => + + Showroom Hoàng Hà PC + + )} + + +
+
+ +
+ +

+ + {item.address} +

+
+
+
+
+
+ + ) +} \ No newline at end of file diff --git a/src/components/static/store/index.tsx b/src/components/static/store/index.tsx index 4de3267..e07a2b4 100644 --- a/src/components/static/store/index.tsx +++ b/src/components/static/store/index.tsx @@ -1,24 +1,16 @@ 'use client'; -import { useState, useEffect } from "react"; -import { StoreList } from "@/data/store" -import Feature from "./Feature" +import { useState, useMemo } from "react"; +import { StoreList } from "@/data/store"; +import Feature from "./Feature"; +import StoreItem from "./StoreItem"; export default function HeThongCuaHang() { - console.log('StoreList: ', StoreList) + + const [ storeId, setStoreId ] = useState(1); - const [ id, setId ] = useState(1); - - useEffect( ()=>{ - console.log(id) - }, [id]); - - const storeHandle = (e: number | string) => { - const id = Number(e) - setId(id); - - - - } + const storeData = useMemo(() => { + return StoreList.find((item: any) => Number(item.id) === Number(storeId)); + }, [storeId]); return ( <> @@ -40,8 +32,8 @@ export default function HeThongCuaHang() {
    -
  • storeHandle(1)} +
  • setStoreId(1)} > @@ -49,8 +41,8 @@ export default function HeThongCuaHang() {
  • -
  • storeHandle(2)} +
  • setStoreId(2)} > @@ -58,8 +50,8 @@ export default function HeThongCuaHang() {
  • -
  • storeHandle(3)} +
  • setStoreId(3)} > @@ -67,8 +59,8 @@ export default function HeThongCuaHang() {
  • -
  • storeHandle(4)} +
  • setStoreId(4)} > @@ -79,456 +71,27 @@ export default function HeThongCuaHang() {
- {/* KHU VỰC MIỀN BẮC */} -
-

- - KHU VỰC MIỀN BẮC -

+ { storeData && +
+

+ + {storeData.title} +

- {/* SHOWROOM LIST */} -
-
-
- {/* SHOWROOM CONTACT */} -
-

Showroom bán hàng

-

PHƯỜNG CẦU GIẤY, HÀ NỘI

- - -
- showroom cầu giấy -
-
- - {/* SHOWROOM IMAGES */} -
-
- {/* SWIPER SLIDER */} -
-
-
- Showroom Hoàng Hà PC cầu giấy -
-
- Showroom Hoàng Hà PC cầu giấy -
-
- Showroom Hoàng Hà PC cầu giấy -
-
- Showroom Hoàng Hà PC cầu giấy -
-
- Showroom Hoàng Hà PC cầu giấy -
-
- Showroom Hoàng Hà PC cầu giấy -
-
-
-
-
-
- -
-
- -
-

- - Số 41 Khúc Thừa Dụ, Phường Cầu Giấy, Thành phố Hà Nội -

-
-
-
-
-
- -
-
- {/* SHOWROOM CONTACT */} -
-

Showroom bán hàng

-

PHƯỜNG ĐỐNG ĐA, HÀ NỘI

- -
- showroom ĐỐNG ĐA -
-
- - {/* SHOWROOM IMAGES */} -
-
- {/* SWIPER SLIDER */} -
-
-
- Showroom Hoàng Hà PC Đống Đa -
-
- Showroom Hoàng Hà PC Đống Đa -
-
- Showroom Hoàng Hà PC Đống Đa -
-
- Showroom Hoàng Hà PC Đống Đa -
-
- Showroom Hoàng Hà PC Đống Đa -
-
-
-
-
-
-
-
- -
-

- - - Số 94E-94F Đường Láng, Phường Đống Đa, Thành phố Hà Nội - -

-
-
-
-
+
+ { + storeData.info.map( (item:any, index:number) => + + ) + }
-
- - {/* KHU VỰC MIỀN Trung */} -
-

- - KHU VỰC MIỀN TRUNG -

- {/* SHOWROOM LIST */} -
-
-
- {/* SHOWROOM CONTACT */} -
-

Showroom bán hàng

-

PHƯỜNG THÀNH VINH, NGHỆ AN

- -
- showroom Vinh, Nghệ An -
-
- {/* SHOWROOM IMAGES */} -
-
- {/* SWIPER SLIDER */} -
-
-
- Showroom Hoàng Hà PC Vinh, Nghệ An -
-
- Showroom Hoàng Hà PC Vinh, Nghệ An -
-
- Showroom Hoàng Hà PC Vinh, Nghệ An -
-
- Showroom Hoàng Hà PC Vinh, Nghệ An -
-
- Showroom Hoàng Hà PC Vinh, Nghệ An -
-
- Showroom Hoàng Hà PC Vinh, Nghệ An -
-
-
-
-
-
-
-
- -
-

- - Số 72 Lê Lợi, Phường Thành Vinh, Nghệ An -

-
-
-
-
-
-
-
- {/* KHU VỰC MIỀN NAM */} -
-

- - KHU VỰC MIỀN NAM -

- {/* SHOWROOM LIST */} -
-
-
- {/* SHOWROOM CONTACT */} -
-

- Showroom bán hàng -

-

PHƯỜNG HÒA HƯNG, HỒ CHÍ MINH

- -
- showroom Hồ Chí Minh -
-
- {/* SHOWROOM IMAGES */} -
-
- {/* SWIPER SLIDER */} -
-
-
- Showroom Hoàng Hà PC Hồ Chí Minh -
-
- Showroom Hoàng Hà PC Hồ Chí Minh -
-
- Showroom Hoàng Hà PC Hồ Chí Minh -
-
- Showroom Hoàng Hà PC Hồ Chí Minh -
-
- Showroom Hoàng Hà PC Hồ Chí Minh -
-
- Showroom Hoàng Hà PC Hồ Chí Minh -
-
-
-
-
-
-
-
- -
-

- - K8bis Bửu Long, Phường Hoà Hưng, Thành phố Hồ Chí Minh -

-
-
-
-
-
-
-
- {/* Trung Tâm Bảo hành */} -
-

- - TRUNG TÂM BẢO HÀNH -

- {/* SHOWROOM LIST */} -
-
-
- {/* SHOWROOM CONTACT */} -
-

Trung Tâm Bảo Hành

-

PHƯỜNG CẦU GIẤY, HÀ NỘI

- -
- showroom cầu giấy -
-
- {/* SHOWROOM IMAGES */} -
-
- {/* SWIPER SLIDER */} -
-
-
- Showroom Hoàng Hà PC Cầu Giấy -
-
- Showroom Hoàng Hà PC Cầu Giấy -
-
- Showroom Hoàng Hà PC Cầu Giấy -
-
- Showroom Hoàng Hà PC Cầu Giấy -
-
- Showroom Hoàng Hà PC Cầu Giấy -
-
- Showroom Hoàng Hà PC Cầu Giấy -
-
-
-
-
-
-
-
- -
-

- - - Số 41 Khúc Thừa Dụ, Phường Cầu Giấy, Hà Nội - -

-
-
-
-
-
-
-
- {/* SHOWROOM CONTACT */} -
-

- Trung Tâm Bảo Hành -

-

PHƯỜNG HÒA HƯNG, HỒ CHÍ MINH

- -
- showroom Hồ Chí Minh -
-
- {/* SHOWROOM IMAGES */} -
-
- {/* SWIPER SLIDER */} -
-
-
- Showroom Hoàng Hà PC Hồ Chí Minh -
-
- Showroom Hoàng Hà PC Hồ Chí Minh -
-
- Showroom Hoàng Hà PC Hồ Chí Minh -
-
- Showroom Hoàng Hà PC Hồ Chí Minh -
-
- Showroom Hoàng Hà PC Hồ Chí Minh -
-
- Showroom Hoàng Hà PC Hồ Chí Minh -
-
-
-
-
-
-
-
- -
-

- - K8bis Bửu Long, Phường Hoà Hưng, Thành phố Hồ Chí Minh -

-
-
-
-
-
-
-
+ } - {/* SHOWROOM FEATURES */}
diff --git a/src/data/designer-tool/Detail.tsx b/src/data/designer-tool/Detail.tsx new file mode 100644 index 0000000..a15885c --- /dev/null +++ b/src/data/designer-tool/Detail.tsx @@ -0,0 +1,1361 @@ +export const DesignerToolDetail = [ + { + "title": "Công cụ thiết kế: Premiere Pro", + "item_info": { + "id": 10, + "image": "https://hoanghapc.vn/media/designer-tool/10.png", + "url_index": "premiere-pro", + "name": "Premiere Pro", + "description": ``, + "meta_title": ``, + "meta_description": ``, + "extend": ``, + "search_fulltext": `premiere hurapro`, + "product_count": 30, + "status": 1, + "ordering": 10, + "create_by": "Mai Văn Học", + "create_time": 1760340591, + "last_update": 1761038021, + "last_update_by": "Hurasoft", + }, + "product_list": [ + + { + "id": 5975, + "productId": 5975, + "marketPrice": 50000000, + "price": 47740000, + "price_off": "5", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i7 14700KF | 32GB DDR5 | NVIDIA RTX 5060 Ti 16G`, + "productSummary": `

CPU : INTEL CORE i7 14700KF UP 5.6GHz | 20 CORES | 28 THREADS

+

RAM : DDR5 32GB 6000 MHz (2x16G)

+

VGA: NVIDIA RTX 5060 Ti 16G GDDR7 - 2 FAN

`, + "productUrl": `/pc-i7-14700kf-rtx-5060-ti-16g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6518_pc_anubis_astrobeat_kh__ng_logo_h2.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6518_pc_anubis_astrobeat_kh__ng_logo_h2.jpg", + "original": "", + }, + "sale_rules": { + "price": 47740000, + "normal_price": 47740000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 5989, + "productId": 5989, + "marketPrice": 38000000, + "price": 35550000, + "price_off": "6", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i5 14600K | 32G | NVIDIA RTX 5060 Ti 16G`, + "productSummary": `

CPU : INTEL CORE i5 14600K UP 5.3GHz | 14 CORES | 20 THREADS

+

RAM : DDR4 32GB (2x16G) 3200 MHz

+

VGA: NVIDIA RTX 5060 Ti 16G GDDR7 - 3 FAN

`, + "productUrl": `/hhpc-core-i5-14600k-32g-rtx-5060-ti-16g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5989_pc_gaming_x_ii_a620.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5989_pc_gaming_x_ii_a620.jpg", + "original": "", + }, + "sale_rules": { + "price": 35550000, + "normal_price": 35550000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 6011, + "productId": 6011, + "marketPrice": 48000000, + "price": 44550000, + "price_off": "7", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i9 14900KF | 32G | RX 7800 XT 16G`, + "productSummary": `

CPU : INTEL CORE i9 14900KF UP 6.0GHz | 24 CORES | 32 THREADS

+

RAM : DDR4 32GB 3200 MHz (2x16G)

+

VGA: RADEON RX 7800 XT 16G GDDR6

`, + "productUrl": `/hhpc-core-i9-14900kf-32g-rx-7800-xt-16g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6011_pc_anubis_le360_k_logo_ha3.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6011_pc_anubis_le360_k_logo_ha3.jpg", + "original": "", + }, + "sale_rules": { + "price": 44550000, + "normal_price": 44550000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 6012, + "productId": 6012, + "marketPrice": 40000000, + "price": 37590000, + "price_off": "6", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i7 14700KF | 32GB | RX 7800 XT 16G`, + "productSummary": `

CPU : INTEL CORE i7 14700KF up 5.6GHz | 20 CORE | 28 THREAD

+

RAM : DDR4 32GB (2x16G) 3200 MHz

+

VGA: RADEON RX 7800 XT 16G GDDR6

`, + "productUrl": `/pc-core-i7-14700kf-32gb-rx-7800-xt-16g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6012_pc_anubis_le360_k_logo_ha1.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6012_pc_anubis_le360_k_logo_ha1.jpg", + "original": "", + }, + "sale_rules": { + "price": 37590000, + "normal_price": 37590000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 6045, + "productId": 6045, + "marketPrice": 48000000, + "price": 45390000, + "price_off": "5", + "warranty": `theo từng linh kiện`, + "productName": `HHPC GAMING CORE i5 14600K | 16GB | NVIDIA RTX 5070 Ti 16G`, + "productSummary": `

CPU : INTEL CORE i5 14600K UP 5.3GHz | 14 CORES | 20 THREADS

+

RAM : DDR4 16GB (1x16G) 3200 MHz

+

VGA : NVIDIA RTX 5070 Ti 16G GDDR7

`, + "productUrl": `/pc-gaming-core-i5-14600kf-16gb-nvidia-rtx-5070-ti`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6045_pc_blast_m_ha1.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6045_pc_blast_m_ha1.jpg", + "original": "", + }, + "sale_rules": { + "price": 45390000, + "normal_price": 45390000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 6046, + "productId": 6046, + "marketPrice": 30000000, + "price": 28300000, + "price_off": "6", + "warranty": `theo từng linh kiện`, + "productName": `HHPC GAMING CORE i5 14600K | 16GB | RX 7800 XT 16G`, + "productSummary": `

CPU : INTEL CORE i5 14600K UP 5.3GHz | 14 CORES | 20 THREADS

+

RAM : DDR4 16GB (1x16G) 3200 MHz

+

VGA: RADEON RX 7800 XT 16G GDDR6

`, + "productUrl": `/hhpc-gaming-core-i5-14600k-16gb-rx-7800-xt`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6046_pc_blast_m_ha1.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6046_pc_blast_m_ha1.jpg", + "original": "", + }, + "sale_rules": { + "price": 28300000, + "normal_price": 28300000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 6139, + "productId": 6139, + "marketPrice": 30000000, + "price": 29050000, + "price_off": "3", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i5 14600K | 32G | NVIDIA RTX 5060 8G`, + "productSummary": `

CPU : INTEL CORE i5 14600K UP 5.3GHz | 14 CORES | 20 THREADS

+

RAM : DDR4 32GB (2x16G) 3200 MHz

+

VGA: NVIDIA RTX 5060 8G GDDR7

`, + "productUrl": `/pc-core-i5-14600k-32g-rtx-5060-8g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6139_pc_gaming_x_ii_a620.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6139_pc_gaming_x_ii_a620.jpg", + "original": "", + }, + "sale_rules": { + "price": 29050000, + "normal_price": 29050000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 6140, + "productId": 6140, + "marketPrice": 0, + "price": 34100000, + "price_off": "", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i7 14700KF | 32GB | NVIDIA RTX 5060 8G`, + "productSummary": `

CPU : INTEL CORE i7 14700KF up 5.6GHz | 20 CORE | 28 THREAD

+

RAM : DDR4 32GB (2x16G) 3200 MHz

+

VGA: NVIDIA RTX 5060 8G GDDR7

`, + "productUrl": `/pc-i7-14700-32g-rtx-5060-8g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6140_pc_anubis_lt720_ram_d4_14900k_ha6ss.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6140_pc_anubis_lt720_ram_d4_14900k_ha6ss.jpg", + "original": "", + }, + "sale_rules": { + "price": 34100000, + "normal_price": 34780000, + "min_purchase": 1, + "max_purchase": 10, + "remain_quantity": 1, + "from_time": 1767574800, + "to_time": 1772415000, + "type": "deal" + } + }, + + { + "id": 6240, + "productId": 6240, + "marketPrice": 18000000, + "price": 18000000, + "price_off": "0", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i5 14600K | 16G | NVIDIA QUADRO P400 2GB`, + "productSummary": `

CPU : INTEL CORE i5 14600K UP 5.3GHz | 14 CORES | 20 THREADS

+

RAM : DDR4 16GB (1x16G) 3200 MHz

+

VGA : NVIDIA QUADRO P400 2GB GDDR5

`, + "productUrl": `/pc-core-i5-14600k-16g-quadro-p400-2gb`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6240_pc_gaming_x_ii_a620_ha1.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6240_pc_gaming_x_ii_a620_ha1.jpg", + "original": "", + }, + "sale_rules": { + "price": 18000000, + "normal_price": 18000000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 6095, + "productId": 6095, + "marketPrice": 160000000, + "price": 171440000, + "price_off": "-7", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i9 14900KF | 64G DDR5 | NVIDIA RTX 5090 32G`, + "productSummary": `

CPU : INTEL CORE i9 14900KF UP 6.0GHz | 24 CORES | 32 THREADS

+

RAM : DDR5 64GB 6000 MHz (2x32G)

+

SSD: 1TB M.2 2280 PCIe 4.0 NVMe

+

VGA: NVIDIA RTX 5090 32G GDDR7

`, + "productUrl": `/pc-core-i9-14900kf-rtx-5090-32g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6095_pc_anubis_le360_k_logo_ha2.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6095_pc_anubis_le360_k_logo_ha2.jpg", + "original": "", + }, + "sale_rules": { + "price": 171440000, + "normal_price": 171440000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 6127, + "productId": 6127, + "marketPrice": 70000000, + "price": 65570000, + "price_off": "6", + "warranty": `theo từng linh kiện`, + "productName": `HHPC ULTRA 9 285 | 32GB DDR5 | NVIDIA RTX 5070 Ti 16G`, + "productSummary": `

CPU : INTEL CORE ULTRA 9 285 UP 5.6GHz | 24 CORE | 24 THREAD

+

RAM : DDR5 32GB 6000 MHz (2x16G)

+

VGA: NVIDIA RTX 5070 Ti 16G GDDR7

`, + "productUrl": `/pc-ultra-9-285-32gb-d5-rtx-5070-ti-16g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6127_pc_anubis_le360_k_logo_ha3.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6127_pc_anubis_le360_k_logo_ha3.jpg", + "original": "", + }, + "sale_rules": { + "price": 65570000, + "normal_price": 65570000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 5997, + "productId": 5997, + "marketPrice": 80000000, + "price": 75800000, + "price_off": "5", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i9 14900KF | 64G DDR5 | NVIDIA RTX 5070 Ti 16G`, + "productSummary": `

CPU : INTEL CORE i9 14900KF UP 6.0GHz | 24 CORES | 32 THREADS

+

RAM : DDR5 64GB 6000 MHz (2x32G)

+

VGA : NVIDIA RTX 5070 Ti 16G GDDR7

`, + "productUrl": `/pc-core-i9-14900kf-rtx-5070-ti-16g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5997_pc_anubis_le360_k_logo_ha3.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5997_pc_anubis_le360_k_logo_ha3.jpg", + "original": "", + }, + "sale_rules": { + "price": 75800000, + "normal_price": 75800000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 5877, + "productId": 5877, + "marketPrice": 0, + "price": 67550000, + "price_off": "", + "warranty": `theo từng linh kiện`, + "productName": `HHPC ULTRA 9 285K | 32GB DDR5 | NVIDIA RTX 5070 Ti 16G`, + "productSummary": `

CPU : INTEL CORE ULTRA 9 285K UP 5.7GHz | 24 CORES | 24 THREADS

+

RAM : DDR5 32GB 6000 MHz (2x16G)

+

SSD: 1TB M.2 2280 PCIe 4.0 NVMe

+

VGA : NVIDIA RTX 5070 Ti 16G GDDR7

`, + "productUrl": `/hhpc-ultra-9-285k-32gb-ddr5-nvidia-rtx-5070-ti-16g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5877_pc_view_290_tg_lc360_sale.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5877_pc_view_290_tg_lc360_sale.jpg", + "original": "", + }, + "sale_rules": { + "price": 67550000, + "normal_price": 68920000, + "min_purchase": 1, + "max_purchase": 10, + "remain_quantity": 1, + "from_time": 1767574800, + "to_time": 1772415000, + "type": "deal" + } + }, + + { + "id": 6349, + "productId": 6349, + "marketPrice": 72000000, + "price": 68080000, + "price_off": "5", + "warranty": `theo từng linh kiện`, + "productName": `HHPC RYZEN 9 9950X | 32G DDR5 | NVIDIA RTX 5070 Ti 16G`, + "productSummary": `

CPU : AMD RYZEN 9 9950X up to 5.7 GHz 16 CORE | 32 THREAD

+

RAM : DDR5 32GB 6000Mhz (2x16GB)

+

VGA : NVIDIA RTX 5070 Ti 16G GDDR7

`, + "productUrl": `/pc-ryzen-9-9950x-32g-d5-rtx-5070-ti-16g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6349_pc_view_290_tg_argb_ha3.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6349_pc_view_290_tg_argb_ha3.jpg", + "original": "", + }, + "sale_rules": { + "price": 68080000, + "normal_price": 68080000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 5866, + "productId": 5866, + "marketPrice": 52000000, + "price": 50270000, + "price_off": "3", + "warranty": `theo từng linh kiện`, + "productName": `HHPC ULTRA 7 265KF | 32GB DDR5 | NVIDIA RTX 5070 12G`, + "productSummary": `

CPU : INTEL CORE ULTRA 7 265KF UP 5.5GHz | 20 CORES | 20 THREADS

+

RAM : DDR5 32GB 6000 MHz (2x16G)

+

VGA : NVIDIA RTX 5070 12G GDDR7

`, + "productUrl": `/hhpc-ultra-7-265kf-5070-12g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5866_pc_gaming_x_ii_a620_do_hoa.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5866_pc_gaming_x_ii_a620_do_hoa.jpg", + "original": "", + }, + "sale_rules": { + "price": 50270000, + "normal_price": 50270000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 5867, + "productId": 5867, + "marketPrice": 0, + "price": 59400000, + "price_off": "", + "warranty": `theo từng linh kiện`, + "productName": `HHPC ULTRA 9 285K | 32GB DDR5 | NVIDIA RTX 5070 12G`, + "productSummary": `

CPU : INTEL CORE ULTRA 9 285K UP 5.7GHz | 24 CORE | 24 THREAD

+

RAM : DDR5 32GB 6000 MHz (2x16G)

+

SSD: 1TB M.2 2280 PCIe 4.0 NVMe

+

VGA : NVIDIA RTX 5070 12G GDDR7

`, + "productUrl": `/hhpc-ultra-9-285k-32gb-ddr5-nvidia-rtx-5070-12g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5867_pc_anubis_le360_d5_sale_2.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5867_pc_anubis_le360_d5_sale_2.jpg", + "original": "", + }, + "sale_rules": { + "price": 59400000, + "normal_price": 60570000, + "min_purchase": 1, + "max_purchase": 10, + "remain_quantity": 1, + "from_time": 1767574800, + "to_time": 1772415000, + "type": "deal" + } + }, + + { + "id": 6007, + "productId": 6007, + "marketPrice": 55000000, + "price": 51970000, + "price_off": "6", + "warranty": `theo từng linh kiện`, + "productName": `HHPC RYZEN 9 9950X | 32G DDR5 | RX 7800 XT 16G`, + "productSummary": `

CPU : AMD RYZEN 9 9950X up to 5.7 GHz 16 CORE | 32 THREAD

+

RAM : DDR5 32GB 6000Mhz (2x16GB)

+

VGA: RADEON RX 7800 XT 16G GDDR6

`, + "productUrl": `/hhpc-ryzen-9-9950x-32g-ddr5-rx-7800-xt-16g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6007_pc_anubis_le360_k_logo_ha3.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6007_pc_anubis_le360_k_logo_ha3.jpg", + "original": "", + }, + "sale_rules": { + "price": 51970000, + "normal_price": 51970000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 6009, + "productId": 6009, + "marketPrice": 56000000, + "price": 52080000, + "price_off": "7", + "warranty": `theo từng linh kiện`, + "productName": `HHPC ULTRA 9 285K | 32GB DDR5 | RX 7800 XT 16G`, + "productSummary": `

CPU : INTEL CORE ULTRA 9 285K UP 5.7GHz | 24 CORE | 24 THREAD

+

RAM : DDR5 32GB 6000 MHz (2x16G)

+

SSD: 1TB M.2 2280 PCIe 4.0 NVMe

+

VGA: RADEON RX 7800 XT 16G GDDR6

`, + "productUrl": `/hhpc-ultra-9-285k-32gb-ddr5-rx-7800-xt-16g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6009_pc_anubis_le360_k_logo_ha2.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6009_pc_anubis_le360_k_logo_ha2.jpg", + "original": "", + }, + "sale_rules": { + "price": 52080000, + "normal_price": 52080000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 6010, + "productId": 6010, + "marketPrice": 44000000, + "price": 41780000, + "price_off": "5", + "warranty": `theo từng linh kiện`, + "productName": `HHPC ULTRA 7 265KF | 32GB DDR5 | RX 7800 XT 16G`, + "productSummary": `

CPU : INTEL CORE ULTRA 7 265KF UP 5.5GHz | 20 CORES | 20 THREADS

+

RAM : DDR5 32GB 6000 MHz (2x16G)

+

VGA: RADEON RX 7800 XT 16G GDDR6

`, + "productUrl": `/hhpc-ultra-7-265kf-32gb-d5-rx-7800-xt-16g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6010_pc_gaming_x_ii_a620.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6010_pc_gaming_x_ii_a620.jpg", + "original": "", + }, + "sale_rules": { + "price": 41780000, + "normal_price": 41780000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 6126, + "productId": 6126, + "marketPrice": 60000000, + "price": 56080000, + "price_off": "7", + "warranty": `theo từng linh kiện`, + "productName": `HHPC ULTRA 9 285 | 32GB DDR5 | NVIDIA RTX 5070 12G`, + "productSummary": `

CPU : INTEL CORE ULTRA 9 285 UP 5.6GHz | 24 CORE | 24 THREAD

+

RAM : DDR5 32GB 6000 MHz (2x16G)

+

VGA: NVIDIA RTX 5070 12G GDDR7

`, + "productUrl": `/hhpc-ultra-9-285-32gb-ddr5-nvidia-rtx-5070-12g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6126_pc_anubis_le360_k_logo_ha2.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6126_pc_anubis_le360_k_logo_ha2.jpg", + "original": "", + }, + "sale_rules": { + "price": 56080000, + "normal_price": 56080000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 6189, + "productId": 6189, + "marketPrice": 73000000, + "price": 70130000, + "price_off": "4", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i7 14700KF | 32GB DDR5 | NVIDIA RTX 5080 16G`, + "productSummary": `

CPU : INTEL CORE i7 14700KF up 5.6GHz | 20 CORE | 28 THREAD

+

RAM : DDR5 32GB 6000 MHz (2x16G)

+

VGA: NVIDIA RTX 5080 16G GDDR7

`, + "productUrl": `/pc-core-i7-14700kf-32gb-d5-rtx-5080-16g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6189_pc_anubis_le360_k_logo_ha3.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6189_pc_anubis_le360_k_logo_ha3.jpg", + "original": "", + }, + "sale_rules": { + "price": 70130000, + "normal_price": 70130000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + ], + "attribute_list": [ + + { + "id": 12, + "name": "Loại Máy", + "ordering": 0, + "list": [ + + { + "id": 24, + "name": `Desktop`, + "image": `https://hoanghapc.vn`, + "color": ``, + "ordering": 0, + "description": ``, + }, + + { + "id": 25, + "name": `Laptop`, + "image": `https://hoanghapc.vn`, + "color": ``, + "ordering": 0, + "description": ``, + }, + + ] + }, + + { + "id": 13, + "name": "Độ Phân Giải", + "ordering": 0, + "list": [ + + { + "id": 26, + "name": `4K`, + "image": `https://hoanghapc.vn`, + "color": ``, + "ordering": 0, + "description": ``, + }, + + { + "id": 27, + "name": `2K`, + "image": `https://hoanghapc.vn`, + "color": ``, + "ordering": 0, + "description": ``, + }, + + { + "id": 28, + "name": `Full HD`, + "image": `https://hoanghapc.vn`, + "color": ``, + "ordering": 0, + "description": ``, + }, + + ] + }, + + ] + }, + { + "title": "Công cụ thiết kế: Adobe Photoshop", + "item_info": { + "id": 1, + "image": "https://hoanghapc.vn/media/designer-tool/1.png", + "url_index": "adobe-photoshop", + "name": "Adobe Photoshop", + "description": ``, + "meta_title": ``, + "meta_description": ``, + "extend": ``, + "search_fulltext": `adobe photoshop`, + "product_count": 27, + "status": 1, + "ordering": 50, + "create_by": "Hurasoft", + "create_time": 1760330876, + "last_update": 1761038140, + "last_update_by": "Hurasoft", + }, + "product_list": [ + + { + "id": 5597, + "productId": 5597, + "marketPrice": 41000000, + "price": 38840000, + "price_off": "5", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i9 14900KF | 32G | NVIDIA RTX 3060 12GB`, + "productSummary": `

CPU : INTEL CORE i9 14900KF UP 6.0GHz | 24 CORES | 32 THREADS

+

RAM : DDR4 32GB 3200 MHz (2x16G)

+

VGA : NVIDIA RTX 3060 12GB GDDR6

`, + "productUrl": `/hhpc-i9-14900kf-32g-3060`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5597_pc_anubis_le360_k_logo_ha13.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5597_pc_anubis_le360_k_logo_ha13.jpg", + "original": "", + }, + "sale_rules": { + "price": 38840000, + "normal_price": 38840000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 5863, + "productId": 5863, + "marketPrice": 40000000, + "price": 39050000, + "price_off": "2", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i5 14600K | 32GB | NVIDIA RTX 5070 12G`, + "productSummary": `

CPU : INTEL CORE i5 14600K UP 5.3GHz | 14 CORES | 20 THREADS

+

RAM : DDR4 32GB (2x16G) 3200 MHz

+

VGA : NVIDIA RTX 5070 12G GDDR7

`, + "productUrl": `/hhpc-core-i5-14600k-32gb-rtx-5070-12g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5863_pc_gaming_x_ii_a620.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5863_pc_gaming_x_ii_a620.jpg", + "original": "", + }, + "sale_rules": { + "price": 39050000, + "normal_price": 39050000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 5797, + "productId": 5797, + "marketPrice": 35000000, + "price": 31990000, + "price_off": "9", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i7 14700KF | 32GB | NVIDIA RTX 3050 6G`, + "productSummary": `

CPU : INTEL CORE i7 14700KF up 5.6GHz | 20 CORE | 28 THREAD

+

RAM : DDR4 32GB (2x16G) 3200 MHz

+

VGA: NVIDIA RTX 3050 6G GDDR6

`, + "productUrl": `/pc-core-i7-14700kf-32gb-rtx-3050`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5797_pc_anubis_le360_k_logo_ha14.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5797_pc_anubis_le360_k_logo_ha14.jpg", + "original": "", + }, + "sale_rules": { + "price": 31990000, + "normal_price": 31990000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 5875, + "productId": 5875, + "marketPrice": 60000000, + "price": 55450000, + "price_off": "8", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i7 14700KF | 32GB | NVIDIA RTX 5070 Ti 16G`, + "productSummary": `

CPU : INTEL CORE i7 14700KF up 5.6GHz | 20 CORE | 28 THREAD

+

RAM : DDR4 32GB (2x16G) 3200 MHz

+

VGA: NVIDIA RTX 5070 Ti 16G GDDR7

`, + "productUrl": `/pc-core-i7-14700kf-rtx-5070-ti-16g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5875_pc_anubis_le360_k_logo_ha2.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5875_pc_anubis_le360_k_logo_ha2.jpg", + "original": "", + }, + "sale_rules": { + "price": 55450000, + "normal_price": 55450000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 5902, + "productId": 5902, + "marketPrice": 30000000, + "price": 29750000, + "price_off": "1", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i7 14700KF | 32GB | NVIDIA GTX 1060 6G`, + "productSummary": `

CPU : INTEL CORE i7 14700KF up 5.6GHz | 20 CORE | 28 THREAD

+

RAM : DDR4 32GB (2x16G) 32600 MHz

+

VGA : NVIDIA GTX 1060 6G GDDR5

`, + "productUrl": `/pc-core-i7-14700kf-32gb-nvidia-gtx-1060-6g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5902_pc_anubis_le360_k_logo_ha15.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5902_pc_anubis_le360_k_logo_ha15.jpg", + "original": "", + }, + "sale_rules": { + "price": 29750000, + "normal_price": 29750000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 5938, + "productId": 5938, + "marketPrice": 23000000, + "price": 21850000, + "price_off": "5", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i5 14600K | 16G | NVIDIA QUADRO P2000 5G`, + "productSummary": `

CPU : INTEL CORE i5 14600K UP 5.3GHz | 14 CORES | 20 THREADS

+

RAM : DDR4 16GB (1x16G) 3200 MHz

+

VGA : NVIDIA QUADRO P2000 5G GDDR5

`, + "productUrl": `/hhpc-core-i5-14600kf-16g-nvidia-quadro-p2000-5g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5938_pc_gaming_x_ii_a620.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5938_pc_gaming_x_ii_a620.jpg", + "original": "", + }, + "sale_rules": { + "price": 21850000, + "normal_price": 21850000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 5899, + "productId": 5899, + "marketPrice": 22000000, + "price": 20850000, + "price_off": "5", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i5 14600K | 16G | NVIDIA GTX 1060 6G`, + "productSummary": `

CPU : INTEL CORE i5 14600K UP 5.3GHz | 14 CORES | 20 THREADS

+

RAM : DDR4 16GB (1x16G) 3200 MHz

+

VGA : NVIDIA GTX 1060 6G GDDR5

`, + "productUrl": `/hpc-core-i5-14600kf-16g-nvidia-gtx-1060-6g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5899_pc_gaming_x_ii_a620_ha1.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5899_pc_gaming_x_ii_a620_ha1.jpg", + "original": "", + }, + "sale_rules": { + "price": 20850000, + "normal_price": 20850000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 5937, + "productId": 5937, + "marketPrice": 31000000, + "price": 30750000, + "price_off": "1", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i7 14700KF | 32GB | NVIDIA QUADRO P2000 5G`, + "productSummary": `

CPU : INTEL CORE i7 14700KF up 5.6GHz | 20 CORE | 28 THREAD

+

RAM : DDR4 32GB (2x16G) 3200 MHz

+

VGA : NVIDIA QUADRO P2000 5G GDDR5

`, + "productUrl": `/pc-core-i7-14700kf-32gb-quadro-p2000-5g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5937_pc_anubis_le360_k_logo_ha15.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5937_pc_anubis_le360_k_logo_ha15.jpg", + "original": "", + }, + "sale_rules": { + "price": 30750000, + "normal_price": 30750000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 5253, + "productId": 5253, + "marketPrice": 30000000, + "price": 28140000, + "price_off": "6", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i5 14600K | 32G | NVIDIA RTX 3060 12GB`, + "productSummary": `

CPU : INTEL CORE i5 14600K UP 5.3GHz | 14 CORES | 20 THREADS

+

RAM : DDR4 32GB (2x16G) 3200 MHz

+

VGA : NVIDIA RTX 3060 12GB GDDR6

`, + "productUrl": `/hhpc-i5-14600k-32g-3060`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5253_pc_gaming_x_ii_a620_ha1.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5253_pc_gaming_x_ii_a620_ha1.jpg", + "original": "", + }, + "sale_rules": { + "price": 28140000, + "normal_price": 28140000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 5209, + "productId": 5209, + "marketPrice": 27000000, + "price": 25850000, + "price_off": "4", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i5 14600K | 32G | NVIDIA RTX 3050 8GB`, + "productSummary": `

CPU : INTEL CORE i5 14600K UP 5.3GHz | 14 CORES | 20 THREADS

+

RAM : DDR4 32GB 3200 MHz (2x16GB)

+

VGA : NVIDIA RTX 3050 8GB GDDR6

`, + "productUrl": `/pc-core-i5-14600k-32g-rtx-3050-8g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5209_pc_gaming_x_ii_a620_ha1.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5209_pc_gaming_x_ii_a620_ha1.jpg", + "original": "", + }, + "sale_rules": { + "price": 25850000, + "normal_price": 25850000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 5191, + "productId": 5191, + "marketPrice": 37000000, + "price": 35400000, + "price_off": "4", + "warranty": `theo từng linh kiện`, + "productName": `HHPC GAMING CORE i5 14600K | 16GB | NVIDIA RTX 5070 12G`, + "productSummary": `

CPU : INTEL CORE i5 14600K UP 5.3GHz | 14 CORES | 20 THREADS

+

RAM : DDR4 16GB (1x16G) 3200 MHz

+

VGA : NVIDIA RTX 5070 12G GDDR7

`, + "productUrl": `/hhpc-gaming-core-i5-14600k-16gb-rtx-5070`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5191_pc_blast_m_ha1.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5191_pc_blast_m_ha1.jpg", + "original": "", + }, + "sale_rules": { + "price": 35400000, + "normal_price": 35400000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 4837, + "productId": 4837, + "marketPrice": 37000000, + "price": 34550000, + "price_off": "7", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i9 14900KF | 32G | NVIDIA RTX 3050 6G`, + "productSummary": `

CPU : INTEL CORE i9 14900KF UP 6.0GHz | 24 CORES | 32 THREADS

+

RAM : DDR4 32GB 3200 MHz (2x16GB)

+

VGA : NVIDIA RTX 3050 6G GDDR6

`, + "productUrl": `/pc-core-i9-14900kf-32g-nvidia-rtx-3050`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_4837_pc_anubis_le360_k_logo_ha13.jpg", + "large": "https://hoanghapccdn.com/media/product/250_4837_pc_anubis_le360_k_logo_ha13.jpg", + "original": "", + }, + "sale_rules": { + "price": 34550000, + "normal_price": 34550000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + { + "id": 5785, + "productId": 5785, + "marketPrice": 0, + "price": 34400000, + "price_off": "", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i7 14700KF | 32GB | NVIDIA RTX 3060 12GB`, + "productSummary": `

CPU : INTEL CORE i7 14700KF up 5.6GHz | 20 CORES | 28 THREADS

+

RAM : DDR4 32GB (2x16G) 3200 MHz

+

VGA: NVIDIA RTX 3060 12GB GDDR6

`, + "productUrl": `/hhpc-i7-14700kf-3060`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5785_pc_anubis_le360_k_logo_ha9.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5785_pc_anubis_le360_k_logo_ha9.jpg", + "original": "", + }, + "sale_rules": { + "price": 34400000, + "normal_price": 35070000, + "min_purchase": 1, + "max_purchase": 10, + "remain_quantity": 1, + "from_time": 1770253200, + "to_time": 1772415000, + "type": "deal" + } + }, + + { + "id": 5364, + "productId": 5364, + "marketPrice": 0, + "price": 35000000, + "price_off": "", + "warranty": `theo từng linh kiện`, + "productName": `HHPC RYZEN 7 9700X | 32G DDR5 | NVIDIA RTX 3060 12GB`, + "productSummary": `

CPU : AMD RYZEN 7 9700X UP 5.5GHz | 8 CORES | 16 THREADS

+

RAM : DDR5 32GB 6000Mhz (2x16GB)

+

VGA: NVIDIA RTX 3060 12GB GDDR6

`, + "productUrl": `/pc-ryzen-7-9700x-32g-d5-rtx-3060-12gb`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5364_pc_gaming_x_ii_620s_d5_sale_ha2.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5364_pc_gaming_x_ii_620s_d5_sale_ha2.jpg", + "original": "", + }, + "sale_rules": { + "price": 35000000, + "normal_price": 35670000, + "min_purchase": 1, + "max_purchase": 10, + "remain_quantity": 1, + "from_time": 1767574800, + "to_time": 1772415000, + "type": "deal" + } + }, + + { + "id": 6408, + "productId": 6408, + "marketPrice": 0, + "price": 41850000, + "price_off": "", + "warranty": `theo từng linh kiện`, + "productName": `HHPC RYZEN 7 9700X | 32G DDR5 | NVIDIA RTX 5060 Ti 16G`, + "productSummary": `

CPU : AMD RYZEN 7 9700X UP 5.5GHz | 8 CORES | 16 THREADS

+

RAM : DDR5 32GB 6000Mhz (2x16GB)

+

VGA: NVIDIA RTX 5060 Ti 16G GDDR7 - 3FAN

`, + "productUrl": `/pc-ryzen-7-9700x-32g-d5-rtx-5060-ti-16g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6408_pc_gaming_x_ii_620s_d5_sale.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6408_pc_gaming_x_ii_620s_d5_sale.jpg", + "original": "", + }, + "sale_rules": { + "price": 41850000, + "normal_price": 42670000, + "min_purchase": 1, + "max_purchase": 10, + "remain_quantity": 1, + "from_time": 1767574800, + "to_time": 1772415000, + "type": "deal" + } + }, + + { + "id": 6409, + "productId": 6409, + "marketPrice": 0, + "price": 45300000, + "price_off": "", + "warranty": `theo từng linh kiện`, + "productName": `HHPC RYZEN 7 9700X | 32G DDR5 | NVIDIA RTX 5070 12G`, + "productSummary": `

CPU : AMD RYZEN 7 9700X UP 5.5GHz | 8 CORES | 16 THREADS

+

RAM : DDR5 32GB 6000Mhz (2x16GB)

+

VGA : NVIDIA RTX 5070 12G GDDR7

`, + "productUrl": `/pc-ryzen-7-9700x-32g-d5-nvidia-rtx-5070-12g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_6409_pc_gaming_x_ii_620s_d5_sale.jpg", + "large": "https://hoanghapccdn.com/media/product/250_6409_pc_gaming_x_ii_620s_d5_sale.jpg", + "original": "", + }, + "sale_rules": { + "price": 45300000, + "normal_price": 46180000, + "min_purchase": 1, + "max_purchase": 10, + "remain_quantity": 1, + "from_time": 1767574800, + "to_time": 1772415000, + "type": "deal" + } + }, + + { + "id": 5235, + "productId": 5235, + "marketPrice": 18000000, + "price": 17790000, + "price_off": "1", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i5 12400F | 16G | NVIDIA GTX 1060 6G`, + "productSummary": `

CPU : INTEL CORE i5 12400F UP 4.4GHz | 6 CORES | 12 THREADS

+

RAM : DDR4 16GB (1x16G) 3200 MHz

+

VGA : NVIDIA GTX 1060 6G GDDR5

`, + "productUrl": `/hhpc-core-i5-12400f-16g-nvidia-gtx-1060-6g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5235_pc_gaming_x_tam_trung_ha1ss.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5235_pc_gaming_x_tam_trung_ha1ss.jpg", + "original": "", + }, + "sale_rules": { + "price": 17790000, + "normal_price": 17790000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + + ], + "attribute_list": [ + + { + "id": 1, + "name": "Loại máy tính", + "ordering": 0, + "list": [ + + { + "id": 1, + "name": `Desktop`, + "image": `https://hoanghapc.vn`, + "color": ``, + "ordering": 0, + "description": ``, + }, + + { + "id": 2, + "name": `Laptop`, + "image": `https://hoanghapc.vn`, + "color": ``, + "ordering": 0, + "description": ``, + }, + + ] + }, + + ] + }, + { + "title": "Công cụ thiết kế: Keyshot", + "item_info": { + "id": 25, + "image": "https://hoanghapc.vn/media/designer-tool/25.png", + "url_index": "keyshot", + "name": "Keyshot", + "description": ``, + "meta_title": ``, + "meta_description": ``, + "extend": ``, + "search_fulltext": `Keyshot`, + "product_count": 27, + "status": 1, + "ordering": 50, + "create_by": "Hurasoft", + "create_time": 1760330876, + "last_update": 1761038140, + "last_update_by": "Hurasoft", + }, + "product_list": [ + { + "id": 5597, + "productId": 5597, + "marketPrice": 41000000, + "price": 38840000, + "price_off": "5", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i9 14900KF | 32G | NVIDIA RTX 3060 12GB`, + "productSummary": `

CPU : INTEL CORE i9 14900KF UP 6.0GHz | 24 CORES | 32 THREADS

+

RAM : DDR4 32GB 3200 MHz (2x16G)

+

VGA : NVIDIA RTX 3060 12GB GDDR6

`, + "productUrl": `/hhpc-i9-14900kf-32g-3060`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5597_pc_anubis_le360_k_logo_ha13.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5597_pc_anubis_le360_k_logo_ha13.jpg", + "original": "", + }, + "sale_rules": { + "price": 38840000, + "normal_price": 38840000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + { + "id": 5235, + "productId": 5235, + "marketPrice": 18000000, + "price": 17790000, + "price_off": "1", + "warranty": `theo từng linh kiện`, + "productName": `HHPC CORE i5 12400F | 16G | NVIDIA GTX 1060 6G`, + "productSummary": `

CPU : INTEL CORE i5 12400F UP 4.4GHz | 6 CORES | 12 THREADS

+

RAM : DDR4 16GB (1x16G) 3200 MHz

+

VGA : NVIDIA GTX 1060 6G GDDR5

`, + "productUrl": `/hhpc-core-i5-12400f-16g-nvidia-gtx-1060-6g`, + "productImage": { + "small": "https://hoanghapccdn.com/media/product/75_5235_pc_gaming_x_tam_trung_ha1ss.jpg", + "large": "https://hoanghapccdn.com/media/product/250_5235_pc_gaming_x_tam_trung_ha1ss.jpg", + "original": "", + }, + "sale_rules": { + "price": 17790000, + "normal_price": 17790000, + "min_purchase": 1, + "max_purchase": 1, + "remain_quantity": 1, + "from_time": 0, + "to_time": 0, + "type": "component" + } + }, + ], + "attribute_list": [ + + { + "id": 1, + "name": "Loại máy tính", + "ordering": 0, + "list": [ + + { + "id": 1, + "name": `Desktop`, + "image": `https://hoanghapc.vn`, + "color": ``, + "ordering": 0, + "description": ``, + }, + + { + "id": 2, + "name": `Laptop`, + "image": `https://hoanghapc.vn`, + "color": ``, + "ordering": 0, + "description": ``, + }, + + ] + }, + + ] + } +] \ No newline at end of file diff --git a/src/data/designer-tool/index.tsx b/src/data/designer-tool/index.tsx new file mode 100644 index 0000000..63ecc6a --- /dev/null +++ b/src/data/designer-tool/index.tsx @@ -0,0 +1,651 @@ +export const DesignerToolData = { + "title": "Công cụ thiết kế", + "item_list": [ + + { + "id": 1, + "image": "https://hoanghapc.vn/media/designer-tool/1.png", + "url_index": "adobe-photoshop", + "name": "Adobe Photoshop", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "adobe photoshop", + "product_count": 27, + "status": 1, + "ordering": 50, + "create_by": "Hurasoft", + "create_time": 1760330876, + "last_update": 1761038140, + "last_update_by": "Hurasoft", + "counter": 1 + }, + + { + "id": 10, + "image": "https://hoanghapc.vn/media/designer-tool/10.png", + "url_index": "premiere-pro", + "name": "Premiere Pro", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "premiere hurapro", + "product_count": 30, + "status": 1, + "ordering": 10, + "create_by": "Mai Văn Học", + "create_time": 1760340591, + "last_update": 1761038021, + "last_update_by": "Hurasoft", + "counter": 2 + }, + + { + "id": 25, + "image": "https://hoanghapc.vn/media/designer-tool/25.png", + "url_index": "keyshot", + "name": "Keyshot", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "keyshot", + "product_count": 43, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761706224, + "last_update": 1761706224, + "last_update_by": "Mai Văn Học", + "counter": 3 + }, + + { + "id": 19, + "image": "https://hoanghapc.vn/media/designer-tool/19.png", + "url_index": "cnema-4d", + "name": "Cinema 4D", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "cinema hura4d", + "product_count": 35, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761705340, + "last_update": 1761705340, + "last_update_by": "Mai Văn Học", + "counter": 4 + }, + + { + "id": 20, + "image": "https://hoanghapc.vn/media/designer-tool/20.png", + "url_index": "houdini", + "name": "Houdini", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "houdini", + "product_count": 35, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761705426, + "last_update": 1761705426, + "last_update_by": "Mai Văn Học", + "counter": 5 + }, + + { + "id": 21, + "image": "https://hoanghapc.vn/media/designer-tool/21.png", + "url_index": "zbrush", + "name": "ZBrush", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "zbrush", + "product_count": 45, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761705591, + "last_update": 1761705591, + "last_update_by": "Mai Văn Học", + "counter": 6 + }, + + { + "id": 22, + "image": "https://hoanghapc.vn/media/designer-tool/22.png", + "url_index": "game-development", + "name": "Game Development", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "game development", + "product_count": 38, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761705784, + "last_update": 1761705784, + "last_update_by": "Mai Văn Học", + "counter": 7 + }, + + { + "id": 23, + "image": "https://hoanghapc.vn/media/designer-tool/23.png", + "url_index": "unity", + "name": "Unity", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "unity", + "product_count": 38, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761705944, + "last_update": 1761705944, + "last_update_by": "Mai Văn Học", + "counter": 8 + }, + + { + "id": 24, + "image": "https://hoanghapc.vn/media/designer-tool/24.png", + "url_index": "unreal-engine", + "name": "Unreal Engine", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "unreal engine", + "product_count": 36, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761706104, + "last_update": 1761706104, + "last_update_by": "Mai Văn Học", + "counter": 9 + }, + + { + "id": 17, + "image": "https://hoanghapc.vn/media/designer-tool/17.png", + "url_index": "foundry-nuke", + "name": "Foundry Nuke", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "foundry nuke", + "product_count": 35, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761704979, + "last_update": 1761704979, + "last_update_by": "Mai Văn Học", + "counter": 10 + }, + + { + "id": 26, + "image": "https://hoanghapc.vn/media/designer-tool/26.png", + "url_index": "octane-render", + "name": "OctaneRender", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "octanerender", + "product_count": 42, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761706328, + "last_update": 1761706328, + "last_update_by": "Mai Văn Học", + "counter": 11 + }, + + { + "id": 27, + "image": "https://hoanghapc.vn/media/designer-tool/27.png", + "url_index": "redshift", + "name": "Redshift", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "redshift", + "product_count": 33, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761706493, + "last_update": 1761706493, + "last_update_by": "Mai Văn Học", + "counter": 12 + }, + + { + "id": 28, + "image": "https://hoanghapc.vn/media/designer-tool/28.png", + "url_index": "v-ray", + "name": "V-Ray", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "hurav huraray", + "product_count": 38, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761706593, + "last_update": 1761706593, + "last_update_by": "Mai Văn Học", + "counter": 13 + }, + + { + "id": 29, + "image": "https://hoanghapc.vn/media/designer-tool/29.png", + "url_index": "inventor", + "name": "Inventor", + "description": ``, + "meta_title": "PC dành cho Inventor – Cấu hình tối ưu cho Autodesk Inventor", + "meta_description": `Khám phá các cấu hình PC dành cho Autodesk Inventor được Hoàng Hà PC tối ưu hiệu năng, giúp thiết kế, mô phỏng 3D mượt mà, ổn định và chính xác tuyệt đối.`, + "extend": `{"faq":{"1":{"title":"T\u00f4i n\u00ean ch\u1ecdn CPU n\u00e0o cho PC ch\u1ea1y Inventor t\u1ed1t nh\u1ea5t?","content":"Autodesk Inventor \u01b0u ti\u00ean xung nh\u1ecbp CPU cao h\u01a1n s\u1ed1 nh\u00e2n. V\u00ec v\u1eady, CPU nh\u01b0 Intel Core i7-14700K ho\u1eb7c AMD Ryzen 7 7800X3D l\u00e0 l\u1ef1a ch\u1ecdn l\u00fd t\u01b0\u1edfng. N\u1ebfu b\u1ea1n l\u00e0m m\u00f4 ph\u1ecfng ho\u1eb7c render ph\u1ee9c t\u1ea1p, c\u00f3 th\u1ec3 ch\u1ecdn Ryzen 9 ho\u1eb7c Intel Core i9 \u0111\u1ec3 t\u0103ng hi\u1ec7u n\u0103ng."}}}`, + "search_fulltext": "inventor", + "product_count": 46, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761706745, + "last_update": 1761967593, + "last_update_by": "Mai Văn Học", + "counter": 14 + }, + + { + "id": 30, + "image": "https://hoanghapc.vn/media/designer-tool/30.png", + "url_index": "revit", + "name": "Revit", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "revit", + "product_count": 46, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761706851, + "last_update": 1761706851, + "last_update_by": "Mai Văn Học", + "counter": 15 + }, + + { + "id": 31, + "image": "https://hoanghapc.vn/media/designer-tool/31.png", + "url_index": "solidworks", + "name": "Solidworks", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": `{"faq":{"1":{"title":"","content":""}}}`, + "search_fulltext": "solidworks", + "product_count": 50, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761706976, + "last_update": 1761967521, + "last_update_by": "Mai Văn Học", + "counter": 16 + }, + + { + "id": 32, + "image": "https://hoanghapc.vn/media/designer-tool/32.png", + "url_index": "camtasia", + "name": "Camtasia", + "description": `
+
+

Your all-in-one solution for screen-first video

+
Camtasia has everything you need to create polished, professional videos from screen recordings. Record, edit, and share all in one platform.
+
+
`, + "meta_title": "Meta Title", + "meta_description": `Meta Description : `, + "extend": `{"faq":{"1":{"title":"Ti\u00eau \u0111\u1ec1 1","content":"N\u1ed9i dung "},"2":{"title":"Ti\u00eau \u0111\u1ec1 2","content":"test FAQ"}}}`, + "search_fulltext": "camtasia", + "product_count": 30, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761707168, + "last_update": 1761902221, + "last_update_by": "Hurasoft Đức", + "counter": 17 + }, + + { + "id": 18, + "image": "https://hoanghapc.vn/media/designer-tool/18.png", + "url_index": "blender", + "name": "Blender", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "blender", + "product_count": 38, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761705219, + "last_update": 1761705219, + "last_update_by": "Mai Văn Học", + "counter": 18 + }, + + { + "id": 16, + "image": "https://hoanghapc.vn/media/designer-tool/16.png", + "url_index": "davinci-resolve", + "name": "DaVinci Resolve", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "davinci resolve", + "product_count": 32, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761704836, + "last_update": 1761704836, + "last_update_by": "Mai Văn Học", + "counter": 19 + }, + + { + "id": 15, + "image": "https://hoanghapc.vn/media/designer-tool/15.png", + "url_index": "stable-diffusion", + "name": "Stable Diffusion", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "stable diffusion", + "product_count": 37, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761704712, + "last_update": 1761704712, + "last_update_by": "Mai Văn Học", + "counter": 20 + }, + + { + "id": 14, + "image": "https://hoanghapc.vn/media/designer-tool/14.png", + "url_index": "audition", + "name": "Audition", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "audition", + "product_count": 36, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761704548, + "last_update": 1761704548, + "last_update_by": "Mai Văn Học", + "counter": 21 + }, + + { + "id": 13, + "image": "https://hoanghapc.vn/media/designer-tool/13.png", + "url_index": "dreamweaver", + "name": "Dreamweaver", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "dreamweaver", + "product_count": 34, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761704441, + "last_update": 1761704441, + "last_update_by": "Mai Văn Học", + "counter": 22 + }, + + { + "id": 12, + "image": "https://hoanghapc.vn/media/designer-tool/12.png", + "url_index": "animate", + "name": "Animate", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "animate", + "product_count": 40, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761704281, + "last_update": 1761704290, + "last_update_by": "Mai Văn Học", + "counter": 23 + }, + + { + "id": 11, + "image": "https://hoanghapc.vn/media/designer-tool/11.png", + "url_index": "lightroom-classic", + "name": "Lightroom Classic", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "lightroom classic", + "product_count": 25, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1761703981, + "last_update": 1761703994, + "last_update_by": "Mai Văn Học", + "counter": 24 + }, + + { + "id": 9, + "image": "https://hoanghapc.vn/media/designer-tool/9.png", + "url_index": "sketchup", + "name": "SketchUp", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "sketchup", + "product_count": 29, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1760340243, + "last_update": 1761038061, + "last_update_by": "Hurasoft", + "counter": 25 + }, + + { + "id": 8, + "image": "https://hoanghapc.vn/media/designer-tool/8.png", + "url_index": "maya", + "name": "Maya", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "maya", + "product_count": 25, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1760340156, + "last_update": 1761038069, + "last_update_by": "Hurasoft", + "counter": 26 + }, + + { + "id": 7, + "image": "https://hoanghapc.vn/media/designer-tool/7.png", + "url_index": "3ds-max", + "name": "3Ds Max", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "hura3ds huramax", + "product_count": 26, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1760340092, + "last_update": 1761038079, + "last_update_by": "Hurasoft", + "counter": 27 + }, + + { + "id": 6, + "image": "https://hoanghapc.vn/media/designer-tool/6.png", + "url_index": "autocad", + "name": "AutoCAD", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "autocad", + "product_count": 29, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1760340035, + "last_update": 1761038088, + "last_update_by": "Hurasoft", + "counter": 28 + }, + + { + "id": 5, + "image": "https://hoanghapc.vn/media/designer-tool/5.png", + "url_index": "corel-draw", + "name": "Corel Draw", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "corel draw", + "product_count": 19, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1760339972, + "last_update": 1761038102, + "last_update_by": "Hurasoft", + "counter": 29 + }, + + { + "id": 4, + "image": "https://hoanghapc.vn/media/designer-tool/4.png", + "url_index": "indesign", + "name": "Indesign", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "indesign", + "product_count": 27, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1760339886, + "last_update": 1761038110, + "last_update_by": "Hurasoft", + "counter": 30 + }, + + { + "id": 3, + "image": "https://hoanghapc.vn/media/designer-tool/3.png", + "url_index": "after-effect", + "name": "After Effect", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "after effect", + "product_count": 27, + "status": 1, + "ordering": 0, + "create_by": "Mai Văn Học", + "create_time": 1760339540, + "last_update": 1761038119, + "last_update_by": "Hurasoft", + "counter": 31 + }, + + { + "id": 2, + "image": "https://hoanghapc.vn/media/designer-tool/2.png", + "url_index": "adobe-illustrator", + "name": "Adobe Illustrator", + "description": ``, + "meta_title": "", + "meta_description": ``, + "extend": ``, + "search_fulltext": "adobe illustrator", + "product_count": 25, + "status": 1, + "ordering": 0, + "create_by": "Hurasoft", + "create_time": 1760337435, + "last_update": 1761038130, + "last_update_by": "Hurasoft", + "counter": 32 + } + + ] +} diff --git a/src/data/store/index.tsx b/src/data/store/index.tsx index ab49814..0342671 100644 --- a/src/data/store/index.tsx +++ b/src/data/store/index.tsx @@ -12,7 +12,7 @@ export const StoreList = [ "email" : "hoanghapcws@gmail.com", "time" : "8h00 - 18h30", "map" : "https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d14895.88175394404!2d105.7839668!3d21.0338688!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3135abd416877447%3A0xdfce989c77925c71!2zSG_DoG5nIEjDoCBQQw!5e0!3m2!1svi!2s!4v1665992223153!5m2!1svi!2s", - "image" : [ + "images" : [ "/images/hoang-ha-pc-cau-giay.png", "/images/hoang-ha-pc-cau-giay-6.jpg", "/images/hoang-ha-pc-cau-giay-7.jpg", @@ -29,7 +29,7 @@ export const StoreList = [ "email" : "hoanghapcws@gmail.com", "time" : "8h00 - 18h30", "map" : "https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3724.7069099501123!2d105.8183181!3d21.0043826!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3135adb26e178fc3%3A0x18f812bf0be1c328!2zSG_DoG5nIEjDoCBQQyAtIE3DoXkgVMOtbmggQ2h1ecOqbiBE4bulbmcgQ2hvIMSQ4buTIEjhu41h!5e0!3m2!1svi!2s!4v1665992568314!5m2!1svi!2s", - "image" : [ + "images" : [ "/images/hoang-ha-pc-dong-da-5.jpg", "/images/hoang-ha-pc-dong-da-1.jpg", "/images/hoang-ha-pc-dong-da-2.jpg", @@ -53,7 +53,7 @@ export const StoreList = [ "email" : "hoanghapcws@gmail.com", "time" : "8h00 - 18h30", "map" : "https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3779.5322054356734!2d105.67231487475244!3d18.68497646413254!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3139cfef9f96ca75%3A0xff0d17989684e4c0!2zSG_DoG5nIEjDoCBQQyBWaW5oIE5naOG7hyBBbg!5e0!3m2!1svi!2s!4v1683532168493!5m2!1svi!2s", - "image" : [ + "images" : [ "/images/hoang_ha_pc_vinh.jpg", "/images/hoang_ha_pc_vinh_1.jpg", "/images/hoang_ha_pc_vinh_2.jpg", @@ -78,7 +78,7 @@ export const StoreList = [ "email" : "hoanghapcws@gmail.com", "time" : "8h00 - 18h30", "map" : "https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3919.5694598705045!2d106.65907779999999!3d10.7676269!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x31752f2967d5137f%3A0xe796f763bd2f650b!2zSG_DoG5nIEjDoCBQQyBI4buTIENow60gTWluaA!5e0!3m2!1svi!2s!4v1665992598210!5m2!1svi!2s", - "image" : [ + "images" : [ "/images/hoang-ha-pc-hcm.jpg" , "/images/hoang-ha-pc-hcm-1.jpg", "/images/hoang-ha-pc-hcm-2.jpg", @@ -103,7 +103,7 @@ export const StoreList = [ "email" : "hoanghapcws@gmail.com", "time" : "8h00 - 18h30", "map" : "https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d14895.88175394404!2d105.7839668!3d21.0338688!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3135abd416877447%3A0xdfce989c77925c71!2zSG_DoG5nIEjDoCBQQw!5e0!3m2!1svi!2s!4v1665992223153!5m2!1svi!2s", - "image" : [ + "images" : [ "/images/phong-bao-hanh-min.jpg" , "/images/phong-bao-hanh-2-min.jpg", "/images/phong-bao-hanh-3-min.jpg", @@ -121,7 +121,7 @@ export const StoreList = [ "email" : "hoanghapcws@gmail.com", "time" : "8h00 - 18h30", "map" : "https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3919.5694598705045!2d106.65907779999999!3d10.7676269!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x31752f2967d5137f%3A0xe796f763bd2f650b!2zSG_DoG5nIEjDoCBQQyBI4buTIENow60gTWluaA!5e0!3m2!1svi!2s!4v1665992598210!5m2!1svi!2s", - "image" : [ + "images" : [ "/images/hoang-ha-pc-hcm.jpg" , "/images/hoang-ha-pc-hcm-1.jpg", "/images/hoang-ha-pc-hcm-2.jpg", diff --git a/src/lib/slug/resolveDesignerPage.ts b/src/lib/slug/resolveDesignerPage.ts new file mode 100644 index 0000000..c1af52d --- /dev/null +++ b/src/lib/slug/resolveDesignerPage.ts @@ -0,0 +1,15 @@ +import { DesignerToolDetail } from "@/data/designer-tool/Detail"; + +export function resolveDesignerPage(slug: string) { + + const data = DesignerToolDetail.find( + (item) => item.item_info.url_index === slug + ); + + if (!data) return null; + + return { + type: "designer_detail", + data, + }; +} diff --git a/src/lib/slug/slugMap.ts b/src/lib/slug/slugMap.ts index 58be099..95d5641 100644 --- a/src/lib/slug/slugMap.ts +++ b/src/lib/slug/slugMap.ts @@ -1,17 +1,21 @@ import { resolveArticlePage } from "./resolveArticlePage"; import { resolveProductPage } from "./resolveProductPage"; import { resolveJobPage } from "./resolveJobPage"; +import { resolveDesignerPage } from "./resolveDesignerPage"; export type SlugResult = | ReturnType | ReturnType - | ReturnType; + | ReturnType + | ReturnType; export function findBySlug(slug?: string): SlugResult | null { if (!slug || slug.trim() === '') { return null; } + + // PRODUCT const product = resolveProductPage(slug); if (product) return product; @@ -24,6 +28,10 @@ export function findBySlug(slug?: string): SlugResult | null { const job = resolveJobPage(slug); if (job) return job; + // Designer Tool + const designer = resolveDesignerPage(slug); + if (designer) return designer; + // 404 return null; } \ No newline at end of file diff --git a/src/lib/utils.tsx b/src/lib/utils.tsx index ba20664..4a152df 100644 --- a/src/lib/utils.tsx +++ b/src/lib/utils.tsx @@ -90,4 +90,27 @@ export function normalizeKey(str: string) { .replace(/[\u0300-\u036f]/g, '') .toLowerCase() .replace(/\s+/g, '-'); -} \ No newline at end of file +} + +export function convertToSlug(text: string) { + let newText = text; + const lastDot = text.lastIndexOf("."); + if (lastDot > 0 && lastDot + 2 <= text.length) { + newText = text.substring(lastDot + 2); + } + + return newText + .toLowerCase() + .replace(/à|á|ạ|ả|ã|â|ầ|ấ|ậ|ẩ|ẫ|ă|ằ|ắ|ặ|ẳ|ẵ/g, "a") + .replace(/è|é|ẹ|ẻ|ẽ|ê|ề|ế|ệ|ể|ễ/g, "e") + .replace(/ì|í|ị|ỉ|ĩ/g, "i") + .replace(/ò|ó|ọ|ỏ|õ|ô|ồ|ố|ộ|ổ|ỗ|ơ|ờ|ớ|ợ|ở|ỡ/g, "o") + .replace(/ù|ú|ụ|ủ|ũ|ư|ừ|ứ|ự|ử|ữ/g, "u") + .replace(/ỳ|ý|ỵ|ỷ|ỹ/g, "y") + .replace(/đ/g, "d") + .normalize("NFD") + .replace(/[\u0300-\u036f]/g, "") + .replace(/[^\w ]+/g, "") + .trim() + .replace(/ +/g, "-"); +} diff --git a/src/styles/tuyen_dung.css b/src/styles/tuyen_dung.css index b001f79..5d4aefb 100644 --- a/src/styles/tuyen_dung.css +++ b/src/styles/tuyen_dung.css @@ -489,7 +489,7 @@ ul,ol,dl,label{margin-bottom:0} .buy-online .guild-solution-content .box-gradient-item h3 {min-height: 36px;} .contact-info-content .contact-info-box {padding: 30px 20px;margin: 0 12px 0 0;width: calc(100% / 4 - 9px)} .contact-info-content .contact-info-box:nth-child(4n) {margin-right: 0} -.contact-info-content .contact-info-box h4 {color: #0676DA;line-height: 32px;text-align: center;font-size: 20px} +.contact-info-content .contact-info-box h4 {color: #0676DA;line-height: 32px;text-align: center;font-size: 20px;display: flex;align-items: center;justify-content: center;min-height: 64px;} .contact-info-content .contact-info-box p {min-height: 72px;} .payment-guild .guild-solution ul {display: flex;flex-wrap: wrap;gap: unset} .payment-guild .guild-solution .box-gradient-item {margin: 0 12px 12px 0;width: calc(100% / 4 - 43px)}