Enhance routing and layout for site-specific pages. Added support for dynamic site routes, updated component imports, and improved layout styles for fullscreen display. Refactored navigation to utilize site data for dynamic button generation.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* Config for each linked site: route slug → URL and optional per-site options.
|
||||
* Add site-specific options here (e.g. title, sandbox, allow) as needed.
|
||||
*/
|
||||
export const sites = {
|
||||
prism: {
|
||||
url: 'https://prism.ccllc.pro',
|
||||
title: 'Prism'
|
||||
},
|
||||
tasgrid: {
|
||||
url: 'https://tasgrid.ccllc.pro',
|
||||
title: 'TasGrid'
|
||||
},
|
||||
stackq: {
|
||||
url: 'https://stackq.ccllc.pro',
|
||||
title: 'Stackq'
|
||||
},
|
||||
hrm: {
|
||||
url: 'https://hrm.ccllc.pro',
|
||||
title: 'HRM'
|
||||
}
|
||||
} as const;
|
||||
|
||||
export type SiteSlug = keyof typeof sites;
|
||||
|
||||
export const siteSlugs = Object.keys(sites) as SiteSlug[];
|
||||
Reference in New Issue
Block a user