Update vill-v

This commit is contained in:
Sakura Knoll
2022-07-17 14:09:15 +09:00 Unverified
parent 88b57a1013
commit 9d3e47dd30
8 changed files with 2341 additions and 1672 deletions
+10
View File
@@ -276,6 +276,16 @@ export const valkyries = [
label: 'Eden',
krLabel: '에덴',
},
{
value: 'griseo',
label: 'Griseo',
krLabel: '그리세오',
},
{
value: 'vill-v',
label: 'Vill-V',
krLabel: '빌-브이',
},
{
value: 'asuka',
label: 'Asuka',
+4 -1
View File
@@ -64,6 +64,7 @@ const BattlesuitListPage = ({ battlesuits }: BattlesuitListPageProps) => {
const battlesuitList = useMemo(() => {
return battlesuits.map((battlesuit) => {
console.log(battlesuit)
const hidden = isBattlesuitHidden(battlesuit, filter)
return (
<BattlesuitCard
@@ -176,7 +177,7 @@ export async function getStaticProps({ locale }: NextPageContext) {
name: battlesuit.name,
features: battlesuit.features,
type: battlesuit.type,
valikyrie: battlesuit.valkyrie,
valkyrie: battlesuit.valkyrie,
}
}),
...(await getI18NProps(locale)),
@@ -235,6 +236,8 @@ function isBattlesuitHidden(
case 'pardofelis':
case 'aponia':
case 'eden':
case 'griseo':
case 'vill-v':
return battlesuit.valkyrie !== filter
default:
case 'all':
@@ -2,7 +2,6 @@
import { Box, Card, Heading, Paragraph } from '@theme-ui/components'
import { NextPageContext } from 'next'
import SquareImageBox from '../../../../components/atoms/SquareImageBox'
import Breadcrumb from '../../../../components/organisms/Breadcrumb'
import { WeaponData } from '../../../../lib/honkai3rd/weapons'
import { generateI18NPaths, getI18NProps } from '../../../../server/i18n'
import {
@@ -35,17 +34,6 @@ const WeaponShowPage = ({
return (
<Box p={3}>
<Breadcrumb
items={[
{ href: '/honkai3rd', label: t('common.honkai-3rd') },
{ href: '/honkai3rd/weapons', label: t('common.weapons') },
{
href: `/honkai3rd/weapons/${weapon.id}`,
label: weapon.name,
},
]}
/>
<Heading as='h1'>{weapon.name}</Heading>
<Box mb={3}>