From cd804d04ec9b18d5dcc545ff43306e1390eed77b Mon Sep 17 00:00:00 2001 From: Varun Raj Date: Sat, 23 Aug 2025 15:42:38 +0530 Subject: [PATCH] feat: added empty videos option Signed-off-by: Varun Raj --- src/config/constants/sidebarNavs.tsx | 8 +- src/config/routes.ts | 3 + src/handlers/api/asset.handler.ts | 15 +- src/pages/api/assets/empty-videos.ts | 109 +++++++++++ src/pages/assets/empty-videos.tsx | 281 +++++++++++++++++++++++++++ 5 files changed, 414 insertions(+), 2 deletions(-) create mode 100644 src/pages/api/assets/empty-videos.ts create mode 100644 src/pages/assets/empty-videos.tsx diff --git a/src/config/constants/sidebarNavs.tsx b/src/config/constants/sidebarNavs.tsx index ebe8d2a..b4de6fc 100644 --- a/src/config/constants/sidebarNavs.tsx +++ b/src/config/constants/sidebarNavs.tsx @@ -1,4 +1,4 @@ -import { GalleryHorizontal, GalleryVerticalEnd, Image as ImageIcon, MapPin, MapPinX, Rewind, Search, User } from "lucide-react"; +import { GalleryHorizontal, GalleryVerticalEnd, Image as ImageIcon, MapPin, MapPinX, Rewind, Search, User, Video } from "lucide-react"; export const sidebarNavs = [ // { @@ -41,6 +41,12 @@ export const sidebarNavs = [ title: "Geo Heatmap", link: "/assets/geo-heatmap", icon: , + }, + // Empty Videos + { + title: "Empty Videos", + link: "/assets/empty-videos", + icon: