/** @jsxImportSource theme-ui */
import { mdiClose, mdiMenuSwap } from '@mdi/js'
import Icon from '@mdi/react'
import {
NavLink,
Heading,
Text,
Box,
Flex,
IconButton,
} from '@theme-ui/components'
import NextLink from 'next/link'
import { useRouter } from 'next/router'
import { assetsBucketBaseUrl } from '../../lib/consts'
import { useTranslation } from '../../lib/i18n'
import SquareImageBox from '../atoms/SquareImageBox'
interface Honkai3rdNavigatorProps {
close: () => void
}
const Honkai3rdNavigator = ({ close }: Honkai3rdNavigatorProps) => {
const router = useRouter()
const { pathname, asPath, query, locale } = router
const { t } = useTranslation()
return (
Abyss Lab
{t('nav.honkai-3rd')}
{locale === 'en-US' ? 'πΊπΈ English(US)' : 'π°π· νκ΅μ΄'}
)
}
export default Honkai3rdNavigator
interface NavItemProps {
target: 'versions' | 'battlesuits' | 'stigmata' | 'weapons' | 'elfs'
}
const NavItem = ({ target }: NavItemProps) => {
const { t } = useTranslation()
return (
{t(`nav.${target}`)}
)
}