diff --git a/website/src/repl/Loader.jsx b/website/src/repl/Loader.jsx new file mode 100644 index 00000000..0c629402 --- /dev/null +++ b/website/src/repl/Loader.jsx @@ -0,0 +1,13 @@ +import { cx } from '@strudel.cycles/react'; +import React from 'react'; + +function Loader({ active }) { + return ( +
+
+
+
+
+ ); +} +export default Loader; diff --git a/website/src/repl/Repl.jsx b/website/src/repl/Repl.jsx index 70b5229e..67b368ad 100644 --- a/website/src/repl/Repl.jsx +++ b/website/src/repl/Repl.jsx @@ -18,6 +18,7 @@ import * as tunes from './tunes.mjs'; import PlayCircleIcon from '@heroicons/react/20/solid/PlayCircleIcon'; import { themes } from './themes.mjs'; import { settingsMap, useSettings, setLatestCode } from '../settings.mjs'; +import Loader from './Loader'; const { latestCode } = settingsMap.get(); @@ -260,6 +261,7 @@ export function Repl({ embedded = false }) { // 'bg-gradient-to-t from-green-900 to-slate-900', // )} > +