Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify image component examples app for static image #25956

Merged
merged 1 commit into from Jun 9, 2021

Conversation

atcastle
Copy link
Collaborator

@atcastle atcastle commented Jun 9, 2021

Some fairly minor changes to the image-component example app. Switches all instances of images from /public over to use static images and adds a page with an example image with blurry placeholder enabled.

@ijjk ijjk added the examples Issue/PR related to examples label Jun 9, 2021
@kodiakhq kodiakhq bot merged commit e5d0a30 into vercel:canary Jun 9, 2021
@@ -1,30 +1,26 @@
import Image from 'next/image'
import ViewSource from '../components/view-source'
import mountains from '../public/mountains.jpg'
Copy link
Member

@styfle styfle Jun 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to use lowercase or should we use uppercase to match other imports?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lowercase is correct, uppercase is for React components

flybayer pushed a commit to blitz-js/next.js that referenced this pull request Jun 16, 2021
Some fairly minor changes to the image-component example app. Switches all instances of images from `/public` over to use static images and adds a page with an example image with blurry placeholder enabled.
@vercel vercel locked as resolved and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
examples Issue/PR related to examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants