Add an administration panel to manage videos and view platform statistics

Introduce an admin route and page for managing video content, including editing and deletion capabilities, and display key metrics like total videos and views.

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/6qQLPaW
This commit is contained in:
sebastjanartic
2025-08-07 10:21:51 +00:00
parent 24cc2d7942
commit f6e7dcc114
5 changed files with 392 additions and 1 deletions
+2
View File
@@ -4,12 +4,14 @@ import { QueryClientProvider } from "@tanstack/react-query";
import { Toaster } from "@/components/ui/toaster";
import { TooltipProvider } from "@/components/ui/tooltip";
import Home from "@/pages/home";
import Admin from "@/pages/admin";
import NotFound from "@/pages/not-found";
function Router() {
return (
<Switch>
<Route path="/" component={Home} />
<Route path="/admin" component={Admin} />
<Route component={NotFound} />
</Switch>
);