next.js/test/integration/next-image-new/unicode/pages/index.js
index.js34 lines788 B
import React from 'react'
import Image from 'next/image'
import img from '../public/äöüščří.png'

const Page = () => {
  return (
    <div>
      <h1>Unicode Image URL</h1>
      <Image id="static" src={img} />
      <Image id="internal" src="/äöüščří.png" width={400} height={400} />
      <Image
        id="external"
        src="https://image-optimization-test.vercel.app/äöüščří.png"
        width={400}
        height={400}
      />
      <Image
        id="internal-space"
        src="/hello%20world.jpg"
        width={200}
        height={200}
      />
      <Image
        id="external-space"
        src="https://image-optimization-test.vercel.app/hello%20world.jpg"
        width={200}
        height={200}
      />
    </div>
  )
}

export default Page
Quest for Codev2.0.0
/
SIGN IN