diff --git a/src/layouts/header.tsx b/src/layouts/header.tsx index 9c1bb546..f0dda9c9 100644 --- a/src/layouts/header.tsx +++ b/src/layouts/header.tsx @@ -1,23 +1,7 @@ 'use client'; -import { MobileNav } from '@/layouts/mobile-nav'; -import { - adminNavbar, - nonUserNavbar, - userNavbar, -} from '@/lib/constant/app.constant'; -import { signOut, useSession } from 'next-auth/react'; -import Link from 'next/link'; import { NavItem } from '@/components/navitem'; -import Image from 'next/image'; -import { Skeleton } from '@/components/ui/skeleton'; -import { Moon, Sun } from 'lucide-react'; -import { useTheme } from 'next-themes'; -import { ADMIN_ROLE, HR_ROLE } from '@/config/app.config'; -import { useEffect, useState } from 'react'; -import { Button } from '@/components/ui/button'; import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'; -import { useRouter } from 'next/navigation'; -import { getNameInitials } from '@/lib/utils'; +import { Button } from '@/components/ui/button'; import { DropdownMenu, DropdownMenuContent, @@ -25,21 +9,34 @@ import { DropdownMenuSeparator, DropdownMenuTrigger, } from '@/components/ui/dropdown-menu'; +import { Skeleton } from '@/components/ui/skeleton'; +import { ADMIN_ROLE, HR_ROLE } from '@/config/app.config'; +import { MobileNav } from '@/layouts/mobile-nav'; +import { + adminNavbar, + nonUserNavbar, + userNavbar, +} from '@/lib/constant/app.constant'; import icons from '@/lib/icons'; +import { getNameInitials } from '@/lib/utils'; +import { Moon, Sun } from 'lucide-react'; +import { signOut, useSession } from 'next-auth/react'; +import { useTheme } from 'next-themes'; +import Image from 'next/image'; +import Link from 'next/link'; +import { useRouter } from 'next/navigation'; +import { useEffect, useState } from 'react'; + export const CompanyLogo = () => { return ( -
{ - window.location.href = '/'; - }} - > +
100xJobs logo

100xJobs