@mundogamernetwork/shared-ui 1.1.87 → 1.1.88

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/locales/de.json CHANGED
@@ -136,7 +136,9 @@
136
136
  "title": "Kampagne",
137
137
  "about": "Über das Spiel",
138
138
  "screenshot_alt": "Spiel-Screenshot",
139
- "see_all": "alle anzeigen"
139
+ "see_all": "alle anzeigen",
140
+ "developer": "Entwickler",
141
+ "publisher": "Publisher"
140
142
  },
141
143
  "other_campaigns": "Andere Kampagnen",
142
144
  "available": "verfügbar",
package/locales/en.json CHANGED
@@ -136,7 +136,9 @@
136
136
  "title": "Campaign",
137
137
  "about": "About the game",
138
138
  "screenshot_alt": "Game screenshot",
139
- "see_all": "see all"
139
+ "see_all": "see all",
140
+ "developer": "Developer",
141
+ "publisher": "Publisher"
140
142
  },
141
143
  "other_campaigns": "Other campaigns",
142
144
  "available": "available",
@@ -136,7 +136,9 @@
136
136
  "title": "Campanha",
137
137
  "about": "Sobre o jogo",
138
138
  "screenshot_alt": "Captura de tela do jogo",
139
- "see_all": "ver todos"
139
+ "see_all": "ver todos",
140
+ "developer": "Desenvolvedora",
141
+ "publisher": "Publicadora"
140
142
  },
141
143
  "other_campaigns": "Outras campanhas",
142
144
  "available": "disponível",
package/locales/ro.json CHANGED
@@ -136,7 +136,9 @@
136
136
  "title": "Campanie",
137
137
  "about": "Despre joc",
138
138
  "screenshot_alt": "Captură de ecran a jocului",
139
- "see_all": "vezi toate"
139
+ "see_all": "vezi toate",
140
+ "developer": "Dezvoltator",
141
+ "publisher": "Editor"
140
142
  },
141
143
  "other_campaigns": "Alte campanii",
142
144
  "available": "disponibil",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mundogamernetwork/shared-ui",
3
- "version": "1.1.87",
3
+ "version": "1.1.88",
4
4
  "description": "Mundo Gamer Network - Shared UI Layer (Nuxt 3)",
5
5
  "type": "module",
6
6
  "main": "./nuxt.config.ts",
@@ -714,6 +714,17 @@ onMounted(async () => {
714
714
  <div class="title">{{ $t("keys.campaigns.campaign.about") }}</div>
715
715
  <div class="description" v-html="campaign.game_summary"></div>
716
716
  </div>
717
+
718
+ <div class="game-credits" v-if="gameDetails?.developers?.length || gameDetails?.publishers?.length">
719
+ <div class="game-credits-row" v-if="gameDetails?.developers?.length">
720
+ <span class="label">{{ $t("keys.campaigns.campaign.developer") }}</span>
721
+ <span class="value">{{ gameDetails.developers.map(d => d.name).join(", ") }}</span>
722
+ </div>
723
+ <div class="game-credits-row" v-if="gameDetails?.publishers?.length">
724
+ <span class="label">{{ $t("keys.campaigns.campaign.publisher") }}</span>
725
+ <span class="value">{{ gameDetails.publishers.map(p => p.name).join(", ") }}</span>
726
+ </div>
727
+ </div>
717
728
  </div>
718
729
  </div>
719
730
 
@@ -1196,6 +1207,21 @@ onMounted(async () => {
1196
1207
  .title { font-size: 14px; font-weight: 600; color: var(--card-article-title); }
1197
1208
  .description { font-size: 13px; line-height: 1.6; color: var(--secondary-info-fg); }
1198
1209
  }
1210
+
1211
+ .game-credits {
1212
+ display: flex;
1213
+ flex-direction: column;
1214
+ gap: 6px;
1215
+ }
1216
+
1217
+ .game-credits-row {
1218
+ display: flex;
1219
+ gap: 6px;
1220
+ font-size: 13px;
1221
+
1222
+ .label { color: var(--secondary-info-fg); }
1223
+ .value { color: var(--card-article-title); font-weight: 600; }
1224
+ }
1199
1225
  }
1200
1226
  }
1201
1227
 
@@ -49,6 +49,8 @@ export interface GameDetail {
49
49
  genres?: Array<{ id: number; localized_name: string }>
50
50
  first_release_date_in_full?: string | null
51
51
  first_release_date_textual?: string | null
52
+ developers?: Array<{ id: number; name: string }>
53
+ publishers?: Array<{ id: number; name: string }>
52
54
  }
53
55
 
54
56
  export const fetchDetailGame = (lang: string, slug: string) =>