mirror of
https://github.com/complexcaresolutions/dak.c2s.git
synced 2026-03-17 17:13:42 +00:00
fix: move DAK logo from header to sidebar
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2c1b064373
commit
617e5c2ae7
2 changed files with 2 additions and 9 deletions
|
|
@ -21,7 +21,6 @@ import { ScrollArea } from '@/components/ui/scroll-area'
|
||||||
import { Separator } from '@/components/ui/separator'
|
import { Separator } from '@/components/ui/separator'
|
||||||
import { Bell, CheckCheck, LogOut, Menu, Moon, Sun, UserCog } from 'lucide-react'
|
import { Bell, CheckCheck, LogOut, Menu, Moon, Sun, UserCog } from 'lucide-react'
|
||||||
import { useTheme } from '@/hooks/useTheme'
|
import { useTheme } from '@/hooks/useTheme'
|
||||||
import dakLogo from '@/assets/DAK_Best-Practice-768x768.png'
|
|
||||||
|
|
||||||
interface HeaderProps {
|
interface HeaderProps {
|
||||||
onToggleSidebar: () => void
|
onToggleSidebar: () => void
|
||||||
|
|
@ -57,11 +56,6 @@ export function Header({ onToggleSidebar }: HeaderProps) {
|
||||||
<span className="sr-only">Navigation umschalten</span>
|
<span className="sr-only">Navigation umschalten</span>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<div className="flex items-center gap-2">
|
|
||||||
<img src={dakLogo} alt="DAK Gesundheit" className="h-8 w-auto" />
|
|
||||||
<span className="hidden text-lg font-semibold sm:inline-block">DAK-Portal</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="flex-1" />
|
<div className="flex-1" />
|
||||||
|
|
||||||
{/* Dark mode toggle */}
|
{/* Dark mode toggle */}
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ import { NavLink } from 'react-router-dom'
|
||||||
import { useAuth } from '@/context/AuthContext'
|
import { useAuth } from '@/context/AuthContext'
|
||||||
import { cn } from '@/lib/utils'
|
import { cn } from '@/lib/utils'
|
||||||
import { Separator } from '@/components/ui/separator'
|
import { Separator } from '@/components/ui/separator'
|
||||||
|
import dakLogo from '@/assets/DAK_Best-Practice-768x768.png'
|
||||||
import {
|
import {
|
||||||
LayoutDashboard,
|
LayoutDashboard,
|
||||||
FolderOpen,
|
FolderOpen,
|
||||||
|
|
@ -76,9 +77,7 @@ export function Sidebar({ className }: { className?: string }) {
|
||||||
return (
|
return (
|
||||||
<aside className={cn('flex h-full flex-col gap-4 p-4', className)}>
|
<aside className={cn('flex h-full flex-col gap-4 p-4', className)}>
|
||||||
<div className="flex items-center gap-2 px-3 py-2">
|
<div className="flex items-center gap-2 px-3 py-2">
|
||||||
<div className="flex h-8 w-8 items-center justify-center rounded-lg bg-primary text-primary-foreground font-bold text-sm">
|
<img src={dakLogo} alt="DAK Gesundheit" className="h-8 w-auto" />
|
||||||
D
|
|
||||||
</div>
|
|
||||||
<span className="font-semibold text-lg">DAK Portal</span>
|
<span className="font-semibold text-lg">DAK Portal</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue