namirasoft-site-react 1.2.51 → 1.2.54
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 +2 -2
- package/dist/App.js.map +1 -1
- package/dist/assets/images/map_location.png +0 -0
- package/dist/components/NSCard.d.ts +2 -5
- package/dist/components/NSCard.js +3 -3
- package/dist/components/NSCard.js.map +1 -1
- package/dist/components/NSCard.module.css +10 -1
- package/dist/components/NSEntityBar.d.ts +12 -0
- package/dist/components/NSEntityBar.js +10 -0
- package/dist/components/NSEntityBar.js.map +1 -0
- package/dist/components/NSEntityBar.module.css +53 -0
- package/dist/components/NSLayoutTitle.d.ts +4 -1
- package/dist/components/NSLayoutTitle.js +5 -2
- package/dist/components/NSLayoutTitle.js.map +1 -1
- package/dist/components/NSLinkBlue.d.ts +17 -0
- package/dist/components/NSLinkBlue.js +20 -0
- package/dist/components/NSLinkBlue.js.map +1 -0
- package/dist/components/NSLinkBlue.module.css +24 -0
- package/dist/components/NSMap.d.ts +12 -0
- package/dist/components/NSMap.js +18 -0
- package/dist/components/NSMap.js.map +1 -0
- package/dist/components/NSSection.d.ts +15 -0
- package/dist/components/NSSection.js +27 -0
- package/dist/components/NSSection.js.map +1 -0
- package/dist/components/NSSection.module.css +10 -0
- package/dist/components/NSSectionBars.d.ts +11 -0
- package/dist/components/NSSectionBars.js +14 -0
- package/dist/components/NSSectionBars.js.map +1 -0
- package/dist/components/NSSectionBars.module.css +11 -0
- package/dist/components/NSSectionCards.d.ts +23 -0
- package/dist/components/NSSectionCards.js +19 -0
- package/dist/components/NSSectionCards.js.map +1 -0
- package/dist/components/NSSectionCards.module.css +38 -0
- package/dist/components/NSSectionTitle.d.ts +15 -0
- package/dist/components/NSSectionTitle.js +11 -0
- package/dist/components/NSSectionTitle.js.map +1 -0
- package/dist/components/NSSectionTitle.module.css +0 -0
- package/dist/components/NSSelectBox.js +1 -2
- package/dist/components/NSSelectBox.js.map +1 -1
- package/dist/components/NSTitle.d.ts +10 -0
- package/dist/components/NSTitle.js +11 -0
- package/dist/components/NSTitle.js.map +1 -0
- package/dist/components/NSTitle.module.css +9 -0
- package/dist/main.d.ts +8 -2
- package/dist/main.js +8 -2
- package/dist/main.js.map +1 -1
- package/dist/types/Background.d.ts +5 -0
- package/dist/types/Background.js +2 -0
- package/dist/types/Background.js.map +1 -0
- package/package.json +12 -9
- package/src/App.tsx +1 -2
- package/src/assets/images/map_location.png +0 -0
- package/src/components/NSCard.module.css +10 -1
- package/src/components/NSCard.tsx +16 -16
- package/src/components/NSEntityBar.module.css +53 -0
- package/src/components/NSEntityBar.tsx +32 -0
- package/src/components/NSLayoutTitle.tsx +14 -11
- package/src/components/NSLinkBlue.module.css +24 -0
- package/src/components/NSLinkBlue.tsx +45 -0
- package/src/components/NSMap.tsx +38 -0
- package/src/components/NSSection.module.css +10 -0
- package/src/components/NSSection.tsx +48 -0
- package/src/components/NSSectionBars.module.css +11 -0
- package/src/components/NSSectionBars.tsx +35 -0
- package/src/components/NSSectionCards.module.css +38 -0
- package/src/components/NSSectionCards.tsx +69 -0
- package/src/components/NSSectionTitle.module.css +0 -0
- package/src/components/NSSectionTitle.tsx +28 -0
- package/src/components/NSSelectBox.tsx +2 -3
- package/src/components/NSTitle.module.css +9 -0
- package/src/components/NSTitle.tsx +25 -0
- package/src/main.ts +8 -2
- package/src/types/Background.ts +6 -0
- package/dist/components/NSBoxPosition.d.ts +0 -20
- package/dist/components/NSBoxPosition.js +0 -14
- package/dist/components/NSBoxPosition.js.map +0 -1
- package/dist/components/NSBoxPosition.module.css +0 -81
- package/dist/components/NSBoxSection.d.ts +0 -20
- package/dist/components/NSBoxSection.js +0 -28
- package/dist/components/NSBoxSection.js.map +0 -1
- package/dist/components/NSBoxSection.module.css +0 -26
- package/dist/components/NSParentCard.module.css +0 -35
- package/src/components/NSBoxPosition.module.css +0 -81
- package/src/components/NSBoxPosition.tsx +0 -56
- package/src/components/NSBoxSection.module.css +0 -26
- package/src/components/NSBoxSection.tsx +0 -73
- package/src/components/NSParentCard.module.css +0 -35
- package/src/components/NSParentCard.tsx.temp +0 -59
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { Component } from 'react';
|
|
4
|
+
|
|
5
|
+
import Styles from './NSSectionCards.module.css';
|
|
6
|
+
import NSTitle from './NSTitle';
|
|
7
|
+
import { NSCard, NSCardProps } from './NSCard';
|
|
8
|
+
import NSSection from './NSSection';
|
|
9
|
+
import { NSLinkBlue } from './NSLinkBlue';
|
|
10
|
+
import { Background } from '../types/Background';
|
|
11
|
+
|
|
12
|
+
interface NSSectionCardsProps
|
|
13
|
+
{
|
|
14
|
+
title?: {
|
|
15
|
+
text: string,
|
|
16
|
+
color?: string
|
|
17
|
+
};
|
|
18
|
+
description?: {
|
|
19
|
+
text: string,
|
|
20
|
+
color?: string
|
|
21
|
+
};
|
|
22
|
+
background?: Background
|
|
23
|
+
button?: {
|
|
24
|
+
href: string;
|
|
25
|
+
title: string;
|
|
26
|
+
};
|
|
27
|
+
cards: NSCardProps[]
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
class NSSectionCards extends Component<NSSectionCardsProps> {
|
|
31
|
+
override render()
|
|
32
|
+
{
|
|
33
|
+
return (
|
|
34
|
+
<>
|
|
35
|
+
<NSSection background={this.props.background} >
|
|
36
|
+
<div className={`container mx-auto px-4 lg:px-12 ${Styles.ns_section_cards_holder}`}>
|
|
37
|
+
|
|
38
|
+
{
|
|
39
|
+
this.props.title &&
|
|
40
|
+
<div className={Styles.ns_section_cards_title_container}>
|
|
41
|
+
<NSTitle color={this.props.title?.color} title={this.props.title?.text} />
|
|
42
|
+
|
|
43
|
+
{
|
|
44
|
+
this.props.description &&
|
|
45
|
+
<p style={{ color: this.props.description?.color }} className={Styles.description}> {this.props.description.text} </p>
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
</div>
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
<div className={` ${Styles.ns_card_container}`}>
|
|
52
|
+
{
|
|
53
|
+
this.props.cards?.map((card) => <NSCard {...card} />)
|
|
54
|
+
}
|
|
55
|
+
</div>
|
|
56
|
+
{
|
|
57
|
+
this.props.button &&
|
|
58
|
+
<div className={`mt-12 w-full- text-center ${Styles.ns_section_cards_link_container}`}>
|
|
59
|
+
<NSLinkBlue href={this.props.button?.href} title={this.props.button?.title} />
|
|
60
|
+
</div>
|
|
61
|
+
}
|
|
62
|
+
</div>
|
|
63
|
+
</NSSection>
|
|
64
|
+
</>
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export default NSSectionCards;
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
|
|
3
|
+
import { Component, ReactNode } from 'react';
|
|
4
|
+
import NSSection from './NSSection';
|
|
5
|
+
import NSTitle from './NSTitle';
|
|
6
|
+
import { Background } from '../types/Background';
|
|
7
|
+
|
|
8
|
+
interface NSSectionTitleProps
|
|
9
|
+
{
|
|
10
|
+
title: {
|
|
11
|
+
text: string,
|
|
12
|
+
color?: string
|
|
13
|
+
};
|
|
14
|
+
background?: Background
|
|
15
|
+
padding_bottom?: string;
|
|
16
|
+
children: ReactNode
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export default class NSSectionTitle extends Component<NSSectionTitleProps> {
|
|
20
|
+
override render() {
|
|
21
|
+
return (
|
|
22
|
+
<NSSection padding_bottom={this.props.padding_bottom} background={this.props.background} >
|
|
23
|
+
<NSTitle color={this.props.title.color} title={this.props.title.text} />
|
|
24
|
+
{this.props.children}
|
|
25
|
+
</NSSection>
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -4,7 +4,7 @@ import React from "react";
|
|
|
4
4
|
import Styles from "./NSSelectBox.module.css";
|
|
5
5
|
import { Select, Space } from 'antd';
|
|
6
6
|
import type { SelectProps } from 'antd';
|
|
7
|
-
import { CaretDownOutlined } from '@ant-design/icons'
|
|
7
|
+
// import { CaretDownOutlined } from '@ant-design/icons'
|
|
8
8
|
|
|
9
9
|
interface IProps
|
|
10
10
|
{
|
|
@@ -36,11 +36,10 @@ export class NSSelectBox extends React.Component<IProps, IState> {
|
|
|
36
36
|
}
|
|
37
37
|
override render()
|
|
38
38
|
{
|
|
39
|
-
|
|
40
39
|
return (
|
|
41
40
|
<div className={`${Styles.ns_input_parent} p-2`}>
|
|
42
41
|
<Select
|
|
43
|
-
suffixIcon={<CaretDownOutlined />}
|
|
42
|
+
// suffixIcon={<CaretDownOutlined />}
|
|
44
43
|
mode="multiple"
|
|
45
44
|
style={{ width: '100%' }}
|
|
46
45
|
className={Styles.ns_input_select}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
import { Component } from 'react';
|
|
3
|
+
|
|
4
|
+
//Styles
|
|
5
|
+
import Styles from './NSTitle.module.css';
|
|
6
|
+
|
|
7
|
+
interface NSTitleProps
|
|
8
|
+
{
|
|
9
|
+
title: string;
|
|
10
|
+
color?: string;
|
|
11
|
+
text_align?: string;
|
|
12
|
+
}
|
|
13
|
+
class NSTitle extends Component<NSTitleProps> {
|
|
14
|
+
override render()
|
|
15
|
+
{
|
|
16
|
+
return (
|
|
17
|
+
//todo : fix text align
|
|
18
|
+
<h2 style={{ color: this.props.color, textAlign: this.props.text_align ? "start" : "center" }} className={`${Styles.ns_title}`}>
|
|
19
|
+
{this.props.title}
|
|
20
|
+
</h2>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export default NSTitle;
|
package/src/main.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./components/NSButtonGreen";
|
|
2
2
|
export * from "./components/NSButtonRed";
|
|
3
3
|
export * from "./components/NSCard";
|
|
4
|
+
export * from "./components/NSEntityBar";
|
|
4
5
|
export * from "./components/NSFooter";
|
|
5
6
|
export * from "./components/NSHeader";
|
|
6
7
|
export * from "./components/NSInputDate";
|
|
@@ -19,10 +20,15 @@ export * from "./components/NSLayout";
|
|
|
19
20
|
export * from "./components/NSLayoutHeroBanner";
|
|
20
21
|
export * from "./components/NSLayoutTitle";
|
|
21
22
|
export * from "./components/NSSelectBox";
|
|
23
|
+
export * from "./components/NSSection";
|
|
24
|
+
export * from "./components/NSSectionBars";
|
|
25
|
+
export * from "./components/NSSectionCards";
|
|
26
|
+
export * from "./components/NSSectionTitle";
|
|
27
|
+
export * from "./components/NSLinkBlue";
|
|
22
28
|
export * from "./components/NSLinkGreen";
|
|
23
29
|
export * from "./components/NSLinkRed";
|
|
30
|
+
export * from "./components/NSMap";
|
|
24
31
|
export * from "./components/NSPagination";
|
|
25
32
|
export * from "./components/NSTable";
|
|
33
|
+
export * from "./components/NSTitle";
|
|
26
34
|
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,35 +0,0 @@
|
|
|
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
|
-
} */
|
|
@@ -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
|
-
}
|