namirasoft-site-react 1.2.51 → 1.2.52

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/App.js CHANGED
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import './App.css';
3
3
  import 'bootstrap/dist/css/bootstrap.min.css';
4
4
  import { NSButtonRed } from './components/NSButtonRed';
5
- import { NSBoxSection, NSLayout, NSPagination } from './main';
5
+ import { NSLayout, NSPagination } from './main';
6
6
  export function App() {
7
- return (_jsx("div", Object.assign({ className: "App" }, { children: _jsxs(NSLayout, Object.assign({ scope: 'Namirasoft SOP console', logo: '' }, { children: [_jsxs("div", Object.assign({ className: 'my-4 container' }, { children: [_jsx(NSButtonRed, { title: 'Delete', onClick: () => { } }), _jsx(NSPagination, { page: 1, size: 25 })] })), _jsx(NSBoxSection, { detail: 'detail', image: '', description: 'desc' })] })) })));
7
+ return (_jsx("div", Object.assign({ className: "App" }, { children: _jsx(NSLayout, Object.assign({ scope: 'Namirasoft SOP console', logo: '' }, { children: _jsxs("div", Object.assign({ className: 'my-4 container' }, { children: [_jsx(NSButtonRed, { title: 'Delete', onClick: () => { } }), _jsx(NSPagination, { page: 1, size: 25 })] })) })) })));
8
8
  }
9
9
  //# sourceMappingURL=App.js.map
package/dist/App.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"App.js","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":";AAAA,OAAO,WAAW,CAAC;AACnB,OAAO,sCAAsC,CAAC;AAc9C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAI9D,MAAM,UAAU,GAAG;IAyBf,OAAO,CACH,4BAAK,SAAS,EAAC,KAAK,gBAChB,MAAC,QAAQ,kBAAC,KAAK,EAAC,wBAAwB,EAAC,IAAI,EAAC,EAAE,iBAC5C,6BAAK,SAAS,EAAC,gBAAgB,iBAgB3B,KAAC,WAAW,IAAC,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,GAAI,EAClD,KAAC,YAAY,IAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,GAAI,KACjC,EAEN,KAAC,YAAY,IAAC,MAAM,EAAC,QAAQ,EAAC,KAAK,EAAC,EAAE,EAAC,WAAW,EAAC,MAAM,GAAG,KACrD,IACT,CACT,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"App.js","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":";AAAA,OAAO,WAAW,CAAC;AACnB,OAAO,sCAAsC,CAAC;AAc9C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAIhD,MAAM,UAAU,GAAG;IAyBf,OAAO,CACH,4BAAK,SAAS,EAAC,KAAK,gBAChB,KAAC,QAAQ,kBAAC,KAAK,EAAC,wBAAwB,EAAC,IAAI,EAAC,EAAE,gBAC5C,6BAAK,SAAS,EAAC,gBAAgB,iBAgB3B,KAAC,WAAW,IAAC,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,GAAI,EAClD,KAAC,YAAY,IAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,GAAI,KACjC,IAEC,IACT,CACT,CAAC;AACN,CAAC"}
package/dist/main.d.ts CHANGED
@@ -24,5 +24,3 @@ export * from "./components/NSLinkRed";
24
24
  export * from "./components/NSPagination";
25
25
  export * from "./components/NSTable";
26
26
  export * from "./pages/NSLoginPage";
27
- export * from "./components/NSBoxSection";
28
- export * from "./components/NSBoxPosition";
package/dist/main.js CHANGED
@@ -24,6 +24,4 @@ export * from "./components/NSLinkRed";
24
24
  export * from "./components/NSPagination";
25
25
  export * from "./components/NSTable";
26
26
  export * from "./pages/NSLoginPage";
27
- export * from "./components/NSBoxSection";
28
- export * from "./components/NSBoxPosition";
29
27
  //# sourceMappingURL=main.js.map
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC"}
package/package.json CHANGED
@@ -1,18 +1,17 @@
1
1
  {
2
2
  "name": "namirasoft-site-react",
3
- "version": "1.2.51",
3
+ "version": "1.2.52",
4
4
  "main": "./dist/main.js",
5
5
  "types": "./dist/main.d.ts",
6
6
  "dependencies": {
7
7
  "@types/node": "^20.11.24",
8
- "@types/react": "^18.2.62",
9
- "@types/react-dom": "^18.2.19",
8
+ "@types/react": "^18.2.63",
9
+ "@types/react-dom": "^18.2.20",
10
10
  "antd": "^5.15.0",
11
11
  "bootstrap": "^5.3.3",
12
12
  "link-react": "^3.0.0",
13
13
  "namirasoft-api-link": "^1.2.3",
14
14
  "namirasoft-core": "^1.2.13",
15
- "namirasoft-site-react": "^1.2.50",
16
15
  "path-browserify": "^1.0.1",
17
16
  "react": "^18.2.0",
18
17
  "react-app-rewired": "^2.2.1",
package/src/App.tsx CHANGED
@@ -16,7 +16,7 @@ import 'bootstrap/dist/css/bootstrap.min.css';
16
16
  import { NSButtonRed } from './components/NSButtonRed';
17
17
  // import { NSSelectBox } from './components/NSSelectBox';
18
18
  // import { type SelectProps } from 'antd';
19
- import { NSBoxSection, NSLayout, NSPagination } from './main';
19
+ import { NSLayout, NSPagination } from './main';
20
20
  // import { NSBoxPosition } from './components/NSBoxPosition';
21
21
  // import { NSBoxSection } from './components/NSBoxSection';
22
22
 
@@ -68,7 +68,6 @@ export function App()
68
68
  <NSPagination page={1} size={25} />
69
69
  </div>
70
70
  {/* <NSBoxPosition image='' title='' list='' percent='' information='' /> */}
71
- <NSBoxSection detail='detail' image='' description='desc' />
72
71
  </NSLayout>
73
72
  </div>
74
73
  );
package/src/main.ts CHANGED
@@ -24,5 +24,3 @@ export * from "./components/NSLinkRed";
24
24
  export * from "./components/NSPagination";
25
25
  export * from "./components/NSTable";
26
26
  export * from "./pages/NSLoginPage";
27
- export * from "./components/NSBoxSection";
28
- export * from "./components/NSBoxPosition";
@@ -1,20 +0,0 @@
1
- import React from "react";
2
- interface IProps {
3
- image: string;
4
- title: string;
5
- list: string;
6
- percent: string | number;
7
- information: string | number;
8
- }
9
- interface IState {
10
- image: string;
11
- title: string;
12
- list: string;
13
- percent: string | number;
14
- information: string | number;
15
- }
16
- export declare class NSBoxPosition extends React.Component<IProps, IState> {
17
- constructor(props: IProps);
18
- render(): import("react/jsx-runtime").JSX.Element;
19
- }
20
- export {};
@@ -1,14 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import Style from "./NSBoxPosition.module.css";
4
- import React from "react";
5
- export class NSBoxPosition extends React.Component {
6
- constructor(props) {
7
- super(props);
8
- this.state = { title: props.title, image: props.image, list: props.list, percent: props.percent, information: props.information };
9
- }
10
- render() {
11
- return (_jsx("div", Object.assign({ className: Style.position_box_contain }, { children: _jsxs("div", Object.assign({ className: Style.position_box_layout }, { children: [_jsx("img", { className: "rounded", src: this.state.image, alt: "wordpress", width: 326, height: 220 }), _jsxs("div", Object.assign({ className: Style.position_box_information }, { children: [_jsx("h3", { children: this.state.title }), _jsx("h4", { children: "Skills :" }), _jsx("ul", { children: _jsxs("li", { children: [this.state.list, _jsx("span", { children: this.props.percent })] }) }), _jsx("h4", { children: "Or" }), _jsx("ul", { children: _jsxs("li", { children: [this.state.list, _jsx("span", { children: this.props.percent })] }) }), _jsx("h3", { children: "Responsibility :" }), _jsx("p", { children: this.state.information })] }))] })) })));
12
- }
13
- }
14
- //# sourceMappingURL=NSBoxPosition.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NSBoxPosition.js","sourceRoot":"","sources":["../../src/components/NSBoxPosition.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,KAAK,MAAM,4BAA4B,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAqB1B,MAAM,OAAO,aAAc,SAAQ,KAAK,CAAC,SAAyB;IAG9D,YAAY,KAAa;QAErB,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,CAAC;IACtI,CAAC;IAEQ,MAAM;QAEX,OAAO,CACH,4BAAK,SAAS,EAAE,KAAK,CAAC,oBAAoB,gBACtC,6BAAK,SAAS,EAAE,KAAK,CAAC,mBAAmB,iBACrC,cAAK,SAAS,EAAC,SAAS,EAAC,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,EAAC,WAAW,EAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,GAAQ,EAC/F,6BAAK,SAAS,EAAE,KAAK,CAAC,wBAAwB,iBAC1C,uBAAK,IAAI,CAAC,KAAK,CAAC,KAAK,GAAM,EAC3B,oCAAiB,EACjB,uBACI,yBAAK,IAAI,CAAC,KAAK,CAAC,IAAI,EAAC,yBAAO,IAAI,CAAC,KAAK,CAAC,OAAO,GAAQ,IAAK,GAC1D,EACL,8BAAW,EACX,uBACI,yBAAK,IAAI,CAAC,KAAK,CAAC,IAAI,EAAC,yBAAO,IAAI,CAAC,KAAK,CAAC,OAAO,GAAQ,IAAK,GAC1D,EACL,4CAAyB,EACzB,sBAAI,IAAI,CAAC,KAAK,CAAC,WAAW,GAAK,KAC7B,KACJ,IACJ,CACT,CAAA;IACL,CAAC;CACJ"}
@@ -1,81 +0,0 @@
1
- .position_box_contain {
2
- width: 100%;
3
- padding: 0 16px;
4
- display: flex;
5
- justify-content: center;
6
- align-items: center;
7
- }
8
-
9
- .position_box_layout {
10
- display: flex;
11
- flex-direction: column;
12
- justify-content: center;
13
- align-items: center;
14
- background-color: rgba(20, 27, 92, 0.3);
15
- width: 358px;
16
- height: auto;
17
- border-radius: 8px;
18
- text-align: center;
19
- gap: 16px;
20
- margin: 12px 0;
21
- padding: 16px 0;
22
- }
23
-
24
- .position_box_information {
25
- display: flex;
26
- flex-direction: column;
27
- justify-content: left;
28
- align-items: start;
29
- text-align: left;
30
- padding: 0 16px;
31
- color: rgba(20, 27, 92, 1);
32
- }
33
-
34
- .position_box_information h3 {
35
- font-size: 24px;
36
- font-weight: 700;
37
- }
38
-
39
- .position_box_information h4 {
40
- font-size: 16px;
41
- font-weight: bold;
42
- font-weight: 600;
43
- }
44
-
45
- .position_box_information ul {
46
- width: 100%;
47
- }
48
-
49
- .position_box_information li {
50
- text-decoration: underline;
51
- }
52
-
53
- .position_box_information span {
54
- float: right;
55
- }
56
-
57
- @media only screen and (min-width:768px) {
58
- .position_box_layout {
59
- display: flex;
60
- flex-direction: row;
61
- justify-content: left;
62
- width: 100%;
63
- height: auto;
64
- }
65
-
66
- .position_box_contain {
67
- padding: 0 48px;
68
- display: flex;
69
- justify-content: left;
70
- }
71
-
72
- .position_box_layout img {
73
- width: 408px;
74
- height: 276px;
75
- padding: 0 16px;
76
- }
77
-
78
- .position_box_information {
79
- line-height: 16px;
80
- }
81
- }
@@ -1,20 +0,0 @@
1
- import React from "react";
2
- interface IProps {
3
- detail: string;
4
- image: string;
5
- description: string;
6
- }
7
- interface IState {
8
- detail: string;
9
- image: string;
10
- description: string;
11
- toggle: boolean;
12
- }
13
- export declare class NSBoxSection extends React.Component<IProps, IState> {
14
- constructor(props: IProps);
15
- setTitle(description: string): void;
16
- setHRef(detail: string): void;
17
- setToggle(toggle: boolean): void;
18
- render(): import("react/jsx-runtime").JSX.Element;
19
- }
20
- export {};
@@ -1,28 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import React from "react";
4
- export class NSBoxSection extends React.Component {
5
- constructor(props) {
6
- super(props);
7
- this.state = { detail: props.detail, image: props.image, description: props.description, toggle: true };
8
- }
9
- setTitle(description) {
10
- this.setState({ description });
11
- }
12
- setHRef(detail) {
13
- this.setState({ detail });
14
- }
15
- setToggle(toggle) {
16
- this.setState({ toggle });
17
- }
18
- render() {
19
- return (_jsx("div", Object.assign({ className: 'position-contain' }, { children: _jsxs("div", Object.assign({ className: "position-layout" }, { children: [_jsx("img", { className: "rounded", src: this.state.image, alt: "wordpress", width: 326, height: 220 }), _jsxs("div", Object.assign({ className: 'position-information' }, { children: [_jsx("h3", Object.assign({ className: 'position-title', style: { display: this.state.toggle ? 'block' : 'none' } }, { children: "WordPress" })), _jsx("a", Object.assign({ href: "", onClick: (e) => {
20
- this.setState({ toggle: !this.state.toggle });
21
- e.preventDefault();
22
- } }, { children: _jsxs("h4", Object.assign({ className: 'position-readmore', style: { display: this.state.toggle ? 'block' : 'none' } }, { children: ["Read More", _jsx("img", { className: "mx-2", src: '/assets/images/position-down-vector.png', alt: "show-more", width: 16, height: 16 })] })) })), _jsxs("ul", Object.assign({ className: 'position-list', style: { display: this.state.toggle ? 'none' : 'block' } }, { children: [_jsx("li", { children: "Frontend Programming" }), _jsx("li", { children: "Backend Programming" })] })), _jsx("a", Object.assign({ href: "", onClick: (e) => {
23
- this.setState({ toggle: !this.state.toggle });
24
- e.preventDefault();
25
- } }, { children: _jsxs("h4", Object.assign({ style: { display: this.state.toggle ? 'none' : 'block' } }, { children: ["Read Less", _jsx("img", { className: "mx-2", src: '/assets/images/position-down-vector.png', alt: "show-more", style: { transform: "rotate(180deg" }, width: 16, height: 16 })] })) }))] }))] })) })));
26
- }
27
- }
28
- //# sourceMappingURL=NSBoxSection.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NSBoxSection.js","sourceRoot":"","sources":["../../src/components/NSBoxSection.tsx"],"names":[],"mappings":"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"}
@@ -1,26 +0,0 @@
1
- .position__layout {
2
- display: flex;
3
- flex-direction: column;
4
- justify-content: center;
5
- align-items: center;
6
- background-color: rgba(20, 27, 92, 0.3);
7
- width: 358px;
8
- height: 349px;
9
- border-radius: 8px;
10
- text-align: center;
11
- gap: 16px;
12
- margin: 12px 0;
13
- }
14
-
15
- .position__layout h3 {
16
- color: rgba(20, 27, 92, 1);
17
- font-weight: 700;
18
- font-size: 24px;
19
- }
20
-
21
- .position__layout h4 {
22
- color: rgba(20, 27, 92, 1);
23
- font-weight: 300;
24
- font-size: 16px;
25
- color: rgba(20, 27, 92, 1)
26
- }
@@ -1,81 +0,0 @@
1
- .position_box_contain {
2
- width: 100%;
3
- padding: 0 16px;
4
- display: flex;
5
- justify-content: center;
6
- align-items: center;
7
- }
8
-
9
- .position_box_layout {
10
- display: flex;
11
- flex-direction: column;
12
- justify-content: center;
13
- align-items: center;
14
- background-color: rgba(20, 27, 92, 0.3);
15
- width: 358px;
16
- height: auto;
17
- border-radius: 8px;
18
- text-align: center;
19
- gap: 16px;
20
- margin: 12px 0;
21
- padding: 16px 0;
22
- }
23
-
24
- .position_box_information {
25
- display: flex;
26
- flex-direction: column;
27
- justify-content: left;
28
- align-items: start;
29
- text-align: left;
30
- padding: 0 16px;
31
- color: rgba(20, 27, 92, 1);
32
- }
33
-
34
- .position_box_information h3 {
35
- font-size: 24px;
36
- font-weight: 700;
37
- }
38
-
39
- .position_box_information h4 {
40
- font-size: 16px;
41
- font-weight: bold;
42
- font-weight: 600;
43
- }
44
-
45
- .position_box_information ul {
46
- width: 100%;
47
- }
48
-
49
- .position_box_information li {
50
- text-decoration: underline;
51
- }
52
-
53
- .position_box_information span {
54
- float: right;
55
- }
56
-
57
- @media only screen and (min-width:768px) {
58
- .position_box_layout {
59
- display: flex;
60
- flex-direction: row;
61
- justify-content: left;
62
- width: 100%;
63
- height: auto;
64
- }
65
-
66
- .position_box_contain {
67
- padding: 0 48px;
68
- display: flex;
69
- justify-content: left;
70
- }
71
-
72
- .position_box_layout img {
73
- width: 408px;
74
- height: 276px;
75
- padding: 0 16px;
76
- }
77
-
78
- .position_box_information {
79
- line-height: 16px;
80
- }
81
- }
@@ -1,56 +0,0 @@
1
- "use client";
2
- import Style from "./NSBoxPosition.module.css";
3
- import React from "react";
4
-
5
- interface IProps
6
- {
7
- image: string;
8
- title: string;
9
- list: string;
10
- percent: string | number;
11
- information: string | number;
12
- }
13
-
14
- interface IState
15
- {
16
- image: string;
17
- title: string;
18
- list: string;
19
- percent: string | number;
20
- information: string | number;
21
-
22
- }
23
-
24
- export class NSBoxPosition extends React.Component<IProps, IState>
25
- {
26
-
27
- constructor(props: IProps)
28
- {
29
- super(props);
30
- this.state = { title: props.title, image: props.image, list: props.list, percent: props.percent, information: props.information };
31
- }
32
-
33
- override render()
34
- {
35
- return (
36
- <div className={Style.position_box_contain}>
37
- <div className={Style.position_box_layout}>
38
- <img className="rounded" src={this.state.image} alt="wordpress" width={326} height={220}></img>
39
- <div className={Style.position_box_information}>
40
- <h3>{this.state.title}</h3>
41
- <h4>Skills :</h4>
42
- <ul>
43
- <li>{this.state.list}<span>{this.props.percent}</span></li>
44
- </ul>
45
- <h4>Or</h4>
46
- <ul>
47
- <li>{this.state.list}<span>{this.props.percent}</span></li>
48
- </ul>
49
- <h3>Responsibility :</h3>
50
- <p>{this.state.information}</p>
51
- </div>
52
- </div>
53
- </div>
54
- )
55
- }
56
- }
@@ -1,26 +0,0 @@
1
- .position__layout {
2
- display: flex;
3
- flex-direction: column;
4
- justify-content: center;
5
- align-items: center;
6
- background-color: rgba(20, 27, 92, 0.3);
7
- width: 358px;
8
- height: 349px;
9
- border-radius: 8px;
10
- text-align: center;
11
- gap: 16px;
12
- margin: 12px 0;
13
- }
14
-
15
- .position__layout h3 {
16
- color: rgba(20, 27, 92, 1);
17
- font-weight: 700;
18
- font-size: 24px;
19
- }
20
-
21
- .position__layout h4 {
22
- color: rgba(20, 27, 92, 1);
23
- font-weight: 300;
24
- font-size: 16px;
25
- color: rgba(20, 27, 92, 1)
26
- }
@@ -1,73 +0,0 @@
1
- "use client";
2
- // import { a href="" } from "react-router-dom";
3
- // import Style from "./NSBoxSection.module.css";
4
- import React from "react";
5
-
6
- interface IProps
7
- {
8
- detail: string;
9
- image: string;
10
- description: string;
11
- }
12
-
13
- interface IState
14
- {
15
- detail: string;
16
- image: string;
17
- description: string;
18
- toggle: boolean;
19
- }
20
-
21
- export class NSBoxSection extends React.Component<IProps, IState>
22
- {
23
-
24
- constructor(props: IProps)
25
- {
26
- super(props);
27
- this.state = { detail: props.detail, image: props.image, description: props.description, toggle: true };
28
- }
29
- setTitle(description: string)
30
- {
31
- this.setState({ description });
32
- }
33
- setHRef(detail: string)
34
- {
35
- this.setState({ detail });
36
- }
37
- setToggle(toggle: boolean)
38
- {
39
- this.setState({ toggle });
40
- }
41
-
42
- override render()
43
- {
44
- return (
45
- <div className='position-contain'>
46
- <div className="position-layout">
47
- <img className="rounded" src={this.state.image} alt="wordpress" width={326} height={220}></img>
48
- <div className='position-information'>
49
- <h3 className='position-title' style={{ display: this.state.toggle ? 'block' : 'none' }}>WordPress</h3>
50
- <a href="" onClick={(e) =>
51
- {
52
- this.setState({ toggle: !this.state.toggle })
53
- e.preventDefault()
54
- }}>
55
- <h4 className='position-readmore' style={{ display: this.state.toggle ? 'block' : 'none' }} >Read More<img className="mx-2" src='/assets/images/position-down-vector.png' alt="show-more" width={16} height={16}></img></h4>
56
- </a>
57
- <ul className='position-list' style={{ display: this.state.toggle ? 'none' : 'block' }}>
58
- <li>Frontend Programming</li>
59
- <li>Backend Programming</li>
60
- </ul>
61
- <a href="" onClick={(e) =>
62
- {
63
- this.setState({ toggle: !this.state.toggle })
64
- e.preventDefault()
65
- }}>
66
- <h4 style={{ display: this.state.toggle ? 'none' : 'block' }} >Read Less<img className="mx-2" src='/assets/images/position-down-vector.png' alt="show-more" style={{ transform: "rotate(180deg" }} width={16} height={16}></img></h4>
67
- </a>
68
- </div>
69
- </div >
70
- </div>
71
- )
72
- }
73
- }