"use client"; import { useSearchParams } from "next/navigation"; import VideoPlayerSection from "@/components/details/video-sections"; import VideoSidebar from "@/components/details/video-sidebar-details"; import ImageSidebar from "@/components/details/image-sidebar-details"; import ImageDetailSection from "@/components/details/image-selections"; import DocumentDetailSection from "@/components/details/document-selections"; import AudioPlayerSection from "@/components/details/audio-selections"; import DocumentSidebar from "@/components/details/document-sidebar-details"; import AudioSidebar from "@/components/details/audio-sidebar-details"; import FloatingMenuNews from "@/components/landing-page/floating-news"; import Footer from "@/components/landing-page/footer"; export default function DetailsPage() { const params = useSearchParams(); const type = params.get("type"); return (
{/* LEFT */}
{type === "video" && } {type === "image" && } {type === "text" && } {type === "audio" && }
{/* RIGHT */}
{type === "video" && } {type === "image" && } {type === "text" && } {type === "audio" && }
); }