diff --git a/app/src/main/frontend/components/temp/DockerHubDeprecationPopover.tsx b/app/src/main/frontend/components/temp/DockerHubDeprecationPopover.tsx new file mode 100644 index 0000000..85cdc54 --- /dev/null +++ b/app/src/main/frontend/components/temp/DockerHubDeprecationPopover.tsx @@ -0,0 +1,44 @@ +import {Button, Link, Popover, PopoverContent, PopoverTrigger} from "@heroui/react"; +import {Warning} from "@phosphor-icons/react"; + +// TODO: Remove this component before the release of version 2.2.0 +export default function DockerHubDeprecationPopover() { + return ( + + + + + +
+

Image deprecation notice

+

+ Starting with version + 2.2.0 + the image{' '} + + grimsi/gameyfin + + {' '}will no longer be published to Docker Hub. +

+

+ Please switch to{' '} + + ghcr.io/gameyfin/gameyfin + + {' '}if you are currently using the Docker Hub image. +

+
+
+
+ ); +} \ No newline at end of file diff --git a/app/src/main/frontend/views/MainLayout.tsx b/app/src/main/frontend/views/MainLayout.tsx index a8aa302..c7a54ee 100644 --- a/app/src/main/frontend/views/MainLayout.tsx +++ b/app/src/main/frontend/views/MainLayout.tsx @@ -14,6 +14,7 @@ import {useSnapshot} from "valtio/react"; import {gameState} from "Frontend/state/GameState"; import ScanProgressPopover from "Frontend/components/general/ScanProgressPopover"; import {isAdmin} from "Frontend/util/utils"; +import DockerHubDeprecationPopover from "Frontend/components/temp/DockerHubDeprecationPopover"; export default function MainLayout() { const navigate = useNavigate(); @@ -105,13 +106,22 @@ export default function MainLayout() { {isAdmin(auth) && - - -
- -
-
-
+
+ + +
+ +
+
+
+ + +
+ +
+
+
+
} {auth.state.user &&