|
| 1 | +/* eslint-disable @next/next/no-img-element */ |
1 | 2 | import { GetStaticPathsResult, GetStaticPropsContext, GetStaticPropsResult } from "next" |
2 | 3 | import Head from "next/head" |
3 | 4 | import Image from "next/image" |
@@ -91,7 +92,7 @@ function AscensionCosts({ costs }: { costs: CostTemplate }) { |
91 | 92 | return <div className="flex flex-row items-center"> |
92 | 93 | <div className="text-base font-semibold pt-1 inline-block pr-1 h-9">Ascension materials:</div> |
93 | 94 | {ascensionCosts.map(e => <div className="inline-block pr-1 w-6 h-6 md:h-8 md:w-8" key={e}> |
94 | | - <Image src={image("material", e)} alt={e} width={256} height={256} /> |
| 95 | + <img src={image("material", e)} alt={e} width={256} height={256} /> |
95 | 96 | </div>)} |
96 | 97 | </div> |
97 | 98 | } |
@@ -119,7 +120,7 @@ function FullAscensionCosts({ template, costTemplates }: { template: CostTemplat |
119 | 120 | <div className="flex flex-row align-middle items-center"> |
120 | 121 | <div>{count}×</div> |
121 | 122 | <div className="pr-1 w-6 h-6 md:h-8 md:w-8"> |
122 | | - <Image src={image("material", name)} alt={name} width={256} height={256} /> |
| 123 | + <img src={image("material", name)} alt={name} width={256} height={256} /> |
123 | 124 | </div> |
124 | 125 | <div>{name}</div></div>} |
125 | 126 | </td>)} |
@@ -156,7 +157,7 @@ function TalentCosts({ skills }: { skills: Skills[] }) { |
156 | 157 | return <div className="flex flex-row items-center"> |
157 | 158 | <div className="text-base font-semibold pt-1 inline-block pr-1 h-9">Talent materials:</div> |
158 | 159 | {all.map(e => <div className="inline-block pr-1 w-6 h-6 md:h-8 md:w-8" key={e}> |
159 | | - <Image src={image("material", e)} alt={e} width={256} height={256} /> |
| 160 | + <img src={image("material", e)} alt={e} width={256} height={256} /> |
160 | 161 | </div>)} |
161 | 162 | </div> |
162 | 163 | } |
|
0 commit comments