Remove the back button and add a search icon to the video page

Replaces the desktop "Back" button on the VideoPage with a search icon, and removes the button entirely.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/mzoDqOY
This commit is contained in:
sebastjanartic 2025-08-28 19:53:20 +00:00
parent e8fbff8a8b
commit c17c51c82c

View File

@ -31,7 +31,7 @@ const formatDate = (date: Date | string): string => {
});
};
import { Button } from "@/components/ui/button";
import { Share2, X, Edit3, Menu } from "lucide-react";
import { Share2, X, Edit3, Menu, Search } from "lucide-react";
import { apiRequest } from "@/lib/queryClient";
import {
FacebookShareButton,
@ -150,13 +150,6 @@ export default function VideoPage() {
Home
</a>
</nav>
<Button
onClick={() => window.history.back()}
className="bg-white/10 hover:bg-white/20 text-white border border-white/20 backdrop-blur-sm transition-all duration-200"
>
Back
</Button>
</div>
{/* Mobile Search Button */}