-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Merge pull request #2 from room-js/responsive-items
fix: Changes items prop to support mobile and desktop
- Loading branch information
Showing
10 changed files
with
2,347 additions
and
1,331 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
import { Item } from '../types'; | ||
|
||
const items: Item[] = [ | ||
export const items: Item[] = [ | ||
{ imageUrl: 'https://image.spreadshirtmedia.net/image-server/v1/products/T812A1PA3811PT17X49Y57D162268273FS2623/views/1,width=650,height=650,appearanceId=1.png' }, | ||
{ imageUrl: 'https://image.spreadshirtmedia.net/image-server/v1/products/T812A2PA3811PT17X63Y78D160344535FS2341/views/1,width=650,height=650,appearanceId=2/watch-me.png' }, | ||
{ imageUrl: 'https://image.spreadshirtmedia.net/image-server/v1/products/T812A1PA3811PT17X58Y109D160251068FS2435/views/1,width=650,height=650,appearanceId=1/security-is-important.png' }, | ||
]; | ||
|
||
export default items; | ||
export const items2: Item[] = [ | ||
{ imageUrl: 'https://image.spreadshirtmedia.net/image-server/v1/products/T812A2PA3811PT17X69Y120D165996188FS1875/views/1,width=650,height=650,appearanceId=2,backgroundColor=f2f2f2/future-is-coming.jpg' }, | ||
{ imageUrl: 'https://image.spreadshirtmedia.net/image-server/v1/products/T812A3PA3811PT17X49Y87D159541997FS2635/views/1,width=650,height=650,appearanceId=3,backgroundColor=f2f2f2/power-of-a-computers-brain.jpg' }, | ||
{ imageUrl: 'https://image.spreadshirtmedia.net/image-server/v1/products/T812A1PA3811PT17X53Y91D159108318FS3953/views/1,width=650,height=650,appearanceId=1,backgroundColor=f2f2f2/you-dont-know-me-unless-youve-scanned-me.jpg' }, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
export interface Item { | ||
imageUrl: string; | ||
} | ||
} | ||
|
||
export interface Items { | ||
mobile: Item[]; | ||
desktop: Item[]; | ||
} |