namirasoft-site-react 1.3.286 → 1.3.287
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.
|
@@ -3,7 +3,7 @@ import Styles from './NSCard.module.css';
|
|
|
3
3
|
import { NSLinkBlue } from './NSLinkBlue';
|
|
4
4
|
export function NSCard(props) {
|
|
5
5
|
var _a, _b;
|
|
6
|
-
return (_jsxs("a", { href: props.link.href, id: props.id, className: `${Styles.ns_card} ${(_a = props.classList) === null || _a === void 0 ? void 0 : _a.join(" ")}`, style: props.style, children: [_jsxs("div", { className: Styles.ns_card_detail_container, children: [_jsxs("div", { className: Styles.ns_card_title_img, style: {
|
|
6
|
+
return (_jsxs("a", { href: props.link.href, id: props.id, className: `${Styles.ns_card} ${(_a = props.classList) === null || _a === void 0 ? void 0 : _a.join(" ")}`, style: props.style, target: '_blanck', children: [_jsxs("div", { className: Styles.ns_card_detail_container, children: [_jsxs("div", { className: Styles.ns_card_title_img, style: {
|
|
7
7
|
alignItems: props.description ? "flex-start" : "center",
|
|
8
8
|
}, children: [_jsx("img", Object.assign({ className: Styles.ns_card_img, alt: 'Card' }, props.image)), props.headline &&
|
|
9
9
|
_jsxs("span", { className: Styles.ns_card_headline, style: { color: (_b = props.headline) === null || _b === void 0 ? void 0 : _b.color }, children: [" ", props.headline.text, " "] }), _jsx("h3", { className: Styles.ns_card_title, children: props.title })] }), props.description &&
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NSCard.js","sourceRoot":"","sources":["../../src/components/NSCard.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,qBAAqB,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAiB1C,MAAM,UAAU,MAAM,CAAC,KAAmB;;IAEzC,OAAO,CACN,aAAG,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,EAAE,KAAK,CAAC,EAAE,EACrC,SAAS,EAAE,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AAM,CAAC,mBAAmB,YACtC,KAAK,CAAC,WAAW,GACf,IAEA,EAEL,KAAK,CAAC,IAAI,CAAC,CAAC;gBACX,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;oBACjB,cAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,YAC5C,KAAC,UAAU,IACV,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,EACvB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EACrB,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,MAAM,EACzB,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,GAC3B,GACG;oBACN,CAAC;wBACD,cAAK,SAAS,EAAE,MAAM,CAAC,sBAAsB,YAC5C,KAAC,UAAU,IACV,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EACrB,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,MAAM,GACxB,GACG;gBACP,CAAC;oBACD,eAAW,IAET,CACL,CAAC;AACH,CAAC"}
|
|
@@ -26,17 +26,15 @@
|
|
|
26
26
|
flex-direction: column;
|
|
27
27
|
align-items: center;
|
|
28
28
|
justify-content: flex-start;
|
|
29
|
-
gap:
|
|
30
|
-
margin-bottom: 16px;
|
|
29
|
+
gap: 8px;
|
|
31
30
|
width: 100%;
|
|
32
31
|
}
|
|
33
32
|
|
|
34
33
|
.ns_card_img {
|
|
35
34
|
border-radius: 16px;
|
|
36
35
|
object-fit: cover;
|
|
37
|
-
width:
|
|
36
|
+
width: 100px;
|
|
38
37
|
height: 100%;
|
|
39
|
-
max-height: 310px;
|
|
40
38
|
}
|
|
41
39
|
|
|
42
40
|
.ns_card_title {
|
|
@@ -106,6 +104,6 @@
|
|
|
106
104
|
|
|
107
105
|
@media only screen and (min-width: 1024px) {
|
|
108
106
|
.ns_card {
|
|
109
|
-
width:
|
|
107
|
+
width: 25%;
|
|
110
108
|
}
|
|
111
109
|
}
|
package/package.json
CHANGED
|
@@ -26,17 +26,15 @@
|
|
|
26
26
|
flex-direction: column;
|
|
27
27
|
align-items: center;
|
|
28
28
|
justify-content: flex-start;
|
|
29
|
-
gap:
|
|
30
|
-
margin-bottom: 16px;
|
|
29
|
+
gap: 8px;
|
|
31
30
|
width: 100%;
|
|
32
31
|
}
|
|
33
32
|
|
|
34
33
|
.ns_card_img {
|
|
35
34
|
border-radius: 16px;
|
|
36
35
|
object-fit: cover;
|
|
37
|
-
width:
|
|
36
|
+
width: 100px;
|
|
38
37
|
height: 100%;
|
|
39
|
-
max-height: 310px;
|
|
40
38
|
}
|
|
41
39
|
|
|
42
40
|
.ns_card_title {
|
|
@@ -106,6 +104,6 @@
|
|
|
106
104
|
|
|
107
105
|
@media only screen and (min-width: 1024px) {
|
|
108
106
|
.ns_card {
|
|
109
|
-
width:
|
|
107
|
+
width: 25%;
|
|
110
108
|
}
|
|
111
109
|
}
|
|
@@ -22,6 +22,7 @@ export function NSCard(props: INSCardProps)
|
|
|
22
22
|
<a href={props.link.href} id={props.id}
|
|
23
23
|
className={`${Styles.ns_card} ${props.classList?.join(" ")}`}
|
|
24
24
|
style={props.style}
|
|
25
|
+
target='_blanck'
|
|
25
26
|
>
|
|
26
27
|
<div className={Styles.ns_card_detail_container}>
|
|
27
28
|
<div className={Styles.ns_card_title_img}
|