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.
Files changed (177) hide show
  1. package/.gitlab-ci.yml +14 -14
  2. package/config-overrides.js +65 -65
  3. package/dist/App.js +1 -1
  4. package/dist/App.js.map +1 -1
  5. package/dist/assets/images/arrow.svg +3 -3
  6. package/dist/assets/images/danger.svg +3 -3
  7. package/dist/assets/images/exit.svg +3 -3
  8. package/dist/assets/images/icon-input-date.svg +9 -9
  9. package/dist/assets/images/icon-input-duration.svg +9 -9
  10. package/dist/assets/images/icon-input-email.svg +9 -9
  11. package/dist/assets/images/icon-input-float.svg +9 -9
  12. package/dist/assets/images/icon-input-id.svg +9 -9
  13. package/dist/assets/images/icon-input-integer.svg +9 -9
  14. package/dist/assets/images/icon-input-phone.svg +9 -9
  15. package/dist/assets/images/icon-input-price.svg +9 -9
  16. package/dist/assets/images/icon-input-search.svg +4 -4
  17. package/dist/assets/images/icon-input-string.svg +9 -9
  18. package/dist/assets/images/icon-input-text.svg +9 -9
  19. package/dist/assets/images/icon-input-time.svg +9 -9
  20. package/dist/assets/images/logo.svg +9 -9
  21. package/dist/assets/images/menu.svg +3 -3
  22. package/dist/assets/images/namira.svg +9 -9
  23. package/dist/assets/images/rectangle.svg +3 -3
  24. package/dist/components/NSButtonGreen.js +1 -1
  25. package/dist/components/NSButtonGreen.js.map +1 -1
  26. package/dist/components/NSButtonRed.js +1 -1
  27. package/dist/components/NSButtonRed.js.map +1 -1
  28. package/dist/components/NSCard.js +2 -2
  29. package/dist/components/NSCard.js.map +1 -1
  30. package/dist/components/NSFooter.js +4 -4
  31. package/dist/components/NSFooter.js.map +1 -1
  32. package/dist/components/NSHeader.d.ts +17 -1
  33. package/dist/components/NSHeader.js +50 -47
  34. package/dist/components/NSHeader.js.map +1 -1
  35. package/dist/components/NSInputDate.js +1 -1
  36. package/dist/components/NSInputDate.js.map +1 -1
  37. package/dist/components/NSInputDuration.js +1 -1
  38. package/dist/components/NSInputDuration.js.map +1 -1
  39. package/dist/components/NSInputEmail.js +1 -1
  40. package/dist/components/NSInputEmail.js.map +1 -1
  41. package/dist/components/NSInputEmail.module.css +37 -37
  42. package/dist/components/NSInputFloat.js +1 -1
  43. package/dist/components/NSInputFloat.js.map +1 -1
  44. package/dist/components/NSInputFloat.module.css +25 -25
  45. package/dist/components/NSInputIP.js +1 -1
  46. package/dist/components/NSInputIP.js.map +1 -1
  47. package/dist/components/NSInputIP.module.css +25 -25
  48. package/dist/components/NSInputInteger.js +1 -1
  49. package/dist/components/NSInputInteger.js.map +1 -1
  50. package/dist/components/NSInputInteger.module.css +25 -25
  51. package/dist/components/NSInputPhone.js +1 -1
  52. package/dist/components/NSInputPhone.js.map +1 -1
  53. package/dist/components/NSInputPhone.module.css +32 -32
  54. package/dist/components/NSInputPrice.js +1 -1
  55. package/dist/components/NSInputPrice.js.map +1 -1
  56. package/dist/components/NSInputPrice.module.css +26 -26
  57. package/dist/components/NSInputSearch.js +1 -1
  58. package/dist/components/NSInputSearch.js.map +1 -1
  59. package/dist/components/NSInputSearch.module.css +25 -25
  60. package/dist/components/NSInputString.js +1 -1
  61. package/dist/components/NSInputString.js.map +1 -1
  62. package/dist/components/NSInputString.module.css +26 -26
  63. package/dist/components/NSInputText.js +1 -1
  64. package/dist/components/NSInputText.js.map +1 -1
  65. package/dist/components/NSInputText.module.css +27 -27
  66. package/dist/components/NSInputTime.js +1 -1
  67. package/dist/components/NSInputTime.js.map +1 -1
  68. package/dist/components/NSInputTime.module.css +26 -26
  69. package/dist/components/NSLayout.js +1 -1
  70. package/dist/components/NSLayout.js.map +1 -1
  71. package/dist/components/NSLayout.module.css +16 -16
  72. package/dist/components/NSLayoutHeroBanner.js +1 -1
  73. package/dist/components/NSLayoutHeroBanner.js.map +1 -1
  74. package/dist/components/NSLayoutHeroBanner.module.css +43 -43
  75. package/dist/components/NSLayoutTitle.js +1 -1
  76. package/dist/components/NSLayoutTitle.js.map +1 -1
  77. package/dist/components/NSLinkGreen.js +1 -1
  78. package/dist/components/NSLinkGreen.js.map +1 -1
  79. package/dist/components/NSLinkGreen.module.css +15 -15
  80. package/dist/components/NSLinkRed.js +1 -1
  81. package/dist/components/NSLinkRed.js.map +1 -1
  82. package/dist/components/NSLinkRed.module.css +15 -15
  83. package/dist/components/NSPagination.js +7 -7
  84. package/dist/components/NSPagination.js.map +1 -1
  85. package/dist/components/NSPagination.module.css +24 -24
  86. package/dist/components/NSParentCard.module.css +34 -34
  87. package/dist/components/NSSelectBox.js +1 -1
  88. package/dist/components/NSSelectBox.js.map +1 -1
  89. package/dist/components/NSSelectBox.module.css +28 -28
  90. package/dist/components/NSTable.js +1 -1
  91. package/dist/components/NSTable.js.map +1 -1
  92. package/dist/components/NSTable.modules.css +76 -76
  93. package/dist/pages/NSLoginPage.js +1 -1
  94. package/dist/pages/NSLoginPage.js.map +1 -1
  95. package/package.json +52 -52
  96. package/public/index.html +42 -42
  97. package/public/manifest.json +25 -25
  98. package/public/robots.txt +3 -3
  99. package/src/App.tsx +70 -70
  100. package/src/assets/images/arrow.svg +3 -3
  101. package/src/assets/images/danger.svg +3 -3
  102. package/src/assets/images/exit.svg +3 -3
  103. package/src/assets/images/icon-input-date.svg +9 -9
  104. package/src/assets/images/icon-input-duration.svg +9 -9
  105. package/src/assets/images/icon-input-email.svg +9 -9
  106. package/src/assets/images/icon-input-float.svg +9 -9
  107. package/src/assets/images/icon-input-id.svg +9 -9
  108. package/src/assets/images/icon-input-integer.svg +9 -9
  109. package/src/assets/images/icon-input-phone.svg +9 -9
  110. package/src/assets/images/icon-input-price.svg +9 -9
  111. package/src/assets/images/icon-input-search.svg +4 -4
  112. package/src/assets/images/icon-input-string.svg +9 -9
  113. package/src/assets/images/icon-input-text.svg +9 -9
  114. package/src/assets/images/icon-input-time.svg +9 -9
  115. package/src/assets/images/logo.svg +9 -9
  116. package/src/assets/images/menu.svg +3 -3
  117. package/src/assets/images/namira.svg +9 -9
  118. package/src/assets/images/rectangle.svg +3 -3
  119. package/src/components/NSButtonGreen.tsx +33 -33
  120. package/src/components/NSButtonRed.tsx +33 -33
  121. package/src/components/NSCard.tsx +54 -54
  122. package/src/components/NSFooter.tsx +123 -123
  123. package/src/components/NSHeader.tsx +134 -122
  124. package/src/components/NSInputDate.tsx +57 -57
  125. package/src/components/NSInputDuration.tsx +65 -65
  126. package/src/components/NSInputEmail.module.css +37 -37
  127. package/src/components/NSInputEmail.tsx +92 -92
  128. package/src/components/NSInputFloat.module.css +25 -25
  129. package/src/components/NSInputFloat.tsx +61 -61
  130. package/src/components/NSInputIP.module.css +25 -25
  131. package/src/components/NSInputIP.tsx +65 -65
  132. package/src/components/NSInputInteger.module.css +25 -25
  133. package/src/components/NSInputInteger.tsx +65 -65
  134. package/src/components/NSInputPhone.module.css +32 -32
  135. package/src/components/NSInputPhone.tsx +65 -65
  136. package/src/components/NSInputPrice.module.css +26 -26
  137. package/src/components/NSInputPrice.tsx +68 -68
  138. package/src/components/NSInputSearch.module.css +25 -25
  139. package/src/components/NSInputSearch.tsx +78 -78
  140. package/src/components/NSInputString.module.css +26 -26
  141. package/src/components/NSInputString.tsx +66 -66
  142. package/src/components/NSInputText.module.css +27 -27
  143. package/src/components/NSInputText.tsx +69 -69
  144. package/src/components/NSInputTime.module.css +26 -26
  145. package/src/components/NSInputTime.tsx +65 -65
  146. package/src/components/NSLayout.module.css +16 -16
  147. package/src/components/NSLayout.tsx +30 -31
  148. package/src/components/NSLayoutHeroBanner.module.css +43 -43
  149. package/src/components/NSLayoutHeroBanner.tsx +85 -85
  150. package/src/components/NSLayoutTitle.tsx +25 -25
  151. package/src/components/NSLinkGreen.module.css +15 -15
  152. package/src/components/NSLinkGreen.tsx +43 -43
  153. package/src/components/NSLinkRed.module.css +15 -15
  154. package/src/components/NSLinkRed.tsx +43 -43
  155. package/src/components/NSPagination.module.css +24 -24
  156. package/src/components/NSPagination.tsx +54 -54
  157. package/src/components/NSParentCard.module.css +34 -34
  158. package/src/components/NSParentCard.tsx.temp +58 -58
  159. package/src/components/NSSelectBox.module.css +28 -28
  160. package/src/components/NSSelectBox.tsx +62 -62
  161. package/src/components/NSTable.modules.css +76 -76
  162. package/src/components/NSTable.tsx +64 -64
  163. package/src/index.tsx +7 -7
  164. package/src/main.ts +25 -25
  165. package/src/pages/NSLoginPage.tsx +39 -39
  166. package/src/react-app-env.d.ts +1 -1
  167. package/tsconfig.json +37 -37
  168. package/dist/App.css +0 -0
  169. package/dist/assets/images/background.svg +0 -9
  170. package/dist/assets/images/left-vector.png +0 -0
  171. package/dist/assets/images/left_vector.png +0 -0
  172. package/dist/assets/images/right-vector.png +0 -0
  173. package/dist/assets/images/right_vector.png +0 -0
  174. package/dist/components/NSParentCard.d.ts +0 -0
  175. package/dist/components/NSParentCard.js +0 -2
  176. package/dist/components/NSParentCard.js.map +0 -1
  177. package/dist/index.css +0 -6
@@ -1,77 +1,77 @@
1
- .thead th {
2
- background-color: rgb(0, 0, 0, 0.3);
3
- color: rgba(255, 255, 255, 1);
4
- border: none;
5
- }
6
-
7
- .tbody th {
8
- background-color: rgb(0, 0, 0, 0.3);
9
- color: rgba(255, 255, 255, 1);
10
- border: none;
11
- }
12
-
13
- .tbody td {
14
- background-color: rgb(0, 0, 0, 0.3);
15
- color: rgba(255, 255, 255, 1);
16
- border: none;
17
- }
18
-
19
- .project_list_container {
20
- border: none;
21
- text-align: left;
22
- }
23
-
24
- @media only screen and (max-width:600px) {
25
- .project_list_container {
26
- overflow: scroll;
27
- }
28
- }
29
-
30
- /* table-satus */
31
- .inqueue_status {
32
- color: white;
33
- background-color: rgba(255, 148, 50, 1);
34
- font-size: 12px;
35
- width: 96px;
36
- height: 24px;
37
- border-radius: 24px;
38
- border: none;
39
- text-align: center;
40
- padding-top: 2px;
41
- }
42
-
43
- .reserving_status {
44
- color: white;
45
- background-color: rgba(255, 79, 79, 1);
46
- font-size: 12px;
47
- width: 96px;
48
- height: 24px;
49
- border-radius: 24px;
50
- border: none;
51
- text-align: center;
52
- padding-top: 2px;
53
- }
54
-
55
- .done-status {
56
- color: white;
57
- background-color: rgba(6, 209, 130, 1);
58
- font-size: 12px;
59
- width: 96px;
60
- height: 24px;
61
- border-radius: 24px;
62
- border: none;
63
- text-align: center;
64
- padding-top: 2px;
65
- }
66
-
67
- .inprogress_status {
68
- color: white;
69
- background-color: rgba(230, 208, 19, 1);
70
- font-size: 12px;
71
- width: 96px;
72
- height: 24px;
73
- border-radius: 24px;
74
- border: none;
75
- text-align: center;
76
- padding-top: 2px;
1
+ .thead th {
2
+ background-color: rgb(0, 0, 0, 0.3);
3
+ color: rgba(255, 255, 255, 1);
4
+ border: none;
5
+ }
6
+
7
+ .tbody th {
8
+ background-color: rgb(0, 0, 0, 0.3);
9
+ color: rgba(255, 255, 255, 1);
10
+ border: none;
11
+ }
12
+
13
+ .tbody td {
14
+ background-color: rgb(0, 0, 0, 0.3);
15
+ color: rgba(255, 255, 255, 1);
16
+ border: none;
17
+ }
18
+
19
+ .project_list_container {
20
+ border: none;
21
+ text-align: left;
22
+ }
23
+
24
+ @media only screen and (max-width:600px) {
25
+ .project_list_container {
26
+ overflow: scroll;
27
+ }
28
+ }
29
+
30
+ /* table-satus */
31
+ .inqueue_status {
32
+ color: white;
33
+ background-color: rgba(255, 148, 50, 1);
34
+ font-size: 12px;
35
+ width: 96px;
36
+ height: 24px;
37
+ border-radius: 24px;
38
+ border: none;
39
+ text-align: center;
40
+ padding-top: 2px;
41
+ }
42
+
43
+ .reserving_status {
44
+ color: white;
45
+ background-color: rgba(255, 79, 79, 1);
46
+ font-size: 12px;
47
+ width: 96px;
48
+ height: 24px;
49
+ border-radius: 24px;
50
+ border: none;
51
+ text-align: center;
52
+ padding-top: 2px;
53
+ }
54
+
55
+ .done-status {
56
+ color: white;
57
+ background-color: rgba(6, 209, 130, 1);
58
+ font-size: 12px;
59
+ width: 96px;
60
+ height: 24px;
61
+ border-radius: 24px;
62
+ border: none;
63
+ text-align: center;
64
+ padding-top: 2px;
65
+ }
66
+
67
+ .inprogress_status {
68
+ color: white;
69
+ background-color: rgba(230, 208, 19, 1);
70
+ font-size: 12px;
71
+ width: 96px;
72
+ height: 24px;
73
+ border-radius: 24px;
74
+ border: none;
75
+ text-align: center;
76
+ padding-top: 2px;
77
77
  }
@@ -1,65 +1,65 @@
1
- "use client";
2
-
3
- import "./NSTable.modules.css";
4
- import { Component } from 'react';
5
-
6
- interface IProps<RowType>
7
- {
8
- columns: { [key: string]: string };
9
- rows: RowType[];
10
- getRowKey: (row: RowType, rowIndex: number) => string;
11
- getColumnAttributes: (column: string, columnIndex: number) => { [key: string]: string };
12
- getCell: (row: RowType, column: string, rowIndex: number, columnIndex: number) => any;
13
- }
14
-
15
- interface IState<RowType>
16
- {
17
- columns: { [key: string]: string };
18
- rows: RowType[];
19
- }
20
-
21
- export class NSTable<RowType> extends Component<IProps<RowType>, IState<RowType>>
22
- {
23
- constructor(props: IProps<RowType>)
24
- {
25
- super(props);
26
- this.state = { columns: props.columns, rows: props.rows };
27
- }
28
- setColumns(columns: { [key: string]: string })
29
- {
30
- this.setState({ columns });
31
- }
32
- setRows(rows: RowType[])
33
- {
34
- this.setState({ rows });
35
- }
36
- override render()
37
- {
38
- let column_keys = Object.keys(this.state.columns);
39
- return (
40
- <div className="project_list_container">
41
- <table className="table">
42
- <thead className="thead">
43
- <tr>
44
- {column_keys.map(column_key => <th key={column_key} scope="col">{this.state.columns[column_key]}</th>)}
45
- </tr>
46
- </thead>
47
- <tbody className="tbody">
48
- {
49
- this.state.rows.map((row, rowIndex) =>
50
- <tr key={this.props.getRowKey(row, rowIndex)}>
51
- {
52
- column_keys.map((column, columnIndex) => (
53
- <td {...this.props.getColumnAttributes(column, columnIndex)}>
54
- {this.props.getCell(row, column, rowIndex, columnIndex)}
55
- </td>
56
- ))
57
- }
58
- </tr>)
59
- }
60
- </tbody >
61
- </table>
62
- </div >
63
- )
64
- }
1
+ "use client";
2
+
3
+ import "./NSTable.modules.css";
4
+ import { Component } from 'react';
5
+
6
+ interface IProps<RowType>
7
+ {
8
+ columns: { [key: string]: string };
9
+ rows: RowType[];
10
+ getRowKey: (row: RowType, rowIndex: number) => string;
11
+ getColumnAttributes: (column: string, columnIndex: number) => { [key: string]: string };
12
+ getCell: (row: RowType, column: string, rowIndex: number, columnIndex: number) => any;
13
+ }
14
+
15
+ interface IState<RowType>
16
+ {
17
+ columns: { [key: string]: string };
18
+ rows: RowType[];
19
+ }
20
+
21
+ export class NSTable<RowType> extends Component<IProps<RowType>, IState<RowType>>
22
+ {
23
+ constructor(props: IProps<RowType>)
24
+ {
25
+ super(props);
26
+ this.state = { columns: props.columns, rows: props.rows };
27
+ }
28
+ setColumns(columns: { [key: string]: string })
29
+ {
30
+ this.setState({ columns });
31
+ }
32
+ setRows(rows: RowType[])
33
+ {
34
+ this.setState({ rows });
35
+ }
36
+ override render()
37
+ {
38
+ let column_keys = Object.keys(this.state.columns);
39
+ return (
40
+ <div className="project_list_container">
41
+ <table className="table">
42
+ <thead className="thead">
43
+ <tr>
44
+ {column_keys.map(column_key => <th key={column_key} scope="col">{this.state.columns[column_key]}</th>)}
45
+ </tr>
46
+ </thead>
47
+ <tbody className="tbody">
48
+ {
49
+ this.state.rows.map((row, rowIndex) =>
50
+ <tr key={this.props.getRowKey(row, rowIndex)}>
51
+ {
52
+ column_keys.map((column, columnIndex) => (
53
+ <td {...this.props.getColumnAttributes(column, columnIndex)}>
54
+ {this.props.getCell(row, column, rowIndex, columnIndex)}
55
+ </td>
56
+ ))
57
+ }
58
+ </tr>)
59
+ }
60
+ </tbody >
61
+ </table>
62
+ </div >
63
+ )
64
+ }
65
65
  }
package/src/index.tsx CHANGED
@@ -1,8 +1,8 @@
1
- import ReactDOM from 'react-dom/client';
2
- import './index.css';
3
- import { App } from './App';
4
-
5
- const root = ReactDOM.createRoot(
6
- document.getElementById('root') as HTMLElement
7
- );
1
+ import ReactDOM from 'react-dom/client';
2
+ import './index.css';
3
+ import { App } from './App';
4
+
5
+ const root = ReactDOM.createRoot(
6
+ document.getElementById('root') as HTMLElement
7
+ );
8
8
  root.render(<App />);
package/src/main.ts CHANGED
@@ -1,26 +1,26 @@
1
- export * from "./components/NSButtonGreen";
2
- export * from "./components/NSButtonRed";
3
- export * from "./components/NSCard";
4
- export * from "./components/NSFooter";
5
- export * from "./components/NSHeader";
6
- export * from "./components/NSInputDate";
7
- export * from "./components/NSInputDuration";
8
- export * from "./components/NSInputEmail";
9
- export * from "./components/NSInputFloat";
10
- export * from "./components/NSInputIP";
11
- export * from "./components/NSInputInteger";
12
- export * from "./components/NSInputPhone";
13
- export * from "./components/NSInputPrice";
14
- export * from "./components/NSInputSearch";
15
- export * from "./components/NSInputString";
16
- export * from "./components/NSInputText";
17
- export * from "./components/NSInputTime";
18
- export * from "./components/NSLayout";
19
- export * from "./components/NSLayoutHeroBanner";
20
- export * from "./components/NSLayoutTitle";
21
- export * from "./components/NSSelectBox";
22
- export * from "./components/NSLinkGreen";
23
- export * from "./components/NSLinkRed";
24
- export * from "./components/NSPagination";
25
- export * from "./components/NSTable";
1
+ export * from "./components/NSButtonGreen";
2
+ export * from "./components/NSButtonRed";
3
+ export * from "./components/NSCard";
4
+ export * from "./components/NSFooter";
5
+ export * from "./components/NSHeader";
6
+ export * from "./components/NSInputDate";
7
+ export * from "./components/NSInputDuration";
8
+ export * from "./components/NSInputEmail";
9
+ export * from "./components/NSInputFloat";
10
+ export * from "./components/NSInputIP";
11
+ export * from "./components/NSInputInteger";
12
+ export * from "./components/NSInputPhone";
13
+ export * from "./components/NSInputPrice";
14
+ export * from "./components/NSInputSearch";
15
+ export * from "./components/NSInputString";
16
+ export * from "./components/NSInputText";
17
+ export * from "./components/NSInputTime";
18
+ export * from "./components/NSLayout";
19
+ export * from "./components/NSLayoutHeroBanner";
20
+ export * from "./components/NSLayoutTitle";
21
+ export * from "./components/NSSelectBox";
22
+ export * from "./components/NSLinkGreen";
23
+ export * from "./components/NSLinkRed";
24
+ export * from "./components/NSPagination";
25
+ export * from "./components/NSTable";
26
26
  export * from "./pages/NSLoginPage";
@@ -1,40 +1,40 @@
1
- "use client";
2
-
3
- import "./NSLoginPage.modules.css";
4
- import { Component } from 'react';
5
- import { NSButtonGreen } from "../main";
6
- import { NSLinkGreen } from "../main";
7
-
8
- interface IProps
9
- {
10
- title: string;
11
- logo: string;
12
- background: string;
13
- href?: string;
14
- onClick?: () => void;
15
- }
16
-
17
- export class NSLoginPage extends Component<IProps>
18
- {
19
- override render()
20
- {
21
- let button = <></>;
22
- if (this.props.href)
23
- button = <NSLinkGreen title="Login" href={this.props.href ?? ""} />;
24
- else if (this.props.onClick)
25
- button = <NSButtonGreen title="Login" onClick={this.props.onClick} />;
26
- return (
27
- <div style={{ backgroundImage: this.props.background }}>
28
- <div className="d-flex flex-column align-items-center justify-content-center" style={{ marginTop: "100px" }}>
29
- <div className="m-auto">
30
- <img width={256} height={256} src={this.props.logo} alt="logo"></img>
31
- </div>
32
- <div><h1 className="text-light text-center mb-3">{this.props.title}</h1></div>
33
- <div className="m-auto">
34
- {button}
35
- </div>
36
- </div>
37
- </div>
38
- );
39
- }
1
+ "use client";
2
+
3
+ import "./NSLoginPage.modules.css";
4
+ import { Component } from 'react';
5
+ import { NSButtonGreen } from "../main";
6
+ import { NSLinkGreen } from "../main";
7
+
8
+ interface IProps
9
+ {
10
+ title: string;
11
+ logo: string;
12
+ background: string;
13
+ href?: string;
14
+ onClick?: () => void;
15
+ }
16
+
17
+ export class NSLoginPage extends Component<IProps>
18
+ {
19
+ override render()
20
+ {
21
+ let button = <></>;
22
+ if (this.props.href)
23
+ button = <NSLinkGreen title="Login" href={this.props.href ?? ""} />;
24
+ else if (this.props.onClick)
25
+ button = <NSButtonGreen title="Login" onClick={this.props.onClick} />;
26
+ return (
27
+ <div style={{ backgroundImage: this.props.background }}>
28
+ <div className="d-flex flex-column align-items-center justify-content-center" style={{ marginTop: "100px" }}>
29
+ <div className="m-auto">
30
+ <img width={256} height={256} src={this.props.logo} alt="logo"></img>
31
+ </div>
32
+ <div><h1 className="text-light text-center mb-3">{this.props.title}</h1></div>
33
+ <div className="m-auto">
34
+ {button}
35
+ </div>
36
+ </div>
37
+ </div>
38
+ );
39
+ }
40
40
  }
@@ -1 +1 @@
1
- /// <reference types="react-scripts" />
1
+ /// <reference types="react-scripts" />
package/tsconfig.json CHANGED
@@ -1,38 +1,38 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES6",
4
- "module": "esnext",
5
- "rootDir": "./src",
6
- "outDir": "./dist",
7
- "lib": [
8
- "dom",
9
- "dom.iterable",
10
- "esnext"
11
- ],
12
- "allowJs": false,
13
- "checkJs": false,
14
- "strict": true,
15
- "esModuleInterop": true,
16
- "sourceMap": true,
17
- "resolveJsonModule": true,
18
- "declaration": true,
19
- "noUnusedLocals": true,
20
- "noUnusedParameters": true,
21
- "noImplicitAny": true,
22
- "noImplicitOverride": true,
23
- "noImplicitReturns": true,
24
- "noImplicitThis": true,
25
- "skipLibCheck": true,
26
- "allowSyntheticDefaultImports": true,
27
- "forceConsistentCasingInFileNames": true,
28
- "noFallthroughCasesInSwitch": true,
29
- "isolatedModules": true,
30
- "removeComments": true,
31
- "noEmit": false,
32
- "moduleResolution": "node",
33
- "jsx": "react-jsx"
34
- },
35
- "include": [
36
- "src"
37
- ]
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES6",
4
+ "module": "esnext",
5
+ "rootDir": "./src",
6
+ "outDir": "./dist",
7
+ "lib": [
8
+ "dom",
9
+ "dom.iterable",
10
+ "esnext"
11
+ ],
12
+ "allowJs": false,
13
+ "checkJs": false,
14
+ "strict": true,
15
+ "esModuleInterop": true,
16
+ "sourceMap": true,
17
+ "resolveJsonModule": true,
18
+ "declaration": true,
19
+ "noUnusedLocals": true,
20
+ "noUnusedParameters": true,
21
+ "noImplicitAny": true,
22
+ "noImplicitOverride": true,
23
+ "noImplicitReturns": true,
24
+ "noImplicitThis": true,
25
+ "skipLibCheck": true,
26
+ "allowSyntheticDefaultImports": true,
27
+ "forceConsistentCasingInFileNames": true,
28
+ "noFallthroughCasesInSwitch": true,
29
+ "isolatedModules": true,
30
+ "removeComments": true,
31
+ "noEmit": false,
32
+ "moduleResolution": "node",
33
+ "jsx": "react-jsx"
34
+ },
35
+ "include": [
36
+ "src"
37
+ ]
38
38
  }
package/dist/App.css DELETED
File without changes