|
|
|
@ -20,22 +20,22 @@ const EnvNav = () => {
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div className={`
|
|
|
|
<div className={`
|
|
|
|
mr-1 flex h-[22px] items-center rounded-md border px-2 text-xs font-medium max-[1280px]:hidden
|
|
|
|
mr-1 flex h-[22px] items-center rounded-md border px-2 text-xs font-medium
|
|
|
|
${headerEnvClassName[langeniusVersionInfo.current_env]}
|
|
|
|
${headerEnvClassName[langeniusVersionInfo.current_env]}
|
|
|
|
`}>
|
|
|
|
`}>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
langeniusVersionInfo.current_env === 'TESTING' && (
|
|
|
|
langeniusVersionInfo.current_env === 'TESTING' && (
|
|
|
|
<>
|
|
|
|
<>
|
|
|
|
<Beaker02 className='mr-1 h-3 w-3' />
|
|
|
|
<Beaker02 className='h-3 w-3' />
|
|
|
|
{t('common.environment.testing')}
|
|
|
|
<div className='ml-1 max-[1280px]:hidden'>{t('common.environment.testing')}</div>
|
|
|
|
</>
|
|
|
|
</>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
{
|
|
|
|
langeniusVersionInfo.current_env === 'DEVELOPMENT' && (
|
|
|
|
langeniusVersionInfo.current_env === 'DEVELOPMENT' && (
|
|
|
|
<>
|
|
|
|
<>
|
|
|
|
<TerminalSquare className='mr-1 h-3 w-3' />
|
|
|
|
<TerminalSquare className='h-3 w-3' />
|
|
|
|
{t('common.environment.development')}
|
|
|
|
<div className='ml-1 max-[1280px]:hidden'>{t('common.environment.development')}</div>
|
|
|
|
</>
|
|
|
|
</>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|