gatsby-matrix-theme 53.2.50 → 53.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.
Files changed (26) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/package.json +2 -2
  3. package/src/components/atoms/cards/game-cards/template-six/index.js +129 -0
  4. package/src/components/atoms/cards/game-cards/template-six/template-six.module.scss +164 -0
  5. package/src/components/atoms/cards/game-cards/template-six/template-six.stories.js +91 -0
  6. package/src/components/atoms/cards/operator-card/template-five/index.js +125 -0
  7. package/src/components/atoms/cards/operator-card/template-five/template-five.module.scss +149 -0
  8. package/src/components/atoms/cards/operator-card/template-five/template-five.stories.js +54 -0
  9. package/src/components/organisms/cards/template-one/index.js +4 -2
  10. package/src/helpers/cards.js +7 -3
  11. package/storybook/public/127.9de94daa.iframe.bundle.js +1 -0
  12. package/storybook/public/{384.a9a01379.iframe.bundle.js → 384.2422e5cb.iframe.bundle.js} +3 -3
  13. package/storybook/public/{384.a9a01379.iframe.bundle.js.map → 384.2422e5cb.iframe.bundle.js.map} +1 -1
  14. package/storybook/public/591.8443d5a0.iframe.bundle.js +1 -0
  15. package/storybook/public/693.99b1fa25.iframe.bundle.js +1 -0
  16. package/storybook/public/995.aa537254.iframe.bundle.js +1 -0
  17. package/storybook/public/iframe.html +1 -1
  18. package/storybook/public/main.946ae844.iframe.bundle.js +1 -0
  19. package/storybook/public/project.json +1 -1
  20. package/storybook/public/{runtime~main.d6077abf.iframe.bundle.js → runtime~main.2f98940b.iframe.bundle.js} +1 -1
  21. package/storybook/public/127.5e3a1d21.iframe.bundle.js +0 -1
  22. package/storybook/public/591.d001ec8b.iframe.bundle.js +0 -1
  23. package/storybook/public/693.bafcff12.iframe.bundle.js +0 -1
  24. package/storybook/public/995.8edb93dd.iframe.bundle.js +0 -1
  25. package/storybook/public/main.7326bf32.iframe.bundle.js +0 -1
  26. /package/storybook/public/{384.a9a01379.iframe.bundle.js.LICENSE.txt → 384.2422e5cb.iframe.bundle.js.LICENSE.txt} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ ## [53.2.52](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v53.2.51...v53.2.52) (2025-09-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * card styles ([203880d](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/203880ddcfe11f801084dd9b6369c75894dd32f9))
7
+ * change author color ([02f82a1](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/02f82a128d3021b8f0191ff21b5701c7556a260c))
8
+ * operator card ([6701d31](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/6701d318e538a794f0e451eb27a1aea0953dd303))
9
+ * remove author as links ([486aa94](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/486aa94180abcb1672c5c7b3b8a6fd47653c20f5))
10
+ * update theme ([4e0592a](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/4e0592a15b7c1c226af592c7455c2a1b42c19508))
11
+
12
+
13
+ * Merge branch 'en-55-style-cards' into 'master' ([7380d67](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/7380d6756fd8ddee2b956f040c4fb4e72072ccf5))
14
+ * Merge branch 'en-55-style-cards' into 'master' ([4aa8186](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/4aa81869215ddfe6ae1371cb33926ee55a2af2f6))
15
+
16
+ ## [53.2.51](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v53.2.50...v53.2.51) (2025-09-16)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * added card type to slots ([55fe46c](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/55fe46c0490a0b91a12bf19e69f811ed449df74d))
22
+ * added template for eeat cards ([46eb848](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/46eb848f3f88ad0569a596a36cd952c678668eea))
23
+ * removed date from cards ([220c7a6](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/220c7a6a6d5a04c0821a522dd82a4b423dda2018))
24
+ * storybook ([76a20c8](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/76a20c80b38b6f456d3a7d45c6b36ac6440a99bc))
25
+
26
+
27
+ * Merge branch 'en-55-eeat-cards' into 'master' ([8e52e15](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/8e52e15fb16fa391453ef826bc90c0260d495686))
28
+
1
29
  ## [53.2.50](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v53.2.49...v53.2.50) (2025-09-11)
2
30
 
3
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-matrix-theme",
3
- "version": "53.2.50",
3
+ "version": "53.2.52",
4
4
  "main": "index.js",
5
5
  "description": "Matrix Theme NPM Package",
6
6
  "author": "",
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@react-icons/all-files": "^4.1.0",
27
27
  "gatsby": "^5.11.0",
28
- "gatsby-core-theme": "44.4.57",
28
+ "gatsby-core-theme": "44.4.58",
29
29
  "gatsby-plugin-sharp": "^5.11.0",
30
30
  "gatsby-transformer-sharp": "^5.11.0",
31
31
  "gatsby-plugin-sitemap": "^6.13.1",
@@ -0,0 +1,129 @@
1
+ /* eslint-disable import/no-extraneous-dependencies */
2
+ /* eslint-disable camelcase */
3
+ import React from 'react';
4
+ import PropTypes from 'prop-types';
5
+ import Link from 'gatsby-core-theme/src/hooks/link';
6
+ import { imagePrettyUrl } from 'gatsby-core-theme/src/helpers/getters';
7
+ import LazyImage from 'gatsby-core-theme/src/hooks/lazy-image';
8
+ import { formatDate } from '~helpers/date-time';
9
+
10
+ import useTranslate from '~hooks/useTranslate/useTranslate';
11
+ import styles from './template-six.module.scss';
12
+
13
+ const TemplateSix = ({
14
+ item,
15
+ width = 277,
16
+ height = 140,
17
+ showDate = false,
18
+ showAuthorAsLink = false,
19
+ verifyIcon = '',
20
+ showImageAsLink = false,
21
+ showByLabel = false,
22
+ }) => {
23
+ const { title, path, relation, author } = item;
24
+ const date = item?.updated_at || item?.created_at;
25
+ const formatedDate = date && formatDate(date, 'DD.MM.YYYY', '/', 'en-GB');
26
+
27
+ const defaultImg = (
28
+ <LazyImage width={width} height={height} src="/images/default-article.jpg" alt={title} />
29
+ );
30
+
31
+ const imageElement = (
32
+ <LazyImage
33
+ width={width}
34
+ height={height}
35
+ defaultImg={defaultImg}
36
+ src={
37
+ relation?.logo?.filename
38
+ ? imagePrettyUrl(relation?.logo?.filename, width, height)
39
+ : undefined
40
+ }
41
+ alt={title}
42
+ />
43
+ );
44
+ return (
45
+ <div className={styles.article || ''}>
46
+ {showImageAsLink ? (
47
+ <Link
48
+ to={path}
49
+ className={`${styles.image || ''} article-card-gtm`}
50
+ aria-label={useTranslate(`ariaLabel-${title}Link`, `${title} Link`)}
51
+ >
52
+ {imageElement}
53
+ {imageElement}
54
+ </Link>
55
+ ) : (
56
+ <div className={styles.image || ''}>
57
+ {imageElement}
58
+ {imageElement}
59
+ </div>
60
+ )}
61
+ <>
62
+ <Link to={path} className={styles?.cardTitle || ''}>
63
+ {title}
64
+ </Link>
65
+ {typeof author === 'object' && (
66
+ <div className={styles?.showAuthorOnOneLine}>
67
+ {!!author?.image && (
68
+ <div className={styles.authorImages}>
69
+ <LazyImage
70
+ alt={author?.name}
71
+ width={40}
72
+ height={40}
73
+ src={imagePrettyUrl(author?.image, 40, 40)}
74
+ />
75
+ {verifyIcon && verifyIcon}
76
+ </div>
77
+ )}
78
+ <div className={styles.authorContainer}>
79
+ {showByLabel && (
80
+ <p>
81
+ <span className={styles.byText}>{useTranslate('by', 'By')}</span>
82
+ </p>
83
+ )}
84
+ {showAuthorAsLink ? (
85
+ <Link to={author?.profile_page_path} title={author?.name}>
86
+ {author?.name}
87
+ </Link>
88
+ ) : (
89
+ <span className={styles.authorName}>{author?.name}</span>
90
+ )}
91
+ {showDate && <span className={styles?.noLink || ''}>{formatedDate}</span>}
92
+ </div>
93
+ </div>
94
+ )}
95
+ </>
96
+ </div>
97
+ );
98
+ };
99
+
100
+ TemplateSix.propTypes = {
101
+ item: PropTypes.shape({
102
+ author: PropTypes.shape({
103
+ name: PropTypes.string,
104
+ profile_page_path: PropTypes.string,
105
+ twitter_profile: PropTypes.string,
106
+ image: PropTypes.string,
107
+ }),
108
+ relation: PropTypes.shape({
109
+ logo: PropTypes.shape({
110
+ filename: PropTypes.string,
111
+ }),
112
+ }),
113
+ title: PropTypes.string,
114
+ updated_at: PropTypes.string,
115
+ created_at: PropTypes.string,
116
+ path: PropTypes.string,
117
+ banner: PropTypes.string,
118
+ reading_time: PropTypes.string,
119
+ }).isRequired,
120
+ width: PropTypes.number,
121
+ height: PropTypes.number,
122
+ showDate: PropTypes.bool,
123
+ showAuthorAsLink: PropTypes.bool,
124
+ verifyIcon: PropTypes.string,
125
+ showImageAsLink: PropTypes.bool,
126
+ showByLabel: PropTypes.bool,
127
+ };
128
+
129
+ export default TemplateSix;
@@ -0,0 +1,164 @@
1
+ .article {
2
+ width: 100%;
3
+ overflow: hidden;
4
+ background: var(--eeat-cards-background-color, #fff);
5
+ border-radius: var(--eeat-cards-border-radius, 1rem);
6
+ border: var(--eeat-cards-border, none);
7
+ box-shadow: 0 6px 8px -2px rgb(27 27 28 / 8%), 0 4px 4px -2px rgb(27 27 28 / 6%);
8
+ position: relative;
9
+ height: auto;
10
+ display: grid;
11
+ grid-template-rows: 14rem 1fr;
12
+ padding: 1.6rem;
13
+ }
14
+
15
+ .cardContent {
16
+ @include flex-direction(column);
17
+ @include flex-align(flex-start, space-between);
18
+
19
+ position: relative;
20
+
21
+ > a {
22
+ margin-bottom: 3.2rem;
23
+ margin-top: 1.6rem;
24
+
25
+ span {
26
+ font-style: normal;
27
+ font-weight: 700;
28
+ font-size: 2.4rem;
29
+ text-transform: capitalize;
30
+ color: #1c1a28;
31
+ display: flex;
32
+ }
33
+ }
34
+ }
35
+
36
+ .image {
37
+ height: 14rem;
38
+ position: relative;
39
+ border: 0.1rem solid #e2e8f0;
40
+ overflow: hidden;
41
+ border-radius: 8px;
42
+
43
+ img {
44
+ width: 100%;
45
+ height: 100%;
46
+ object-fit: cover;
47
+ border-radius: 8px;
48
+ filter: blur(2px);
49
+
50
+ &:last-child {
51
+ position: absolute;
52
+ object-fit: fill;
53
+ inset: 10px 0;
54
+ filter: unset;
55
+ border: unset;
56
+ border-radius: 8px;
57
+ margin: auto;
58
+ width: 120px;
59
+ height: 120px;
60
+ }
61
+ }
62
+ }
63
+
64
+ .showAuthorOnOneLine {
65
+ @include flex-align(center, space-between);
66
+
67
+ font-weight: 500;
68
+ font-size: 14px;
69
+ line-height: 22px;
70
+ width: 100%;
71
+ gap: 0.8rem;
72
+
73
+ img {
74
+ border-radius: 10rem;
75
+ }
76
+
77
+ > div {
78
+ @include flex-align(flex-start, flex-start);
79
+
80
+ gap: 0.2rem;
81
+ flex-grow: 1;
82
+ }
83
+ }
84
+
85
+ .cardTitle {
86
+ padding-top: 1.6rem;
87
+ color: var(--heading-base-color) !important;
88
+ font-size: 2rem;
89
+ line-height: 28px;
90
+ margin-bottom: 2.4rem !important;
91
+ margin-top: 0 !important;
92
+ text-transform: capitalize;
93
+ font-weight: bold;
94
+ }
95
+
96
+ .showAuthorBlock {
97
+ @include flex-align(center, flex-start);
98
+
99
+ font-size: 14px;
100
+ line-height: 22px;
101
+ width: 100%;
102
+ gap: 0.5rem;
103
+
104
+ img {
105
+ border-radius: 10rem;
106
+ }
107
+
108
+ > div {
109
+ @include flex-align(flex-start, flex-start);
110
+
111
+ gap: 0.2rem;
112
+ flex-direction: column;
113
+
114
+ > span {
115
+ flex-grow: 1;
116
+
117
+ @include flex-align(flex-end, flex-end);
118
+ }
119
+ }
120
+ }
121
+
122
+ .authorImages {
123
+ position: relative;
124
+ flex-grow: 0 !important;
125
+
126
+ svg {
127
+ position: absolute;
128
+ width: 1rem;
129
+ height: 1rem;
130
+ bottom: 0;
131
+ right: 0;
132
+ }
133
+
134
+ > img {
135
+ border: 0.1rem solid #ececec;
136
+ width: 4.8rem;
137
+ height: 4.8rem;
138
+ min-width: 4.8rem;
139
+ }
140
+ }
141
+
142
+ .authorContainer {
143
+ > p {
144
+ color: #515156;
145
+ }
146
+
147
+ > a {
148
+ text-decoration: underline;
149
+ color: #000eee;
150
+ }
151
+
152
+ > span {
153
+ font-size: 1.4rem;
154
+ line-height: 2.2rem;
155
+ font-weight: 500;
156
+ color: #1b1b1c;
157
+ text-align: right;
158
+ margin-left: auto;
159
+ }
160
+ }
161
+
162
+ .authorName {
163
+ margin-left: unset !important;
164
+ }
@@ -0,0 +1,91 @@
1
+ import React from 'react';
2
+ import TemplateSix from '.';
3
+ import { sampleOperatorCards } from '../../../../../../tests/factories/modules/matrix/card.factory';
4
+ import gameCardBgThumb from '../../../../../../storybook-images/game-card-bg-thumb.png';
5
+
6
+ const card = sampleOperatorCards.items[0];
7
+
8
+ export default {
9
+ title: 'Theme/Modules/Cards/Game/Template Six',
10
+ component: TemplateSix,
11
+ argTypes: {
12
+ showAuthorAsLink: {
13
+ name: 'showAuthorAsLink',
14
+ type: { name: 'boolean', required: false },
15
+ defaultValue: true,
16
+ description: 'Show author as a link?',
17
+ },
18
+ hasVariableComponent: {
19
+ name: 'hasVariableComponent',
20
+ type: { name: 'boolean', required: false },
21
+ defaultValue: true,
22
+ description:
23
+ 'if needs to show extra details, display them on a separate component at site level',
24
+ },
25
+ showDate: {
26
+ name: 'showDate',
27
+ type: { name: 'boolean', required: false },
28
+ defaultValue: true,
29
+ description: 'Show/hide date',
30
+ },
31
+ verifyIcon: {
32
+ name: 'verifyIcon',
33
+ type: { name: 'boolean', required: false },
34
+ defaultValue: false,
35
+ description: 'Show verify icon',
36
+ },
37
+ item: {
38
+ name: 'item',
39
+ type: { name: 'object', required: false },
40
+ defaultValue: null,
41
+ description: 'The card object.',
42
+ },
43
+ translations: {
44
+ name: 'translations',
45
+ type: { name: 'object', required: false },
46
+ defaultValue: {
47
+ play_now_slots: 'Play Slots LANG',
48
+ },
49
+ description: 'The translations object',
50
+ }
51
+ }
52
+ };
53
+
54
+ const Template = (args) => (
55
+ <div
56
+ style={{
57
+ maxWidth: '30rem',
58
+ margin: '0 auto',
59
+ }}
60
+ >
61
+ <TemplateSix {...args} />
62
+ </div>
63
+ );
64
+ export const Default = Template.bind({});
65
+ Default.args = {
66
+ item: {
67
+ ...card,
68
+ banner: '',
69
+ title: 'Wolf Gold',
70
+ author: {
71
+ name: 'Melissa Kruger',
72
+ profile_page_path: '/about-us/melissa-kruger',
73
+ image_alt: 'Melissa Kruger author at playcasino.co.za',
74
+ image: 'melissa-kruger.png',
75
+ },
76
+ relation: {
77
+ ...card.relation,
78
+ game_provider: {
79
+ name: 'NetEnt',
80
+ path: 'netent-casinos',
81
+ },
82
+ },
83
+ },
84
+ translations: {
85
+ play_now_slots: 'Play Slots LANG',
86
+ },
87
+ storybookImage: gameCardBgThumb,
88
+ page: {
89
+ reading_time: '5', // Add the reading_time value here (replace '5 mins' with the actual value)
90
+ },
91
+ };
@@ -0,0 +1,125 @@
1
+ /* eslint-disable import/no-extraneous-dependencies */
2
+ /* eslint-disable camelcase */
3
+ import React from 'react';
4
+ import PropTypes from 'prop-types';
5
+ import Link from 'gatsby-core-theme/src/hooks/link';
6
+ import { imagePrettyUrl } from 'gatsby-core-theme/src/helpers/getters';
7
+ import LazyImage from 'gatsby-core-theme/src/hooks/lazy-image';
8
+ import { formatDate } from '~helpers/date-time';
9
+
10
+ import useTranslate from '~hooks/useTranslate/useTranslate';
11
+ import styles from './template-five.module.scss';
12
+
13
+ const TemplateFive = ({
14
+ item,
15
+ width = 277,
16
+ height = 140,
17
+ showDate = false,
18
+ showAuthorAsLink = false,
19
+ verifyIcon = '',
20
+ showImageAsLink = false,
21
+ showByLabel = false,
22
+ }) => {
23
+ const { title, path, relation, author } = item;
24
+ const date = item?.updated_at || item?.created_at;
25
+ const formatedDate = date && formatDate(date, 'DD.MM.YYYY', '/', 'en-GB');
26
+
27
+ const defaultImg = (
28
+ <LazyImage width={width} height={height} src="/images/default-article.jpg" alt={title} />
29
+ );
30
+
31
+ const imageElement = (
32
+ <LazyImage
33
+ width={width}
34
+ height={height}
35
+ defaultImg={defaultImg}
36
+ src={
37
+ relation?.logo?.filename
38
+ ? imagePrettyUrl(relation?.logo?.filename, width, height)
39
+ : undefined
40
+ }
41
+ alt={title}
42
+ />
43
+ );
44
+ return (
45
+ <div className={styles.article || ''}>
46
+ {showImageAsLink ? (
47
+ <Link
48
+ to={path}
49
+ className={`${styles.image || ''} article-card-gtm`}
50
+ aria-label={useTranslate(`ariaLabel-${title}Link`, `${title} Link`)}
51
+ >
52
+ {imageElement}
53
+ </Link>
54
+ ) : (
55
+ <div className={styles.image || ''}>{imageElement}</div>
56
+ )}
57
+ <>
58
+ <Link to={path} className={styles?.cardTitle || ''}>
59
+ {title}
60
+ </Link>
61
+ {typeof author === 'object' && (
62
+ <div className={styles?.showAuthorOnOneLine}>
63
+ {!!author?.image && (
64
+ <div className={styles.authorImages}>
65
+ <LazyImage
66
+ alt={author?.name}
67
+ width={40}
68
+ height={40}
69
+ src={imagePrettyUrl(author?.image, 40, 40)}
70
+ />
71
+ {verifyIcon && verifyIcon}
72
+ </div>
73
+ )}
74
+ <div className={styles.authorContainer}>
75
+ {showByLabel && (
76
+ <p>
77
+ <span className={styles.byText}>{useTranslate('by', 'By')}</span>
78
+ </p>
79
+ )}
80
+ {showAuthorAsLink ? (
81
+ <Link to={author?.profile_page_path} title={author?.name}>
82
+ {author?.name}
83
+ </Link>
84
+ ) : (
85
+ <span className={styles.authorName}>{author?.name}</span>
86
+ )}
87
+ {showDate && <span className={styles?.noLink || ''}>{formatedDate}</span>}
88
+ </div>
89
+ </div>
90
+ )}
91
+ </>
92
+ </div>
93
+ );
94
+ };
95
+
96
+ TemplateFive.propTypes = {
97
+ item: PropTypes.shape({
98
+ author: PropTypes.shape({
99
+ name: PropTypes.string,
100
+ profile_page_path: PropTypes.string,
101
+ twitter_profile: PropTypes.string,
102
+ image: PropTypes.string,
103
+ }),
104
+ relation: PropTypes.shape({
105
+ logo: PropTypes.shape({
106
+ filename: PropTypes.string,
107
+ }),
108
+ }),
109
+ title: PropTypes.string,
110
+ updated_at: PropTypes.string,
111
+ created_at: PropTypes.string,
112
+ path: PropTypes.string,
113
+ banner: PropTypes.string,
114
+ reading_time: PropTypes.string,
115
+ }).isRequired,
116
+ width: PropTypes.number,
117
+ height: PropTypes.number,
118
+ showDate: PropTypes.bool,
119
+ showAuthorAsLink: PropTypes.bool,
120
+ verifyIcon: PropTypes.string,
121
+ showImageAsLink: PropTypes.bool,
122
+ showByLabel: PropTypes.bool,
123
+ };
124
+
125
+ export default TemplateFive;
@@ -0,0 +1,149 @@
1
+ .article {
2
+ width: 100%;
3
+ overflow: hidden;
4
+ background: var(--eeat-cards-background-color, #fff);
5
+ border-radius: var(--eeat-cards-border-radius, 1rem);
6
+ border: var(--eeat-cards-border, none);
7
+ box-shadow: 0 6px 8px -2px rgb(27 27 28 / 8%), 0 4px 4px -2px rgb(27 27 28 / 6%);
8
+ position: relative;
9
+ height: auto;
10
+ display: grid;
11
+ grid-template-rows: 14rem 1fr;
12
+ padding: 1.6rem;
13
+ }
14
+
15
+ .cardContent {
16
+ @include flex-direction(column);
17
+ @include flex-align(flex-start, space-between);
18
+
19
+ position: relative;
20
+
21
+ > a {
22
+ margin-bottom: 3.2rem;
23
+ margin-top: 1.6rem;
24
+
25
+ span {
26
+ font-style: normal;
27
+ font-weight: 700;
28
+ font-size: 2.4rem;
29
+ text-transform: capitalize;
30
+ color: #1c1a28;
31
+ display: flex;
32
+ }
33
+ }
34
+ }
35
+
36
+ .image {
37
+ height: 14rem;
38
+ position: relative;
39
+
40
+ img {
41
+ width: 100%;
42
+ height: 100%;
43
+ object-fit: cover;
44
+ border-radius: 8px;
45
+ border: 0.1rem solid #e2e8f0;
46
+ }
47
+ }
48
+
49
+ .showAuthorOnOneLine {
50
+ @include flex-align(center, space-between);
51
+
52
+ font-weight: 500;
53
+ font-size: 14px;
54
+ line-height: 22px;
55
+ width: 100%;
56
+ gap: 0.8rem;
57
+
58
+ img {
59
+ border-radius: 10rem;
60
+ }
61
+
62
+ > div {
63
+ @include flex-align(flex-start, flex-start);
64
+
65
+ gap: 0.2rem;
66
+ flex-grow: 1;
67
+ }
68
+ }
69
+
70
+ .cardTitle {
71
+ padding-top: 1.6rem;
72
+ color: var(--heading-base-color) !important;
73
+ font-size: 2rem;
74
+ line-height: 28px;
75
+ margin-bottom: 2.4rem !important;
76
+ margin-top: 0 !important;
77
+ text-transform: capitalize;
78
+ font-weight: bold;
79
+ }
80
+
81
+ .showAuthorBlock {
82
+ @include flex-align(center, flex-start);
83
+
84
+ font-size: 14px;
85
+ line-height: 22px;
86
+ width: 100%;
87
+ gap: 0.5rem;
88
+
89
+ img {
90
+ border-radius: 10rem;
91
+ }
92
+
93
+ > div {
94
+ @include flex-align(flex-start, flex-start);
95
+
96
+ gap: 0.2rem;
97
+ flex-direction: column;
98
+
99
+ > span {
100
+ flex-grow: 1;
101
+
102
+ @include flex-align(flex-end, flex-end);
103
+ }
104
+ }
105
+ }
106
+
107
+ .authorImages {
108
+ position: relative;
109
+ flex-grow: 0 !important;
110
+
111
+ svg {
112
+ position: absolute;
113
+ width: 1rem;
114
+ height: 1rem;
115
+ bottom: 0;
116
+ right: 0;
117
+ }
118
+
119
+ > img {
120
+ border: 0.1rem solid #ececec;
121
+ width: 4.8rem;
122
+ height: 4.8rem;
123
+ min-width: 4.8rem;
124
+ }
125
+ }
126
+
127
+ .authorContainer {
128
+ > p {
129
+ color: #515156;
130
+ }
131
+
132
+ > a {
133
+ text-decoration: underline;
134
+ color: #000eee;
135
+ }
136
+
137
+ > span {
138
+ font-size: 1.4rem;
139
+ line-height: 2.2rem;
140
+ font-weight: 500;
141
+ color: #1b1b1c;
142
+ text-align: right;
143
+ margin-left: auto;
144
+ }
145
+ }
146
+
147
+ .authorName {
148
+ margin-left: unset !important;
149
+ }