reorganized repl

This commit is contained in:
Jade (Rose) Rowland 2024-08-12 20:32:58 -04:00
parent 2899ee5aef
commit 5e6131af24
7 changed files with 294 additions and 283 deletions

View file

@ -6,14 +6,14 @@ import SparklesIcon from '@heroicons/react/20/solid/SparklesIcon';
import StopCircleIcon from '@heroicons/react/20/solid/StopCircleIcon';
import cx from '@src/cx.mjs';
import { useSettings, setIsZen } from '../../settings.mjs';
// import { ReplContext } from './Repl';
import '../Repl.css';
const { BASE_URL } = import.meta.env;
const baseNoTrailing = BASE_URL.endsWith('/') ? BASE_URL.slice(0, -1) : BASE_URL;
export function Header({ context }) {
export function Header({ context, embedded = false }) {
const {
embedded,
started,
pending,
isDirty,