namirasoft-site-react 1.2.44 → 1.2.46
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/components/NSLayoutHeroBanner.js.map +1 -1
- package/dist/components/NSLayoutHeroBanner.module.css +0 -1
- package/dist/pages/NSLoginPage.js +1 -1
- package/dist/pages/NSLoginPage.js.map +1 -1
- package/package.json +2 -2
- package/src/components/NSLayoutHeroBanner.module.css +0 -1
- package/src/components/NSLayoutHeroBanner.tsx +0 -11
- package/src/pages/NSLoginPage.tsx +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLayoutHeroBanner.js","sourceRoot":"","sources":["../../src/components/NSLayoutHeroBanner.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"NSLayoutHeroBanner.js","sourceRoot":"","sources":["../../src/components/NSLayoutHeroBanner.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,MAAM,MAAM,iCAAiC,CAAA;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAcxC,MAAM,UAAU,kBAAkB,CAAC,KAAa;IAE/C,OAAO,CACN,MAAC,QAAQ,kBAAC,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,iBAC7C,4BAAK,SAAS,EAAE,MAAM,CAAC,WAAW,gBAEjC,gCAAS,SAAS,EAAE,MAAM,CAAC,WAAW,gBACrC,4BAAK,SAAS,EAAC,iCAAiC,gBAC/C,6BAAK,SAAS,EAAC,iEAAiE,iBAC/E,iCAAS,SAAS,EAAE,iCAAiC,MAAM,CAAC,mBAAmB,EAAE,iBAChF,2BAAI,SAAS,EAAC,0CAA0C,gBACtD,KAAK,CAAC,KAAK,IACR,EACL,0BAAG,SAAS,EAAC,4BAA4B,gBACvC,KAAK,CAAC,WAAW,IACf,EACJ,0BAAG,SAAS,EAAC,mBAAmB,gBAC9B,KAAK,CAAC,gBAAgB,IACpB,EACJ,6BAAK,SAAS,EAAC,sBAAsB,iBACpC,KAAC,IAAI,kBAAC,EAAE,EAAC,GAAG,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,gCAEpD,EACP,KAAC,IAAI,kBAAC,EAAE,EAAC,GAAG,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,4CAE9B,KACF,KACG,EACV,4BAAK,KAAK,EAAE,EAAE,eAAe,EAAE,OAAO,KAAK,CAAC,MAAM,GAAG,EAAE,EAAE,SAAS,EAAE,sCAAsC,MAAM,CAAC,aAAa,EAAE,gBAC/H,cAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB,GAAQ,IAC3C,EACN,4BAAK,SAAS,EAAE,mBAAmB,MAAM,CAAC,kBAAkB,EAAE,gBAC7D,cACC,GAAG,EAAE,KAAK,CAAC,MAAM,EACjB,GAAG,EAAC,EAAE,GACL,IACG,EACN,6BAAK,SAAS,EAAC,6BAA6B,iBAC3C,KAAC,IAAI,kBAAC,EAAE,EAAC,GAAG,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,gCAEpD,EACP,KAAC,IAAI,kBAAC,EAAE,EAAC,GAAG,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,4CAE9B,KACF,KACD,IACD,IACG,IACL,EAIL,KAAK,CAAC,QAAQ,KACL,CACX,CAAC;AACH,CAAC"}
|
|
@@ -12,7 +12,7 @@ export class NSLoginPage extends Component {
|
|
|
12
12
|
button = _jsx(NSLinkGreen, { title: "Login", href: (_a = this.props.href) !== null && _a !== void 0 ? _a : "" });
|
|
13
13
|
else if (this.props.onClick)
|
|
14
14
|
button = _jsx(NSButtonGreen, { title: "Login", onClick: this.props.onClick });
|
|
15
|
-
return (_jsx("div", Object.assign({ style: { backgroundImage: this.props.background } }, { children: _jsxs("div", Object.assign({ className: "d-flex flex-column align-items-center justify-content-center", style: { marginTop: "100px" } }, { children: [_jsx("div", Object.assign({ className: "m-auto" }, { children: _jsx("img", { width: 256, height: 256, src: this.props.logo, alt: "logo" }) })), _jsx("div", { children: _jsx("h1", Object.assign({ className: "text-center mb-3" }, { children: this.props.title })) }), _jsx("div", Object.assign({ className: "m-auto" }, { children: button }))] })) })));
|
|
15
|
+
return (_jsx("div", Object.assign({ style: { backgroundImage: this.props.background, width: "100%", backgroundSize: "cover" } }, { children: _jsxs("div", Object.assign({ className: "d-flex flex-column align-items-center justify-content-center", style: { marginTop: "100px" } }, { children: [_jsx("div", Object.assign({ className: "m-auto" }, { children: _jsx("img", { width: 256, height: 256, src: this.props.logo, alt: "logo" }) })), _jsx("div", { children: _jsx("h1", Object.assign({ className: "text-center mb-3" }, { children: this.props.title })) }), _jsx("div", Object.assign({ className: "m-auto" }, { children: button }))] })) })));
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=NSLoginPage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSLoginPage.js","sourceRoot":"","sources":["../../src/pages/NSLoginPage.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAWtC,MAAM,OAAO,WAAY,SAAQ,SAAiB;IAErC,MAAM;;QAEX,IAAI,MAAM,GAAG,mBAAK,CAAC;QACnB,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI;YACf,MAAM,GAAG,KAAC,WAAW,IAAC,KAAK,EAAC,OAAO,E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,EAAE,OAAO,EAAE,iBACvG,4BAAK,SAAS,EAAC,QAAQ,gBACnB,cAAK,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,GAAG,EAAC,MAAM,GAAO,IACnE,EACN,wBAAK,2BAAI,SAAS,EAAC,kBAAkB,gBAAE,IAAI,CAAC,KAAK,CAAC,KAAK,IAAM,GAAM,EACnE,4BAAK,SAAS,EAAC,QAAQ,gBAClB,MAAM,IACL,KACJ,IACJ,CACT,CAAC;IACN,CAAC;CACJ"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "namirasoft-site-react",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.46",
|
|
4
4
|
"main": "./dist/main.js",
|
|
5
5
|
"types": "./dist/main.d.ts",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@types/node": "^20.11.20",
|
|
8
|
-
"@types/react": "^18.2.
|
|
8
|
+
"@types/react": "^18.2.59",
|
|
9
9
|
"@types/react-dom": "^18.2.19",
|
|
10
10
|
"antd": "^5.14.2",
|
|
11
11
|
"bootstrap": "^5.3.3",
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import { NSLayout } from './NSLayout';
|
|
5
|
-
|
|
6
5
|
import Styles from './NSLayoutHeroBanner.module.css'
|
|
7
6
|
import { Link } from 'react-router-dom';
|
|
8
7
|
// import { NSHeader } from './NSHeader';
|
|
@@ -22,13 +21,11 @@ export function NSLayoutHeroBanner(props: IProps)
|
|
|
22
21
|
{
|
|
23
22
|
return (
|
|
24
23
|
<NSLayout scope={props.scope} logo={props.logo} >
|
|
25
|
-
|
|
26
24
|
<div className={Styles.hero_holder}>
|
|
27
25
|
{/* <NSHeader name='Header' scope='Namira Software Corporation' logo='https://static.namirasoft.com/logo/namirasoft/base.png' /> */}
|
|
28
26
|
<section className={Styles.hero_wraper}>
|
|
29
27
|
<div className="container mx-auto px-4 lg:px-12">
|
|
30
28
|
<div className="flex flex-wrap lg:flex-nowrap justify-center lg:justify-between">
|
|
31
|
-
|
|
32
29
|
<article className={`mb-6 lg:mb-0 lg:mb-12lg:pe-12 ${Styles.hero_text_container}`} >
|
|
33
30
|
<h1 className="ns-font-32-bold ns_font_lg_40_bold mb-6">
|
|
34
31
|
{props.title}
|
|
@@ -39,39 +36,31 @@ export function NSLayoutHeroBanner(props: IProps)
|
|
|
39
36
|
<p className="ns-font-16-normal">
|
|
40
37
|
{props.description_last}
|
|
41
38
|
</p>
|
|
42
|
-
|
|
43
39
|
<div className="hidden lg:block mt-6">
|
|
44
40
|
<Link to="#" style={{ width: "100%", marginBottom: "24px" }} >
|
|
45
41
|
Contact US
|
|
46
42
|
</Link>
|
|
47
|
-
|
|
48
43
|
<Link to="#" style={{ width: "100%" }} >
|
|
49
44
|
Book a Meeting With Us
|
|
50
45
|
</Link>
|
|
51
|
-
|
|
52
46
|
</div>
|
|
53
47
|
</article>
|
|
54
|
-
|
|
55
48
|
<div style={{ backgroundImage: `url(${props.banner})` }} className={`hidden lg:block lg:w-full xl:w-1/2 ${Styles.hero_image_bg}`}>
|
|
56
49
|
<div className={Styles.ns_hero_vector_bg}></div>
|
|
57
50
|
</div>
|
|
58
|
-
|
|
59
51
|
<div className={`block lg:hidden ${Styles.hero_img_container}`}>
|
|
60
52
|
<img
|
|
61
53
|
src={props.banner}
|
|
62
54
|
alt=""
|
|
63
55
|
/>
|
|
64
56
|
</div>
|
|
65
|
-
|
|
66
57
|
<div className="w-full mt-6 block lg:hidden">
|
|
67
58
|
<Link to="#" style={{ width: "100%", marginBottom: "24px" }} >
|
|
68
59
|
Contact US
|
|
69
60
|
</Link>
|
|
70
|
-
|
|
71
61
|
<Link to="#" style={{ width: "100%" }} >
|
|
72
62
|
Book a Meeting With Us
|
|
73
63
|
</Link>
|
|
74
|
-
|
|
75
64
|
</div>
|
|
76
65
|
</div>
|
|
77
66
|
</div>
|
|
@@ -24,7 +24,7 @@ export class NSLoginPage extends Component<IProps>
|
|
|
24
24
|
else if (this.props.onClick)
|
|
25
25
|
button = <NSButtonGreen title="Login" onClick={this.props.onClick} />;
|
|
26
26
|
return (
|
|
27
|
-
<div style={{ backgroundImage: this.props.background }}>
|
|
27
|
+
<div style={{ backgroundImage: this.props.background, width: "100%", backgroundSize: "cover" }}>
|
|
28
28
|
<div className="d-flex flex-column align-items-center justify-content-center" style={{ marginTop: "100px" }}>
|
|
29
29
|
<div className="m-auto">
|
|
30
30
|
<img width={256} height={256} src={this.props.logo} alt="logo"></img>
|