namirasoft-site-react 1.2.35 → 1.2.36

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.
Files changed (43) hide show
  1. package/dist/components/NSCard.d.ts +20 -0
  2. package/dist/components/NSCard.js +13 -0
  3. package/dist/components/NSCard.js.map +1 -0
  4. package/dist/components/NSCard.module.css +85 -0
  5. package/dist/components/NSFooter.module.css +4 -3
  6. package/dist/components/NSHeader.js +1 -3
  7. package/dist/components/NSHeader.js.map +1 -1
  8. package/dist/components/NSHeader.module.css +43 -44
  9. package/dist/components/NSInputFloat.module.css +7 -4
  10. package/dist/components/NSInputIP.module.css +6 -3
  11. package/dist/components/NSInputPhone.module.css +10 -7
  12. package/dist/components/NSInputPrice.module.css +6 -3
  13. package/dist/components/NSInputString.module.css +6 -3
  14. package/dist/components/NSInputText.module.css +6 -3
  15. package/dist/components/NSInputTime.module.css +6 -3
  16. package/dist/components/NSLayoutHeroBanner.d.ts +1 -0
  17. package/dist/components/NSLayoutHeroBanner.js +3 -1
  18. package/dist/components/NSLayoutHeroBanner.js.map +1 -1
  19. package/dist/components/NSLayoutHeroBanner.module.css +44 -0
  20. package/dist/components/NSParentCard.module.css +35 -0
  21. package/dist/components/NSSelectBox.module.css +6 -2
  22. package/dist/main.d.ts +1 -0
  23. package/dist/main.js +1 -0
  24. package/dist/main.js.map +1 -1
  25. package/package.json +3 -3
  26. package/src/components/NSCard.module.css +85 -0
  27. package/src/components/NSCard.tsx +54 -0
  28. package/src/components/NSFooter.module.css +4 -3
  29. package/src/components/NSHeader.module.css +43 -44
  30. package/src/components/NSHeader.tsx +3 -4
  31. package/src/components/NSInputFloat.module.css +7 -4
  32. package/src/components/NSInputIP.module.css +6 -3
  33. package/src/components/NSInputPhone.module.css +10 -7
  34. package/src/components/NSInputPrice.module.css +6 -3
  35. package/src/components/NSInputString.module.css +6 -3
  36. package/src/components/NSInputText.module.css +6 -3
  37. package/src/components/NSInputTime.module.css +6 -3
  38. package/src/components/NSLayoutHeroBanner.module.css +44 -0
  39. package/src/components/NSLayoutHeroBanner.tsx +62 -2
  40. package/src/components/NSParentCard.module.css +35 -0
  41. package/src/components/NSParentCard.tsx.temp +59 -0
  42. package/src/components/NSSelectBox.module.css +6 -2
  43. package/src/main.ts +2 -0
@@ -1,12 +1,17 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { NSLayout } from './NSLayout';
3
3
 
4
+ import Styles from './NSLayoutHeroBanner.module.css'
5
+ import { Link } from 'react-router-dom';
6
+ // import { NSHeader } from './NSHeader';
7
+
4
8
  interface IProps
5
9
  {
6
10
  scope: string;
7
11
  logo: string;
8
12
  title: string;
9
13
  description?: string;
14
+ description_last?: string;
10
15
  banner: string;
11
16
  children: ReactNode;
12
17
  }
@@ -15,9 +20,64 @@ export function NSLayoutHeroBanner(props: IProps)
15
20
  {
16
21
  return (
17
22
  <NSLayout scope={props.scope} logo={props.logo} >
18
- <div>
19
- hero banner
23
+
24
+ <div className={Styles.hero_holder}>
25
+ {/* <NSHeader name='Header' scope='Namira Software Corporation' logo='https://static.namirasoft.com/logo/namirasoft/base.png' /> */}
26
+ <section className={Styles.hero_wraper}>
27
+ <div className="container mx-auto px-4 lg:px-12">
28
+ <div className="flex flex-wrap lg:flex-nowrap justify-center lg:justify-between">
29
+
30
+ <article className={`mb-6 lg:mb-0 lg:mb-12lg:pe-12 ${Styles.hero_text_container}`} >
31
+ <h1 className="ns-font-32-bold ns_font_lg_40_bold mb-6">
32
+ {props.title}
33
+ </h1>
34
+ <p className="ns-font-16-normal lg:mb-4">
35
+ {props.description}
36
+ </p>
37
+ <p className="ns-font-16-normal">
38
+ {props.description_last}
39
+ </p>
40
+
41
+ <div className="hidden lg:block mt-6">
42
+ <Link to="#" style={{ width: "100%", marginBottom: "24px" }} >
43
+ Contact US
44
+ </Link>
45
+
46
+ <Link to="#" style={{ width: "100%" }} >
47
+ Book a Meeting With Us
48
+ </Link>
49
+
50
+ </div>
51
+ </article>
52
+
53
+ <div style={{ backgroundImage: `url(${props.banner})` }} className={`hidden lg:block lg:w-full xl:w-1/2 ${Styles.hero_image_bg}`}>
54
+ <div className={Styles.ns_hero_vector_bg}></div>
55
+ </div>
56
+
57
+ <div className={`block lg:hidden ${Styles.hero_img_container}`}>
58
+ <img
59
+ src={props.banner}
60
+ alt=""
61
+ />
62
+ </div>
63
+
64
+ <div className="w-full mt-6 block lg:hidden">
65
+ <Link to="#" style={{ width: "100%", marginBottom: "24px" }} >
66
+ Contact US
67
+ </Link>
68
+
69
+ <Link to="#" style={{ width: "100%" }} >
70
+ Book a Meeting With Us
71
+ </Link>
72
+
73
+ </div>
74
+ </div>
75
+ </div>
76
+ </section>
20
77
  </div>
78
+
79
+
80
+
21
81
  {props.children}
22
82
  </NSLayout>
23
83
  );
@@ -0,0 +1,35 @@
1
+ /* .section_card_container {
2
+ display: flex;
3
+ flex-direction: column;
4
+ justify-content: center;
5
+ align-items: center;
6
+ padding: 48px 0;
7
+ gap: 48px;
8
+ }
9
+
10
+ .section_card_details>h2 {
11
+ color: inherit;
12
+ font-size: 32px;
13
+ font-weight: 700;
14
+ line-height: normal;
15
+ font-style: normal;
16
+ text-align: center;
17
+ margin-bottom: 16px;
18
+ }
19
+
20
+ .section_card_details>p {
21
+ color: inherit;
22
+ font-size: 16px;
23
+ font-weight: 400;
24
+ line-height: normal;
25
+ font-style: normal;
26
+ margin-bottom: 0;
27
+ }
28
+
29
+ .ns_card_container {
30
+ display: flex;
31
+ flex-direction: row;
32
+ flex-wrap: wrap;
33
+ justify-content: space-between;
34
+ gap: 24px;
35
+ } */
@@ -0,0 +1,59 @@
1
+ //// "use client"
2
+
3
+ // import { Component } from 'react';
4
+ // import Styles from './NSParentCard.module.css';
5
+
6
+ // interface IPropsCard
7
+ // {
8
+ // title: string,
9
+ // src: string,
10
+ // alt?: string | undefined,
11
+ // description?: string | undefined,
12
+ // has_link: boolean,
13
+ // href?: string | undefined,
14
+ // target?: string | undefined
15
+ // link_text?: string,
16
+ // }
17
+
18
+ // interface IProps
19
+ // {
20
+ // background?: {
21
+ // backgroundColor?: string,
22
+ // backgroundImage?: string,
23
+ // },
24
+ // section_title: string,
25
+ // section_description?: string | undefined,
26
+ // card: IPropsCard,
27
+ // cards: IPropsCard[]
28
+ // }
29
+
30
+ // interface IState
31
+ // { }
32
+
33
+ // export default class NSParentCard extends Component<IProps, IState> {
34
+ // override render()
35
+ // {
36
+ // return (
37
+
38
+ // <>
39
+ // <section className={` ${Styles.section_card_container}`}>
40
+ // <div className="ns-section-whitespace">
41
+ // <div className="container mx-auto px-4 lg:px-12">
42
+ // <div className={Styles.section_card_details}>
43
+ // <h2> {this.props.section_title} </h2>
44
+ // <p> {this.props.section_description} </p>
45
+ // </div>
46
+ // </div>
47
+ // </div>
48
+ // </section>
49
+
50
+ // <section className={Styles.section_card_container} style={this.props.background} >
51
+ // <div className={Styles.section_card_details}>
52
+ // <h2> {this.props.section_title} </h2>
53
+ // <p> {this.props.section_description} </p>
54
+ // </div>
55
+ // </section>
56
+ // </>
57
+ // );
58
+ // }
59
+ // };
@@ -7,18 +7,22 @@
7
7
  height: 48px;
8
8
  width: 304px !important;
9
9
  }
10
- .ns_input_select span span svg path{
10
+
11
+ .ns_input_select span span svg path {
11
12
  height: 24px !important;
12
13
  width: 24px !important;
13
14
  }
15
+
14
16
  .ns_input_select span span svg {
15
17
  height: 24px !important;
16
18
  width: 24px !important;
17
19
  }
18
- .ns_input_select span span span svg path{
20
+
21
+ .ns_input_select span span span svg path {
19
22
  height: 12px !important;
20
23
  width: 12px !important;
21
24
  }
25
+
22
26
  .ns_input_select span span span svg {
23
27
  height: 12px !important;
24
28
  width: 12px !important;
package/src/main.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  export * from "./components/NSButtonGreen";
2
2
  export * from "./components/NSButtonRed";
3
+ export * from "./components/NSCard";
4
+ // export * from "./components/NSParentCard";
3
5
  export * from "./components/NSFooter";
4
6
  export * from "./components/NSHeader";
5
7
  export * from "./components/NSInputDate";