mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 22:27:16 +01:00
Boards schema.
This commit is contained in:
parent
3379cc6e89
commit
7edddf15a7
4 changed files with 112 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ import {
|
|||
import Link from 'next/link';
|
||||
import type { Key } from 'react';
|
||||
import { useGlobalState, useMessages, useNavigation } from '@/components/hooks';
|
||||
import { Globe, Grid2x2, LinkIcon, PanelLeft } from '@/components/icons';
|
||||
import { Globe, Grid2x2, LayoutDashboard, LinkIcon, PanelLeft } from '@/components/icons';
|
||||
import { LanguageButton } from '@/components/input/LanguageButton';
|
||||
import { NavButton } from '@/components/input/NavButton';
|
||||
import { PanelButton } from '@/components/input/PanelButton';
|
||||
|
|
@ -24,6 +24,12 @@ export function SideNav(props: SidebarProps) {
|
|||
const hasNav = !!(websiteId || pathname.startsWith('/admin') || pathname.includes('/settings'));
|
||||
|
||||
const links = [
|
||||
{
|
||||
id: 'boards',
|
||||
label: formatMessage(labels.boards),
|
||||
path: '/boards',
|
||||
icon: <LayoutDashboard />,
|
||||
},
|
||||
{
|
||||
id: 'websites',
|
||||
label: formatMessage(labels.websites),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue