2025-03-25 16:34:44 +00:00
"use client" ;
2025-03-05 10:05:44 +00:00
import React , { useState } from "react" ;
import { Tabs , TabsList , TabsTrigger } from "@/components/ui/tabs" ;
import Image from "next/image" ;
import { Icon } from "@/components/ui/icon" ;
import { Link } from "@/i18n/routing" ;
import { Reveal } from "@/components/landing-page/Reveal" ;
2025-03-25 16:34:44 +00:00
import { Carousel , CarouselContent , CarouselItem , CarouselNext , CarouselPrevious } from "@/components/ui/carousel" ;
import { formatDateToIndonesian } from "@/utils/globals" ;
2025-03-05 10:05:44 +00:00
const SocialMedia = ( ) = > {
const [ selectedTab , setSelectedTab ] = useState ( "x" ) ;
2025-03-25 16:34:44 +00:00
const twitter = [
{
id : 1 ,
logo : "/assets/img/logo-humas.jpg" ,
title : "Humas_PoldaKaltara" ,
tag : "@HumasKaltara" ,
desc : " Lorem ipsum dolor sit, amet consectetur adipisicing elit. Maxime quo fugiat soluta. Possimus est inventore, quidem eligendi fugit repudiandae dicta saepe perspiciatis corrupti quae sapiente accusantium cumque et dolor ut ullam tempora deserunt dolore consequatur! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Obcaecati sint et sunt quis, eius fuga aliquid" ,
image : "/assets/img/gbr-contoh.png" ,
} ,
{
id : 2 ,
logo : "/assets/img/logo-humas.jpg" ,
title : "Humas_PoldaKaltara" ,
tag : "@HumasKaltara" ,
desc : " Lorem ipsum dolor sit, amet consectetur adipisicing elit. Maxime quo fugiat soluta. Possimus est inventore, quidem eligendi fugit repudiandae dicta saepe perspiciatis corrupti quae sapiente accusantium cumque et dolor ut ullam tempora deserunt dolore consequatur! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Obcaecati sint et sunt quis, eius fuga aliquid" ,
image : "/assets/img/gbr-contoh.png" ,
} ,
{
id : 3 ,
logo : "/assets/img/logo-humas.jpg" ,
title : "Humas_PoldaKaltara" ,
tag : "@HumasKaltara" ,
desc : " Lorem ipsum dolor sit, amet consectetur adipisicing elit. Maxime quo fugiat soluta. Possimus est inventore, quidem eligendi fugit repudiandae dicta saepe perspiciatis corrupti quae sapiente accusantium cumque et dolor ut ullam tempora deserunt dolore consequatur! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Obcaecati sint et sunt quis, eius fuga aliquid" ,
image : "/assets/img/gbr-contoh.png" ,
} ,
{
id : 4 ,
logo : "/assets/img/logo-humas.jpg" ,
title : "Humas_PoldaKaltara" ,
tag : "@HumasKaltara" ,
desc : " Lorem ipsum dolor sit, amet consectetur adipisicing elit. Maxime quo fugiat soluta. Possimus est inventore, quidem eligendi fugit repudiandae dicta saepe perspiciatis corrupti quae sapiente accusantium cumque et dolor ut ullam tempora deserunt dolore consequatur! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Obcaecati sint et sunt quis, eius fuga aliquid" ,
image : "/assets/img/gbr-contoh.png" ,
} ,
] ;
const shimmer = ( w : number , h : number ) = > `
< svg width = "${w}" height = "${h}" version = "1.1" xmlns = "http://www.w3.org/2000/svg" xmlns : xlink = "http://www.w3.org/1999/xlink" >
< defs >
< linearGradient id = "g" >
< stop stop - color = "#bcbcbd" offset = "20%" / >
< stop stop - color = "#f9fafb" offset = "50%" / >
< stop stop - color = "#bcbcbd" offset = "70%" / >
< / linearGradient >
< / defs >
< rect width = "${w}" height = "${h}" fill = "#bcbcbd" / >
< rect id = "r" width = "${w}" height = "${h}" fill = "url(#g)" / >
< animate xlink : href = "#r" attributeName = "x" from = "-${w}" to = "${w}" dur = "1s" repeatCount = "indefinite" / >
< / svg > ` ;
const toBase64 = ( str : string ) = > ( typeof window === "undefined" ? Buffer . from ( str ) . toString ( "base64" ) : window . btoa ( str ) ) ;
2025-03-05 10:05:44 +00:00
return (
< >
< Reveal >
2025-03-21 09:14:33 +00:00
< div className = "px-4 lg:px-20 my-10" >
2025-03-05 10:05:44 +00:00
< div className = "bg-[#c03724] rounded-md p-3 w-fit text-white" > Media Sosial < / div >
< div className = "mx-auto w-full max-w-7xl justify-center flex px-5 flex-col lg:flex-row gap-5 mb-4" >
< Tabs value = { selectedTab } onValueChange = { setSelectedTab } >
< TabsList className = "grid grid-cols-2 lg:flex lg:flex-row " >
< TabsTrigger
value = "x"
className = "relative text-xs md:text-xl font-bold text-black dark:text-white dark:bg-transparent before:absolute before:top-full before:left-0 before:h-px before:w-full data-[state=active]:before:bg-primary"
>
X { " " }
< / TabsTrigger >
2025-03-24 17:22:16 +00:00
< div className = "text-[#c03724] text-lg hidden md:inline-block" > | < / div >
2025-03-05 10:05:44 +00:00
< TabsTrigger
value = "instagram"
className = "relative text-xs md:text-xl font-bold text-black dark:text-white dark:bg-transparent before:absolute before:top-full before:left-0 before:h-px before:w-full data-[state=active]:before:bg-primary"
>
Instagram
< / TabsTrigger >
2025-03-24 17:22:16 +00:00
< div className = "text-[#c03724] text-lg hidden md:inline-block" > | < / div >
2025-03-05 10:05:44 +00:00
< TabsTrigger
value = "facebook"
className = "relative text-xs md:text-xl font-bold text-black dark:text-white dark:bg-transparent before:absolute before:top-full before:left-0 before:h-px before:w-full data-[state=active]:before:bg-primary"
>
Facebook
< / TabsTrigger >
2025-03-24 17:22:16 +00:00
< div className = "text-[#c03724] text-lg hidden md:inline-block" > | < / div >
2025-03-05 10:05:44 +00:00
< TabsTrigger
value = "tiktok"
className = "relative text-xs md:text-xl font-bold text-black dark:text-white dark:bg-transparent before:absolute before:top-full before:left-0 before:h-px before:w-full data-[state=active]:before:bg-primary"
>
Tiktok
< / TabsTrigger >
2025-03-24 17:22:16 +00:00
< div className = "text-[#c03724] text-lg hidden md:inline-block" > | < / div >
2025-03-05 10:05:44 +00:00
< TabsTrigger
value = "youtube"
className = "relative text-xs md:text-xl font-bold text-black dark:text-white dark:bg-transparent before:absolute before:top-full before:left-0 before:h-px before:w-full data-[state=active]:before:bg-primary"
>
Youtube
< / TabsTrigger >
< / TabsList >
< / Tabs >
< / div >
2025-03-27 04:17:40 +00:00
< div className = "flex flex-col lg:flex-row w-full" >
2025-03-05 10:05:44 +00:00
{ selectedTab == "x" ? (
2025-03-27 14:00:01 +00:00
< div className = "flex flex-row justify-between gap-5 " >
2025-03-25 16:34:44 +00:00
{ / * < d i v c l a s s N a m e = " b o r d e r b o r d e r - s l a t e - 3 0 0 r o u n d e d - l g m t - 4 w - [ 3 5 0 p x ] h - [ 5 0 0 p x ] " >
2025-03-21 09:14:33 +00:00
< div className = "mt-2 flex flex-row gap-2 mx-1" >
< div className = "h-full" >
{ " " }
< Image alt = "" src = "/assets/img/logo-humas.jpg" width = { 1920 } height = { 1080 } className = "h-12 w-12" / >
< / div >
< div className = "flex flex-col" >
< div className = "flex flex-row gap-2" >
< p className = "font-bold" > Humas_PoldaKaltara < / p >
< svg xmlns = "http://www.w3.org/2000/svg" width = "20" height = "20" viewBox = "0 0 256 256" >
< path
fill = "#53b0ff"
d = "M225.86 102.82c-3.77-3.94-7.67-8-9.14-11.57c-1.36-3.27-1.44-8.69-1.52-13.94c-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52c-3.56-1.47-7.63-5.37-11.57-9.14C146.28 23.51 138.44 16 128 16s-18.27 7.51-25.18 14.14c-3.94 3.77-8 7.67-11.57 9.14c-3.25 1.36-8.69 1.44-13.94 1.52c-9.76.15-20.82.31-28.51 8s-7.8 18.75-8 28.51c-.08 5.25-.16 10.67-1.52 13.94c-1.47 3.56-5.37 7.63-9.14 11.57C23.51 109.72 16 117.56 16 128s7.51 18.27 14.14 25.18c3.77 3.94 7.67 8 9.14 11.57c1.36 3.27 1.44 8.69 1.52 13.94c.15 9.76.31 20.82 8 28.51s18.75 7.85 28.51 8c5.25.08 10.67.16 13.94 1.52c3.56 1.47 7.63 5.37 11.57 9.14c6.9 6.63 14.74 14.14 25.18 14.14s18.27-7.51 25.18-14.14c3.94-3.77 8-7.67 11.57-9.14c3.27-1.36 8.69-1.44 13.94-1.52c9.76-.15 20.82-.31 28.51-8s7.85-18.75 8-28.51c.08-5.25.16-10.67 1.52-13.94c1.47-3.56 5.37-7.63 9.14-11.57c6.63-6.9 14.14-14.74 14.14-25.18s-7.51-18.27-14.14-25.18m-52.2 6.84l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 11.32"
/ >
< / svg >
< / div >
< p className = "text-slate-500 text-sm" > @HumasKaltara < / p >
< / div >
2025-03-05 10:05:44 +00:00
< / div >
2025-03-21 09:14:33 +00:00
< div className = "flex flex-col w-full px-3" >
< div className = "my-3" >
< p className = "text-sm text-justify" >
Lorem ipsum dolor sit , amet consectetur adipisicing elit . Maxime quo fugiat soluta . Possimus est inventore , quidem eligendi fugit repudiandae dicta saepe perspiciatis corrupti quae sapiente accusantium cumque et
2025-03-24 17:22:16 +00:00
dolor ut ullam tempora deserunt dolore consequatur ! Lorem ipsum dolor sit amet , consectetur adipisicing elit . Obcaecati sint et sunt quis , eius fuga aliquid
2025-03-21 09:14:33 +00:00
< / p >
2025-03-24 17:22:16 +00:00
< Image alt = "" src = "/assets/img/gbr-contoh.png" width = { 1920 } height = { 1080 } className = "h-full w-full mt-3 rounded-md" / > { " " }
2025-03-05 10:05:44 +00:00
< / div >
< / div >
2025-03-25 16:34:44 +00:00
< / div > * / }
< Carousel className = "w-full mx-auto" >
2025-03-27 04:17:40 +00:00
< CarouselContent className = "gap-[20px] pl-5" >
2025-03-25 16:34:44 +00:00
{ twitter ? . map ( ( image : any ) = > (
< CarouselItem key = { image ? . id } className = "md:basis-1/2 lg:basis-1/4 border border-slate-300 rounded-lg mt-4" >
< div className = "mt-2 flex flex-row gap-2 mx-1" >
< div className = "h-full" >
{ " " }
< Image alt = "" src = { image ? . logo } width = { 1920 } height = { 1080 } className = "h-12 w-12" / >
< / div >
< div className = "flex flex-col" >
< div className = "flex flex-row gap-2" >
< p className = "font-bold" > { image ? . title } < / p >
< svg xmlns = "http://www.w3.org/2000/svg" width = "20" height = "20" viewBox = "0 0 256 256" >
< path
fill = "#53b0ff"
d = "M225.86 102.82c-3.77-3.94-7.67-8-9.14-11.57c-1.36-3.27-1.44-8.69-1.52-13.94c-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52c-3.56-1.47-7.63-5.37-11.57-9.14C146.28 23.51 138.44 16 128 16s-18.27 7.51-25.18 14.14c-3.94 3.77-8 7.67-11.57 9.14c-3.25 1.36-8.69 1.44-13.94 1.52c-9.76.15-20.82.31-28.51 8s-7.8 18.75-8 28.51c-.08 5.25-.16 10.67-1.52 13.94c-1.47 3.56-5.37 7.63-9.14 11.57C23.51 109.72 16 117.56 16 128s7.51 18.27 14.14 25.18c3.77 3.94 7.67 8 9.14 11.57c1.36 3.27 1.44 8.69 1.52 13.94c.15 9.76.31 20.82 8 28.51s18.75 7.85 28.51 8c5.25.08 10.67.16 13.94 1.52c3.56 1.47 7.63 5.37 11.57 9.14c6.9 6.63 14.74 14.14 25.18 14.14s18.27-7.51 25.18-14.14c3.94-3.77 8-7.67 11.57-9.14c3.27-1.36 8.69-1.44 13.94-1.52c9.76-.15 20.82-.31 28.51-8s7.85-18.75 8-28.51c.08-5.25.16-10.67 1.52-13.94c1.47-3.56 5.37-7.63 9.14-11.57c6.63-6.9 14.14-14.74 14.14-25.18s-7.51-18.27-14.14-25.18m-52.2 6.84l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 11.32"
/ >
< / svg >
< / div >
< p className = "text-slate-500 text-sm" > { image ? . tag } < / p >
< / div >
< / div >
< div className = "flex flex-col w-full px-3" >
< div className = "my-3" >
< p className = "text-sm text-justify" > { image ? . desc } < / p >
< Image alt = "" src = { image ? . image } width = { 1920 } height = { 1080 } className = "h-full w-full mt-3 rounded-md" / > { " " }
< / div >
< / div >
< / CarouselItem >
) ) }
< / CarouselContent >
< CarouselPrevious className = "hover:bg-black" / >
< CarouselNext className = "hover:bg-black -mr-6" / >
< / Carousel >
< / div >
) : selectedTab == "instagram" ? (
2025-03-27 14:00:01 +00:00
< div className = "flex flex-row justify-between gap-5" >
2025-03-25 16:34:44 +00:00
< div className = "border border-slate-300 rounded-lg mt-4 w-[330px]" >
2025-03-21 09:14:33 +00:00
< div className = "mt-2 flex flex-row gap-2 mx-1" >
< div className = "h-full" >
{ " " }
< Image alt = "" src = "/assets/img/logo-humas.jpg" width = { 1920 } height = { 1080 } className = "h-12 w-12" / >
< / div >
< div className = "flex flex-col" >
< div className = "flex flex-row gap-2" >
2025-03-25 16:34:44 +00:00
< p className = "font-bold" > TBNews Mabes Polri < / p >
< svg xmlns = "http://www.w3.org/2000/svg" width = "20" height = "20" viewBox = "0 0 256 256" >
< path
fill = "#53b0ff"
d = "M225.86 102.82c-3.77-3.94-7.67-8-9.14-11.57c-1.36-3.27-1.44-8.69-1.52-13.94c-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52c-3.56-1.47-7.63-5.37-11.57-9.14C146.28 23.51 138.44 16 128 16s-18.27 7.51-25.18 14.14c-3.94 3.77-8 7.67-11.57 9.14c-3.25 1.36-8.69 1.44-13.94 1.52c-9.76.15-20.82.31-28.51 8s-7.8 18.75-8 28.51c-.08 5.25-.16 10.67-1.52 13.94c-1.47 3.56-5.37 7.63-9.14 11.57C23.51 109.72 16 117.56 16 128s7.51 18.27 14.14 25.18c3.77 3.94 7.67 8 9.14 11.57c1.36 3.27 1.44 8.69 1.52 13.94c.15 9.76.31 20.82 8 28.51s18.75 7.85 28.51 8c5.25.08 10.67.16 13.94 1.52c3.56 1.47 7.63 5.37 11.57 9.14c6.9 6.63 14.74 14.14 25.18 14.14s18.27-7.51 25.18-14.14c3.94-3.77 8-7.67 11.57-9.14c3.27-1.36 8.69-1.44 13.94-1.52c9.76-.15 20.82-.31 28.51-8s7.85-18.75 8-28.51c.08-5.25.16-10.67 1.52-13.94c1.47-3.56 5.37-7.63 9.14-11.57c6.63-6.9 14.14-14.74 14.14-25.18s-7.51-18.27-14.14-25.18m-52.2 6.84l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 11.32"
/ >
< / svg >
2025-03-21 09:14:33 +00:00
< / div >
2025-03-25 16:34:44 +00:00
< p className = "text-slate-500 text-sm" > @TBNewsMabes < / p >
2025-03-21 09:14:33 +00:00
< / div >
2025-03-25 16:34:44 +00:00
< / div >
< div className = "flex flex-col w-full px-3" >
< div className = "my-3" >
< p className = "text-sm text-justify" >
Lorem ipsum dolor sit , amet consectetur adipisicing elit . Maxime quo fugiat soluta . Possimus est inventore , quidem eligendi fugit repudiandae dicta saepe perspiciatis corrupti quae sapiente accusantium cumque et
dolor ut ullam tempora deserunt dolore consequatur !
< / p >
< Image alt = "" src = "/assets/img/gbr-contoh.png" width = { 1920 } height = { 1080 } className = "h-32 w-full mt-3 rounded-md" / > { " " }
2025-03-21 09:14:33 +00:00
< / div >
< / div >
2025-03-25 16:34:44 +00:00
< / div >
< / div >
) : selectedTab == "facebook" ? (
2025-03-27 14:00:01 +00:00
< div className = "flex flex-row justify-between gap-5" >
2025-03-25 16:34:44 +00:00
< div className = "border border-slate-300 rounded-lg mt-4 w-[330px]" >
< div className = "mt-2 flex flex-row gap-2 mx-1" >
< div className = "h-full" >
{ " " }
< Image alt = "" src = "/assets/img/logo-humas.jpg" width = { 1920 } height = { 1080 } className = "h-12 w-12" / >
2025-03-21 09:14:33 +00:00
< / div >
2025-03-25 16:34:44 +00:00
< div className = "flex flex-col" >
< div className = "flex flex-row gap-2" >
< p className = "font-bold" > TBNews Mabes Polri < / p >
< svg xmlns = "http://www.w3.org/2000/svg" width = "20" height = "20" viewBox = "0 0 256 256" >
< path
fill = "#53b0ff"
d = "M225.86 102.82c-3.77-3.94-7.67-8-9.14-11.57c-1.36-3.27-1.44-8.69-1.52-13.94c-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52c-3.56-1.47-7.63-5.37-11.57-9.14C146.28 23.51 138.44 16 128 16s-18.27 7.51-25.18 14.14c-3.94 3.77-8 7.67-11.57 9.14c-3.25 1.36-8.69 1.44-13.94 1.52c-9.76.15-20.82.31-28.51 8s-7.8 18.75-8 28.51c-.08 5.25-.16 10.67-1.52 13.94c-1.47 3.56-5.37 7.63-9.14 11.57C23.51 109.72 16 117.56 16 128s7.51 18.27 14.14 25.18c3.77 3.94 7.67 8 9.14 11.57c1.36 3.27 1.44 8.69 1.52 13.94c.15 9.76.31 20.82 8 28.51s18.75 7.85 28.51 8c5.25.08 10.67.16 13.94 1.52c3.56 1.47 7.63 5.37 11.57 9.14c6.9 6.63 14.74 14.14 25.18 14.14s18.27-7.51 25.18-14.14c3.94-3.77 8-7.67 11.57-9.14c3.27-1.36 8.69-1.44 13.94-1.52c9.76-.15 20.82-.31 28.51-8s7.85-18.75 8-28.51c.08-5.25.16-10.67 1.52-13.94c1.47-3.56 5.37-7.63 9.14-11.57c6.63-6.9 14.14-14.74 14.14-25.18s-7.51-18.27-14.14-25.18m-52.2 6.84l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 11.32"
/ >
< / svg >
2025-03-21 09:14:33 +00:00
< / div >
2025-03-25 16:34:44 +00:00
< p className = "text-slate-500 text-sm" > @TBNewsMabes < / p >
2025-03-21 09:14:33 +00:00
< / div >
< / div >
2025-03-25 16:34:44 +00:00
< div className = "flex flex-col w-full px-3" >
< div className = "my-3" >
< p className = "text-sm text-justify" >
Lorem ipsum dolor sit , amet consectetur adipisicing elit . Maxime quo fugiat soluta . Possimus est inventore , quidem eligendi fugit repudiandae dicta saepe perspiciatis corrupti quae sapiente accusantium cumque et
dolor ut ullam tempora deserunt dolore consequatur !
< / p >
< Image alt = "" src = "/assets/img/gbr-contoh.png" width = { 1920 } height = { 1080 } className = "h-32 w-full mt-3 rounded-md" / > { " " }
2025-03-21 09:14:33 +00:00
< / div >
< / div >
< / div >
2025-03-25 16:34:44 +00:00
< / div >
) : selectedTab == "tiktok" ? (
2025-03-27 14:00:01 +00:00
< div className = "flex flex-row justify-between gap-5" >
2025-03-25 16:34:44 +00:00
< div className = "border border-slate-300 rounded-lg mt-4 w-[330px]" >
< div className = "mt-2 flex flex-row gap-2 mx-1" >
< div className = "h-full" >
{ " " }
< Image alt = "" src = "/assets/img/logo-humas.jpg" width = { 1920 } height = { 1080 } className = "h-12 w-12" / >
2025-03-21 09:14:33 +00:00
< / div >
2025-03-25 16:34:44 +00:00
< div className = "flex flex-col" >
< div className = "flex flex-row gap-2" >
< p className = "font-bold" > TBNews Mabes Polri < / p >
< svg xmlns = "http://www.w3.org/2000/svg" width = "20" height = "20" viewBox = "0 0 256 256" >
< path
fill = "#53b0ff"
d = "M225.86 102.82c-3.77-3.94-7.67-8-9.14-11.57c-1.36-3.27-1.44-8.69-1.52-13.94c-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52c-3.56-1.47-7.63-5.37-11.57-9.14C146.28 23.51 138.44 16 128 16s-18.27 7.51-25.18 14.14c-3.94 3.77-8 7.67-11.57 9.14c-3.25 1.36-8.69 1.44-13.94 1.52c-9.76.15-20.82.31-28.51 8s-7.8 18.75-8 28.51c-.08 5.25-.16 10.67-1.52 13.94c-1.47 3.56-5.37 7.63-9.14 11.57C23.51 109.72 16 117.56 16 128s7.51 18.27 14.14 25.18c3.77 3.94 7.67 8 9.14 11.57c1.36 3.27 1.44 8.69 1.52 13.94c.15 9.76.31 20.82 8 28.51s18.75 7.85 28.51 8c5.25.08 10.67.16 13.94 1.52c3.56 1.47 7.63 5.37 11.57 9.14c6.9 6.63 14.74 14.14 25.18 14.14s18.27-7.51 25.18-14.14c3.94-3.77 8-7.67 11.57-9.14c3.27-1.36 8.69-1.44 13.94-1.52c9.76-.15 20.82-.31 28.51-8s7.85-18.75 8-28.51c.08-5.25.16-10.67 1.52-13.94c1.47-3.56 5.37-7.63 9.14-11.57c6.63-6.9 14.14-14.74 14.14-25.18s-7.51-18.27-14.14-25.18m-52.2 6.84l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 11.32"
/ >
< / svg >
2025-03-24 17:22:16 +00:00
< / div >
2025-03-25 16:34:44 +00:00
< p className = "text-slate-500 text-sm" > @TBNewsMabes < / p >
2025-03-21 09:14:33 +00:00
< / div >
2025-03-05 10:05:44 +00:00
< / div >
2025-03-25 16:34:44 +00:00
< div className = "flex flex-col w-full px-3" >
< div className = "my-3" >
< p className = "text-sm text-justify" >
Lorem ipsum dolor sit , amet consectetur adipisicing elit . Maxime quo fugiat soluta . Possimus est inventore , quidem eligendi fugit repudiandae dicta saepe perspiciatis corrupti quae sapiente accusantium cumque et
dolor ut ullam tempora deserunt dolore consequatur !
< / p >
< Image alt = "" src = "/assets/img/gbr-contoh.png" width = { 1920 } height = { 1080 } className = "h-32 w-full mt-3 rounded-md" / > { " " }
2025-03-05 10:05:44 +00:00
< / div >
< / div >
< / div >
2025-03-25 16:34:44 +00:00
< / div >
) : selectedTab == "youtube" ? (
2025-03-27 14:00:01 +00:00
< div className = "flex flex-row justify-between gap-5" >
2025-03-25 16:34:44 +00:00
< div className = "border border-slate-300 rounded-lg mt-4 w-[330px]" >
< div className = "mt-2 flex flex-row gap-2 mx-1" >
< div className = "h-full" >
{ " " }
< Image alt = "" src = "/assets/img/logo-humas.jpg" width = { 1920 } height = { 1080 } className = "h-12 w-12" / >
2025-03-05 10:05:44 +00:00
< / div >
2025-03-25 16:34:44 +00:00
< div className = "flex flex-col" >
< div className = "flex flex-row gap-2" >
< p className = "font-bold" > TBNews Mabes Polri < / p >
< svg xmlns = "http://www.w3.org/2000/svg" width = "20" height = "20" viewBox = "0 0 256 256" >
< path
fill = "#53b0ff"
d = "M225.86 102.82c-3.77-3.94-7.67-8-9.14-11.57c-1.36-3.27-1.44-8.69-1.52-13.94c-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52c-3.56-1.47-7.63-5.37-11.57-9.14C146.28 23.51 138.44 16 128 16s-18.27 7.51-25.18 14.14c-3.94 3.77-8 7.67-11.57 9.14c-3.25 1.36-8.69 1.44-13.94 1.52c-9.76.15-20.82.31-28.51 8s-7.8 18.75-8 28.51c-.08 5.25-.16 10.67-1.52 13.94c-1.47 3.56-5.37 7.63-9.14 11.57C23.51 109.72 16 117.56 16 128s7.51 18.27 14.14 25.18c3.77 3.94 7.67 8 9.14 11.57c1.36 3.27 1.44 8.69 1.52 13.94c.15 9.76.31 20.82 8 28.51s18.75 7.85 28.51 8c5.25.08 10.67.16 13.94 1.52c3.56 1.47 7.63 5.37 11.57 9.14c6.9 6.63 14.74 14.14 25.18 14.14s18.27-7.51 25.18-14.14c3.94-3.77 8-7.67 11.57-9.14c3.27-1.36 8.69-1.44 13.94-1.52c9.76-.15 20.82-.31 28.51-8s7.85-18.75 8-28.51c.08-5.25.16-10.67 1.52-13.94c1.47-3.56 5.37-7.63 9.14-11.57c6.63-6.9 14.14-14.74 14.14-25.18s-7.51-18.27-14.14-25.18m-52.2 6.84l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 11.32"
/ >
< / svg >
2025-03-24 17:22:16 +00:00
< / div >
2025-03-25 16:34:44 +00:00
< p className = "text-slate-500 text-sm" > @TBNewsMabes < / p >
2025-03-05 10:05:44 +00:00
< / div >
< / div >
2025-03-25 16:34:44 +00:00
< div className = "flex flex-col w-full px-3" >
< div className = "my-3" >
< p className = "text-sm text-justify" >
Lorem ipsum dolor sit , amet consectetur adipisicing elit . Maxime quo fugiat soluta . Possimus est inventore , quidem eligendi fugit repudiandae dicta saepe perspiciatis corrupti quae sapiente accusantium cumque et
dolor ut ullam tempora deserunt dolore consequatur !
< / p >
< Image alt = "" src = "/assets/img/gbr-contoh.png" width = { 1920 } height = { 1080 } className = "h-32 w-full mt-3 rounded-md" / > { " " }
2025-03-24 17:22:16 +00:00
< / div >
2025-03-05 10:05:44 +00:00
< / div >
< / div >
2025-03-25 16:34:44 +00:00
< / div >
) : (
< p className = "flex items-center justify-center" >
< Image width = { 1920 } height = { 1080 } src = "/assets/empty-data.png" alt = "empty" className = "h-52 w-52 my-4" / >
< / p >
) }
< / div >
2025-03-21 09:14:33 +00:00
< div className = "flex items-center flex-row justify-center mt-4" >
2025-03-05 10:05:44 +00:00
< Link href = "#" className = "border text-[#bb3523] rounded-lg text-sm lg:text-md px-4 py-1 border-[#bb3523]" >
Lihat Semua
< / Link >
< / div >
< / div >
< / Reveal >
< / >
) ;
} ;
export default SocialMedia ;