Update vill-v
This commit is contained in:
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user