import type { Metadata } from 'next'
import Login from '@views/Login'
import { getServerMode } from '@core/utils/serverHelpers'
import { SystemMode } from '@/@core/types'
export const metadata: Metadata = {
  title: 'Login',
  description: 'Login to your account'
}
const LoginPage = async () => {
  const mode = await getServerMode()
  return <Login mode={mode as SystemMode} />
}
export default LoginPage
