Fix lint errors

This commit is contained in:
Sakura Knoll
2021-12-20 06:39:12 +09:00 Unverified
parent 266a8acfda
commit daa54e6fdd
7 changed files with 21 additions and 4 deletions
@@ -34,7 +34,10 @@ const BattlesuitShowPage = ({ battlesuit }: BattlesuitShowPageProps) => {
<Box className='mb-4'> <Box className='mb-4'>
<Box> <Box>
<img src={`/assets/honkai3rd/battlesuits/${battlesuit.id}.png`} /> <img
alt={battlesuit.name}
src={`/assets/honkai3rd/battlesuits/${battlesuit.id}.png`}
/>
</Box> </Box>
</Box> </Box>
@@ -70,6 +70,7 @@ const BattlesuitListPage = ({ battlesuits }: BattlesuitListPageProps) => {
}} }}
> >
<img <img
alt={battlesuit.name}
style={{ style={{
position: 'absolute', position: 'absolute',
left: '50%', left: '50%',
+5 -1
View File
@@ -37,7 +37,11 @@ const Honkai3rdIndexPage = () => {
<Breadcrumb items={[{ href: 'honkai3rd', label: 'Honkai 3rd' }]} /> <Breadcrumb items={[{ href: 'honkai3rd', label: 'Honkai 3rd' }]} />
<Heading as='h1'>Honkai 3rd</Heading> <Heading as='h1'>Honkai 3rd</Heading>
<Box mb={3}> <Box mb={3}>
<Image src='/assets/honkai3rd/wallpaper.png' width='100%' /> <Image
alt='Honkai 3rd Wallpaper'
src='/assets/honkai3rd/wallpaper.png'
width='100%'
/>
</Box> </Box>
<Box mb={3}> <Box mb={3}>
<Box> <Box>
@@ -35,7 +35,10 @@ const StigmataListPage = ({
<Heading as='h1'>{stigmataData.name}</Heading> <Heading as='h1'>{stigmataData.name}</Heading>
<img src={`/assets/honkai3rd/stigmata/${stigmataData.id}.png`} /> <img
alt={stigmataData.name}
src={`/assets/honkai3rd/stigmata/${stigmataData.id}.png`}
/>
<Box> <Box>
<Heading as='h2'>Skill - {stigmataData.skill.name}</Heading> <Heading as='h2'>Skill - {stigmataData.skill.name}</Heading>
@@ -63,6 +66,7 @@ const StigmataListPage = ({
}} }}
> >
<img <img
alt={stigmataSetItem.name}
style={{ style={{
position: 'absolute', position: 'absolute',
left: '50%', left: '50%',
+1
View File
@@ -67,6 +67,7 @@ const StigmataListPage = ({ stigmataDataList }: StigmataListPageProps) => {
}} }}
> >
<img <img
alt={stigmata.name}
style={{ style={{
position: 'absolute', position: 'absolute',
left: '50%', left: '50%',
+4 -1
View File
@@ -33,7 +33,10 @@ const WeaponShowPage = ({ weapon }: WeaponShowPageProps) => {
<Heading as='h1'>{weapon.name}</Heading> <Heading as='h1'>{weapon.name}</Heading>
<Box mb={3}> <Box mb={3}>
<Image src={`/assets/honkai3rd/weapons/${weapon.id}.png`} /> <Image
alt={weapon.name}
src={`/assets/honkai3rd/weapons/${weapon.id}.png`}
/>
</Box> </Box>
<Heading as='h2'>Weapon Skills</Heading> <Heading as='h2'>Weapon Skills</Heading>
<Box> <Box>
+1
View File
@@ -67,6 +67,7 @@ const WeaponListPage = ({ weaponDataList }: WeaponListPageProps) => {
}} }}
> >
<img <img
alt={weapon.name}
style={{ style={{
position: 'absolute', position: 'absolute',
left: '50%', left: '50%',