feat: implement category fetching and integrate into header menus

This commit is contained in:
Ardeman
2025-03-02 12:06:30 +08:00
parent cfc864cb43
commit 25e136ba72
5 changed files with 48 additions and 44 deletions
-31
View File
@@ -18,37 +18,6 @@ type TFooterMenu = {
items: TMenu[]
}
export const MENU: TMenu[] = [
{
title: 'Spotlight',
url: '/category/spotlight',
},
{
title: 'Berita',
url: '/category/berita',
},
{
title: 'Kasus',
url: '/category/kasus',
},
{
title: 'Kajian',
url: '/category/kajian',
},
{
title: 'Lifestyle',
url: '/category/lifestyle',
},
{
title: 'Event',
url: '/category/event',
},
{
title: 'Travel',
url: '/category/travel',
},
]
export const FOOTER_MENU: TFooterMenu[] = [
{
group: 'About Us',