infinity-forge 3.1.1 → 3.1.6
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/README.md +26 -25
- package/dist/sites/components/default-pages/blog/interfaces.d.ts +2 -2
- package/dist/sites/components/default-pages/blog/styles.js +1 -1
- package/dist/sites/components/default-pages/blog/styles.js.map +1 -1
- package/dist/sites/components/default-pages/post/box-tags/index.js +1 -1
- package/dist/sites/components/default-pages/post/box-tags/index.js.map +1 -1
- package/dist/sites/components/default-pages/post/box-tags/share/index.js.map +1 -1
- package/dist/sites/components/default-pages/post/component.js +3 -2
- package/dist/sites/components/default-pages/post/component.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
{
|
|
2
|
-
"include": ["src/**/*"],
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"lib": ["es2021", "dom"],
|
|
5
|
-
"types": ["reflect-metadata", "node"],
|
|
6
|
-
"experimentalDecorators": true,
|
|
7
|
-
"emitDecoratorMetadata": true,
|
|
8
|
-
"jsx": "react-jsx",
|
|
9
|
-
"baseUrl": "./src",
|
|
10
|
-
"outDir": "./dist",
|
|
11
|
-
"declaration": true,
|
|
12
|
-
"sourceMap": true,
|
|
13
|
-
"paths": {
|
|
14
|
-
"@/*": ["./*"]
|
|
15
|
-
},
|
|
16
|
-
"esModuleInterop": true,
|
|
17
|
-
"moduleResolution": "node",
|
|
18
|
-
"skipLibCheck": true
|
|
19
|
-
},
|
|
20
|
-
"afterDeclarations": true
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
api=https://bw8-backend.vercel.app/
|
|
25
|
-
i18n=true
|
|
1
|
+
{
|
|
2
|
+
"include": ["src/**/*"],
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"lib": ["es2021", "dom"],
|
|
5
|
+
"types": ["reflect-metadata", "node"],
|
|
6
|
+
"experimentalDecorators": true,
|
|
7
|
+
"emitDecoratorMetadata": true,
|
|
8
|
+
"jsx": "react-jsx",
|
|
9
|
+
"baseUrl": "./src",
|
|
10
|
+
"outDir": "./dist",
|
|
11
|
+
"declaration": true,
|
|
12
|
+
"sourceMap": true,
|
|
13
|
+
"paths": {
|
|
14
|
+
"@/*": ["./*"]
|
|
15
|
+
},
|
|
16
|
+
"esModuleInterop": true,
|
|
17
|
+
"moduleResolution": "node",
|
|
18
|
+
"skipLibCheck": true
|
|
19
|
+
},
|
|
20
|
+
"afterDeclarations": true
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
api=https://bw8-backend.vercel.app/
|
|
25
|
+
i18n=true
|
|
26
|
+
test
|
|
@@ -3,7 +3,7 @@ export interface Post {
|
|
|
3
3
|
titulo: string;
|
|
4
4
|
imagem: string;
|
|
5
5
|
url: string;
|
|
6
|
-
destaque:
|
|
6
|
+
destaque: boolean;
|
|
7
7
|
dataCriacao: string;
|
|
8
8
|
descricao: string;
|
|
9
9
|
fields: {
|
|
@@ -11,7 +11,7 @@ export interface Post {
|
|
|
11
11
|
PageTitle: string;
|
|
12
12
|
MetaDescription: string;
|
|
13
13
|
};
|
|
14
|
-
imagens: [];
|
|
14
|
+
imagens: any[];
|
|
15
15
|
}
|
|
16
16
|
export type BlogResponseApi = {
|
|
17
17
|
pageTotal: number;
|
|
@@ -9,6 +9,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.BlogContent = void 0;
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
-
exports.BlogContent = styled_components_1.default.section(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n padding: 80px 0;\n\n .main-content {\n width: 100%;\n flex: 1 1 auto;\n }\n\n .banner-blog + * {\n margin-top: 30px;\n }\n\n .container {\n display: grid;\n grid-template-columns: 2fr 1fr;\n justify-content: center;\n gap: 30px;\n }\n\n .posts,\n .box-actions {\n display: flex;\n flex-direction: column;\n gap: 30px;\n }\n\n @media only screen and (max-width: 1400px) {\n padding: 70px 0;\n }\n\n @media only screen and (max-width: 1024px) {\n padding: 60px 0;\n\n .container {\n gap: 20px;\n grid-template-columns: 1fr;\n }\n\n .posts,\n .box-actions {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n gap: 20px;\n }\n\n .posts + * {\n margin: 0 !important;\n }\n\n .bar {\n height: 1px;\n width: 100vw;\n background-color: rgba(0, 0, 0, 0.1);\n }\n }\n\n @media only screen and (max-width:768px) {\n padding: 40px 0;\n }\n\n @media only screen and (max-width: 560px) {\n .posts,\n .box-actions {\n grid-template-columns: 1fr;\n }\n }\n"], ["\n width: 100%;\n padding: 80px 0;\n\n .main-content {\n width: 100%;\n flex: 1 1 auto;\n }\n\n .banner-blog + * {\n margin-top: 30px;\n }\n\n .container {\n display: grid;\n grid-template-columns: 2fr 1fr;\n justify-content: center;\n gap: 30px;\n }\n\n .posts,\n .box-actions {\n display: flex;\n flex-direction: column;\n gap: 30px;\n }\n\n @media only screen and (max-width: 1400px) {\n padding: 70px 0;\n }\n\n @media only screen and (max-width: 1024px) {\n padding: 60px 0;\n\n .container {\n gap: 20px;\n grid-template-columns: 1fr;\n }\n\n .posts,\n .box-actions {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n gap: 20px;\n }\n\n .posts + * {\n margin: 0 !important;\n }\n\n .bar {\n height: 1px;\n width: 100vw;\n background-color: rgba(0, 0, 0, 0.1);\n }\n }\n\n @media only screen and (max-width:768px) {\n padding: 40px 0;\n }\n\n @media only screen and (max-width: 560px) {\n .posts,\n .box-actions {\n grid-template-columns: 1fr;\n }\n }\n"])));
|
|
12
|
+
exports.BlogContent = styled_components_1.default.section(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n padding: 80px 0;\n\n .main-content {\n width: 100%;\n flex: 1 1 auto;\n }\n\n .banner-blog + * {\n margin-top: 30px;\n }\n\n .container {\n display: grid;\n grid-template-columns: 2fr 1fr;\n justify-content: center;\n gap: 30px;\n }\n\n .posts,\n .box-actions {\n display: flex;\n flex-direction: column;\n gap: 30px;\n }\n\n @media only screen and (max-width: 1400px) {\n padding: 70px 0;\n }\n\n @media only screen and (max-width: 1024px) {\n padding: 60px 0;\n\n .container {\n gap: 20px;\n grid-template-columns: 1fr;\n }\n\n .posts,\n .box-actions {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n gap: 20px;\n }\n\n .posts + * {\n margin: 0 !important;\n }\n\n .bar {\n height: 1px;\n width: 100vw;\n background-color: rgba(0, 0, 0, 0.1);\n }\n }\n\n @media only screen and (max-width: 768px) {\n padding: 40px 0;\n }\n\n @media only screen and (max-width: 560px) {\n .posts,\n .box-actions {\n grid-template-columns: 1fr;\n }\n }\n"], ["\n width: 100%;\n padding: 80px 0;\n\n .main-content {\n width: 100%;\n flex: 1 1 auto;\n }\n\n .banner-blog + * {\n margin-top: 30px;\n }\n\n .container {\n display: grid;\n grid-template-columns: 2fr 1fr;\n justify-content: center;\n gap: 30px;\n }\n\n .posts,\n .box-actions {\n display: flex;\n flex-direction: column;\n gap: 30px;\n }\n\n @media only screen and (max-width: 1400px) {\n padding: 70px 0;\n }\n\n @media only screen and (max-width: 1024px) {\n padding: 60px 0;\n\n .container {\n gap: 20px;\n grid-template-columns: 1fr;\n }\n\n .posts,\n .box-actions {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n gap: 20px;\n }\n\n .posts + * {\n margin: 0 !important;\n }\n\n .bar {\n height: 1px;\n width: 100vw;\n background-color: rgba(0, 0, 0, 0.1);\n }\n }\n\n @media only screen and (max-width: 768px) {\n padding: 40px 0;\n }\n\n @media only screen and (max-width: 560px) {\n .posts,\n .box-actions {\n grid-template-columns: 1fr;\n }\n }\n"])));
|
|
13
13
|
var templateObject_1;
|
|
14
14
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/sites/components/default-pages/blog/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,WAAW,GAAG,2BAAM,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/sites/components/default-pages/blog/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,WAAW,GAAG,2BAAM,CAAC,OAAO,6pCAAA,0lCAmExC,KAAA"}
|
|
@@ -35,7 +35,7 @@ function BoxTags() {
|
|
|
35
35
|
function handleClickTag(tag) {
|
|
36
36
|
(0, ui_1.updateRoute)({ router: router, params: { tag: tag } });
|
|
37
37
|
}
|
|
38
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'BoxTags', children: (0, jsx_runtime_1.jsxs)(S.BoxTags, { className: 'post-tags', children: [(0, jsx_runtime_1.
|
|
38
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'BoxTags', children: (0, jsx_runtime_1.jsxs)(S.BoxTags, { className: 'post-tags', children: [(0, jsx_runtime_1.jsx)("div", { className: 'tags', children: (0, jsx_runtime_1.jsx)("p", { className: 'font-16-bold', children: "Tags" }) }), (0, jsx_runtime_1.jsxs)("div", { className: 'share', children: [(0, jsx_runtime_1.jsx)("p", { className: 'font-16-bold', children: "Compartilhe" }), (0, jsx_runtime_1.jsx)(share_1.Share, { url: router.query.url })] })] }) }));
|
|
39
39
|
}
|
|
40
40
|
exports.BoxTags = BoxTags;
|
|
41
41
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/sites/components/default-pages/post/box-tags/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sCAAuC;AAEvC,iCAA+B;AAC/B,2BAAyC;AAEzC,0CAA6B;AAE7B,SAAgB,OAAO;IACrB,IAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAA;IAE1B,IAAM,IAAI,GAAG,CAAC,eAAe,EAAE,UAAU,EAAE,UAAU,CAAC,CAAA;IAEtD,SAAS,cAAc,CAAC,GAAW;QACjC,IAAA,gBAAW,EAAC,EAAE,MAAM,QAAA,EAAE,MAAM,EAAE,EAAE,GAAG,KAAA,EAAE,EAAE,CAAC,CAAA;IAC1C,CAAC;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,SAAS,YACnB,wBAAC,CAAC,CAAC,OAAO,IAAC,SAAS,EAAC,WAAW,aAC9B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/sites/components/default-pages/post/box-tags/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sCAAuC;AAEvC,iCAA+B;AAC/B,2BAAyC;AAEzC,0CAA6B;AAE7B,SAAgB,OAAO;IACrB,IAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAA;IAE1B,IAAM,IAAI,GAAG,CAAC,eAAe,EAAE,UAAU,EAAE,UAAU,CAAC,CAAA;IAEtD,SAAS,cAAc,CAAC,GAAW;QACjC,IAAA,gBAAW,EAAC,EAAE,MAAM,QAAA,EAAE,MAAM,EAAE,EAAE,GAAG,KAAA,EAAE,EAAE,CAAC,CAAA;IAC1C,CAAC;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,SAAS,YACnB,wBAAC,CAAC,CAAC,OAAO,IAAC,SAAS,EAAC,WAAW,aAC9B,gCAAK,SAAS,EAAC,MAAM,YACnB,8BAAG,SAAS,EAAC,cAAc,qBAAS,GAShC,EAEN,iCAAK,SAAS,EAAC,OAAO,aACpB,8BAAG,SAAS,EAAC,cAAc,4BAAgB,EAE3C,uBAAC,aAAK,IAAC,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,GAAa,GAAI,IACtC,IACI,GACN,CACT,CAAA;AACH,CAAC;AAhCD,0BAgCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/sites/components/default-pages/post/box-tags/share/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/sites/components/default-pages/post/box-tags/share/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,iCAAkE;AAClE,2CAA2F;AAE3F,0CAA6B;AAE7B,SAAgB,KAAK,CAAC,EAAwB;QAAtB,GAAG,SAAA;IACzB,IAAM,QAAQ,GAAI,OAAe,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAA;IAEvE,OAAO,CACL,wBAAC,CAAC,CAAC,KAAK,eACN,uBAAC,iCAAmB,IAAC,SAAS,EAAC,MAAM,EAAC,GAAG,EAAE,UAAG,QAAQ,mBAAS,GAAG,CAAE,YAClE,uBAAC,oBAAY,KAAG,GACI,EAEtB,uBAAC,iCAAmB,IAAC,SAAS,EAAC,MAAM,EAAC,GAAG,EAAE,UAAG,QAAQ,mBAAS,GAAG,CAAE,YAClE,uBAAC,oBAAY,KAAG,GACI,EAEtB,uBAAC,iCAAmB,IAAC,SAAS,EAAC,MAAM,EAAC,GAAG,EAAE,UAAG,QAAQ,mBAAS,GAAG,CAAE,YAClE,uBAAC,oBAAY,KAAG,GACI,IACd,CACX,CAAA;AACH,CAAC;AAlBD,sBAkBC"}
|
|
@@ -38,13 +38,14 @@ exports.PostContent = void 0;
|
|
|
38
38
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
39
39
|
var ui_1 = require("../../../../ui/index.js");
|
|
40
40
|
var box_post_1 = require("./box-post/index.js");
|
|
41
|
+
var box_tags_1 = require("./box-tags/index.js");
|
|
41
42
|
var components_1 = require("../blog/components/index.js");
|
|
42
43
|
var S = __importStar(require("./styles.js"));
|
|
43
|
-
var box_tags_1 = require("./box-tags/index.js");
|
|
44
44
|
function PostContent(_a) {
|
|
45
45
|
var _b, _c, _d;
|
|
46
46
|
var hasSearch = _a.hasSearch, categories = _a.categories, postDetail = _a.postDetail, newsLetter = _a.newsLetter, featuredBlogs = _a.featuredBlogs, newsLetterHasPhone = _a.newsLetterHasPhone;
|
|
47
|
-
|
|
47
|
+
var header = (0, ui_1.useElementId)({ id: 'header' });
|
|
48
|
+
return ((0, jsx_runtime_1.jsx)(S.Post, { className: 'post', style: { marginTop: "".concat(header === null || header === void 0 ? void 0 : header.offsetHeight, "px") }, children: (0, jsx_runtime_1.jsxs)(ui_1.Container, { children: [postDetail.detail.titulo && ((0, jsx_runtime_1.jsxs)("div", { className: 'titles', children: [(0, jsx_runtime_1.jsx)(ui_1.Breadcrumb, { links: [
|
|
48
49
|
{
|
|
49
50
|
text: 'Início',
|
|
50
51
|
href: '/',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../src/sites/components/default-pages/post/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../src/sites/components/default-pages/post/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA0D;AAE1D,uCAAoC;AACpC,uCAAoC;AACpC,iDAAoG;AAIpG,0CAA6B;AAE7B,SAAgB,WAAW,CAAC,EAOX;;QANf,SAAS,eAAA,EACT,UAAU,gBAAA,EACV,UAAU,gBAAA,EACV,UAAU,gBAAA,EACV,aAAa,mBAAA,EACb,kBAAkB,wBAAA;IAElB,IAAM,MAAM,GAAG,IAAA,iBAAY,EAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAA;IAE7C,OAAO,CACL,uBAAC,CAAC,CAAC,IAAI,IAA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