import { Box, Container, SimpleGrid } from '@chakra-ui/react'; import { GlobalHeader } from '../../components/global-header'; import { OpensourceBanner } from '../../components/opensource-banner'; import { Footer } from '../../components/footer'; import { VideoGridItem } from '../../components/watch/video-grid-item'; import { PageHeader } from '../../components/page-header'; import { getAllVideos, VideoType } from '../../lib/video'; import Helmet from '../../components/helmet'; type VideosProps = { videos: VideoType[] } export default function Watch(props: VideosProps) { const { videos = [] } = props; return ( {videos.map((video, counter) => ( ))}