import type { ReactNode } from 'react'; import React 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 (

GROWI

{appTitle !== 'GROWI' ? (

{ appTitle }

) : null}
{children}
); };