"use client" import { useState, useEffect } from "react" import { AuthGate } from "@/components/auth-gate" import { VideoCard } from "@/components/video-card" interface Video { id: string title: string description: string youtubeUrl: string thumbnail: string } export function VideosContent() { const [videos, setVideos] = useState([]) const [loading, setLoading] = useState(true) useEffect(() => { fetch("/api/videos") .then((r) => r.json()) .then((data) => setVideos(data)) .catch(() => {}) .finally(() => setLoading(false)) }, []) return (

Video Tutorials

Learn how to get the most out of your Android box with our step-by-step video guides

{loading ? (
Loading videos...
) : videos.length === 0 ? (
No videos available yet. Check back soon!
) : (
{videos.map((video) => ( ))}
)}
) }