Commit 76eb5cc9 authored by Phạm Quang Bảo's avatar Phạm Quang Bảo

update/folder page

parent 98dbfa8e
const Page = () => {
return (
<div className="container">
<div className="flex p-2 border border-gray-300">
<p className="p-3">Về VCCI-HCM</p>
<p className="p-3">Chức năng và Nhiệm vụ</p>
<p className="p-3">Sơ đồ tổ chức</p>
<p className="p-3">Dịch vụ cung cấp</p>
</div>
</div>
);
};
export default Page;
\ No newline at end of file
const MenuItem = ({ title, items }: { title: string; items: string[] }) => ( const MenuItem = ({ title, items, link }: { title: string; items: string[]; link?: string }) => (
<div className="group relative"> <div className="group relative">
<a <a
className="px-3 py-5 text-[16px] font-[600] text-[#124588] hover:text-[#E8C518] transition block" className="px-3 py-5 text-[16px] font-[600] text-[#124588] hover:text-[#E8C518] transition block"
href="#" href={`${link}`}
> >
{title} {title}
</a> </a>
......
...@@ -73,6 +73,7 @@ function Header() { ...@@ -73,6 +73,7 @@ function Header() {
{/* Dùng component MenuItem để gọn */} {/* Dùng component MenuItem để gọn */}
<MenuItem <MenuItem
title="Giới thiệu" title="Giới thiệu"
link="gioi-thieu"
items={[ items={[
"Về VCCI-HCM", "Về VCCI-HCM",
"Chức Năng Và Nhiệm Vụ", "Chức Năng Và Nhiệm Vụ",
...@@ -82,6 +83,7 @@ function Header() { ...@@ -82,6 +83,7 @@ function Header() {
/> />
<MenuItem <MenuItem
title="Hội viên" title="Hội viên"
link="hoi-vien"
items={[ items={[
"Lợi Ích Của Hội Viên VCCI", "Lợi Ích Của Hội Viên VCCI",
"Đăng Ký Hội Viên", "Đăng Ký Hội Viên",
...@@ -92,6 +94,7 @@ function Header() { ...@@ -92,6 +94,7 @@ function Header() {
<MenuItem title="Hoạt động" items={["Sự Kiện", "Đào Tạo"]} /> <MenuItem title="Hoạt động" items={["Sự Kiện", "Đào Tạo"]} />
<MenuItem <MenuItem
title="Xuất Xứ Hàng Hóa" title="Xuất Xứ Hàng Hóa"
link="xuat-xu-hang-hoa"
items={[ items={[
"Định Nghĩa Chung", "Định Nghĩa Chung",
"Mục Đích Của C/O", "Mục Đích Của C/O",
...@@ -108,7 +111,7 @@ function Header() { ...@@ -108,7 +111,7 @@ function Header() {
<div className="group relative"> <div className="group relative">
<a <a
className="px-3 py-5 text-[16px] font-[600] text-[#124588] hover:text-[#E8C518] transition block" className="px-3 py-5 text-[16px] font-[600] text-[#124588] hover:text-[#E8C518] transition block"
href="#" href={`${"/dai-dien-gioi-chu"}`}
> >
Đại Diện Giới Chủ Đại Diện Giới Chủ
</a> </a>
...@@ -146,6 +149,7 @@ function Header() { ...@@ -146,6 +149,7 @@ function Header() {
<MenuItem <MenuItem
title="Xúc tiến thương mại" title="Xúc tiến thương mại"
link="xuc-tien-thuong-mai"
items={[ items={[
"Hồ Sơ Thị Trường", "Hồ Sơ Thị Trường",
"Môi Trường Kinh Doanh", "Môi Trường Kinh Doanh",
...@@ -155,6 +159,7 @@ function Header() { ...@@ -155,6 +159,7 @@ function Header() {
/> />
<MenuItem <MenuItem
title="Thông tin truyền thông" title="Thông tin truyền thông"
link="thong-tin-truyen-thong"
items={[ items={[
"Tin VCCI", "Tin VCCI",
"Tin Kinh Tế", "Tin Kinh Tế",
...@@ -179,9 +184,8 @@ function Header() { ...@@ -179,9 +184,8 @@ function Header() {
{/* Mobile Menu */} {/* Mobile Menu */}
<div <div
className={`lg:hidden bg-white shadow-lg transition-all duration-300 overflow-hidden ${ className={`lg:hidden bg-white shadow-lg transition-all duration-300 overflow-hidden ${toggleMenu ? "max-h-96 opacity-100" : "max-h-0 opacity-0"
toggleMenu ? "max-h-96 opacity-100" : "max-h-0 opacity-0" }`}
}`}
> >
{[ {[
"Giới thiệu", "Giới thiệu",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment