import React, { ReactNode } from 'react'; import { useAppTitle } from '~/stores/context'; import GrowiLogo from '../Icons/GrowiLogo'; import { RawLayout } from './RawLayout'; import commonStyles from './NoLoginLayout.module.scss'; 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 (

{ appTitle ?? 'GROWI' }

{children}
); };