Unverified Commit 89be8c4b authored by Steven's avatar Steven Committed by GitHub

chore(docs): add missing "try it out" (#53815)

Follow up to https://github.com/vercel/next.js/pull/53760

This follows the same pattern as other demo links on this page.
parent 6bd8cd7c
...@@ -783,6 +783,8 @@ const ThemeImage = (props) => { ...@@ -783,6 +783,8 @@ const ThemeImage = (props) => {
> **Good to know**: The default behavior of `loading="lazy"` ensures that only the correct image is loaded. You cannot use `priority` or `loading="eager"` because that would cause both images to load. Instead, you can use [`fetchPriority="high"`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/fetchPriority). > **Good to know**: The default behavior of `loading="lazy"` ensures that only the correct image is loaded. You cannot use `priority` or `loading="eager"` because that would cause both images to load. Instead, you can use [`fetchPriority="high"`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/fetchPriority).
Try it out:
- [Demo light/dark mode theme detection](https://image-component.nextjs.gallery/theme) - [Demo light/dark mode theme detection](https://image-component.nextjs.gallery/theme)
## Known Browser Bugs ## Known Browser Bugs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment