import Image from 'next/image'; import type { JSX, ReactNode } from 'react'; import { useAppTitle } from '~/states/global'; import GrowiLogo from '../Common/GrowiLogo'; import commonStyles from './NoLoginLayout.module.scss'; import { RawLayout } from './RawLayout'; type Props = { className?: string; children?: ReactNode; }; export const NoLoginLayout = ({ children, className }: Props): JSX.Element => { const { data: appTitle } = useAppTitle(); const classNames: string[] = ['']; if (className != null) { classNames.push(className); } return (
GROWI
{appTitle !== 'GROWI' ? (

{appTitle}

) : null}
{children}
); };