namirasoft-site-react 1.3.81 → 1.3.82
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.
|
@@ -9,7 +9,13 @@
|
|
|
9
9
|
justify-content: center;
|
|
10
10
|
text-decoration: none;
|
|
11
11
|
max-width: 100%;
|
|
12
|
-
width:
|
|
12
|
+
width: 100%;
|
|
13
13
|
color: #fff;
|
|
14
14
|
border: 1px solid transparent;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@media only screen and (min-width: 380px) {
|
|
18
|
+
.ns_button {
|
|
19
|
+
width: 272px;
|
|
20
|
+
}
|
|
15
21
|
}
|
|
@@ -5,6 +5,6 @@ import { NSFooter } from './NSFooter';
|
|
|
5
5
|
import { NSNotification } from './NSNotification';
|
|
6
6
|
export function NSLayout(props) {
|
|
7
7
|
var _a;
|
|
8
|
-
return (_jsxs("div", { id: props.id, className: `${Styles.ns_container} ${(_a = props.classList) === null || _a === void 0 ? void 0 : _a.join(" ")}`, style: props.style, children: [_jsx(NSHeader, { scope: props.scope, name: "Header", logo: props.logo }), props.notifications.map(props => _jsx(NSNotification, Object.assign({}, props))), _jsx("main", { className: "d-flex flex-column text-white
|
|
8
|
+
return (_jsxs("div", { id: props.id, className: `${Styles.ns_container} ${(_a = props.classList) === null || _a === void 0 ? void 0 : _a.join(" ")}`, style: props.style, children: [_jsx(NSHeader, { scope: props.scope, name: "Header", logo: props.logo }), props.notifications.map(props => _jsx(NSNotification, Object.assign({}, props))), _jsx("main", { className: "d-flex flex-column text-white px-3", style: { background: props.background }, children: props.children }), _jsx(NSFooter, { scope: props.scope, name: "Footer", logo: props.logo })] }));
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=NSLayout.js.map
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"framework": "npm",
|
|
9
9
|
"application": "package",
|
|
10
10
|
"private": false,
|
|
11
|
-
"version": "1.3.
|
|
11
|
+
"version": "1.3.82",
|
|
12
12
|
"author": "Amir Abolhasani, Alireza Esmaeeli, Sepideh Mazloumi, Hooman Shashaeh",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"main": "./dist/main.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"react-dom": "^18.2.0",
|
|
38
38
|
"react-phone-input-2": "^2.15.1",
|
|
39
39
|
"react-phone-number-input": "^3.4.0",
|
|
40
|
-
"react-router-dom": "^6.
|
|
40
|
+
"react-router-dom": "^6.23.0",
|
|
41
41
|
"react-scripts": "5.0.1"
|
|
42
42
|
},
|
|
43
43
|
"eslintConfig": {
|
|
@@ -9,7 +9,13 @@
|
|
|
9
9
|
justify-content: center;
|
|
10
10
|
text-decoration: none;
|
|
11
11
|
max-width: 100%;
|
|
12
|
-
width:
|
|
12
|
+
width: 100%;
|
|
13
13
|
color: #fff;
|
|
14
14
|
border: 1px solid transparent;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@media only screen and (min-width: 380px) {
|
|
18
|
+
.ns_button {
|
|
19
|
+
width: 272px;
|
|
20
|
+
}
|
|
15
21
|
}
|
|
@@ -22,7 +22,7 @@ export function NSLayout(props: INSLayoutProps)
|
|
|
22
22
|
style={props.style}>
|
|
23
23
|
<NSHeader scope={props.scope} name="Header" logo={props.logo} />
|
|
24
24
|
{props.notifications.map(props => <NSNotification {...props}></NSNotification>)}
|
|
25
|
-
<main className="d-flex flex-column text-white
|
|
25
|
+
<main className="d-flex flex-column text-white px-3" style={{ background: props.background }}>
|
|
26
26
|
{props.children}
|
|
27
27
|
</main>
|
|
28
28
|
<NSFooter scope={props.scope} name="Footer" logo={props.logo} />
|