'use client' import type { PropsWithChildren } from 'react' import { useTranslation } from 'react-i18next' import { useGlobalPublicStore } from '@/context/global-public-context' import useDocumentTitle from '@/hooks/use-document-title' import { cn } from '@/utils/classnames' export default function SignInLayout({ children }: PropsWithChildren) { const { t } = useTranslation() const systemFeatures = useGlobalPublicStore(s => s.systemFeatures) useDocumentTitle(t('login.webapp.login')) return ( <>
{/*
*/}
{children}
{systemFeatures.branding.enabled === false && (
© {' '} {new Date().getFullYear()} {' '} LangGenius, Inc. All rights reserved.
)}
) }