WP 9c Phase 1 #12
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
import { useEffect } from 'react'
|
import { useEffect } from 'react'
|
||||||
import { BrowserRouter, Routes, Route, NavLink, useNavigate } from 'react-router-dom'
|
import { BrowserRouter, Routes, Route, NavLink, useNavigate } from 'react-router-dom'
|
||||||
import { LayoutDashboard, PlusSquare, TrendingUp, BarChart2, Settings, LogOut, Moon } from 'lucide-react'
|
import { LayoutDashboard, PlusSquare, TrendingUp, BarChart2, Settings, LogOut } from 'lucide-react'
|
||||||
import { ProfileProvider, useProfile } from './context/ProfileContext'
|
import { ProfileProvider, useProfile } from './context/ProfileContext'
|
||||||
import { AuthProvider, useAuth } from './context/AuthContext'
|
import { AuthProvider, useAuth } from './context/AuthContext'
|
||||||
import { setProfileId } from './utils/api'
|
import { setProfileId } from './utils/api'
|
||||||
@@ -38,7 +38,6 @@ function Nav() {
|
|||||||
{ to:'/', icon:<LayoutDashboard size={20}/>, label:'Übersicht' },
|
{ to:'/', icon:<LayoutDashboard size={20}/>, label:'Übersicht' },
|
||||||
{ to:'/capture', icon:<PlusSquare size={20}/>, label:'Erfassen' },
|
{ to:'/capture', icon:<PlusSquare size={20}/>, label:'Erfassen' },
|
||||||
{ to:'/history', icon:<TrendingUp size={20}/>, label:'Verlauf' },
|
{ to:'/history', icon:<TrendingUp size={20}/>, label:'Verlauf' },
|
||||||
{ to:'/sleep', icon:<Moon size={20}/>, label:'Schlaf' },
|
|
||||||
{ to:'/analysis', icon:<BarChart2 size={20}/>, label:'Analyse' },
|
{ to:'/analysis', icon:<BarChart2 size={20}/>, label:'Analyse' },
|
||||||
{ to:'/settings', icon:<Settings size={20}/>, label:'Einst.' },
|
{ to:'/settings', icon:<Settings size={20}/>, label:'Einst.' },
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -45,6 +45,13 @@ const ENTRIES = [
|
|||||||
to: '/activity',
|
to: '/activity',
|
||||||
color: '#D4537E',
|
color: '#D4537E',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
icon: '🌙',
|
||||||
|
label: 'Schlaf',
|
||||||
|
sub: 'Schlafdaten erfassen oder Apple Health importieren',
|
||||||
|
to: '/sleep',
|
||||||
|
color: '#7B68EE',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
icon: '📖',
|
icon: '📖',
|
||||||
label: 'Messanleitung',
|
label: 'Messanleitung',
|
||||||
|
|||||||
Reference in new issue
Block a user