trepur_components 1.0.16 → 1.0.17
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/src/lib/components/Button/style.module.css +4 -2
- package/dist/src/lib/components/Button/style.module.css.map +1 -1
- package/dist/src/lib/components/Card/Card.d.ts +0 -6
- package/dist/src/lib/components/Card/Card.js +21 -56
- package/dist/src/lib/components/Card/Card.js.map +1 -1
- package/dist/src/lib/components/Card/style.module.css +46 -134
- package/dist/src/lib/components/Card/style.module.css.map +1 -1
- package/dist/src/lib/components/ComponentWrapper/style.module.css +1 -1
- package/dist/src/lib/components/ImageInfo/ImageInfo.js +1 -1
- package/dist/src/lib/components/Input/style.module.css +1 -1
- package/dist/src/lib/components/Proficiencies/style.module.css +1 -1
- package/dist/src/lib/components/Profile/style.module.css +1 -1
- package/dist/src/lib/components/Testimonial/style.module.css +1 -1
- package/dist/tailwind.config.js +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
border-width: 2px;
|
|
6
6
|
|
|
7
|
+
font-size: 20px;
|
|
8
|
+
|
|
7
9
|
transition-duration: 500ms
|
|
8
10
|
}
|
|
9
11
|
|
|
@@ -45,9 +47,9 @@
|
|
|
45
47
|
|
|
46
48
|
.padding {
|
|
47
49
|
|
|
48
|
-
padding-top: 0.
|
|
50
|
+
padding-top: 0.75rem;
|
|
49
51
|
|
|
50
|
-
padding-bottom: 0.
|
|
52
|
+
padding-bottom: 0.75rem
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
.primary {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/lib/components/Button/style.module.css"],"names":[],"mappings":"AACI;;IAAA,+
|
|
1
|
+
{"version":3,"sources":["../../../../../src/lib/components/Button/style.module.css"],"names":[],"mappings":"AACI;;IAAA,+LAA8C;;IAA9C,iBAA8C;;IAA9C,eAA8C;;IAA9C;AAA8C;;AAI9C;;IAAA,kBAAsC;;IAAtC,SAAsC;;IAAtC,QAAsC;;IAAtC;AAAsC;;AAItC;;IAAA,qBAAgB;;IAAhB,sBAAgB;;IAAhB,oBAAgB;;IAAhB;AAAgB;;AAIhB;;IAAA,qBAAW;;IAAX;AAAW;;AAIX;;IAAA,kBAAW;;IAAX;AAAW;;AAIX;;IAAA,oBAAW;;IAAX;AAAW;;AAIX;;IAAA,sBAAyC;;IAAzC,yDAAyC;;IAAzC,kBAAyC;;IAAzC,sDAAyC;;IAAzC,oBAAyC;;IAAzC;AAAyC;;AAIzC;;IAAA,sBAA2C;;IAA3C,sDAA2C;;IAA3C,kBAA2C;;IAA3C,yDAA2C;;IAA3C,oBAA2C;;IAA3C;AAA2C;;AAI3C;;IAAA,sBAA2C;;IAA3C,sDAA2C;;IAA3C,kBAA2C;;IAA3C,yDAA2C;;IAA3C,oBAA2C;;IAA3C;AAA2C;;AAI3C;;IAAA,sBAA2C;;IAA3C,sDAA2C;;IAA3C,kBAA2C;;IAA3C,sDAA2C;;IAA3C,oBAA2C;;IAA3C;AAA2C;;AAI3C;;IAAA;AAAiB;;AAIjB;;IAAA;AAAiB;;AAIjB;;IAAA;AAAmB","file":"style.module.css","sourcesContent":[".classList {\n @apply border-2 duration-500 transform text-sm;\n}\n\n.loading {\n @apply absolute left-2/4 top-1/4 -ml-2;\n}\n\n.social {\n @apply px-1 py-1;\n}\n\n.icon {\n @apply px-3;\n}\n\n.default {\n @apply px-8;\n}\n\n.padding {\n @apply py-3;\n}\n\n.primary {\n @apply bg-primary text-white border-white;\n}\n\n.primaryNotDisabled:hover {\n @apply bg-white text-primary border-primary;\n}\n\n.secondary {\n @apply bg-white text-primary border-primary;\n}\n\n.secondaryNotDisabled:hover {\n @apply bg-primary text-white border-primary;\n}\n\n.disabled {\n @apply opacity-50;\n}\n\n.rounded {\n @apply rounded-lg;\n}\n\n.notRounded {\n @apply rounded-none;\n}"]}
|
|
@@ -10,17 +10,11 @@ export interface Props {
|
|
|
10
10
|
description?: string;
|
|
11
11
|
extraText?: string;
|
|
12
12
|
hasCta?: boolean;
|
|
13
|
-
imageBelowTitle?: boolean;
|
|
14
|
-
titleLeft?: boolean;
|
|
15
|
-
titleRight?: boolean;
|
|
16
|
-
titleBold?: boolean;
|
|
17
13
|
imageClass?: string;
|
|
18
14
|
subTitleClass?: string;
|
|
19
15
|
extraTextClass?: string;
|
|
20
16
|
descriptionClass?: string;
|
|
21
17
|
altText?: string;
|
|
22
|
-
rounded?: boolean;
|
|
23
|
-
bordered?: boolean;
|
|
24
18
|
videoProps?: videoProps;
|
|
25
19
|
onHover?: boolean;
|
|
26
20
|
iconButtonProps?: buttonProps;
|
|
@@ -1,66 +1,31 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import Button from '../Button/Button';
|
|
4
4
|
import Video from '../Video/Video';
|
|
5
5
|
import style from './style.module.css';
|
|
6
|
-
const Card = ({ id, className, title, image, subTitle, description,
|
|
7
|
-
const
|
|
8
|
-
const orderClass = classNames({ [style.orderOne]: imageBelowTitle });
|
|
9
|
-
const border = classNames({ [style.bordered]: bordered });
|
|
10
|
-
const cardTitleFont = classNames({ [style.boldTitle]: titleBold });
|
|
11
|
-
const cardTitlePosition = classNames({
|
|
12
|
-
[style.textLeft]: titleLeft,
|
|
13
|
-
[style.textRight]: titleRight,
|
|
14
|
-
[style.textCenter]: !titleLeft && !titleRight
|
|
15
|
-
});
|
|
16
|
-
const roundedImage = classNames({ [style.imageRounded]: rounded });
|
|
17
|
-
const roundedCard = classNames({ [style.cardRounded]: rounded });
|
|
18
|
-
const contentWrapperClass = style.contentWrapper;
|
|
19
|
-
const titleWrapperClass = classNames(orderClass, style.titleWrapper);
|
|
20
|
-
const cardTitleClasses = classNames({
|
|
21
|
-
[cardTitlePosition]: true
|
|
22
|
-
}, cardTitleFont, style.title);
|
|
6
|
+
const Card = ({ id, className, title, image, subTitle, description, imageClass, subTitleClass, descriptionClass, altText, videoProps, cardButtonProps, }) => {
|
|
7
|
+
const cardTitleClasses = classNames(style.title);
|
|
23
8
|
const cardSubTitleClassList = classNames(subTitleClass, style.subtitle);
|
|
24
9
|
const cardDescriptionClassList = classNames(descriptionClass, style.description);
|
|
25
|
-
const classList = classNames(className,
|
|
10
|
+
const classList = classNames(className, style.classList);
|
|
26
11
|
const imageClassList = classNames(imageClass, style.imageClassList);
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
React.createElement(
|
|
43
|
-
|
|
44
|
-
React.createElement("div", { className: imageWrapperClassList },
|
|
45
|
-
React.createElement("img", { className: imageClassList, src: image, alt: altText }))),
|
|
46
|
-
!showHoverButtons
|
|
47
|
-
? (React.createElement(React.Fragment, null,
|
|
48
|
-
React.createElement("div", { className: imageBelowTitle ? style.orderOne : style.orderThree }, title !== undefined &&
|
|
49
|
-
React.createElement("div", { className: titleWrapperClass },
|
|
50
|
-
React.createElement("h3", { className: cardTitleClasses }, title))),
|
|
51
|
-
React.createElement("div", { className: contentWrapperClass },
|
|
52
|
-
subTitle !== undefined &&
|
|
53
|
-
React.createElement("h4", { className: cardSubTitleClassList }, subTitle),
|
|
54
|
-
description !== undefined &&
|
|
55
|
-
React.createElement("p", { className: cardDescriptionClassList }, description),
|
|
56
|
-
extraText !== undefined &&
|
|
57
|
-
React.createElement("p", { className: cardExtraTextClassList }, extraText))))
|
|
58
|
-
: (React.createElement("div", { className: style.buttonWrapper },
|
|
59
|
-
React.createElement(Button, Object.assign({}, iconButtonProps), iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.children),
|
|
60
|
-
React.createElement(Button, Object.assign({}, button2Props), button2Props === null || button2Props === void 0 ? void 0 : button2Props.children)))),
|
|
61
|
-
cardButtonProps !== undefined &&
|
|
62
|
-
React.createElement("div", { className: style.buttonClassList },
|
|
63
|
-
React.createElement(Button, Object.assign({}, cardButtonProps), cardButtonProps.children))));
|
|
12
|
+
return (React.createElement("div", { id: id, className: classList },
|
|
13
|
+
React.createElement("div", null, (videoProps === null || videoProps === void 0 ? void 0 : videoProps.mp4File) !== undefined || (videoProps === null || videoProps === void 0 ? void 0 : videoProps.webmFile) !== undefined || (videoProps === null || videoProps === void 0 ? void 0 : videoProps.ogvFile) !== undefined
|
|
14
|
+
? (React.createElement(Video, Object.assign({}, videoProps)))
|
|
15
|
+
: (image !== undefined &&
|
|
16
|
+
React.createElement("img", { className: imageClassList, src: image, alt: altText }))),
|
|
17
|
+
React.createElement("div", null,
|
|
18
|
+
React.createElement("div", { className: style.movingContent },
|
|
19
|
+
title !== undefined &&
|
|
20
|
+
React.createElement("h3", { className: cardTitleClasses }, title),
|
|
21
|
+
subTitle !== undefined &&
|
|
22
|
+
React.createElement("h4", { className: cardSubTitleClassList }, subTitle)),
|
|
23
|
+
React.createElement("div", { className: style.staticContent },
|
|
24
|
+
description !== undefined &&
|
|
25
|
+
React.createElement("p", { className: cardDescriptionClassList }, description),
|
|
26
|
+
cardButtonProps !== undefined && cardButtonProps !== null &&
|
|
27
|
+
React.createElement("div", { className: style.buttonClassList },
|
|
28
|
+
React.createElement(Button, Object.assign({}, cardButtonProps), cardButtonProps === null || cardButtonProps === void 0 ? void 0 : cardButtonProps.children))))));
|
|
64
29
|
};
|
|
65
30
|
export default Card;
|
|
66
31
|
//# sourceMappingURL=Card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../../../src/lib/components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../../../src/lib/components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AACvC,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,MAAgC,MAAM,2BAA2B,CAAA;AACxE,OAAO,KAA8B,MAAM,yBAAyB,CAAA;AACpE,OAAO,KAAK,MAAM,oBAAoB,CAAA;AAuBtC,MAAM,IAAI,GAAoB,CAAC,EAC7B,EAAE,EACF,SAAS,EACT,KAAK,EACL,KAAK,EACL,QAAQ,EACR,WAAW,EACX,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,OAAO,EACP,UAAU,EACV,eAAe,GACT,EAAe,EAAE;IACvB,MAAM,gBAAgB,GAAG,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;IAChD,MAAM,qBAAqB,GAAG,UAAU,CAAC,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAA;IACvE,MAAM,wBAAwB,GAAG,UAAU,CAAC,gBAAgB,EAAE,KAAK,CAAC,WAAW,CAAC,CAAA;IAChF,MAAM,SAAS,GAAG,UAAU,CAAC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;IACxD,MAAM,cAAc,GAAG,UAAU,CAAC,UAAU,EAAE,KAAK,CAAC,cAAc,CAAC,CAAA;IAEnE,OAAO,CACL,6BACE,EAAE,EAAE,EAAE,EACN,SAAS,EAAE,SAAS;QAEpB,iCACG,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,MAAK,SAAS,IAAI,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,QAAQ,MAAK,SAAS,IAAI,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,MAAK,SAAS;YAC3G,CAAC,CAAC,CACA,oBAAC,KAAK,oBAAK,UAAU,EAAI,CACxB;YACH,CAAC,CAAC,CAAC,KAAK,KAAK,SAAS;gBACpB,6BAAK,SAAS,EAAE,cAAc,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,GAAI,CAC7D,CAEC;QACN;YACE,6BAAK,SAAS,EAAE,KAAK,CAAC,aAAa;gBAChC,KAAK,KAAK,SAAS;oBAClB,4BAAI,SAAS,EAAE,gBAAgB,IAC5B,KAAK,CACH;gBACN,QAAQ,KAAK,SAAS;oBACrB,4BAAI,SAAS,EAAE,qBAAqB,IACjC,QAAQ,CACN,CACH;YACN,6BAAK,SAAS,EAAE,KAAK,CAAC,aAAa;gBAChC,WAAW,KAAK,SAAS;oBACxB,2BAAG,SAAS,EAAE,wBAAwB,IACnC,WAAW,CACV;gBACL,eAAe,KAAK,SAAS,IAAI,eAAe,KAAK,IAAI;oBACxD,6BAAK,SAAS,EAAE,KAAK,CAAC,eAAe;wBACnC,oBAAC,MAAM,oBAAK,eAAe,GACxB,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,QAAQ,CACnB,CACL,CACJ,CACF,CACF,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -1,168 +1,80 @@
|
|
|
1
1
|
.classList {
|
|
2
|
-
|
|
3
2
|
display: flex;
|
|
4
|
-
|
|
5
|
-
flex-direction: column
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.bordered {
|
|
9
|
-
|
|
3
|
+
flex-direction: column;
|
|
10
4
|
border-width: 1px;
|
|
11
|
-
|
|
12
5
|
border-color: rgb(44 55 59 / var(--tw-border-opacity));
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
.boldTitle {
|
|
18
|
-
|
|
19
|
-
font-weight: 700
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.textLeft {
|
|
23
|
-
|
|
24
|
-
text-align: left
|
|
6
|
+
--tw-border-opacity: 1;
|
|
7
|
+
border-radius: 0.5rem;
|
|
8
|
+
max-width: 450px
|
|
25
9
|
}
|
|
26
10
|
|
|
27
|
-
.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
.textCenter {
|
|
33
|
-
|
|
34
|
-
text-align: center
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.cardRounded {
|
|
38
|
-
|
|
39
|
-
border-radius: 0.5rem
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.imageRounded {
|
|
43
|
-
|
|
44
|
-
border-top-left-radius: 0.5rem;
|
|
45
|
-
|
|
46
|
-
border-top-right-radius: 0.5rem
|
|
11
|
+
.classList:hover .movingContent {
|
|
12
|
+
margin-top: -2rem;
|
|
13
|
+
transition-property: all;
|
|
14
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
15
|
+
transition-duration: 300ms
|
|
47
16
|
}
|
|
48
17
|
|
|
49
|
-
.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
object-fit: cover
|
|
18
|
+
.classList:hover .staticContent {
|
|
19
|
+
margin-top: 2rem;
|
|
20
|
+
transition-property: all;
|
|
21
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
22
|
+
transition-duration: 300ms
|
|
56
23
|
}
|
|
57
24
|
|
|
58
25
|
.imageClassList {
|
|
59
|
-
|
|
60
26
|
height: 100%;
|
|
61
|
-
|
|
62
27
|
width: 100%;
|
|
63
|
-
|
|
64
|
-
|
|
28
|
+
height: 16rem;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
object-fit: cover;
|
|
31
|
+
border-top-left-radius: 0.5rem;
|
|
32
|
+
border-top-right-radius: 0.5rem
|
|
65
33
|
}
|
|
66
34
|
|
|
67
|
-
.
|
|
35
|
+
.movingContent {
|
|
36
|
+
--tw-bg-opacity: 1;
|
|
37
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
38
|
+
margin-top: 0px;
|
|
39
|
+
padding-left: 1rem;
|
|
40
|
+
padding-right: 1rem;
|
|
41
|
+
padding-top: 1rem;
|
|
42
|
+
border-bottom-right-radius: 0.5rem;
|
|
43
|
+
border-bottom-left-radius: 0.5rem;
|
|
44
|
+
transition-property: all;
|
|
45
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
46
|
+
transition-duration: 300ms
|
|
47
|
+
}
|
|
68
48
|
|
|
69
|
-
|
|
49
|
+
.staticContent {
|
|
50
|
+
margin-top: 0px;
|
|
51
|
+
padding-left: 1rem;
|
|
52
|
+
padding-right: 1rem;
|
|
53
|
+
padding-top: 1rem;
|
|
54
|
+
transition-property: all;
|
|
55
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
56
|
+
transition-duration: 300ms
|
|
70
57
|
}
|
|
71
58
|
|
|
72
59
|
.title {
|
|
73
|
-
|
|
74
|
-
font-size: 24px;
|
|
75
|
-
|
|
60
|
+
font-size: 32px;
|
|
76
61
|
font-weight: 500
|
|
77
62
|
}
|
|
78
63
|
|
|
79
|
-
.contentWrapper {
|
|
80
|
-
|
|
81
|
-
order: 3;
|
|
82
|
-
|
|
83
|
-
padding-left: 0.75rem;
|
|
84
|
-
|
|
85
|
-
padding-right: 0.75rem
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.cardContent {
|
|
89
|
-
|
|
90
|
-
display: flex;
|
|
91
|
-
|
|
92
|
-
flex: 1 1 0%;
|
|
93
|
-
|
|
94
|
-
flex-direction: column
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.description {
|
|
98
|
-
|
|
99
|
-
font-size: 16px;
|
|
100
|
-
|
|
101
|
-
font-weight: 200
|
|
102
|
-
}
|
|
103
|
-
|
|
104
64
|
.subtitle {
|
|
105
|
-
|
|
106
|
-
font-size: 24px;
|
|
107
|
-
|
|
65
|
+
font-size: 20px;
|
|
108
66
|
font-weight: 300
|
|
109
67
|
}
|
|
110
68
|
|
|
111
|
-
.
|
|
112
|
-
|
|
113
|
-
height: 100%;
|
|
114
|
-
|
|
115
|
-
width: 100%;
|
|
116
|
-
|
|
117
|
-
object-fit: cover;
|
|
118
|
-
|
|
69
|
+
.description {
|
|
70
|
+
padding-bottom: 2rem;
|
|
119
71
|
font-size: 16px;
|
|
120
|
-
|
|
121
72
|
font-weight: 200
|
|
122
73
|
}
|
|
123
74
|
|
|
124
|
-
.noCta {
|
|
125
|
-
|
|
126
|
-
padding-bottom: 1rem
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.buttonWrapper {
|
|
130
|
-
|
|
131
|
-
order: 9999;
|
|
132
|
-
|
|
133
|
-
display: flex;
|
|
134
|
-
|
|
135
|
-
height: 6rem;
|
|
136
|
-
|
|
137
|
-
padding: 0.5rem
|
|
138
|
-
}
|
|
139
|
-
|
|
140
75
|
.buttonClassList {
|
|
141
|
-
|
|
142
76
|
width: 100%;
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.orderOne {
|
|
148
|
-
|
|
149
|
-
order: 1
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.orderTwo {
|
|
153
|
-
|
|
154
|
-
order: 2
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.orderThree {
|
|
158
|
-
|
|
159
|
-
order: 3
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.orderFirst {
|
|
163
|
-
|
|
164
|
-
order: -9999
|
|
77
|
+
padding-bottom: 1rem;
|
|
78
|
+
text-align: center
|
|
165
79
|
}
|
|
166
|
-
|
|
167
|
-
|
|
168
80
|
/*# sourceMappingURL=style.module.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/lib/components/Card/style.module.css"],"names":[],"mappings":"AACI
|
|
1
|
+
{"version":3,"sources":["../../../../../src/lib/components/Card/style.module.css"],"names":[],"mappings":"AACI;IAAA,aAAoB;IAApB,sBAAoB;IACpB,iBAA4C;IAA5C,sDAA4C;IAA5C,sBAA4C;IAC5C,qBAAiB;IACjB;AAHoB;;AAOpB;IAAA,iBAAY;IACZ,wBAAkC;IAAlC,wDAAkC;IAAlC;AADY;;AAKZ;IAAA,gBAAW;IACX,wBAAkC;IAAlC,wDAAkC;IAAlC;AADW;;AAKX;IAAA,YAAiC;IAAjC,WAAiC;IACjC,aAAwC;IAAxC,gBAAwC;IAAxC,iBAAwC;IACxC,8BAAmB;IAAnB;AAFiC;;AAMjC;IAAA,kBAAe;IAAf,yDAAe;IACf,eAAqB;IAArB,kBAAqB;IAArB,mBAAqB;IAArB,iBAAqB;IACrB,kCAAmB;IAAnB,iCAAmB;IACnB,wBAAkC;IAAlC,wDAAkC;IAAlC;AAHe;;AAOf;IAAA,eAAqB;IAArB,kBAAqB;IAArB,mBAAqB;IAArB,iBAAqB;IACrB,wBAAkC;IAAlC,wDAAkC;IAAlC;AADqB;;AAKrB;IAAA,eAA0B;IAA1B;AAA0B;;AAI1B;IAAA,eAAyB;IAAzB;AAAyB;;AAIzB;IAAA,oBAAmC;IAAnC,eAAmC;IAAnC;AAAmC;;AAInC;IAAA,WAA8B;IAA9B,oBAA8B;IAA9B;AAA8B","file":"style.module.css","sourcesContent":[".classList {\n @apply flex flex-col;\n @apply border border-grey border-opacity-100;\n @apply rounded-lg;\n max-width: 450px;\n}\n\n.classList:hover .movingContent {\n @apply -mt-8;\n @apply transition-all duration-300;\n}\n\n.classList:hover .staticContent {\n @apply mt-8;\n @apply transition-all duration-300;\n}\n\n.imageClassList {\n @apply w-full object-cover h-full;\n @apply h-64 overflow-hidden object-cover;\n @apply rounded-t-lg;\n}\n\n.movingContent {\n @apply bg-white;\n @apply px-4 pt-4 mt-0;\n @apply rounded-b-lg;\n @apply transition-all duration-300;\n}\n\n.staticContent {\n @apply px-4 pt-4 mt-0;\n @apply transition-all duration-300;\n}\n\n.title {\n @apply font-medium text-md;\n}\n\n.subtitle {\n @apply font-light text-sm;\n}\n\n.description {\n @apply font-extraLight text-xs pb-8;\n}\n\n.buttonClassList {\n @apply w-full text-center pb-4;\n}"]}
|
|
@@ -14,7 +14,7 @@ const ImageInfo = ({ id, className, bgColour, textColour = 'white', contentTitle
|
|
|
14
14
|
const wrapperClassList = classNames({
|
|
15
15
|
[style.wrapper]: !swapDesktop,
|
|
16
16
|
[style.reverseWrapper]: swapDesktop,
|
|
17
|
-
[style.reverseMobileWrapper]: !isLg && swapMobile
|
|
17
|
+
[style.reverseMobileWrapper]: !isLg && swapMobile
|
|
18
18
|
}, style.wrapperClasses);
|
|
19
19
|
const imageWrapperClasses = classNames({
|
|
20
20
|
[style.smallImageWrapper]: isSm
|
package/dist/tailwind.config.js
CHANGED