// NextJs components import Image from "next/image"; import Link from "next/link"; // React query import { Queries } from "@/api/queries"; // Components import VideoPlayer from "./VideoPlayer"; import SectionTitle from "./SectionTitle"; // Images and cions import aydym from "@/public/aydym-com.webp"; import horjun from "@/public/horjun.png"; import belet from "@/public/belet.jpg"; import ReactionsBlock from "./treasury/ReactionsBlock"; import ViewCount from "./view-count"; interface IProps { video_id: number; } const InfoBlock = async ({ video_id }: IProps) => { const {data} = await Queries.getVideo(video_id); return (
{data.desc ? (

{data.desc}

) : null} {data.aydym_com_url || data.horjun_content_url || data.belet_url ? (

Beýleki platformalarda seret:

{data.aydym_com_url ? (
Aydym.com

Aydym.com

) : null} {data.horjun_content_url ? (
HorjunTv

HorjunTv

) : null} {data.belet_url ? (
BeletTv

BeletFilm

) : null}
) : null}
); }; export default InfoBlock;