namirasoft-site-react 1.3.46 → 1.3.47

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/App.js CHANGED
@@ -1,7 +1,7 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import './App.css';
3
3
  import 'bootstrap/dist/css/bootstrap.min.css';
4
- import { NSLayoutTitle, NSTable } from './main';
4
+ import { NSFooter, NSHeader, NSTable } from './main';
5
5
  export function App() {
6
6
  let columns = {
7
7
  "id": "ID",
@@ -28,6 +28,6 @@ export function App() {
28
28
  status: "Done"
29
29
  }
30
30
  ];
31
- return (_jsx(NSLayoutTitle, { scope: 'Namirasoft Account Console', logo: '', title: "Namirasoft", children: _jsx("div", { className: "container", children: _jsx(NSTable, { columns: columns, rows: rows, getRowKey: row => row.id.toString() }) }) }));
31
+ return (_jsxs(_Fragment, { children: [_jsx(NSHeader, { name: 'Header', scope: 'Namira Software Corporation', logo: 'https://static.namirasoft.com/logo/namirasoft/base.png', account: false, background: { color: "transparent !important" } }), _jsx("div", { className: "container", children: _jsx(NSTable, { columns: columns, rows: rows, getRowKey: row => row.id.toString() }) }), _jsx(NSFooter, { name: 'Footer', scope: 'Namira Software Corporation', logo: 'https://static.namirasoft.com/logo/namirasoft/base.png' })] }));
32
32
  }
33
33
  //# sourceMappingURL=App.js.map
package/dist/App.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"App.js","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":";AAAA,OAAO,WAAW,CAAC;AACnB,OAAO,sCAAsC,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEhD,MAAM,UAAU,GAAG;IAEf,IAAI,OAAO,GAAG;QACV,IAAI,EAAE,IAAI;QACV,SAAS,EAAE,SAAS;QACpB,OAAO,EAAE,OAA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B,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,yCAAyC;YAClD,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,MAAM;SACd;QACD;YACC,EAAE,EAAE,CAAC;YACL,OAAO,EAAE,oBAAoB;YAC7B,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,yCAAyC;YAClD,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,MAAM;SACd;KACA,CAAA;IAUD,OAAO,CACN,8BACC,KAAC,QAAQ,IACR,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,6BAA6B,EACnC,IAAI,EAAC,wDAAwD,EAC7D,OAAO,EAAE,KAAK,EACd,UAAU,EAAE,EAAE,KAAK,EAAE,wBAAwB,EAAE,GAC9C,EAEF,cAAK,SAAS,EAAC,WAAW,YACzB,KAAC,OAAO,IAAM,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAI,GAC9E,EACN,KAAC,QAAQ,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,6BAA6B,EAAC,IAAI,EAAC,wDAAwD,GAAG,IAC1H,CACH,CAAC;AACH,CAAC"}
@@ -1,13 +1,14 @@
1
1
  "use client";
2
- import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
3
  import { Component } from 'react';
4
4
  import Styles from './NSSectionBars.module.css';
5
5
  import { NSEntityBar } from './NSEntityBar';
6
6
  import { NSSection } from './NSSection';
7
+ import { NSSpace, NSSpaceSizeType } from './NSSpace';
7
8
  export class NSSectionBars extends Component {
8
9
  render() {
9
10
  var _a;
10
- return (_jsx(_Fragment, { children: _jsx(NSSection, { background: this.props.background, children: _jsx("div", { className: `container mx-auto px-4 lg:px-12 ${Styles.ns_entity_bar_container}`, children: (_a = this.props.bars) === null || _a === void 0 ? void 0 : _a.map((bar) => _jsx(NSEntityBar, Object.assign({}, bar), bar.id)) }) }) }));
11
+ return (_jsx(_Fragment, { children: _jsxs(NSSection, { background: this.props.background, children: [_jsx(NSSpace, { size: NSSpaceSizeType.NORMAL }), _jsx("div", { className: `container mx-auto px-4 lg:px-12 ${Styles.ns_entity_bar_container}`, children: (_a = this.props.bars) === null || _a === void 0 ? void 0 : _a.map((bar) => _jsx(NSEntityBar, Object.assign({}, bar), bar.id)) }), _jsx(NSSpace, { size: NSSpaceSizeType.NORMAL })] }) }));
11
12
  }
12
13
  }
13
14
  //# sourceMappingURL=NSSectionBars.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSSectionBars.js","sourceRoot":"","sources":["../../src/components/NSSectionBars.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,4BAA4B,CAAC;AAChD,OAAO,EAAE,WAAW,EAAoB,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AASxC,MAAM,OAAO,aAAc,SAAQ,SAA6B;IAEtD,MAAM;;QAEd,OAAO,CACN,4BACC,KAAC,SAAS,IAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,YAC3C,cAAK,SAAS,EAAE,mCAAmC,MAAM,CAAC,uBAAuB,EAAE,YAEjF,MAAA,IAAI,CAAC,KAAK,CAAC,IAAI,0CAAE,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,KAAC,WAAW,oBAAkB,GAAG,GAAf,GAAG,CAAC,EAAE,CAAa,CAAC,GAEhE,GACK,GACV,CACH,CAAC;IACH,CAAC;CACD"}
1
+ {"version":3,"file":"NSSectionBars.js","sourceRoot":"","sources":["../../src/components/NSSectionBars.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,MAAM,MAAM,4BAA4B,CAAC;AAChD,OAAO,EAAE,WAAW,EAAoB,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAQrD,MAAM,OAAO,aAAc,SAAQ,SAA6B;IAEtD,MAAM;;QAEd,OAAO,CACN,4BACC,MAAC,SAAS,IAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,aAC3C,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,MAAM,GAAI,EACzC,cAAK,SAAS,EAAE,mCAAmC,MAAM,CAAC,uBAAuB,EAAE,YAEjF,MAAA,IAAI,CAAC,KAAK,CAAC,IAAI,0CAAE,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,KAAC,WAAW,oBAAkB,GAAG,GAAf,GAAG,CAAC,EAAE,CAAa,CAAC,GAEhE,EACN,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,MAAM,GAAI,IAC9B,GACV,CACH,CAAC;IACH,CAAC;CACD"}
@@ -6,13 +6,14 @@ import { NSTitle } from './NSTitle';
6
6
  import { NSCard } from './NSCard';
7
7
  import { NSSection } from './NSSection';
8
8
  import { NSLinkBlue } from './NSLinkBlue';
9
+ import { NSSpace, NSSpaceSizeType } from './NSSpace';
9
10
  export class NSSectionCards extends Component {
10
11
  render() {
11
12
  var _a, _b, _c, _d, _e, _f;
12
- return (_jsx(_Fragment, { children: _jsx(NSSection, { background: this.props.background, children: _jsxs("div", { className: `container mx-auto px-4 lg:px-12 ${Styles.ns_section_cards_holder}`, children: [this.props.title &&
13
- _jsxs("div", { className: Styles.ns_section_cards_title_container, children: [_jsx(NSTitle, { color: (_a = this.props.title) === null || _a === void 0 ? void 0 : _a.color, title: (_b = this.props.title) === null || _b === void 0 ? void 0 : _b.text }), this.props.description &&
14
- _jsxs("p", { style: { color: (_c = this.props.description) === null || _c === void 0 ? void 0 : _c.color }, className: Styles.ns_description, children: [" ", this.props.description.text, " "] })] }), _jsx("div", { className: ` ${Styles.ns_card_container}`, children: (_d = this.props.cards) === null || _d === void 0 ? void 0 : _d.map((card) => _jsx(NSCard, Object.assign({}, card), card.id)) }), this.props.button &&
15
- _jsx("div", { className: `mt-12 w-full- text-center ${Styles.ns_section_cards_link_container}`, children: _jsx(NSLinkBlue, { href: (_e = this.props.button) === null || _e === void 0 ? void 0 : _e.href, title: (_f = this.props.button) === null || _f === void 0 ? void 0 : _f.title }) })] }) }) }));
13
+ return (_jsx(_Fragment, { children: _jsxs(NSSection, { background: this.props.background, children: [_jsx(NSSpace, { size: NSSpaceSizeType.NORMAL }), _jsxs("div", { className: `container mx-auto px-4 lg:px-12 ${Styles.ns_section_cards_holder}`, children: [this.props.title &&
14
+ _jsxs("div", { className: Styles.ns_section_cards_title_container, children: [_jsx(NSTitle, { color: (_a = this.props.title) === null || _a === void 0 ? void 0 : _a.color, title: (_b = this.props.title) === null || _b === void 0 ? void 0 : _b.text }), this.props.description &&
15
+ _jsxs("p", { style: { color: (_c = this.props.description) === null || _c === void 0 ? void 0 : _c.color }, className: Styles.ns_description, children: [" ", this.props.description.text, " "] })] }), _jsx("div", { className: ` ${Styles.ns_card_container}`, children: (_d = this.props.cards) === null || _d === void 0 ? void 0 : _d.map((card) => _jsx(NSCard, Object.assign({}, card), card.id)) }), this.props.button &&
16
+ _jsx("div", { className: `mt-12 w-full- text-center ${Styles.ns_section_cards_link_container}`, children: _jsx(NSLinkBlue, { href: (_e = this.props.button) === null || _e === void 0 ? void 0 : _e.href, title: (_f = this.props.button) === null || _f === void 0 ? void 0 : _f.title }) })] }), _jsx(NSSpace, { size: NSSpaceSizeType.NORMAL })] }) }));
16
17
  }
17
18
  }
18
19
  //# sourceMappingURL=NSSectionCards.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSSectionCards.js","sourceRoot":"","sources":["../../src/components/NSSect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AE1E,IAAI,CAAC,KAAK,CAAC,WAAW;4CACtB,aAAG,KAAK,EAAE,EAAE,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,WAAW,0CAAE,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,cAAc,kBAAI,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,SAAM,IAErH,EAEP,cAAK,SAAS,EAAE,IAAI,MAAM,CAAC,iBAAiB,EAAE,YAE5C,MAAA,IAAI,CAAC,KAAK,CAAC,KAAK,0CAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAC,MAAM,oBAAmB,IAAI,GAAjB,IAAI,CAAC,EAAE,CAAc,CAAC,GAE/D,EAEL,IAAI,CAAC,KAAK,CAAC,MAAM;gCACjB,cAAK,SAAS,EAAE,6BAA6B,MAAM,CAAC,+BAA+B,EAAE,YACpF,KAAC,UAAU,IAAC,IAAI,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,MAAM,0CAAE,IAAI,EAAE,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,CAAC,MAAM,0CAAE,KAAK,GAAI,GACzE,IAEF,EACN,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,MAAM,GAAI,IAC9B,GACV,CACH,CAAC;IACH,CAAC;CACD"}
@@ -3,9 +3,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { Component } from 'react';
4
4
  import { NSSection } from './NSSection';
5
5
  import { NSTitle } from './NSTitle';
6
+ import { NSSpace, NSSpaceSizeType } from './NSSpace';
6
7
  export class NSSectionTitle extends Component {
7
8
  render() {
8
- return (_jsxs(NSSection, { background: this.props.background, children: [_jsx(NSTitle, { color: this.props.title.color, title: this.props.title.text }), this.props.children] }));
9
+ return (_jsxs(NSSection, { background: this.props.background, children: [_jsx(NSSpace, { size: NSSpaceSizeType.NORMAL }), _jsx(NSTitle, { color: this.props.title.color, title: this.props.title.text }), this.props.children] }));
9
10
  }
10
11
  }
11
12
  //# sourceMappingURL=NSSectionTitle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSSectionTitle.js","sourceRoot":"","sources":["../../src/components/NSSectionTitle.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAapC,MAAM,OAAO,cAAe,SAAQ,SAA8B;IAExD,MAAM;QAEd,OAAO,CACN,MAAC,SAAS,IAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,aAC3C,KAAC,OAAO,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,GAAI,EACvE,IAAI,CAAC,KAAK,CAAC,QAAQ,IACT,CACZ,CAAC;IACH,CAAC;CACD"}
1
+ {"version":3,"file":"NSSectionTitle.js","sourceRoot":"","sources":["../../src/components/NSSectionTitle.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAYrD,MAAM,OAAO,cAAe,SAAQ,SAA8B;IAExD,MAAM;QAEd,OAAO,CACN,MAAC,SAAS,IAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,aAC3C,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,MAAM,GAAI,EACzC,KAAC,OAAO,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,GAAI,EACvE,IAAI,CAAC,KAAK,CAAC,QAAQ,IACT,CACZ,CAAC;IACH,CAAC;CACD"}
@@ -28,7 +28,7 @@ export class NSSpace extends React.Component {
28
28
  return this.state.size;
29
29
  }
30
30
  render() {
31
- return (_jsx("hr", { style: { width: "100%", height: this.state.size, margin: "0px", padding: "0px", background: "transparent", color: "transparent" } }));
31
+ return (_jsx("hr", { style: { width: "100%", height: this.state.size, margin: "0px", padding: "0px", background: "transparent", color: "transparent", border: 0 } }));
32
32
  }
33
33
  }
34
34
  //# sourceMappingURL=NSSpace.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NSSpace.js","sourceRoot":"","sources":["../../src/components/NSSpace.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,MAAM,CAAN,IAAY,eAYX;AAZD,WAAY,eAAe;IAEvB,+BAAY,CAAA;IACZ,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,iCAAc,CAAA;IACd,kCAAe,CAAA;IACf,kCAAe,CAAA;IACf,iCAAc,CAAA;IACd,kCAAe,CAAA;IACf,mCAAgB,CAAA;IAChB,qCAAkB,CAAA;AACtB,CAAC,EAZW,eAAe,KAAf,eAAe,QAY1B;AAOD,MAAM,OAAO,OAAQ,SAAQ,KAAK,CAAC,SAAqC;IAEpE,YAAY,KAAmB;QAE3B,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC;QAClC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IACD,QAAQ,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;QAE1B,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;IAC5B,CAAC;IACD,QAAQ;QAEJ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;IAC3B,CAAC;IACQ,MAAM;QAEX,OAAO,CACH,aAAI,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,CAAC,EAAE,GAAI,CACvJ,CAAC;IACN,CAAC;CACJ"}
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.3.46",
11
+ "version": "1.3.47",
12
12
  "author": "Amir Abolhasani, Alireza Esmaeeli, Hooman Shashaeh",
13
13
  "license": "MIT",
14
14
  "main": "./dist/main.js",
package/src/App.tsx CHANGED
@@ -1,48 +1,57 @@
1
1
  import './App.css';
2
2
  import 'bootstrap/dist/css/bootstrap.min.css';
3
- import { NSLayoutTitle, NSTable } from './main';
3
+ import { NSFooter, NSHeader, NSTable } from './main';
4
4
 
5
5
  export function App()
6
6
  {
7
- let columns = {
8
- "id": "ID",
9
- "project": "Project",
10
- "level": "Level",
11
- "message": "Message",
12
- "cent": "Cent",
13
- "status": "Status",
14
- }
15
- let rows = [{
16
- id: 1,
17
- project: "Namirasoft Account",
18
- level: "Debug",
19
- message: "Lorem ipsum dolor sit amet, consetetur ",
20
- cent: "24",
21
- status: "Done"
22
- },
23
- {
24
- id: 2,
25
- project: "Namirasoft Account",
26
- level: "Debug",
27
- message: "Lorem ipsum dolor sit amet, consetetur ",
28
- cent: "24",
29
- status: "Done"
30
- }
31
- ]
32
- interface Row
33
- {
34
- id: number,
35
- project: string,
36
- level: string,
37
- message: string,
38
- cent: string,
39
- status: string
40
- }
41
- return (
42
- <NSLayoutTitle scope='Namirasoft Account Console' logo='' title="Namirasoft">
43
- <div className="container">
44
- <NSTable<Row> columns={columns} rows={rows} getRowKey={row => row.id.toString()} />
45
- </div>
46
- </NSLayoutTitle>
47
- );
7
+ let columns = {
8
+ "id": "ID",
9
+ "project": "Project",
10
+ "level": "Level",
11
+ "message": "Message",
12
+ "cent": "Cent",
13
+ "status": "Status",
14
+ }
15
+ let rows = [{
16
+ id: 1,
17
+ project: "Namirasoft Account",
18
+ level: "Debug",
19
+ message: "Lorem ipsum dolor sit amet, consetetur ",
20
+ cent: "24",
21
+ status: "Done"
22
+ },
23
+ {
24
+ id: 2,
25
+ project: "Namirasoft Account",
26
+ level: "Debug",
27
+ message: "Lorem ipsum dolor sit amet, consetetur ",
28
+ cent: "24",
29
+ status: "Done"
30
+ }
31
+ ]
32
+ interface Row
33
+ {
34
+ id: number,
35
+ project: string,
36
+ level: string,
37
+ message: string,
38
+ cent: string,
39
+ status: string
40
+ }
41
+ return (
42
+ <>
43
+ <NSHeader
44
+ name='Header'
45
+ scope='Namira Software Corporation'
46
+ logo='https://static.namirasoft.com/logo/namirasoft/base.png'
47
+ account={false}
48
+ background={{ color: "transparent !important" }}
49
+ />
50
+
51
+ <div className="container">
52
+ <NSTable<Row> columns={columns} rows={rows} getRowKey={row => row.id.toString()} />
53
+ </div>
54
+ <NSFooter name='Footer' scope='Namira Software Corporation' logo='https://static.namirasoft.com/logo/namirasoft/base.png' />
55
+ </>
56
+ );
48
57
  }
@@ -5,6 +5,7 @@ import Styles from './NSSectionBars.module.css';
5
5
  import { NSEntityBar, NSEntityBarProps } from './NSEntityBar';
6
6
  import { NSSection } from './NSSection';
7
7
  import { BackgroundProps } from '../props/BackgroundProps';
8
+ import { NSSpace, NSSpaceSizeType } from './NSSpace';
8
9
 
9
10
  export interface NSSectionBarsProps
10
11
  {
@@ -19,11 +20,13 @@ export class NSSectionBars extends Component<NSSectionBarsProps>
19
20
  return (
20
21
  <>
21
22
  <NSSection background={this.props.background} >
23
+ <NSSpace size={NSSpaceSizeType.NORMAL} />
22
24
  <div className={`container mx-auto px-4 lg:px-12 ${Styles.ns_entity_bar_container}`}>
23
25
  {
24
26
  this.props.bars?.map((bar) => <NSEntityBar key={bar.id} {...bar} />)
25
27
  }
26
28
  </div>
29
+ <NSSpace size={NSSpaceSizeType.NORMAL} />
27
30
  </NSSection>
28
31
  </>
29
32
  );
@@ -7,6 +7,7 @@ import { NSCard, NSCardProps } from './NSCard';
7
7
  import { NSSection } from './NSSection';
8
8
  import { NSLinkBlue } from './NSLinkBlue';
9
9
  import { BackgroundProps } from '../props/BackgroundProps';
10
+ import { NSSpace, NSSpaceSizeType } from './NSSpace';
10
11
 
11
12
  export interface NSSectionCardsProps
12
13
  {
@@ -33,11 +34,12 @@ export class NSSectionCards extends Component<NSSectionCardsProps>
33
34
  return (
34
35
  <>
35
36
  <NSSection background={this.props.background} >
37
+ <NSSpace size={NSSpaceSizeType.NORMAL} />
36
38
  <div className={`container mx-auto px-4 lg:px-12 ${Styles.ns_section_cards_holder}`}>
37
39
  {
38
40
  this.props.title &&
39
41
  <div className={Styles.ns_section_cards_title_container}>
40
- <NSTitle color={this.props.title?.color} title={this.props.title?.text} />
42
+ <NSTitle color={this.props.title?.color} title={this.props.title?.text} />
41
43
  {
42
44
  this.props.description &&
43
45
  <p style={{ color: this.props.description?.color }} className={Styles.ns_description}> {this.props.description.text} </p>
@@ -56,6 +58,7 @@ export class NSSectionCards extends Component<NSSectionCardsProps>
56
58
  </div>
57
59
  }
58
60
  </div>
61
+ <NSSpace size={NSSpaceSizeType.NORMAL} />
59
62
  </NSSection>
60
63
  </>
61
64
  );
@@ -4,6 +4,7 @@ import { Component, ReactNode } from 'react';
4
4
  import { NSSection } from './NSSection';
5
5
  import { NSTitle } from './NSTitle';
6
6
  import { BackgroundProps } from '../props/BackgroundProps';
7
+ import { NSSpace, NSSpaceSizeType } from './NSSpace';
7
8
 
8
9
  export interface NSSectionTitleProps
9
10
  {
@@ -21,6 +22,7 @@ export class NSSectionTitle extends Component<NSSectionTitleProps>
21
22
  {
22
23
  return (
23
24
  <NSSection background={this.props.background} >
25
+ <NSSpace size={NSSpaceSizeType.NORMAL} />
24
26
  <NSTitle color={this.props.title.color} title={this.props.title.text} />
25
27
  {this.props.children}
26
28
  </NSSection>
@@ -46,7 +46,7 @@ export class NSSpace extends React.Component<NSSpaceProps, NSSpaceState>
46
46
  override render()
47
47
  {
48
48
  return (
49
- <hr style={{ width: "100%", height: this.state.size, margin: "0px", padding: "0px", background: "transparent", color: "transparent" }} />
49
+ <hr style={{ width: "100%", height: this.state.size, margin: "0px", padding: "0px", background: "transparent", color: "transparent", border: 0 }} />
50
50
  );
51
51
  }
52
52
  }