import { useState } from 'react'; import { Modal } from './Modal.tsx'; import {PartyPopper, Play, PlayCircle} from 'lucide-react'; import { isMobileScreen } from '../lib/is-mobile.ts'; type FeatureAnnouncementProps = {}; export function FeatureAnnouncement(props: FeatureAnnouncementProps) { const [isPlaying, setIsPlaying] = useState(false); const videoModal = ( setIsPlaying(false)} bodyClassName={'h-auto overflow-hidden'} wrapperClassName={'md:max-w-3xl lg:max-w-4xl xl:max-w-5xl'} > New Projects are live on the{' '} several of our roadmaps {' '} and are coming soon on the others {/*https://www.youtube.com/embed/?playsinline=1&disablekb=1&&iv_load_policy=3&cc_load_policy=0&controls=0&rel=0&autoplay=1&mute=1&origin=https%3A%2F%2Fytch.xyz&widgetid=1*/} ); return ( <> {isPlaying && videoModal} { setIsPlaying(true); }} > Watch {' '} Practice your skills with projects Build projects to skill up > ); }