diff --git a/src/renderer/pages/game-details/game-details-skeleton.tsx b/src/renderer/pages/game-details/game-details-skeleton.tsx new file mode 100644 index 000000000..73caef4fe --- /dev/null +++ b/src/renderer/pages/game-details/game-details-skeleton.tsx @@ -0,0 +1,98 @@ +import Skeleton from "react-loading-skeleton"; + +import { Button } from "@renderer/components"; +import * as styles from "./game-details.css"; +import { useTranslation } from "react-i18next"; +import { ShareAndroidIcon } from "@primer/octicons-react"; + +export function GameDetailsSkeleton() { + const { t } = useTranslation("game_details"); + + return ( +
- {t("release_date", { - date: gameDetails?.release_date.date, - })} -
-- {t("publisher", { publisher: gameDetails?.publishers[0] })} -
-+ {t("release_date", { + date: gameDetails?.release_date.date, + })} +
++ {t("publisher", { publisher: gameDetails?.publishers[0] })} +
+