From 83a93bf190124ea41785f98ee9621f35da70add2 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Thu, 28 Aug 2025 15:36:44 +0000 Subject: [PATCH] Add dynamic background logo elements to enhance page visuals Replaced static background logo classes with inline styles for dynamic positioning and sizing, importing the logo asset to all relevant pages (VideoPage, Home, NotFound). Replit-Commit-Author: Agent Replit-Commit-Session-Id: d7424866-83d1-4486-a212-ac12b4c7becf Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/d7424866-83d1-4486-a212-ac12b4c7becf/ccgD6tv --- client/src/pages/VideoPage.tsx | 77 ++++++++++++++++- client/src/pages/home.tsx | 153 +++++++++++++++++++++++++++++++-- client/src/pages/not-found.tsx | 58 ++++++++++++- 3 files changed, 273 insertions(+), 15 deletions(-) diff --git a/client/src/pages/VideoPage.tsx b/client/src/pages/VideoPage.tsx index ff4c6ea..24a4f34 100644 --- a/client/src/pages/VideoPage.tsx +++ b/client/src/pages/VideoPage.tsx @@ -2,6 +2,7 @@ import { useState, useEffect } from "react"; import { useQuery } from "@tanstack/react-query"; import { useRoute } from "wouter"; import { type Video } from "@shared/schema"; +import go4LogoPath from "@assets/go4_1756394900352.png"; // Helper functions const formatViews = (views: number): string => { if (views >= 1000000) return `${(views / 1000000).toFixed(1)}M`; @@ -161,10 +162,78 @@ export default function VideoPage() {
{/* Background logo decorations */} -
-
-
-
+
+
+
+
{/* Main video section */} diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx index 9606bd6..86d6ff1 100644 --- a/client/src/pages/home.tsx +++ b/client/src/pages/home.tsx @@ -3,6 +3,7 @@ import { useQuery } from "@tanstack/react-query"; import { type Video } from "@shared/schema"; import SearchHeader from "@/components/search-header"; import VideoGrid from "@/components/video-grid"; +import go4LogoPath from "@assets/go4_1756394900352.png"; interface VideosResponse { @@ -85,14 +86,150 @@ export default function Home() {
{/* Background logo decorations - go4.video logos at different angles */} -
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
{/* Large geometric triangles */}
diff --git a/client/src/pages/not-found.tsx b/client/src/pages/not-found.tsx index 69940a4..4ba1db5 100644 --- a/client/src/pages/not-found.tsx +++ b/client/src/pages/not-found.tsx @@ -1,6 +1,7 @@ import { Card, CardContent } from "@/components/ui/card"; import { AlertCircle } from "lucide-react"; import { Button } from "@/components/ui/button"; +import go4LogoPath from "@assets/go4_1756394900352.png"; export default function NotFound() { return ( @@ -38,9 +39,60 @@ export default function NotFound() {
{/* Background logo decorations */} -
-
-
+
+
+
{/* 404 Content */}