2025-12-29 23:46:30 +07:00
|
|
|
'use client';
|
|
|
|
|
import React from 'react';
|
|
|
|
|
import Link from 'next/link';
|
|
|
|
|
import { Breadcrumb } from '@components/Common/Breadcrumb';
|
|
|
|
|
import { DataArticleCategory } from '@/data/article/ListCategory';
|
|
|
|
|
|
2025-12-30 16:47:24 +07:00
|
|
|
import { ArticleTopLeft } from '../ArticleTopLeft';
|
|
|
|
|
import { ArticleTopRight } from '../ArticleTopRight';
|
|
|
|
|
import { BoxVideoArticle } from './BoxVideoArticle';
|
|
|
|
|
import { BoxArticleMid } from './BoxArticleMid';
|
|
|
|
|
import { BoxArticleReview } from './BoxArticleReview';
|
2025-12-29 23:46:30 +07:00
|
|
|
|
|
|
|
|
const ArticleHome = () => {
|
|
|
|
|
const breadcrumbItems = [{ name: 'Tin tức', url: '/tin-tuc' }];
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<section className="page-article pb-10">
|
|
|
|
|
<div className="container">
|
|
|
|
|
<Breadcrumb items={breadcrumbItems} />
|
|
|
|
|
|
|
|
|
|
<div className="tabs-category-article flex items-center">
|
|
|
|
|
{DataArticleCategory.map((item, index) => (
|
|
|
|
|
<Link href={item.url} key={index} className="item-tab-article">
|
|
|
|
|
<h2 className="title-cate-article font-[400]">{item.title}</h2>
|
|
|
|
|
</Link>
|
|
|
|
|
))}
|
|
|
|
|
</div>
|
|
|
|
|
|
2025-12-30 16:47:24 +07:00
|
|
|
<div className="box-article-home-top grid grid-cols-3 gap-3">
|
|
|
|
|
<div className="col-left-article border-box-article box-new-article boder-radius-10 col-span-2">
|
|
|
|
|
<ArticleTopLeft />
|
2025-12-29 23:46:30 +07:00
|
|
|
</div>
|
|
|
|
|
<ArticleTopRight />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{/* box video */}
|
|
|
|
|
<BoxVideoArticle />
|
|
|
|
|
|
|
|
|
|
{/* box mid */}
|
|
|
|
|
<BoxArticleMid />
|
|
|
|
|
|
|
|
|
|
{/* review */}
|
|
|
|
|
<BoxArticleReview />
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default ArticleHome;
|