import AcademicCapIcon from '@heroicons/react/20/solid/AcademicCapIcon'; import CommandLineIcon from '@heroicons/react/20/solid/CommandLineIcon'; import LinkIcon from '@heroicons/react/20/solid/LinkIcon'; import PlayCircleIcon from '@heroicons/react/20/solid/PlayCircleIcon'; import SparklesIcon from '@heroicons/react/20/solid/SparklesIcon'; import StopCircleIcon from '@heroicons/react/20/solid/StopCircleIcon'; import { cx } from '@strudel.cycles/react'; import React, { useContext } from 'react'; import { AppContext } from './App'; import './App.css'; const isEmbedded = window.location !== window.parent.location; export function Header() { const { started, pending, isDirty, lastShared, activeCode, handleTogglePlay, handleUpdate, handleShuffle, handleShare, isZen, setIsZen, } = useContext(AppContext); return ( ); }