Skip to content

Commit dea5917

Browse files
koneko096danilowoz
authored andcommitted
feat: add e-commerce catalog (#75)
1 parent b35c374 commit dea5917

File tree

2 files changed

+61
-1
lines changed

2 files changed

+61
-1
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
import React from 'react'
2+
import ContentLoader from 'react-content-loader'
3+
4+
const Catalog = props => (
5+
<ContentLoader
6+
height={900}
7+
width={1360}
8+
speed={2}
9+
primaryColor="#7fcaec"
10+
secondaryColor="#cceaf8"
11+
{...props}
12+
>
13+
{/* <rect x="30" y="20" rx="0" ry="0" width="130" height="23" /> */}
14+
<rect x="30" y="20" rx="8" ry="8" width="200" height="200" />
15+
<rect x="30" y="250" rx="0" ry="0" width="200" height="18" />
16+
<rect x="30" y="275" rx="0" ry="0" width="120" height="20" />
17+
<rect x="250" y="20" rx="8" ry="8" width="200" height="200" />
18+
<rect x="250" y="250" rx="0" ry="0" width="200" height="18" />
19+
<rect x="250" y="275" rx="0" ry="0" width="120" height="20" />
20+
<rect x="470" y="20" rx="8" ry="8" width="200" height="200" />
21+
<rect x="470" y="250" rx="0" ry="0" width="200" height="18" />
22+
<rect x="470" y="275" rx="0" ry="0" width="120" height="20" />
23+
<rect x="690" y="20" rx="8" ry="8" width="200" height="200" />
24+
<rect x="690" y="250" rx="0" ry="0" width="200" height="18" />
25+
<rect x="690" y="275" rx="0" ry="0" width="120" height="20" />
26+
<rect x="910" y="20" rx="8" ry="8" width="200" height="200" />
27+
<rect x="910" y="250" rx="0" ry="0" width="200" height="18" />
28+
<rect x="910" y="275" rx="0" ry="0" width="120" height="20" />
29+
<rect x="1130" y="20" rx="8" ry="8" width="200" height="200" />
30+
<rect x="1130" y="250" rx="0" ry="0" width="200" height="18" />
31+
<rect x="1130" y="275" rx="0" ry="0" width="120" height="20" />
32+
<rect x="30" y="340" rx="8" ry="8" width="200" height="200" />
33+
<rect x="30" y="570" rx="0" ry="0" width="200" height="18" />
34+
<rect x="30" y="595" rx="0" ry="0" width="120" height="20" />
35+
<rect x="250" y="340" rx="8" ry="8" width="200" height="200" />
36+
<rect x="250" y="570" rx="0" ry="0" width="200" height="18" />
37+
<rect x="250" y="595" rx="0" ry="0" width="120" height="20" />
38+
<rect x="470" y="340" rx="8" ry="8" width="200" height="200" />
39+
<rect x="470" y="570" rx="0" ry="0" width="200" height="18" />
40+
<rect x="470" y="595" rx="0" ry="0" width="120" height="20" />
41+
<rect x="690" y="340" rx="8" ry="8" width="200" height="200" />
42+
<rect x="690" y="570" rx="0" ry="0" width="200" height="18" />
43+
<rect x="690" y="595" rx="0" ry="0" width="120" height="20" />
44+
<rect x="910" y="340" rx="8" ry="8" width="200" height="200" />
45+
<rect x="910" y="570" rx="0" ry="0" width="200" height="18" />
46+
<rect x="910" y="595" rx="0" ry="0" width="120" height="20" />
47+
<rect x="1130" y="340" rx="8" ry="8" width="200" height="200" />
48+
<rect x="1130" y="570" rx="0" ry="0" width="200" height="18" />
49+
<rect x="1130" y="595" rx="0" ry="0" width="120" height="20" />
50+
</ContentLoader>
51+
)
52+
53+
Catalog.metadata = {
54+
name: 'Afrizal Fikri',
55+
github: 'koneko096', // Github username
56+
description: 'Catalog',
57+
filename: 'Catalog', // filename of your loader
58+
}
59+
60+
export default Catalog

src/Gallery/insertYourLoaderHere/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
export { default as Catalog } from './Catalog'
12
export { default as LinkedIn } from './LinkedIn'
23
export { default as GoogleMap } from './GoogleMap'
34
export { default as ForumPost } from './ForumPost'
@@ -22,4 +23,3 @@ export { default as Instagram } from './Instagram'
2223
export { default as Code } from './Code'
2324
export { default as BulletList } from './BulletList'
2425
export { default as List } from './NestedList'
25-
export { default as ecommerceProducts } from './ecommerPRoduct'

0 commit comments

Comments
 (0)