forked from external-repos/squoosh
Fix : Sample File Size Unit
Sample data had size label showing wrong memory units 13k instead of 13KB 2.8mb instead of 2.8MB small b corresponds to bits and this would change entire meaning of file so fixed it
This commit is contained in:
@@ -24,28 +24,28 @@ import SlideOnScroll from './SlideOnScroll';
|
|||||||
const demos = [
|
const demos = [
|
||||||
{
|
{
|
||||||
description: 'Large photo',
|
description: 'Large photo',
|
||||||
size: '2.8mb',
|
size: '2.8MB',
|
||||||
filename: 'photo.jpg',
|
filename: 'photo.jpg',
|
||||||
url: largePhoto,
|
url: largePhoto,
|
||||||
iconUrl: largePhotoIcon,
|
iconUrl: largePhotoIcon,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
description: 'Artwork',
|
description: 'Artwork',
|
||||||
size: '2.9mb',
|
size: '2.9MB',
|
||||||
filename: 'art.jpg',
|
filename: 'art.jpg',
|
||||||
url: artwork,
|
url: artwork,
|
||||||
iconUrl: artworkIcon,
|
iconUrl: artworkIcon,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
description: 'Device screen',
|
description: 'Device screen',
|
||||||
size: '1.6mb',
|
size: '1.6MB',
|
||||||
filename: 'pixel3.png',
|
filename: 'pixel3.png',
|
||||||
url: deviceScreen,
|
url: deviceScreen,
|
||||||
iconUrl: deviceScreenIcon,
|
iconUrl: deviceScreenIcon,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
description: 'SVG icon',
|
description: 'SVG icon',
|
||||||
size: '13k',
|
size: '13KB',
|
||||||
filename: 'squoosh.svg',
|
filename: 'squoosh.svg',
|
||||||
url: logo,
|
url: logo,
|
||||||
iconUrl: logoIcon,
|
iconUrl: logoIcon,
|
||||||
|
|||||||
Reference in New Issue
Block a user