Remove unused administrative and advertising features

Remove admin, bunny admin, and ad settings routes and components.

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/xV80ifH
This commit is contained in:
sebastjanartic
2025-08-28 11:51:18 +00:00
parent 886475de42
commit f8c8854ed7
5 changed files with 4 additions and 754 deletions
+2 -8
View File
@@ -3,7 +3,6 @@ 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 AdSettings from "@/components/ad-settings";
interface VideosResponse {
@@ -17,7 +16,7 @@ export default function Home() {
const [viewMode, setViewMode] = useState<"grid" | "list">("grid");
const [offset, setOffset] = useState(0);
const [allVideos, setAllVideos] = useState<Video[]>([]);
const [showAdSettings, setShowAdSettings] = useState(false);
// Fetch videos
@@ -78,7 +77,6 @@ export default function Home() {
onSearch={handleSearch}
onViewChange={setViewMode}
currentView={viewMode}
onAdSettingsOpen={() => setShowAdSettings(true)}
/>
<main className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
@@ -91,11 +89,7 @@ export default function Home() {
/>
</main>
{/* VAST Ad Settings Modal */}
<AdSettings
isOpen={showAdSettings}
onClose={() => setShowAdSettings(false)}
/>