Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nextjs-starter-template
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Moorthy G
nextjs-starter-template
Commits
c7363fb2
Commit
c7363fb2
authored
May 31, 2024
by
Moorthy G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(responsive-image): update broken image url in stories
parent
6f07c285
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
ResponsiveImage.stories.tsx
...onents/shared/ResponsiveImage/ResponsiveImage.stories.tsx
+8
-8
No files found.
components/shared/ResponsiveImage/ResponsiveImage.stories.tsx
View file @
c7363fb2
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment