itube-specs 0.0.982 → 0.0.984

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.
@@ -2,7 +2,7 @@
2
2
  <template>
3
3
  <div
4
4
  :class="{
5
- '--model': type === 'model',
5
+ '--model': isModel,
6
6
  }"
7
7
  class="info-main"
8
8
  >
@@ -13,8 +13,8 @@
13
13
  class="info-main__content"
14
14
  >
15
15
  <UiImg
16
- v-if="card.img"
17
- :src="currentImage"
16
+ v-if="card.img || isModel"
17
+ :src="currentImage || placeholder"
18
18
  :avif-src="currentAvifSrc"
19
19
  :alt="title"
20
20
  :sizes="IMG_SIZES"
@@ -132,7 +132,7 @@
132
132
  #card
133
133
  >
134
134
  <CardModelMini
135
- v-if="type === 'model'"
135
+ v-if="isModel"
136
136
  :card="shareModelCard"
137
137
  />
138
138
  <CardChannelMini
@@ -176,6 +176,8 @@ const groupedParameters = computed<IGroupedParameter[]>(() =>
176
176
  groupParametersByGroup(props.card.parameters ?? []),
177
177
  );
178
178
 
179
+ const isModel = computed(() => props.type === 'model');
180
+
179
181
  const featureFlags = useRuntimeConfig().public.featureFlags;
180
182
 
181
183
  const isShareOpen = ref(false);
@@ -388,6 +390,7 @@ const socialItems = computed<ILinkItem[]>(() => {
388
390
  margin-top: 12px;
389
391
  line-height: 1.625;
390
392
  color: $info-description;
393
+ grid-column: 2;
391
394
 
392
395
  @include to-br(sm) {
393
396
  grid-column: 1/-1;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "itube-specs",
3
3
  "type": "module",
4
- "version": "0.0.982",
4
+ "version": "0.0.984",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "scripts": {