/** @jsxImportSource theme-ui */ import { Box, Card, Text } from '@theme-ui/components' import { useRouter } from 'next/router' import { assetsBucketBaseUrl } from '../../lib/consts' import { ElfData } from '../../lib/honkai3rd/elfs' import { translate } from '../../lib/i18n' import PageLink from '../atoms/PageLink' import SquareImageBox from '../atoms/SquareImageBox' interface ElfCardProps { elf: Pick hidden?: boolean } const ElfCard = ({ elf }: ElfCardProps) => { const { locale } = useRouter() const elfName = translate(locale, { 'ko-KR': elf.krName }, elf.name) return ( {elfName} ) } export default ElfCard