gatsby-core-theme 44.9.2 → 44.9.4

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 CHANGED
@@ -1,3 +1,17 @@
1
+ ## [44.9.4](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.9.3...v44.9.4) (2025-12-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * image dimensions ([a026013](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/a026013c65d00e78f6764aa2d57a4e9e254de7f3))
7
+
8
+ ## [44.9.3](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.9.2...v44.9.3) (2025-12-04)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * update spotlights ([415fe58](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/415fe5856b1cb9a437c55267e971bf42625b7687))
14
+
1
15
  ## [44.9.2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.9.1...v44.9.2) (2025-12-04)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "44.9.2",
3
+ "version": "44.9.4",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -7,8 +7,8 @@ import Item from './item';
7
7
  export default function TemplateOne({
8
8
  module,
9
9
  scrollableContent = false,
10
- width = 104,
11
- height = 104,
10
+ width = 240,
11
+ height = 240,
12
12
  modulePosition
13
13
  }) {
14
14
  const { items } = module;
@@ -15,34 +15,35 @@ export default function TemplateOne({
15
15
  width = 240,
16
16
  height = 240,
17
17
  index
18
- }) {
18
+ }) {
19
19
  const TitleTag = item?.title_tag || "label";
20
-
20
+
21
21
  return (
22
22
  <div className={styles.item}>
23
- <div>
24
- <span className={styles.number}>{index}</span>
25
- </div>
23
+ <div className={styles.leftContainer}>
24
+ <div>
25
+ <span className={styles.number}>{index}</span>
26
+ </div>
26
27
  <div className={styles.content}>
27
- {item?.label && <TitleTag>{item?.label}</TitleTag>}
28
- {item?.text && (
29
- <div
30
- tabIndex={`${scrollableContent ? 0 : -1}`}
31
- className={`${styles.desc} ${
32
- scrollableContent ? styles.scroll : ""
33
- }`}
34
- dangerouslySetInnerHTML={{ __html: item?.text }}
35
- />
36
- )}
28
+ {item?.label && <TitleTag>{item?.label}</TitleTag>}
29
+ {item?.text && (
30
+ <div
31
+ tabIndex={`${scrollableContent ? 0 : -1}`}
32
+ className={`${styles.desc} ${scrollableContent ? styles.scroll : ""
33
+ }`}
34
+ dangerouslySetInnerHTML={{ __html: item?.text }}
35
+ />
36
+ )}
37
37
  </div>
38
- {item?.image && (
39
- <LazyImage
40
- width={width}
41
- height={height}
42
- src={imagePrettyUrl(item?.image, width, height)}
43
- alt={getAltText(item?.image_object, item?.label)}
44
- />
45
- )}
38
+ </div>
39
+ {item?.image && (
40
+ <LazyImage
41
+ width={width}
42
+ height={height}
43
+ src={imagePrettyUrl(item?.image, width, height)}
44
+ alt={getAltText(item?.image_object, item?.label)}
45
+ />
46
+ )}
46
47
  </div>
47
48
  );
48
49
  }
@@ -6,7 +6,7 @@
6
6
  align-items: flex-start;
7
7
 
8
8
 
9
- > label {
9
+ >label {
10
10
  font-size: 2.4rem;
11
11
  font-weight: 600;
12
12
  line-height: 3.2rem;
@@ -17,13 +17,14 @@
17
17
  }
18
18
  }
19
19
 
20
- > h2,
20
+ >h2,
21
21
  h3,
22
22
  h4 {
23
23
  font-size: 2.4rem;
24
24
  font-weight: 600;
25
25
  line-height: 3.2rem;
26
26
  color: #1B1B1C;
27
+ margin: 0;
27
28
 
28
29
  @include min(tablet) {
29
30
  grid-column: 2;
@@ -50,25 +51,35 @@
50
51
  height: 100%;
51
52
  padding-top: 2.4rem;
52
53
  padding-bottom: 2.4rem;
53
- gap: 1.6rem;
54
+ gap: 3.2rem;
55
+
56
+ .leftContainer {
57
+ display: flex;
58
+ flex-direction: column;
59
+ gap: 1.6rem;
60
+
61
+ @include min(tablet) {
62
+ flex-direction: row
63
+ }
64
+ }
54
65
 
55
66
  @include flex-direction(column);
56
67
  @include flex-align(start, space-between);
57
68
 
58
69
  border-bottom: 2px solid #D63B54;
59
70
 
60
- @include min(tablet) {
61
- padding-top: 3.2rem;
62
- padding-bottom: 3.2rem;
63
- flex-direction: row;
64
- }
71
+ @include min(tablet) {
72
+ padding-top: 3.2rem;
73
+ padding-bottom: 3.2rem;
74
+ flex-direction: row;
75
+ }
65
76
 
66
- > a {
77
+ >a {
67
78
  height: 5.6rem;
68
79
  width: 100%;
69
80
  }
70
81
 
71
- > img {
82
+ >img {
72
83
  width: 100%;
73
84
  height: 34rem;
74
85
  object-fit: cover;
@@ -137,7 +148,7 @@
137
148
  line-height: 2.7rem;
138
149
  cursor: pointer;
139
150
 
140
- > svg {
151
+ >svg {
141
152
  margin-left: 0.4rem;
142
153
  }
143
154
 
@@ -146,12 +157,12 @@
146
157
  }
147
158
  }
148
159
 
149
- .topSection{
160
+ .topSection {
150
161
  display: flex;
151
162
  align-items: flex-start;
152
163
  justify-content: flex-start;
153
164
 
154
- > h2,
165
+ >h2,
155
166
  h3,
156
167
  h4 {
157
168
  font-size: 2.4rem;
@@ -164,7 +175,7 @@
164
175
  }
165
176
  }
166
177
 
167
- span{
178
+ span {
168
179
  margin-right: 1rem;
169
180
  background-color: #D63B54;
170
181
  width: 3.2rem;
@@ -181,16 +192,16 @@
181
192
  }
182
193
  }
183
194
 
184
- .number{
185
- background-color: #D63B54;
186
- width: 3.2rem;
187
- height: 3.2rem;
188
- border-radius: 100%;
189
- font-size: 1.4rem;
190
- line-height: 2.2rem;
191
- font-weight: 500;
192
- color: #FDFEFD;
193
- display: flex;
194
- justify-content: center;
195
- align-items: center;
196
- }
195
+ .number {
196
+ background-color: #D63B54;
197
+ width: 3.2rem;
198
+ height: 3.2rem;
199
+ border-radius: 100%;
200
+ font-size: 1.4rem;
201
+ line-height: 2.2rem;
202
+ font-weight: 500;
203
+ color: #FDFEFD;
204
+ display: flex;
205
+ justify-content: center;
206
+ align-items: center;
207
+ }