Commit c7363fb2 by Moorthy G

fix(responsive-image): update broken image url in stories

parent 6f07c285
...@@ -12,7 +12,7 @@ export default { ...@@ -12,7 +12,7 @@ export default {
export const Image = { export const Image = {
args: { args: {
src: 'https://dummyimage.com/1920x570', src: 'https://picsum.photos/1920/570?jpg',
width: 1920, width: 1920,
height: 570, height: 570,
sizes: '100vw' sizes: '100vw'
...@@ -21,7 +21,7 @@ export const Image = { ...@@ -21,7 +21,7 @@ export const Image = {
export const ArtDirection = { export const ArtDirection = {
args: { args: {
src: 'https://dummyimage.com/576x540', src: 'https://picsum.photos/576/570?jpg',
width: 576, width: 576,
height: 540, height: 540,
sizes: '100vw' sizes: '100vw'
...@@ -30,42 +30,42 @@ export const ArtDirection = { ...@@ -30,42 +30,42 @@ export const ArtDirection = {
<ResponsiveImage {...args}> <ResponsiveImage {...args}>
<ResponsiveImage.Source <ResponsiveImage.Source
media="xxl" media="xxl"
src="https://dummyimage.com/1920x540" src="https://picsum.photos/1920/540?jpg"
width={1920} width={1920}
height={540} height={540}
sizes="100vw" sizes="100vw"
/> />
<ResponsiveImage.Source <ResponsiveImage.Source
media="xl" media="xl"
src="https://dummyimage.com/1536x540" src="https://picsum.photos/1536/540?jpg"
width={1536} width={1536}
height={540} height={540}
sizes="100vw" sizes="100vw"
/> />
<ResponsiveImage.Source <ResponsiveImage.Source
media="lg" media="lg"
src="https://dummyimage.com/1280x540" src="https://picsum.photos/1280/540?jpg"
width={1280} width={1280}
height={540} height={540}
sizes="100vw" sizes="100vw"
/> />
<ResponsiveImage.Source <ResponsiveImage.Source
media="md" media="md"
src="https://dummyimage.com/1024x540" src="https://picsum.photos/1024/540?jpg"
width={1024} width={1024}
height={540} height={540}
sizes="100vw" sizes="100vw"
/> />
<ResponsiveImage.Source <ResponsiveImage.Source
media="sm" media="sm"
src="https://dummyimage.com/768x540" src="https://picsum.photos/768/540?jpg"
width={768} width={768}
height={540} height={540}
sizes="100vw" sizes="100vw"
/> />
<ResponsiveImage.Source <ResponsiveImage.Source
media="(min-width: 576px)" media="(min-width: 576px)"
src="https://dummyimage.com/640x540" src="https://picsum.photos/640/540?jpg"
width={640} width={640}
height={540} height={540}
sizes="100vw" sizes="100vw"
......
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