@htmlbricks/hb-footer 0.8.39 → 0.8.42
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/extra/docs.ts +81 -6
- package/package.json +4 -4
- package/release/docs.js +79 -4
- package/release/docs.js.map +1 -1
- package/release/docs.mjs +79 -4
- package/release/docs.ts +81 -6
- package/release/manifest.json +76 -4
- package/release/release.js +1 -1
- package/release/release.js.map +1 -1
package/extra/docs.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup, ComponentSetup } from "@htmlbricks/hb-jsutils/main";
|
|
2
|
+
import type { Component } from "../app/types/webcomponent.type";
|
|
2
3
|
|
|
3
4
|
export const storybookArgs = {
|
|
4
5
|
smallrow: { control: { type: "object" } },
|
|
@@ -30,16 +31,90 @@ export const styleSetup: StyleSetup = {
|
|
|
30
31
|
vars: cssVars,
|
|
31
32
|
parts: cssParts,
|
|
32
33
|
};
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
const company: Component["company"] = {
|
|
35
|
+
logoUri: "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
|
|
36
|
+
siteName: "testsite",
|
|
37
|
+
companyName: "testcompany S.R.L.",
|
|
38
|
+
registration: { text: "copyright" },
|
|
39
|
+
description: `testo e descrizione di esempio dell applicazione`,
|
|
40
|
+
vatNumber: "aa - ffffff",
|
|
41
|
+
fiscalCode: "f4f5f6fff",
|
|
42
|
+
};
|
|
43
|
+
const contacts: Component["contacts"] = {
|
|
44
|
+
sites: [
|
|
45
|
+
{
|
|
46
|
+
label: "dariocaruso.info",
|
|
47
|
+
uri: "https://dariocaruso.info",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
phones: [
|
|
51
|
+
{
|
|
52
|
+
number: "6666666666666",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
addresses: [],
|
|
56
|
+
emails: [],
|
|
57
|
+
};
|
|
58
|
+
const socials: Component["socials"] = {
|
|
59
|
+
facebook: "fbbb",
|
|
60
|
+
youtube: "yttttttt",
|
|
61
|
+
};
|
|
62
|
+
const columns: Component["columns"] = [
|
|
63
|
+
{
|
|
64
|
+
cells: [
|
|
65
|
+
{
|
|
66
|
+
label: "test",
|
|
67
|
+
_id: "test",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
label: "test2",
|
|
71
|
+
_id: "test2",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
label: "test3",
|
|
75
|
+
_id: "test3",
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
title: "stringtitle",
|
|
79
|
+
},
|
|
80
|
+
];
|
|
81
|
+
const brandandcontacts: Component["brandandcontacts"] = {
|
|
82
|
+
companyName: "bella",
|
|
83
|
+
companyLogoUri: "",
|
|
84
|
+
};
|
|
85
|
+
const policies: Component["policies"] = [
|
|
86
|
+
{
|
|
87
|
+
label: "Privacy Policy",
|
|
88
|
+
key: "privacypolicy",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
label: "Condizioni Generali",
|
|
92
|
+
key: "generalcondition",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
label: "Cookie Policy",
|
|
96
|
+
key: "cookiepolicy",
|
|
97
|
+
},
|
|
98
|
+
];
|
|
99
|
+
const examples: Component[] = [
|
|
100
|
+
{
|
|
101
|
+
company,
|
|
102
|
+
brandandcontacts,
|
|
103
|
+
columns,
|
|
104
|
+
policies,
|
|
105
|
+
contacts,
|
|
106
|
+
socials,
|
|
107
|
+
},
|
|
108
|
+
];
|
|
109
|
+
export const componentSetup: ComponentSetup & { examples: Component[] } = {
|
|
35
110
|
definitions: null,
|
|
36
111
|
storybookArgs,
|
|
37
112
|
styleSetup,
|
|
38
113
|
htmlSlots,
|
|
39
114
|
i18n: i18nLanguages,
|
|
40
|
-
examples
|
|
41
|
-
name: "",
|
|
42
|
-
category: "",
|
|
43
|
-
tags: [],
|
|
115
|
+
examples,
|
|
116
|
+
name: "hb-footer",
|
|
117
|
+
category: "layout",
|
|
118
|
+
tags: ["layout"],
|
|
44
119
|
size: {},
|
|
45
120
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@htmlbricks/hb-footer",
|
|
3
3
|
"displayName": "Svelte Bootstrap Footer WebComponent",
|
|
4
4
|
"description": "Svelte Bootstrap Footer WebComponent",
|
|
5
|
-
"version": "0.8.
|
|
5
|
+
"version": "0.8.42",
|
|
6
6
|
"main": "release/release.js",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"prepublish": "npm run build:release"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@htmlbricks/hb-jsutils": "^0.8.
|
|
33
|
+
"@htmlbricks/hb-jsutils": "^0.8.42",
|
|
34
34
|
"@htmlbricks/manifester": "^0.0.5",
|
|
35
35
|
"@rollup/plugin-alias": "^3.1.2",
|
|
36
36
|
"@rollup/plugin-commonjs": "^18.0.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"typescript-transform-paths": "^2.2.3"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@htmlbricks/hb-contact-item": "^0.8.
|
|
73
|
+
"@htmlbricks/hb-contact-item": "^0.8.42"
|
|
74
74
|
},
|
|
75
75
|
"keywords": [
|
|
76
76
|
"svelte",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"webcomponents"
|
|
79
79
|
],
|
|
80
80
|
"contributors": [],
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "d6919a86b5627d502a37fe2a28830a32724d0a52"
|
|
82
82
|
}
|
package/release/docs.js
CHANGED
|
@@ -25,16 +25,91 @@ export var styleSetup = {
|
|
|
25
25
|
vars: cssVars,
|
|
26
26
|
parts: cssParts
|
|
27
27
|
};
|
|
28
|
+
var company = {
|
|
29
|
+
logoUri: "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
|
|
30
|
+
siteName: "testsite",
|
|
31
|
+
companyName: "testcompany S.R.L.",
|
|
32
|
+
registration: { text: "copyright" },
|
|
33
|
+
description: "testo e descrizione di esempio dell applicazione",
|
|
34
|
+
vatNumber: "aa - ffffff",
|
|
35
|
+
fiscalCode: "f4f5f6fff"
|
|
36
|
+
};
|
|
37
|
+
var contacts = {
|
|
38
|
+
sites: [
|
|
39
|
+
{
|
|
40
|
+
label: "dariocaruso.info",
|
|
41
|
+
uri: "https://dariocaruso.info"
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
phones: [
|
|
45
|
+
{
|
|
46
|
+
number: "6666666666666"
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
addresses: [],
|
|
50
|
+
emails: []
|
|
51
|
+
};
|
|
52
|
+
var socials = {
|
|
53
|
+
facebook: "fbbb",
|
|
54
|
+
youtube: "yttttttt"
|
|
55
|
+
};
|
|
56
|
+
var columns = [
|
|
57
|
+
{
|
|
58
|
+
cells: [
|
|
59
|
+
{
|
|
60
|
+
label: "test",
|
|
61
|
+
_id: "test"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
label: "test2",
|
|
65
|
+
_id: "test2"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
label: "test3",
|
|
69
|
+
_id: "test3"
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
title: "stringtitle"
|
|
73
|
+
},
|
|
74
|
+
];
|
|
75
|
+
var brandandcontacts = {
|
|
76
|
+
companyName: "bella",
|
|
77
|
+
companyLogoUri: ""
|
|
78
|
+
};
|
|
79
|
+
var policies = [
|
|
80
|
+
{
|
|
81
|
+
label: "Privacy Policy",
|
|
82
|
+
key: "privacypolicy"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
label: "Condizioni Generali",
|
|
86
|
+
key: "generalcondition"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
label: "Cookie Policy",
|
|
90
|
+
key: "cookiepolicy"
|
|
91
|
+
},
|
|
92
|
+
];
|
|
93
|
+
var examples = [
|
|
94
|
+
{
|
|
95
|
+
company: company,
|
|
96
|
+
brandandcontacts: brandandcontacts,
|
|
97
|
+
columns: columns,
|
|
98
|
+
policies: policies,
|
|
99
|
+
contacts: contacts,
|
|
100
|
+
socials: socials
|
|
101
|
+
},
|
|
102
|
+
];
|
|
28
103
|
export var componentSetup = {
|
|
29
104
|
definitions: null,
|
|
30
105
|
storybookArgs: storybookArgs,
|
|
31
106
|
styleSetup: styleSetup,
|
|
32
107
|
htmlSlots: htmlSlots,
|
|
33
108
|
i18n: i18nLanguages,
|
|
34
|
-
examples:
|
|
35
|
-
name: "",
|
|
36
|
-
category: "",
|
|
37
|
-
tags: [],
|
|
109
|
+
examples: examples,
|
|
110
|
+
name: "hb-footer",
|
|
111
|
+
category: "layout",
|
|
112
|
+
tags: ["layout"],
|
|
38
113
|
size: {}
|
|
39
114
|
};
|
|
40
115
|
//# sourceMappingURL=docs.js.map
|
package/release/docs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../extra/docs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../extra/docs.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,IAAM,aAAa,GAAG;IAC5B,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACzC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IACvC,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IACxC,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC1C,cAAc,EA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C;IACzE,WAAW,EAAE,IAAI;IACjB,aAAa,eAAA;IACb,UAAU,YAAA;IACV,SAAS,WAAA;IACT,IAAI,EAAE,aAAa;IACnB,QAAQ,UAAA;IACR,IAAI,EAAE,WAAW;IACjB,QAAQ,EAAE,QAAQ;IAClB,IAAI,EAAE,CAAC,QAAQ,CAAC;IAChB,IAAI,EAAE,EAAE;CACR,CAAC"}
|
package/release/docs.mjs
CHANGED
|
@@ -25,16 +25,91 @@ export var styleSetup = {
|
|
|
25
25
|
vars: cssVars,
|
|
26
26
|
parts: cssParts
|
|
27
27
|
};
|
|
28
|
+
var company = {
|
|
29
|
+
logoUri: "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
|
|
30
|
+
siteName: "testsite",
|
|
31
|
+
companyName: "testcompany S.R.L.",
|
|
32
|
+
registration: { text: "copyright" },
|
|
33
|
+
description: "testo e descrizione di esempio dell applicazione",
|
|
34
|
+
vatNumber: "aa - ffffff",
|
|
35
|
+
fiscalCode: "f4f5f6fff"
|
|
36
|
+
};
|
|
37
|
+
var contacts = {
|
|
38
|
+
sites: [
|
|
39
|
+
{
|
|
40
|
+
label: "dariocaruso.info",
|
|
41
|
+
uri: "https://dariocaruso.info"
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
phones: [
|
|
45
|
+
{
|
|
46
|
+
number: "6666666666666"
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
addresses: [],
|
|
50
|
+
emails: []
|
|
51
|
+
};
|
|
52
|
+
var socials = {
|
|
53
|
+
facebook: "fbbb",
|
|
54
|
+
youtube: "yttttttt"
|
|
55
|
+
};
|
|
56
|
+
var columns = [
|
|
57
|
+
{
|
|
58
|
+
cells: [
|
|
59
|
+
{
|
|
60
|
+
label: "test",
|
|
61
|
+
_id: "test"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
label: "test2",
|
|
65
|
+
_id: "test2"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
label: "test3",
|
|
69
|
+
_id: "test3"
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
title: "stringtitle"
|
|
73
|
+
},
|
|
74
|
+
];
|
|
75
|
+
var brandandcontacts = {
|
|
76
|
+
companyName: "bella",
|
|
77
|
+
companyLogoUri: ""
|
|
78
|
+
};
|
|
79
|
+
var policies = [
|
|
80
|
+
{
|
|
81
|
+
label: "Privacy Policy",
|
|
82
|
+
key: "privacypolicy"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
label: "Condizioni Generali",
|
|
86
|
+
key: "generalcondition"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
label: "Cookie Policy",
|
|
90
|
+
key: "cookiepolicy"
|
|
91
|
+
},
|
|
92
|
+
];
|
|
93
|
+
var examples = [
|
|
94
|
+
{
|
|
95
|
+
company: company,
|
|
96
|
+
brandandcontacts: brandandcontacts,
|
|
97
|
+
columns: columns,
|
|
98
|
+
policies: policies,
|
|
99
|
+
contacts: contacts,
|
|
100
|
+
socials: socials
|
|
101
|
+
},
|
|
102
|
+
];
|
|
28
103
|
export var componentSetup = {
|
|
29
104
|
definitions: null,
|
|
30
105
|
storybookArgs: storybookArgs,
|
|
31
106
|
styleSetup: styleSetup,
|
|
32
107
|
htmlSlots: htmlSlots,
|
|
33
108
|
i18n: i18nLanguages,
|
|
34
|
-
examples:
|
|
35
|
-
name: "",
|
|
36
|
-
category: "",
|
|
37
|
-
tags: [],
|
|
109
|
+
examples: examples,
|
|
110
|
+
name: "hb-footer",
|
|
111
|
+
category: "layout",
|
|
112
|
+
tags: ["layout"],
|
|
38
113
|
size: {}
|
|
39
114
|
};
|
|
40
115
|
//# sourceMappingURL=docs.js.map
|
package/release/docs.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup, ComponentSetup } from "@htmlbricks/hb-jsutils/main";
|
|
2
|
+
import type { Component } from "../app/types/webcomponent.type";
|
|
2
3
|
|
|
3
4
|
export const storybookArgs = {
|
|
4
5
|
smallrow: { control: { type: "object" } },
|
|
@@ -30,16 +31,90 @@ export const styleSetup: StyleSetup = {
|
|
|
30
31
|
vars: cssVars,
|
|
31
32
|
parts: cssParts,
|
|
32
33
|
};
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
const company: Component["company"] = {
|
|
35
|
+
logoUri: "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
|
|
36
|
+
siteName: "testsite",
|
|
37
|
+
companyName: "testcompany S.R.L.",
|
|
38
|
+
registration: { text: "copyright" },
|
|
39
|
+
description: `testo e descrizione di esempio dell applicazione`,
|
|
40
|
+
vatNumber: "aa - ffffff",
|
|
41
|
+
fiscalCode: "f4f5f6fff",
|
|
42
|
+
};
|
|
43
|
+
const contacts: Component["contacts"] = {
|
|
44
|
+
sites: [
|
|
45
|
+
{
|
|
46
|
+
label: "dariocaruso.info",
|
|
47
|
+
uri: "https://dariocaruso.info",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
phones: [
|
|
51
|
+
{
|
|
52
|
+
number: "6666666666666",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
addresses: [],
|
|
56
|
+
emails: [],
|
|
57
|
+
};
|
|
58
|
+
const socials: Component["socials"] = {
|
|
59
|
+
facebook: "fbbb",
|
|
60
|
+
youtube: "yttttttt",
|
|
61
|
+
};
|
|
62
|
+
const columns: Component["columns"] = [
|
|
63
|
+
{
|
|
64
|
+
cells: [
|
|
65
|
+
{
|
|
66
|
+
label: "test",
|
|
67
|
+
_id: "test",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
label: "test2",
|
|
71
|
+
_id: "test2",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
label: "test3",
|
|
75
|
+
_id: "test3",
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
title: "stringtitle",
|
|
79
|
+
},
|
|
80
|
+
];
|
|
81
|
+
const brandandcontacts: Component["brandandcontacts"] = {
|
|
82
|
+
companyName: "bella",
|
|
83
|
+
companyLogoUri: "",
|
|
84
|
+
};
|
|
85
|
+
const policies: Component["policies"] = [
|
|
86
|
+
{
|
|
87
|
+
label: "Privacy Policy",
|
|
88
|
+
key: "privacypolicy",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
label: "Condizioni Generali",
|
|
92
|
+
key: "generalcondition",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
label: "Cookie Policy",
|
|
96
|
+
key: "cookiepolicy",
|
|
97
|
+
},
|
|
98
|
+
];
|
|
99
|
+
const examples: Component[] = [
|
|
100
|
+
{
|
|
101
|
+
company,
|
|
102
|
+
brandandcontacts,
|
|
103
|
+
columns,
|
|
104
|
+
policies,
|
|
105
|
+
contacts,
|
|
106
|
+
socials,
|
|
107
|
+
},
|
|
108
|
+
];
|
|
109
|
+
export const componentSetup: ComponentSetup & { examples: Component[] } = {
|
|
35
110
|
definitions: null,
|
|
36
111
|
storybookArgs,
|
|
37
112
|
styleSetup,
|
|
38
113
|
htmlSlots,
|
|
39
114
|
i18n: i18nLanguages,
|
|
40
|
-
examples
|
|
41
|
-
name: "",
|
|
42
|
-
category: "",
|
|
43
|
-
tags: [],
|
|
115
|
+
examples,
|
|
116
|
+
name: "hb-footer",
|
|
117
|
+
category: "layout",
|
|
118
|
+
tags: ["layout"],
|
|
44
119
|
size: {},
|
|
45
120
|
};
|
package/release/manifest.json
CHANGED
|
@@ -423,9 +423,81 @@
|
|
|
423
423
|
}
|
|
424
424
|
],
|
|
425
425
|
"i18n": [],
|
|
426
|
-
"examples": [
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
426
|
+
"examples": [
|
|
427
|
+
{
|
|
428
|
+
"company": {
|
|
429
|
+
"logoUri": "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
|
|
430
|
+
"siteName": "testsite",
|
|
431
|
+
"companyName": "testcompany S.R.L.",
|
|
432
|
+
"registration": {
|
|
433
|
+
"text": "copyright"
|
|
434
|
+
},
|
|
435
|
+
"description": "testo e descrizione di esempio dell applicazione",
|
|
436
|
+
"vatNumber": "aa - ffffff",
|
|
437
|
+
"fiscalCode": "f4f5f6fff"
|
|
438
|
+
},
|
|
439
|
+
"brandandcontacts": {
|
|
440
|
+
"companyName": "bella",
|
|
441
|
+
"companyLogoUri": ""
|
|
442
|
+
},
|
|
443
|
+
"columns": [
|
|
444
|
+
{
|
|
445
|
+
"cells": [
|
|
446
|
+
{
|
|
447
|
+
"label": "test",
|
|
448
|
+
"_id": "test"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"label": "test2",
|
|
452
|
+
"_id": "test2"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"label": "test3",
|
|
456
|
+
"_id": "test3"
|
|
457
|
+
}
|
|
458
|
+
],
|
|
459
|
+
"title": "stringtitle"
|
|
460
|
+
}
|
|
461
|
+
],
|
|
462
|
+
"policies": [
|
|
463
|
+
{
|
|
464
|
+
"label": "Privacy Policy",
|
|
465
|
+
"key": "privacypolicy"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"label": "Condizioni Generali",
|
|
469
|
+
"key": "generalcondition"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"label": "Cookie Policy",
|
|
473
|
+
"key": "cookiepolicy"
|
|
474
|
+
}
|
|
475
|
+
],
|
|
476
|
+
"contacts": {
|
|
477
|
+
"sites": [
|
|
478
|
+
{
|
|
479
|
+
"label": "dariocaruso.info",
|
|
480
|
+
"uri": "https://dariocaruso.info"
|
|
481
|
+
}
|
|
482
|
+
],
|
|
483
|
+
"phones": [
|
|
484
|
+
{
|
|
485
|
+
"number": "6666666666666"
|
|
486
|
+
}
|
|
487
|
+
],
|
|
488
|
+
"addresses": [],
|
|
489
|
+
"emails": []
|
|
490
|
+
},
|
|
491
|
+
"socials": {
|
|
492
|
+
"facebook": "fbbb",
|
|
493
|
+
"youtube": "yttttttt"
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
],
|
|
497
|
+
"name": "hb-footer",
|
|
498
|
+
"category": "layout",
|
|
499
|
+
"tags": [
|
|
500
|
+
"layout"
|
|
501
|
+
],
|
|
430
502
|
"size": {}
|
|
431
503
|
}
|