Local Images
Dynamic await import() or require() are not supported. The import must be static so it can be analyzed at build time.
Next.js will automatically determine the width and height of your image based on the imported file. These values are used to prevent Cumulative Layout Shift while your image is loading.
Remote Images
To use a remote image, the src property should be a URL string, which can be relative or absolute. Because Next.js does not have access to remote files during the build process, you'll need to provide the width, height and optional blurDataURL props manually:
개요
작업사항
로고 이미지 GNB 폴더로 이동 (아래 내용 참고)
Local Images Dynamic await import() or require() are not supported. The import must be static so it can be analyzed at build time. Next.js will automatically determine the width and height of your image based on the imported file. These values are used to prevent Cumulative Layout Shift while your image is loading.
Remote Images To use a remote image, the src property should be a URL string, which can be relative or absolute. Because Next.js does not have access to remote files during the build process, you'll need to provide the width, height and optional blurDataURL props manually:
생각해볼점
이미지