create-geekron-website 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +8 -2
- package/dist/templates/strapi/src/components/site/banner.json +24 -0
- package/dist/templates/strapi/src/components/site/social.json +55 -0
- package/package.json +1 -1
- package/templates/strapi/src/components/site/banner.json +24 -0
- package/templates/strapi/src/components/site/social.json +55 -0
package/dist/index.js
CHANGED
|
@@ -11126,8 +11126,14 @@ var CMS_CONFIGS = {
|
|
|
11126
11126
|
},
|
|
11127
11127
|
filesToCopy: [
|
|
11128
11128
|
{
|
|
11129
|
-
source: "strapi/
|
|
11130
|
-
destination: "
|
|
11129
|
+
source: "strapi/config",
|
|
11130
|
+
destination: "config",
|
|
11131
|
+
isDirectory: true,
|
|
11132
|
+
overwrite: true
|
|
11133
|
+
},
|
|
11134
|
+
{
|
|
11135
|
+
source: "strapi/src",
|
|
11136
|
+
destination: "src",
|
|
11131
11137
|
isDirectory: true,
|
|
11132
11138
|
overwrite: true
|
|
11133
11139
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"collectionName": "components_site_banners",
|
|
3
|
+
"info": {
|
|
4
|
+
"displayName": "Banner",
|
|
5
|
+
"icon": "landscape"
|
|
6
|
+
},
|
|
7
|
+
"options": {},
|
|
8
|
+
"attributes": {
|
|
9
|
+
"title": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"subtitle": {
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"description": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"image": {
|
|
19
|
+
"type": "component",
|
|
20
|
+
"component": "base.image",
|
|
21
|
+
"repeatable": false
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"collectionName": "components_site_socials",
|
|
3
|
+
"info": {
|
|
4
|
+
"displayName": "Social",
|
|
5
|
+
"icon": "paperPlane"
|
|
6
|
+
},
|
|
7
|
+
"options": {},
|
|
8
|
+
"attributes": {
|
|
9
|
+
"type": {
|
|
10
|
+
"type": "enumeration",
|
|
11
|
+
"enum": [
|
|
12
|
+
"url",
|
|
13
|
+
"qrcode"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"url": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"conditions": {
|
|
19
|
+
"visible": {
|
|
20
|
+
"==": [
|
|
21
|
+
{
|
|
22
|
+
"var": "type"
|
|
23
|
+
},
|
|
24
|
+
"url"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"icon": {
|
|
30
|
+
"type": "customField",
|
|
31
|
+
"customField": "plugin::website.iconPicker"
|
|
32
|
+
},
|
|
33
|
+
"color": {
|
|
34
|
+
"type": "customField",
|
|
35
|
+
"customField": "plugin::website.colorPicker"
|
|
36
|
+
},
|
|
37
|
+
"qrcode": {
|
|
38
|
+
"type": "media",
|
|
39
|
+
"conditions": {
|
|
40
|
+
"visible": {
|
|
41
|
+
"==": [
|
|
42
|
+
{
|
|
43
|
+
"var": "type"
|
|
44
|
+
},
|
|
45
|
+
"qrcode"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"multiple": false,
|
|
50
|
+
"allowedTypes": [
|
|
51
|
+
"images"
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"collectionName": "components_site_banners",
|
|
3
|
+
"info": {
|
|
4
|
+
"displayName": "Banner",
|
|
5
|
+
"icon": "landscape"
|
|
6
|
+
},
|
|
7
|
+
"options": {},
|
|
8
|
+
"attributes": {
|
|
9
|
+
"title": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"subtitle": {
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"description": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"image": {
|
|
19
|
+
"type": "component",
|
|
20
|
+
"component": "base.image",
|
|
21
|
+
"repeatable": false
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"collectionName": "components_site_socials",
|
|
3
|
+
"info": {
|
|
4
|
+
"displayName": "Social",
|
|
5
|
+
"icon": "paperPlane"
|
|
6
|
+
},
|
|
7
|
+
"options": {},
|
|
8
|
+
"attributes": {
|
|
9
|
+
"type": {
|
|
10
|
+
"type": "enumeration",
|
|
11
|
+
"enum": [
|
|
12
|
+
"url",
|
|
13
|
+
"qrcode"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"url": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"conditions": {
|
|
19
|
+
"visible": {
|
|
20
|
+
"==": [
|
|
21
|
+
{
|
|
22
|
+
"var": "type"
|
|
23
|
+
},
|
|
24
|
+
"url"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"icon": {
|
|
30
|
+
"type": "customField",
|
|
31
|
+
"customField": "plugin::website.iconPicker"
|
|
32
|
+
},
|
|
33
|
+
"color": {
|
|
34
|
+
"type": "customField",
|
|
35
|
+
"customField": "plugin::website.colorPicker"
|
|
36
|
+
},
|
|
37
|
+
"qrcode": {
|
|
38
|
+
"type": "media",
|
|
39
|
+
"conditions": {
|
|
40
|
+
"visible": {
|
|
41
|
+
"==": [
|
|
42
|
+
{
|
|
43
|
+
"var": "type"
|
|
44
|
+
},
|
|
45
|
+
"qrcode"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"multiple": false,
|
|
50
|
+
"allowedTypes": [
|
|
51
|
+
"images"
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|