diff --git a/leaky-ships/components/FogImages.tsx b/leaky-ships/components/FogImages.tsx index 193b68b..248c392 100644 --- a/leaky-ships/components/FogImages.tsx +++ b/leaky-ships/components/FogImages.tsx @@ -1,8 +1,10 @@ +import Image from "next/image"; + function FogImages() { return <> - {`fog1.png`} - {`fog1.png`} - {`fog4.png`} + {`fog1.png`} + {`fog1.png`} + {`fog4.png`} } diff --git a/leaky-ships/components/Ships.tsx b/leaky-ships/components/Ships.tsx index 11b2fa5..11513b2 100644 --- a/leaky-ships/components/Ships.tsx +++ b/leaky-ships/components/Ships.tsx @@ -1,3 +1,4 @@ +import Image from 'next/image'; import { CSSProperties } from 'react' function Ships() { @@ -10,7 +11,7 @@ function Ships() { return <> {shipIndexes.map(i =>
- {`${i}.svg`}/ + {`${i}.svg`}/
)}