mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-06-29 12:49:12 +00:00
chore: move structure to root
This commit is contained in:
parent
3b27d3841b
commit
eed9c4161f
213 changed files with 1 additions and 38 deletions
17
src/lib/config/nav.ts
Normal file
17
src/lib/config/nav.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
import type { NavItem, SidebarNavItem } from '$lib/types/nav';
|
||||
|
||||
interface NavConfig {
|
||||
mainNav: NavItem[];
|
||||
sidebarNav: SidebarNavItem[];
|
||||
}
|
||||
|
||||
export const navConfig: NavConfig = {
|
||||
mainNav: [
|
||||
{
|
||||
title: 'Dashboard',
|
||||
href: '/dashboard',
|
||||
auth: true
|
||||
}
|
||||
],
|
||||
sidebarNav: []
|
||||
};
|
17
src/lib/config/site.ts
Normal file
17
src/lib/config/site.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
const SITE_URL =
|
||||
import.meta.env.VERCEL_ENV === 'preview' ? import.meta.env.VERCEL_URL : 'omnidash.io';
|
||||
|
||||
export const siteConfig = {
|
||||
name: 'Omnidash',
|
||||
author: 'Bart van der Braak',
|
||||
url: SITE_URL,
|
||||
description: 'Self-hostable dashboard using connectors to a multitude of ticketing systems.',
|
||||
ogImage: `https://${SITE_URL}/og.png`,
|
||||
links: {
|
||||
gitHubProfile: 'https://github.com/bartvdbraak',
|
||||
gitHubProject: 'https://github.com/bartvdbraak/omnidash'
|
||||
},
|
||||
keywords: `Ticket,Dashboard,Self-hosted,${SITE_URL},Bart van der Braak,Omnidash`
|
||||
};
|
||||
|
||||
export type SiteConfig = typeof siteConfig;
|
Loading…
Add table
Add a link
Reference in a new issue