|
| 1 | +import React from "react"; |
| 2 | + |
1 | 3 | export type GameInfoItem = {
|
2 | 4 | id: number;
|
3 | 5 | name: string;
|
4 | 6 | image: string;
|
5 | 7 | avatarUrl: string;
|
6 | 8 | appWeb?: AppWeb[];
|
7 | 9 | os?: OperatingSystem[];
|
8 |
| - info?: string; |
| 10 | + info?: JSX.Element; |
9 | 11 | }
|
10 | 12 |
|
11 | 13 | export enum AppWeb {
|
@@ -33,7 +35,7 @@ const GamesInformation : GameInfoItem[] = [
|
33 | 35 | avatarUrl: "https://media.forgecdn.net/avatars/652/748/638054969446166748.png",
|
34 | 36 | appWeb: [AppWeb.Standalone, AppWeb.OverwolfApp, AppWeb.Web],
|
35 | 37 | os: [OperatingSystem.Windows, OperatingSystem.Linux, OperatingSystem.Mac],
|
36 |
| - "info": "Does not behave well with Microsoft Gamepass" |
| 38 | + "info": <>Does not behave well with Microsoft Gamepass</> |
37 | 39 | },
|
38 | 40 | {
|
39 | 41 | "id": 65,
|
@@ -217,7 +219,7 @@ const GamesInformation : GameInfoItem[] = [
|
217 | 219 | "avatarUrl": "https://media.forgecdn.net/avatars/858/778/638264250839731334.png",
|
218 | 220 | os: [OperatingSystem.Windows, OperatingSystem.PlayStation, OperatingSystem.Xbox],
|
219 | 221 | appWeb: [AppWeb.InGame],
|
220 |
| - info: "Modding is done from in-game only." |
| 222 | + info: <>Modding is done from in-game only.</> |
221 | 223 | },
|
222 | 224 | {
|
223 | 225 | "id": 83387,
|
@@ -370,7 +372,7 @@ const GamesInformation : GameInfoItem[] = [
|
370 | 372 | "avatarUrl": "https://media.forgecdn.net/avatars/936/141/638413534976321166.jpg",
|
371 | 373 | os: [OperatingSystem.Windows],
|
372 | 374 | appWeb: [AppWeb.Standalone, AppWeb.OverwolfApp, AppWeb.Web],
|
373 |
| - info: "Does not behave well with Microsoft Gamepass" |
| 375 | + info: <>Does not behave well with Microsoft Gamepass</> |
374 | 376 | },
|
375 | 377 | {
|
376 | 378 | "id": 85440,
|
@@ -545,7 +547,7 @@ const GamesInformation : GameInfoItem[] = [
|
545 | 547 | "avatarUrl": "https://media.forgecdn.net/avatars/652/747/638054969273937292.png",
|
546 | 548 | appWeb: [AppWeb.OverwolfApp],
|
547 | 549 | os: [OperatingSystem.Windows],
|
548 |
| - info: "You should probably use <a href=\"https://github.com/KSP-CKAN/CKAN/wiki/User-guide\" target\"_blank\">CKAN</a> instead" |
| 550 | + info: <>You should probably use <a href={"https://github.com/KSP-CKAN/CKAN/wiki/User-guide"} target={"_blank"}>CKAN</a> instead</> |
549 | 551 | },
|
550 | 552 | {
|
551 | 553 | "id": 496,
|
|
0 commit comments