namirasoft-site-react 1.2.40 → 1.2.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/.gitlab-ci.yml +14 -14
- package/config-overrides.js +65 -65
- package/dist/App.js +1 -1
- package/dist/App.js.map +1 -1
- package/dist/assets/images/arrow.svg +3 -3
- package/dist/assets/images/danger.svg +3 -3
- package/dist/assets/images/exit.svg +3 -3
- package/dist/assets/images/icon-input-date.svg +9 -9
- package/dist/assets/images/icon-input-duration.svg +9 -9
- package/dist/assets/images/icon-input-email.svg +9 -9
- package/dist/assets/images/icon-input-float.svg +9 -9
- package/dist/assets/images/icon-input-id.svg +9 -9
- package/dist/assets/images/icon-input-integer.svg +9 -9
- package/dist/assets/images/icon-input-phone.svg +9 -9
- package/dist/assets/images/icon-input-price.svg +9 -9
- package/dist/assets/images/icon-input-search.svg +4 -4
- package/dist/assets/images/icon-input-string.svg +9 -9
- package/dist/assets/images/icon-input-text.svg +9 -9
- package/dist/assets/images/icon-input-time.svg +9 -9
- package/dist/assets/images/logo.svg +9 -9
- package/dist/assets/images/menu.svg +3 -3
- package/dist/assets/images/namira.svg +9 -9
- package/dist/assets/images/rectangle.svg +3 -3
- package/dist/components/NSButtonGreen.js +1 -1
- package/dist/components/NSButtonGreen.js.map +1 -1
- package/dist/components/NSButtonRed.js +1 -1
- package/dist/components/NSButtonRed.js.map +1 -1
- package/dist/components/NSCard.js +2 -2
- package/dist/components/NSCard.js.map +1 -1
- package/dist/components/NSFooter.js +4 -4
- package/dist/components/NSFooter.js.map +1 -1
- package/dist/components/NSHeader.d.ts +17 -1
- package/dist/components/NSHeader.js +50 -47
- package/dist/components/NSHeader.js.map +1 -1
- package/dist/components/NSInputDate.js +1 -1
- package/dist/components/NSInputDate.js.map +1 -1
- package/dist/components/NSInputDuration.js +1 -1
- package/dist/components/NSInputDuration.js.map +1 -1
- package/dist/components/NSInputEmail.js +1 -1
- package/dist/components/NSInputEmail.js.map +1 -1
- package/dist/components/NSInputEmail.module.css +37 -37
- package/dist/components/NSInputFloat.js +1 -1
- package/dist/components/NSInputFloat.js.map +1 -1
- package/dist/components/NSInputFloat.module.css +25 -25
- package/dist/components/NSInputIP.js +1 -1
- package/dist/components/NSInputIP.js.map +1 -1
- package/dist/components/NSInputIP.module.css +25 -25
- package/dist/components/NSInputInteger.js +1 -1
- package/dist/components/NSInputInteger.js.map +1 -1
- package/dist/components/NSInputInteger.module.css +25 -25
- package/dist/components/NSInputPhone.js +1 -1
- package/dist/components/NSInputPhone.js.map +1 -1
- package/dist/components/NSInputPhone.module.css +32 -32
- package/dist/components/NSInputPrice.js +1 -1
- package/dist/components/NSInputPrice.js.map +1 -1
- package/dist/components/NSInputPrice.module.css +26 -26
- package/dist/components/NSInputSearch.js +1 -1
- package/dist/components/NSInputSearch.js.map +1 -1
- package/dist/components/NSInputSearch.module.css +25 -25
- package/dist/components/NSInputString.js +1 -1
- package/dist/components/NSInputString.js.map +1 -1
- package/dist/components/NSInputString.module.css +26 -26
- package/dist/components/NSInputText.js +1 -1
- package/dist/components/NSInputText.js.map +1 -1
- package/dist/components/NSInputText.module.css +27 -27
- package/dist/components/NSInputTime.js +1 -1
- package/dist/components/NSInputTime.js.map +1 -1
- package/dist/components/NSInputTime.module.css +26 -26
- package/dist/components/NSLayout.js +1 -1
- package/dist/components/NSLayout.js.map +1 -1
- package/dist/components/NSLayout.module.css +16 -16
- package/dist/components/NSLayoutHeroBanner.js +1 -1
- package/dist/components/NSLayoutHeroBanner.js.map +1 -1
- package/dist/components/NSLayoutHeroBanner.module.css +43 -43
- package/dist/components/NSLayoutTitle.js +1 -1
- package/dist/components/NSLayoutTitle.js.map +1 -1
- package/dist/components/NSLinkGreen.js +1 -1
- package/dist/components/NSLinkGreen.js.map +1 -1
- package/dist/components/NSLinkGreen.module.css +15 -15
- package/dist/components/NSLinkRed.js +1 -1
- package/dist/components/NSLinkRed.js.map +1 -1
- package/dist/components/NSLinkRed.module.css +15 -15
- package/dist/components/NSPagination.js +7 -7
- package/dist/components/NSPagination.js.map +1 -1
- package/dist/components/NSPagination.module.css +24 -24
- package/dist/components/NSParentCard.module.css +34 -34
- package/dist/components/NSSelectBox.js +1 -1
- package/dist/components/NSSelectBox.js.map +1 -1
- package/dist/components/NSSelectBox.module.css +28 -28
- package/dist/components/NSTable.js +1 -1
- package/dist/components/NSTable.js.map +1 -1
- package/dist/components/NSTable.modules.css +76 -76
- package/dist/pages/NSLoginPage.js +1 -1
- package/dist/pages/NSLoginPage.js.map +1 -1
- package/package.json +52 -52
- package/public/index.html +42 -42
- package/public/manifest.json +25 -25
- package/public/robots.txt +3 -3
- package/src/App.tsx +70 -70
- package/src/assets/images/arrow.svg +3 -3
- package/src/assets/images/danger.svg +3 -3
- package/src/assets/images/exit.svg +3 -3
- package/src/assets/images/icon-input-date.svg +9 -9
- package/src/assets/images/icon-input-duration.svg +9 -9
- package/src/assets/images/icon-input-email.svg +9 -9
- package/src/assets/images/icon-input-float.svg +9 -9
- package/src/assets/images/icon-input-id.svg +9 -9
- package/src/assets/images/icon-input-integer.svg +9 -9
- package/src/assets/images/icon-input-phone.svg +9 -9
- package/src/assets/images/icon-input-price.svg +9 -9
- package/src/assets/images/icon-input-search.svg +4 -4
- package/src/assets/images/icon-input-string.svg +9 -9
- package/src/assets/images/icon-input-text.svg +9 -9
- package/src/assets/images/icon-input-time.svg +9 -9
- package/src/assets/images/logo.svg +9 -9
- package/src/assets/images/menu.svg +3 -3
- package/src/assets/images/namira.svg +9 -9
- package/src/assets/images/rectangle.svg +3 -3
- package/src/components/NSButtonGreen.tsx +33 -33
- package/src/components/NSButtonRed.tsx +33 -33
- package/src/components/NSCard.tsx +54 -54
- package/src/components/NSFooter.tsx +123 -123
- package/src/components/NSHeader.tsx +134 -122
- package/src/components/NSInputDate.tsx +57 -57
- package/src/components/NSInputDuration.tsx +65 -65
- package/src/components/NSInputEmail.module.css +37 -37
- package/src/components/NSInputEmail.tsx +92 -92
- package/src/components/NSInputFloat.module.css +25 -25
- package/src/components/NSInputFloat.tsx +61 -61
- package/src/components/NSInputIP.module.css +25 -25
- package/src/components/NSInputIP.tsx +65 -65
- package/src/components/NSInputInteger.module.css +25 -25
- package/src/components/NSInputInteger.tsx +65 -65
- package/src/components/NSInputPhone.module.css +32 -32
- package/src/components/NSInputPhone.tsx +65 -65
- package/src/components/NSInputPrice.module.css +26 -26
- package/src/components/NSInputPrice.tsx +68 -68
- package/src/components/NSInputSearch.module.css +25 -25
- package/src/components/NSInputSearch.tsx +78 -78
- package/src/components/NSInputString.module.css +26 -26
- package/src/components/NSInputString.tsx +66 -66
- package/src/components/NSInputText.module.css +27 -27
- package/src/components/NSInputText.tsx +69 -69
- package/src/components/NSInputTime.module.css +26 -26
- package/src/components/NSInputTime.tsx +65 -65
- package/src/components/NSLayout.module.css +16 -16
- package/src/components/NSLayout.tsx +30 -31
- package/src/components/NSLayoutHeroBanner.module.css +43 -43
- package/src/components/NSLayoutHeroBanner.tsx +85 -85
- package/src/components/NSLayoutTitle.tsx +25 -25
- package/src/components/NSLinkGreen.module.css +15 -15
- package/src/components/NSLinkGreen.tsx +43 -43
- package/src/components/NSLinkRed.module.css +15 -15
- package/src/components/NSLinkRed.tsx +43 -43
- package/src/components/NSPagination.module.css +24 -24
- package/src/components/NSPagination.tsx +54 -54
- package/src/components/NSParentCard.module.css +34 -34
- package/src/components/NSParentCard.tsx.temp +58 -58
- package/src/components/NSSelectBox.module.css +28 -28
- package/src/components/NSSelectBox.tsx +62 -62
- package/src/components/NSTable.modules.css +76 -76
- package/src/components/NSTable.tsx +64 -64
- package/src/index.tsx +7 -7
- package/src/main.ts +25 -25
- package/src/pages/NSLoginPage.tsx +39 -39
- package/src/react-app-env.d.ts +1 -1
- package/tsconfig.json +37 -37
- package/dist/App.css +0 -0
- package/dist/assets/images/background.svg +0 -9
- package/dist/assets/images/left-vector.png +0 -0
- package/dist/assets/images/left_vector.png +0 -0
- package/dist/assets/images/right-vector.png +0 -0
- package/dist/assets/images/right_vector.png +0 -0
- package/dist/components/NSParentCard.d.ts +0 -0
- package/dist/components/NSParentCard.js +0 -2
- package/dist/components/NSParentCard.js.map +0 -1
- package/dist/index.css +0 -6
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import React from "react";
|
|
4
|
-
import Styles from "./NSInputTime.module.css";
|
|
5
|
-
import IconInputTime from '../assets/images/icon-input-time.svg';
|
|
6
|
-
|
|
7
|
-
interface IProps
|
|
8
|
-
{
|
|
9
|
-
title: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
interface IState
|
|
13
|
-
{
|
|
14
|
-
value: string;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export class NSInputTime extends React.Component<IProps, IState> {
|
|
18
|
-
constructor(props: IProps)
|
|
19
|
-
{
|
|
20
|
-
super(props);
|
|
21
|
-
this.state = {
|
|
22
|
-
value: "",
|
|
23
|
-
};
|
|
24
|
-
this.setValue = this.setValue.bind(this);
|
|
25
|
-
this.getValue = this.getValue.bind(this);
|
|
26
|
-
this.setDefaultValue = this.setDefaultValue.bind(this);
|
|
27
|
-
}
|
|
28
|
-
setValue(e: React.ChangeEvent<HTMLInputElement>): void
|
|
29
|
-
{
|
|
30
|
-
this.setState({ value: e.target.value });
|
|
31
|
-
}
|
|
32
|
-
setDefaultValue(value: string): void
|
|
33
|
-
{
|
|
34
|
-
this.setState({ value });
|
|
35
|
-
}
|
|
36
|
-
getValue(): string
|
|
37
|
-
{
|
|
38
|
-
return this.state.value;
|
|
39
|
-
}
|
|
40
|
-
override render()
|
|
41
|
-
{
|
|
42
|
-
return (
|
|
43
|
-
<div className={`${Styles.ns_input_parent} p-2`}>
|
|
44
|
-
<span className={Styles.ns_input_title}>{this.props.title}</span>
|
|
45
|
-
<img
|
|
46
|
-
className={Styles.ns_input_icon}
|
|
47
|
-
src={IconInputTime}
|
|
48
|
-
alt="icon"
|
|
49
|
-
width={24}
|
|
50
|
-
height={24}
|
|
51
|
-
/>
|
|
52
|
-
<input
|
|
53
|
-
value={this.state.value}
|
|
54
|
-
onChange={this.setValue}
|
|
55
|
-
type="time"
|
|
56
|
-
className={Styles.ns_input}
|
|
57
|
-
placeholder="21:44:06"
|
|
58
|
-
step="2"
|
|
59
|
-
/>
|
|
60
|
-
</div>
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import React from "react";
|
|
4
|
+
import Styles from "./NSInputTime.module.css";
|
|
5
|
+
import IconInputTime from '../assets/images/icon-input-time.svg';
|
|
6
|
+
|
|
7
|
+
interface IProps
|
|
8
|
+
{
|
|
9
|
+
title: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface IState
|
|
13
|
+
{
|
|
14
|
+
value: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export class NSInputTime extends React.Component<IProps, IState> {
|
|
18
|
+
constructor(props: IProps)
|
|
19
|
+
{
|
|
20
|
+
super(props);
|
|
21
|
+
this.state = {
|
|
22
|
+
value: "",
|
|
23
|
+
};
|
|
24
|
+
this.setValue = this.setValue.bind(this);
|
|
25
|
+
this.getValue = this.getValue.bind(this);
|
|
26
|
+
this.setDefaultValue = this.setDefaultValue.bind(this);
|
|
27
|
+
}
|
|
28
|
+
setValue(e: React.ChangeEvent<HTMLInputElement>): void
|
|
29
|
+
{
|
|
30
|
+
this.setState({ value: e.target.value });
|
|
31
|
+
}
|
|
32
|
+
setDefaultValue(value: string): void
|
|
33
|
+
{
|
|
34
|
+
this.setState({ value });
|
|
35
|
+
}
|
|
36
|
+
getValue(): string
|
|
37
|
+
{
|
|
38
|
+
return this.state.value;
|
|
39
|
+
}
|
|
40
|
+
override render()
|
|
41
|
+
{
|
|
42
|
+
return (
|
|
43
|
+
<div className={`${Styles.ns_input_parent} p-2`}>
|
|
44
|
+
<span className={Styles.ns_input_title}>{this.props.title}</span>
|
|
45
|
+
<img
|
|
46
|
+
className={Styles.ns_input_icon}
|
|
47
|
+
src={IconInputTime}
|
|
48
|
+
alt="icon"
|
|
49
|
+
width={24}
|
|
50
|
+
height={24}
|
|
51
|
+
/>
|
|
52
|
+
<input
|
|
53
|
+
value={this.state.value}
|
|
54
|
+
onChange={this.setValue}
|
|
55
|
+
type="time"
|
|
56
|
+
className={Styles.ns_input}
|
|
57
|
+
placeholder="21:44:06"
|
|
58
|
+
step="2"
|
|
59
|
+
/>
|
|
60
|
+
</div>
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
.ns_container {
|
|
2
|
-
min-height: 100vh;
|
|
3
|
-
width: 100%;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
justify-content: space-between;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.ns_header {
|
|
10
|
-
margin-bottom: auto;
|
|
11
|
-
width: 100%;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.ns_footer {
|
|
15
|
-
margin-top: auto;
|
|
16
|
-
width: 100%;
|
|
1
|
+
.ns_container {
|
|
2
|
+
min-height: 100vh;
|
|
3
|
+
width: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.ns_header {
|
|
10
|
+
margin-bottom: auto;
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ns_footer {
|
|
15
|
+
margin-top: auto;
|
|
16
|
+
width: 100%;
|
|
17
17
|
}
|
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
"use client";
|
|
3
|
-
|
|
4
|
-
import Styles from './NSLayout.module.css';
|
|
5
|
-
import { ReactNode } from 'react';
|
|
6
|
-
import { NSHeader } from './NSHeader';
|
|
7
|
-
import { NSFooter } from './NSFooter';
|
|
8
|
-
|
|
9
|
-
interface IProps
|
|
10
|
-
{
|
|
11
|
-
scope: string;
|
|
12
|
-
logo: string;
|
|
13
|
-
children: ReactNode;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export function NSLayout(props: IProps)
|
|
17
|
-
{
|
|
18
|
-
return (
|
|
19
|
-
<div className={Styles.ns_container}>
|
|
20
|
-
<header className={Styles.ns_header}>
|
|
21
|
-
{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
);
|
|
1
|
+
|
|
2
|
+
"use client";
|
|
3
|
+
|
|
4
|
+
import Styles from './NSLayout.module.css';
|
|
5
|
+
import { ReactNode } from 'react';
|
|
6
|
+
import { NSHeader } from './NSHeader';
|
|
7
|
+
import { NSFooter } from './NSFooter';
|
|
8
|
+
|
|
9
|
+
interface IProps
|
|
10
|
+
{
|
|
11
|
+
scope: string;
|
|
12
|
+
logo: string;
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export function NSLayout(props: IProps)
|
|
17
|
+
{
|
|
18
|
+
return (
|
|
19
|
+
<div className={Styles.ns_container}>
|
|
20
|
+
<header className={Styles.ns_header}>
|
|
21
|
+
<NSHeader scope={props.scope} name="Header" logo={props.logo} />
|
|
22
|
+
</header>
|
|
23
|
+
<main className="d-flex flex-column text-white">
|
|
24
|
+
{props.children}
|
|
25
|
+
</main>
|
|
26
|
+
<footer className={Styles.ns_footer}>
|
|
27
|
+
<NSFooter scope={props.scope} name="Footer" logo={props.logo} />
|
|
28
|
+
</footer>
|
|
29
|
+
</div >
|
|
30
|
+
);
|
|
32
31
|
}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
.hero_holder {
|
|
2
|
-
background-color: #001664;
|
|
3
|
-
position: relative;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.hero_wraper {
|
|
7
|
-
padding-bottom: 24px;
|
|
8
|
-
padding-top: 24px;
|
|
9
|
-
display: flex;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.hero_text_container {
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
justify-content: flex-start;
|
|
17
|
-
align-items: flex-start;
|
|
18
|
-
color: #fff;
|
|
19
|
-
z-index: 9;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.hero_image_bg {
|
|
23
|
-
background-position: center;
|
|
24
|
-
background-repeat: no-repeat;
|
|
25
|
-
background-size: cover;
|
|
26
|
-
border-radius: 24px;
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@media only screen and (min-width: 1024px) {
|
|
31
|
-
.ns_hero_vector_bg {
|
|
32
|
-
position: absolute;
|
|
33
|
-
width: 100%;
|
|
34
|
-
top: 0;
|
|
35
|
-
left: 0;
|
|
36
|
-
right: 0;
|
|
37
|
-
bottom: 0;
|
|
38
|
-
z-index: 2;
|
|
39
|
-
background-image: url('/images/hero_banner_bg.png');
|
|
40
|
-
background-position: right bottom;
|
|
41
|
-
background-size: auto;
|
|
42
|
-
background-repeat: no-repeat;
|
|
43
|
-
}
|
|
1
|
+
.hero_holder {
|
|
2
|
+
background-color: #001664;
|
|
3
|
+
position: relative;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.hero_wraper {
|
|
7
|
+
padding-bottom: 24px;
|
|
8
|
+
padding-top: 24px;
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.hero_text_container {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
justify-content: flex-start;
|
|
17
|
+
align-items: flex-start;
|
|
18
|
+
color: #fff;
|
|
19
|
+
z-index: 9;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.hero_image_bg {
|
|
23
|
+
background-position: center;
|
|
24
|
+
background-repeat: no-repeat;
|
|
25
|
+
background-size: cover;
|
|
26
|
+
border-radius: 24px;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@media only screen and (min-width: 1024px) {
|
|
31
|
+
.ns_hero_vector_bg {
|
|
32
|
+
position: absolute;
|
|
33
|
+
width: 100%;
|
|
34
|
+
top: 0;
|
|
35
|
+
left: 0;
|
|
36
|
+
right: 0;
|
|
37
|
+
bottom: 0;
|
|
38
|
+
z-index: 2;
|
|
39
|
+
background-image: url('/images/hero_banner_bg.png');
|
|
40
|
+
background-position: right bottom;
|
|
41
|
+
background-size: auto;
|
|
42
|
+
background-repeat: no-repeat;
|
|
43
|
+
}
|
|
44
44
|
}
|
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import { ReactNode } from 'react';
|
|
4
|
-
import { NSLayout } from './NSLayout';
|
|
5
|
-
|
|
6
|
-
import Styles from './NSLayoutHeroBanner.module.css'
|
|
7
|
-
import { Link } from 'react-router-dom';
|
|
8
|
-
// import { NSHeader } from './NSHeader';
|
|
9
|
-
|
|
10
|
-
interface IProps
|
|
11
|
-
{
|
|
12
|
-
scope: string;
|
|
13
|
-
logo: string;
|
|
14
|
-
title: string;
|
|
15
|
-
description?: string;
|
|
16
|
-
description_last?: string;
|
|
17
|
-
banner: string;
|
|
18
|
-
children: ReactNode;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export function NSLayoutHeroBanner(props: IProps)
|
|
22
|
-
{
|
|
23
|
-
return (
|
|
24
|
-
<NSLayout scope={props.scope} logo={props.logo} >
|
|
25
|
-
|
|
26
|
-
<div className={Styles.hero_holder}>
|
|
27
|
-
{/* <NSHeader name='Header' scope='Namira Software Corporation' logo='https://static.namirasoft.com/logo/namirasoft/base.png' /> */}
|
|
28
|
-
<section className={Styles.hero_wraper}>
|
|
29
|
-
<div className="container mx-auto px-4 lg:px-12">
|
|
30
|
-
<div className="flex flex-wrap lg:flex-nowrap justify-center lg:justify-between">
|
|
31
|
-
|
|
32
|
-
<article className={`mb-6 lg:mb-0 lg:mb-12lg:pe-12 ${Styles.hero_text_container}`} >
|
|
33
|
-
<h1 className="ns-font-32-bold ns_font_lg_40_bold mb-6">
|
|
34
|
-
{props.title}
|
|
35
|
-
</h1>
|
|
36
|
-
<p className="ns-font-16-normal lg:mb-4">
|
|
37
|
-
{props.description}
|
|
38
|
-
</p>
|
|
39
|
-
<p className="ns-font-16-normal">
|
|
40
|
-
{props.description_last}
|
|
41
|
-
</p>
|
|
42
|
-
|
|
43
|
-
<div className="hidden lg:block mt-6">
|
|
44
|
-
<Link to="#" style={{ width: "100%", marginBottom: "24px" }} >
|
|
45
|
-
Contact US
|
|
46
|
-
</Link>
|
|
47
|
-
|
|
48
|
-
<Link to="#" style={{ width: "100%" }} >
|
|
49
|
-
Book a Meeting With Us
|
|
50
|
-
</Link>
|
|
51
|
-
|
|
52
|
-
</div>
|
|
53
|
-
</article>
|
|
54
|
-
|
|
55
|
-
<div style={{ backgroundImage: `url(${props.banner})` }} className={`hidden lg:block lg:w-full xl:w-1/2 ${Styles.hero_image_bg}`}>
|
|
56
|
-
<div className={Styles.ns_hero_vector_bg}></div>
|
|
57
|
-
</div>
|
|
58
|
-
|
|
59
|
-
<div className={`block lg:hidden ${Styles.hero_img_container}`}>
|
|
60
|
-
<img
|
|
61
|
-
src={props.banner}
|
|
62
|
-
alt=""
|
|
63
|
-
/>
|
|
64
|
-
</div>
|
|
65
|
-
|
|
66
|
-
<div className="w-full mt-6 block lg:hidden">
|
|
67
|
-
<Link to="#" style={{ width: "100%", marginBottom: "24px" }} >
|
|
68
|
-
Contact US
|
|
69
|
-
</Link>
|
|
70
|
-
|
|
71
|
-
<Link to="#" style={{ width: "100%" }} >
|
|
72
|
-
Book a Meeting With Us
|
|
73
|
-
</Link>
|
|
74
|
-
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
78
|
-
</section>
|
|
79
|
-
</div>
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
{props.children}
|
|
84
|
-
</NSLayout>
|
|
85
|
-
);
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
import { NSLayout } from './NSLayout';
|
|
5
|
+
|
|
6
|
+
import Styles from './NSLayoutHeroBanner.module.css'
|
|
7
|
+
import { Link } from 'react-router-dom';
|
|
8
|
+
// import { NSHeader } from './NSHeader';
|
|
9
|
+
|
|
10
|
+
interface IProps
|
|
11
|
+
{
|
|
12
|
+
scope: string;
|
|
13
|
+
logo: string;
|
|
14
|
+
title: string;
|
|
15
|
+
description?: string;
|
|
16
|
+
description_last?: string;
|
|
17
|
+
banner: string;
|
|
18
|
+
children: ReactNode;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export function NSLayoutHeroBanner(props: IProps)
|
|
22
|
+
{
|
|
23
|
+
return (
|
|
24
|
+
<NSLayout scope={props.scope} logo={props.logo} >
|
|
25
|
+
|
|
26
|
+
<div className={Styles.hero_holder}>
|
|
27
|
+
{/* <NSHeader name='Header' scope='Namira Software Corporation' logo='https://static.namirasoft.com/logo/namirasoft/base.png' /> */}
|
|
28
|
+
<section className={Styles.hero_wraper}>
|
|
29
|
+
<div className="container mx-auto px-4 lg:px-12">
|
|
30
|
+
<div className="flex flex-wrap lg:flex-nowrap justify-center lg:justify-between">
|
|
31
|
+
|
|
32
|
+
<article className={`mb-6 lg:mb-0 lg:mb-12lg:pe-12 ${Styles.hero_text_container}`} >
|
|
33
|
+
<h1 className="ns-font-32-bold ns_font_lg_40_bold mb-6">
|
|
34
|
+
{props.title}
|
|
35
|
+
</h1>
|
|
36
|
+
<p className="ns-font-16-normal lg:mb-4">
|
|
37
|
+
{props.description}
|
|
38
|
+
</p>
|
|
39
|
+
<p className="ns-font-16-normal">
|
|
40
|
+
{props.description_last}
|
|
41
|
+
</p>
|
|
42
|
+
|
|
43
|
+
<div className="hidden lg:block mt-6">
|
|
44
|
+
<Link to="#" style={{ width: "100%", marginBottom: "24px" }} >
|
|
45
|
+
Contact US
|
|
46
|
+
</Link>
|
|
47
|
+
|
|
48
|
+
<Link to="#" style={{ width: "100%" }} >
|
|
49
|
+
Book a Meeting With Us
|
|
50
|
+
</Link>
|
|
51
|
+
|
|
52
|
+
</div>
|
|
53
|
+
</article>
|
|
54
|
+
|
|
55
|
+
<div style={{ backgroundImage: `url(${props.banner})` }} className={`hidden lg:block lg:w-full xl:w-1/2 ${Styles.hero_image_bg}`}>
|
|
56
|
+
<div className={Styles.ns_hero_vector_bg}></div>
|
|
57
|
+
</div>
|
|
58
|
+
|
|
59
|
+
<div className={`block lg:hidden ${Styles.hero_img_container}`}>
|
|
60
|
+
<img
|
|
61
|
+
src={props.banner}
|
|
62
|
+
alt=""
|
|
63
|
+
/>
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
<div className="w-full mt-6 block lg:hidden">
|
|
67
|
+
<Link to="#" style={{ width: "100%", marginBottom: "24px" }} >
|
|
68
|
+
Contact US
|
|
69
|
+
</Link>
|
|
70
|
+
|
|
71
|
+
<Link to="#" style={{ width: "100%" }} >
|
|
72
|
+
Book a Meeting With Us
|
|
73
|
+
</Link>
|
|
74
|
+
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
</section>
|
|
79
|
+
</div>
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
{props.children}
|
|
84
|
+
</NSLayout>
|
|
85
|
+
);
|
|
86
86
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import { ReactNode } from 'react';
|
|
4
|
-
import { NSLayout } from './NSLayout';
|
|
5
|
-
|
|
6
|
-
interface IProps
|
|
7
|
-
{
|
|
8
|
-
scope: string;
|
|
9
|
-
logo: string;
|
|
10
|
-
title: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
children: ReactNode;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export function NSLayoutTitle(props: IProps)
|
|
16
|
-
{
|
|
17
|
-
return (
|
|
18
|
-
<NSLayout scope={props.scope} logo={props.logo} >
|
|
19
|
-
<div>
|
|
20
|
-
<h1 className='text-black text-center'>{props.title}</h1>
|
|
21
|
-
<p className='text-black page-description'>{props.description}</p>
|
|
22
|
-
</div>
|
|
23
|
-
{props.children}
|
|
24
|
-
</NSLayout>
|
|
25
|
-
);
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
import { NSLayout } from './NSLayout';
|
|
5
|
+
|
|
6
|
+
interface IProps
|
|
7
|
+
{
|
|
8
|
+
scope: string;
|
|
9
|
+
logo: string;
|
|
10
|
+
title: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export function NSLayoutTitle(props: IProps)
|
|
16
|
+
{
|
|
17
|
+
return (
|
|
18
|
+
<NSLayout scope={props.scope} logo={props.logo} >
|
|
19
|
+
<div>
|
|
20
|
+
<h1 className='text-black text-center'>{props.title}</h1>
|
|
21
|
+
<p className='text-black page-description'>{props.description}</p>
|
|
22
|
+
</div>
|
|
23
|
+
{props.children}
|
|
24
|
+
</NSLayout>
|
|
25
|
+
);
|
|
26
26
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
.ns_link_green {
|
|
2
|
-
display: flex;
|
|
3
|
-
border-radius: 8px;
|
|
4
|
-
background-color: #06D182;
|
|
5
|
-
color: #ffffff;
|
|
6
|
-
border: 0;
|
|
7
|
-
box-shadow: inset 0 -4px 4px 0px rgb(0 0 0 / 25%);
|
|
8
|
-
font-size: 16px;
|
|
9
|
-
text-decoration: none;
|
|
10
|
-
width: 358px;
|
|
11
|
-
height: 48px;
|
|
12
|
-
text-align: center;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
font-weight: 400;
|
|
1
|
+
.ns_link_green {
|
|
2
|
+
display: flex;
|
|
3
|
+
border-radius: 8px;
|
|
4
|
+
background-color: #06D182;
|
|
5
|
+
color: #ffffff;
|
|
6
|
+
border: 0;
|
|
7
|
+
box-shadow: inset 0 -4px 4px 0px rgb(0 0 0 / 25%);
|
|
8
|
+
font-size: 16px;
|
|
9
|
+
text-decoration: none;
|
|
10
|
+
width: 358px;
|
|
11
|
+
height: 48px;
|
|
12
|
+
text-align: center;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
font-weight: 400;
|
|
16
16
|
}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import Style from "./NSLinkGreen.module.css";
|
|
4
|
-
import React from "react";
|
|
5
|
-
import { Link } from "react-router-dom";
|
|
6
|
-
|
|
7
|
-
interface IProps
|
|
8
|
-
{
|
|
9
|
-
title: string;
|
|
10
|
-
href: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface IState
|
|
14
|
-
{
|
|
15
|
-
title: string;
|
|
16
|
-
href: string;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export class NSLinkGreen extends React.Component<IProps, IState>
|
|
20
|
-
{
|
|
21
|
-
constructor(props: IProps)
|
|
22
|
-
{
|
|
23
|
-
super(props);
|
|
24
|
-
this.state = { title: props.title, href: props.href };
|
|
25
|
-
}
|
|
26
|
-
setTitle(title: string)
|
|
27
|
-
{
|
|
28
|
-
this.setState({ title });
|
|
29
|
-
}
|
|
30
|
-
setHRef(href: string)
|
|
31
|
-
{
|
|
32
|
-
this.setState({ href });
|
|
33
|
-
}
|
|
34
|
-
override render()
|
|
35
|
-
{
|
|
36
|
-
return (
|
|
37
|
-
<Link className="text-white text-decoration-none" to={this.state.href}>
|
|
38
|
-
<div className={Style.ns_link_green}>
|
|
39
|
-
{this.state.title}
|
|
40
|
-
</div>
|
|
41
|
-
</Link>
|
|
42
|
-
)
|
|
43
|
-
}
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import Style from "./NSLinkGreen.module.css";
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { Link } from "react-router-dom";
|
|
6
|
+
|
|
7
|
+
interface IProps
|
|
8
|
+
{
|
|
9
|
+
title: string;
|
|
10
|
+
href: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
interface IState
|
|
14
|
+
{
|
|
15
|
+
title: string;
|
|
16
|
+
href: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export class NSLinkGreen extends React.Component<IProps, IState>
|
|
20
|
+
{
|
|
21
|
+
constructor(props: IProps)
|
|
22
|
+
{
|
|
23
|
+
super(props);
|
|
24
|
+
this.state = { title: props.title, href: props.href };
|
|
25
|
+
}
|
|
26
|
+
setTitle(title: string)
|
|
27
|
+
{
|
|
28
|
+
this.setState({ title });
|
|
29
|
+
}
|
|
30
|
+
setHRef(href: string)
|
|
31
|
+
{
|
|
32
|
+
this.setState({ href });
|
|
33
|
+
}
|
|
34
|
+
override render()
|
|
35
|
+
{
|
|
36
|
+
return (
|
|
37
|
+
<Link className="text-white text-decoration-none" to={this.state.href}>
|
|
38
|
+
<div className={Style.ns_link_green}>
|
|
39
|
+
{this.state.title}
|
|
40
|
+
</div>
|
|
41
|
+
</Link>
|
|
42
|
+
)
|
|
43
|
+
}
|
|
44
44
|
}
|