gatsby-matrix-theme 18.0.1 → 18.0.2
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/CHANGELOG.md +10 -0
- package/package.json +1 -1
- package/src/components/atoms/cards/game-cards/template-four/index.js +14 -16
- package/src/components/atoms/cards/game-cards/template-four/template-four.module.scss +25 -24
- package/storybook/public/iframe.html +1 -1
- package/storybook/public/main.6a3e2cea.iframe.bundle.js +1 -0
- package/storybook/public/main.7da23bfb.iframe.bundle.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## [18.0.2](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v18.0.1...v18.0.2) (2023-04-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* game card template four styling ([f804d9a](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/f804d9a4a3488eb5d21f5c90a598eaad6c0d1b2c))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
* Merge branch 'master' of git.ilcd.rocks:team-floyd/themes/matrix-theme ([177a179](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/commit/177a179db6493f0bc5fcc97e575b8977d417fe47))
|
|
10
|
+
|
|
1
11
|
## [18.0.1](https://git.ilcd.rocks/team-floyd/themes/matrix-theme/compare/v18.0.0...v18.0.1) (2023-04-10)
|
|
2
12
|
|
|
3
13
|
|
package/package.json
CHANGED
|
@@ -50,23 +50,21 @@ const TemplateFour = ({
|
|
|
50
50
|
<GatsbyImg filename="default-slot.jpg" alt={title} />
|
|
51
51
|
)}
|
|
52
52
|
</Link>
|
|
53
|
+
{relation && (
|
|
54
|
+
<StarRating
|
|
55
|
+
numOfStars={5}
|
|
56
|
+
halfStars={false}
|
|
57
|
+
rating={
|
|
58
|
+
relation.rating || [
|
|
59
|
+
relation.first_rating,
|
|
60
|
+
relation.second_rating,
|
|
61
|
+
relation.third_rating,
|
|
62
|
+
relation.fourth_rating,
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
/>
|
|
66
|
+
)}
|
|
53
67
|
<div className={`${styles.cardContent} ${featured && styles.featured}`}>
|
|
54
|
-
<div className={styles.cardRating}>
|
|
55
|
-
{relation && (
|
|
56
|
-
<StarRating
|
|
57
|
-
numOfStars={5}
|
|
58
|
-
halfStars={false}
|
|
59
|
-
rating={
|
|
60
|
-
relation.rating || [
|
|
61
|
-
relation.first_rating,
|
|
62
|
-
relation.second_rating,
|
|
63
|
-
relation.third_rating,
|
|
64
|
-
relation.fourth_rating,
|
|
65
|
-
]
|
|
66
|
-
}
|
|
67
|
-
/>
|
|
68
|
-
)}
|
|
69
|
-
</div>
|
|
70
68
|
<Link to={path} className="game-card-gtm">
|
|
71
69
|
<span className={styles.cardTitle}>{title}</span>
|
|
72
70
|
</Link>
|
|
@@ -11,6 +11,30 @@
|
|
|
11
11
|
&.featured {
|
|
12
12
|
background: transparent;
|
|
13
13
|
}
|
|
14
|
+
|
|
15
|
+
> div:nth-child(2) {
|
|
16
|
+
position: absolute;
|
|
17
|
+
top: 2.4rem;
|
|
18
|
+
right: 1.6rem;
|
|
19
|
+
::before {
|
|
20
|
+
margin-right: 0.6rem;
|
|
21
|
+
font-size: 1.8rem;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
padding: 0.4rem 0.8rem;
|
|
25
|
+
width: fit-content;
|
|
26
|
+
align-items: center;
|
|
27
|
+
line-height: 2.8rem;
|
|
28
|
+
font-size: 1.8rem;
|
|
29
|
+
border-radius: 10rem;
|
|
30
|
+
color: var(--color-4);
|
|
31
|
+
border-color: transparent;
|
|
32
|
+
background-color: rgba(51, 49, 61, 0.6);
|
|
33
|
+
> span:last-child {
|
|
34
|
+
line-height: 2.7rem;
|
|
35
|
+
font-size: 1.6rem;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
14
38
|
}
|
|
15
39
|
.cardBanner {
|
|
16
40
|
height: 36rem;
|
|
@@ -38,30 +62,7 @@
|
|
|
38
62
|
}
|
|
39
63
|
}
|
|
40
64
|
}
|
|
41
|
-
|
|
42
|
-
position: absolute;
|
|
43
|
-
top: -34.4rem;
|
|
44
|
-
right: 1.6rem;
|
|
45
|
-
::before {
|
|
46
|
-
margin-right: 0.6rem;
|
|
47
|
-
font-size: 1.8rem;
|
|
48
|
-
}
|
|
49
|
-
> div {
|
|
50
|
-
padding: 0.4rem 0.8rem;
|
|
51
|
-
width: fit-content;
|
|
52
|
-
align-items: center;
|
|
53
|
-
line-height: 2.8rem;
|
|
54
|
-
font-size: 1.8rem;
|
|
55
|
-
border-radius: 10rem;
|
|
56
|
-
color: var(--color-4);
|
|
57
|
-
border-color: transparent;
|
|
58
|
-
background-color: rgba(51, 49, 61, 0.6);
|
|
59
|
-
> span:last-child {
|
|
60
|
-
line-height: 2.7rem;
|
|
61
|
-
font-size: 1.6rem;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
+
|
|
65
66
|
a > span.cardTitle {
|
|
66
67
|
margin: 0;
|
|
67
68
|
line-height: 3.8rem;
|
|
@@ -345,4 +345,4 @@
|
|
|
345
345
|
|
|
346
346
|
|
|
347
347
|
|
|
348
|
-
window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"}];</script><script src="runtime~main.20887fdd.iframe.bundle.js"></script><script src="609.6346a980.iframe.bundle.js"></script><script src="main.
|
|
348
|
+
window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"},{"titlePrefix":"","directory":"./src","files":"**/**/**/**/**/*.stories.js","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.js)$"}];</script><script src="runtime~main.20887fdd.iframe.bundle.js"></script><script src="609.6346a980.iframe.bundle.js"></script><script src="main.6a3e2cea.iframe.bundle.js"></script></body></html>
|