'use client'

import { useAppStore } from '@/store/app-store'
import { LoginView } from '@/views/login-view'
import { AppShell } from '@/components/layout/app-shell'

export default function Home() {
  const { isAuthenticated } = useAppStore()

  return (
    <div className="min-h-screen bg-background">
      {!isAuthenticated ? <LoginView /> : <AppShell />}
    </div>
  )
}
