fix layout
This commit is contained in:
parent
15766af3b5
commit
b9f506cac8
@ -11,6 +11,7 @@ import Link from 'next/link';
|
||||
import { usePathname } from 'next/navigation';
|
||||
import { useState } from 'react';
|
||||
import NotificationDropdown from '@/components/NotificationDropdown';
|
||||
import Image from 'next/image';
|
||||
|
||||
export default function DashboardLayout({ children }: { children: React.ReactNode }) {
|
||||
const { user, logout } = useAuth();
|
||||
@ -54,7 +55,14 @@ export default function DashboardLayout({ children }: { children: React.ReactNod
|
||||
{/* Logo */}
|
||||
<div className="flex items-center justify-between h-16 px-6 border-b">
|
||||
<Link href="/dashboard" className="text-2xl font-bold text-blue-600">
|
||||
Xpeditis
|
||||
<Image
|
||||
src="/assets/logos/logo-black.svg"
|
||||
alt="Xpeditis"
|
||||
width={50}
|
||||
height={60}
|
||||
priority
|
||||
className="h-auto"
|
||||
/>
|
||||
</Link>
|
||||
<button
|
||||
className="lg:hidden text-gray-500 hover:text-gray-700"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user