From 00ffea6a46890bdeac160f8a35b91a7d9298b721 Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Sun, 26 Oct 2025 21:12:30 -0700
Subject: create component for loading screen

---
 frontend/src/pages/Home.tsx | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

(limited to 'frontend/src/pages/Home.tsx')

diff --git a/frontend/src/pages/Home.tsx b/frontend/src/pages/Home.tsx
index ee31a3f..3fcb5cc 100644
--- a/frontend/src/pages/Home.tsx
+++ b/frontend/src/pages/Home.tsx
@@ -1,4 +1,5 @@
 import { useNavigate } from "react-router";
+import LoadingDisplay from "../components/displays/LoadingDisplay";
 import { NavBar } from "../components/NavBar";
 import { useAuth } from "../contexts/AuthContext";
 import type { SupportedGame } from "../types/game";
@@ -77,12 +78,7 @@ const Home = () => {
 
   if (isLoading || gamesLoading) {
     return (
-      <div className="min-h-screen bg-slate-950 flex items-center justify-center">
-        <div className="text-center">
-          <div className="w-8 h-8 border-2 border-violet-500 border-t-transparent rounded-full animate-spin mx-auto mb-4"></div>
-          <p className="text-slate-300">Loading dashboard...</p>
-        </div>
-      </div>
+      <LoadingDisplay />
     );
   }
 
-- 
cgit v1.2.3

