diff --git a/.gitea/workflows/deploy-backend.yml b/.gitea/workflows/deploy-backend.yml index ac7c123..005cd67 100644 --- a/.gitea/workflows/deploy-backend.yml +++ b/.gitea/workflows/deploy-backend.yml @@ -59,7 +59,6 @@ jobs: .gitea/kubernetes/backend/deployment.yaml .gitea/kubernetes/backend/service.yaml .gitea/kubernetes/backend/strip-api-prefix-middleware.yaml - .gitea/kubernetes/backend/strip-swagger-prefix-middleware.yaml .gitea/kubernetes/backend/ingress.yaml images: | git.fascinated.cc/fascinated/scoresaber-reloaded-backend:${{ github.sha }} diff --git a/projects/website/src/components/loaders/fullscreen-loader.tsx b/projects/website/src/components/loaders/fullscreen-loader.tsx index 3de0366..8b915b4 100644 --- a/projects/website/src/components/loaders/fullscreen-loader.tsx +++ b/projects/website/src/components/loaders/fullscreen-loader.tsx @@ -1,7 +1,8 @@ +import { ReactNode } from "react"; import ScoreSaberLogo from "../logos/scoresaber-logo"; type Props = { - reason: string; + reason: string | ReactNode; }; export default function FullscreenLoader({ reason }: Props) { @@ -9,7 +10,7 @@ export default function FullscreenLoader({ reason }: Props) {

ScoreSaber Reloaded

-

{reason}

+

{reason}

diff --git a/projects/website/src/components/offline-network.tsx b/projects/website/src/components/offline-network.tsx index d8cbf95..5c7d25a 100644 --- a/projects/website/src/components/offline-network.tsx +++ b/projects/website/src/components/offline-network.tsx @@ -2,16 +2,24 @@ import FullscreenLoader from "@/components/loaders/fullscreen-loader"; import { useNetworkState } from "@uidotdev/usehooks"; +import { ReactNode } from "react"; type Props = { - children: React.ReactNode; + children: ReactNode; }; export default function OfflineNetwork({ children }: Props) { const network = useNetworkState(); return !network.online ? ( - + +

Your device is offline. Check your internet connection.

+

Connection Type: {network.type}

+ + } + /> ) : ( children );