From 72bded4b3dad13c9e6fccb97fe6fd090a775566c Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Tue, 2 Sep 2025 10:38:08 +0000 Subject: [PATCH] Introduce a new custom loading spinner component with animations Replace existing simple loading indicators with a new animated `LoadingSpinner` component across various pages and components, including `HLSPreviewThumbnail`, `NetflixGrid`, `ThumbnailGenerator`, `VideoAds`, `VideoGrid`, `FolxStadlPage`, `GeschichteLiedPage`, `GipfelstammtischPage`, and `VideoPage`. The new component features a customizable size, text, and a pulsing gradient animation, improving the visual feedback during loading states. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 890577b1-c154-40a4-a177-a0c6d55320c3 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/890577b1-c154-40a4-a177-a0c6d55320c3/UbX8tN8 --- .../src/components/hls-preview-thumbnail.tsx | 8 +++--- client/src/components/loading-spinner.tsx | 28 +++++++++++++++++++ client/src/components/netflix-grid.tsx | 26 +++++++---------- client/src/components/thumbnail-generator.tsx | 7 ++++- client/src/components/video-ads.tsx | 13 +++++---- client/src/components/video-grid.tsx | 27 ++++++++++-------- client/src/pages/FolxStadlPage.tsx | 8 +++++- client/src/pages/GeschichteLiedPage.tsx | 8 +++++- client/src/pages/GipfelstammtischPage.tsx | 8 +++++- client/src/pages/VideoPage.tsx | 16 +++++++++-- 10 files changed, 106 insertions(+), 43 deletions(-) create mode 100644 client/src/components/loading-spinner.tsx diff --git a/client/src/components/hls-preview-thumbnail.tsx b/client/src/components/hls-preview-thumbnail.tsx index 9d946e7..f3df706 100644 --- a/client/src/components/hls-preview-thumbnail.tsx +++ b/client/src/components/hls-preview-thumbnail.tsx @@ -266,10 +266,10 @@ export default function HLSPreviewThumbnail({ video, onClick, className = "" }: {/* Loading state */} {!isVideoLoaded && ( -
Loading videos...
+Loading videos...
+Loading FOLX STADL...
+Loading GESCHICHTE VUM LIED...
+Loading GIPFELSTAMMTISCH...
+Loading video...
+Video not found
+