/** @jsxImportSource theme-ui */ import { Box, Card, Flex, Text } from '@theme-ui/components' import { useRouter } from 'next/router' import { assetsBucketBaseUrl } from '../../lib/consts' import { StigmataSet } from '../../lib/honkai3rd/stigmata' import { translate } from '../../lib/i18n' import PageLink from '../atoms/PageLink' import SquareImageBox from '../atoms/SquareImageBox' interface StigmataSetCardProps { stigmataSet: Pick } const StigmataSetCard = ({ stigmataSet }: StigmataSetCardProps) => { const { locale } = useRouter() const stigmataSetName = translate( locale, { 'ko-KR': stigmataSet.krName }, stigmataSet.name ) return ( {stigmataSetName} {'⭐'.repeat(stigmataSet.rarity)} ) } export default StigmataSetCard