diff --git a/src/components/FeatureAnnouncement.tsx b/src/components/FeatureAnnouncement.tsx index 107886a69..da6a23d23 100644 --- a/src/components/FeatureAnnouncement.tsx +++ b/src/components/FeatureAnnouncement.tsx @@ -6,80 +6,23 @@ 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); - }} + href="/courses/sql" > - - Watch + + Courses {' '} - Practice your skills with projects + Our first course about SQL is now live! - Build projects to skill up + Our SQL course is now live! - + > ); }