feat: restructure routing and layouts for admin and news sections, update cookie paths
This commit is contained in:
+20
-20
@@ -21,31 +21,31 @@ type TFooterMenu = {
|
||||
export const MENU: TMenu[] = [
|
||||
{
|
||||
title: 'Spotlight',
|
||||
url: '/news/category/spotlight',
|
||||
url: '/category/spotlight',
|
||||
},
|
||||
{
|
||||
title: 'Berita',
|
||||
url: '/news/category/berita',
|
||||
url: '/category/berita',
|
||||
},
|
||||
{
|
||||
title: 'Kasus',
|
||||
url: '/news/category/kasus',
|
||||
url: '/category/kasus',
|
||||
},
|
||||
{
|
||||
title: 'Kajian',
|
||||
url: '/news/category/kajian',
|
||||
url: '/category/kajian',
|
||||
},
|
||||
{
|
||||
title: 'Lifestyle',
|
||||
url: '/news/category/lifestyle',
|
||||
url: '/category/lifestyle',
|
||||
},
|
||||
{
|
||||
title: 'Event',
|
||||
url: '/news/category/event',
|
||||
url: '/category/event',
|
||||
},
|
||||
{
|
||||
title: 'Travel',
|
||||
url: '/news/category/travel',
|
||||
url: '/category/travel',
|
||||
},
|
||||
]
|
||||
|
||||
@@ -55,23 +55,23 @@ export const FOOTER_MENU: TFooterMenu[] = [
|
||||
items: [
|
||||
{
|
||||
title: 'Popular',
|
||||
url: '/news/list?sort=popular',
|
||||
url: '/list?sort=popular',
|
||||
},
|
||||
{
|
||||
title: 'Trending',
|
||||
url: '/news/list?sort=trending',
|
||||
url: '/list?sort=trending',
|
||||
},
|
||||
{
|
||||
title: 'Contact',
|
||||
url: '/news/contact',
|
||||
url: '/contact',
|
||||
},
|
||||
{
|
||||
title: 'Support/Help',
|
||||
url: '/news/support',
|
||||
url: '/support',
|
||||
},
|
||||
{
|
||||
title: 'Rquest Topic',
|
||||
url: '/news/request-topic',
|
||||
url: '/request-topic',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -80,23 +80,23 @@ export const FOOTER_MENU: TFooterMenu[] = [
|
||||
items: [
|
||||
{
|
||||
title: 'FAQs',
|
||||
url: '/news/faq',
|
||||
url: '/faq',
|
||||
},
|
||||
{
|
||||
title: 'Terms and Condition',
|
||||
url: '/news/terms-condition',
|
||||
url: '/terms-condition',
|
||||
},
|
||||
{
|
||||
title: 'Support',
|
||||
url: '/news/support',
|
||||
url: '/support',
|
||||
},
|
||||
{
|
||||
title: 'Link Nine',
|
||||
url: '/news',
|
||||
url: '/',
|
||||
},
|
||||
{
|
||||
title: 'Link Ten',
|
||||
url: '/news',
|
||||
url: '/',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -130,14 +130,14 @@ export const FOOTER_MENU: TFooterMenu[] = [
|
||||
export const COPYRIGHT_MENU: TMenu[] = [
|
||||
{
|
||||
title: 'Privacy Policy',
|
||||
url: '/news/privacy-policy',
|
||||
url: '/privacy-policy',
|
||||
},
|
||||
{
|
||||
title: 'Terms of Service',
|
||||
url: '/news/terms-of-service',
|
||||
url: '/terms-of-service',
|
||||
},
|
||||
{
|
||||
title: 'Cookies Settings',
|
||||
url: '/news/cookies-settings',
|
||||
url: '/cookies-settings',
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user