From b9dc2f677e7c3021aeeea6b1ab609a9b40806b48 Mon Sep 17 00:00:00 2001
From: julian laplace <julescarbon@gmail.com>
Date: Mon, 8 May 2023 23:49:29 +0200
Subject: v1 of relabi generator

---
 src/index.jsx | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 src/index.jsx

(limited to 'src/index.jsx')

diff --git a/src/index.jsx b/src/index.jsx
new file mode 100644
index 0000000..e752c5a
--- /dev/null
+++ b/src/index.jsx
@@ -0,0 +1,16 @@
+import * as React from "react";
+import { createRoot } from "react-dom/client";
+import { requestAudioContext } from "./lib/util";
+import Relabi from "./relabi";
+
+document.body.style.backgroundColor = "#111";
+document.body.style.color = "#fff";
+
+requestAudioContext(() => {
+  document.body.innerHTML = '<div id="app"></div>';
+  const relabi = new Relabi();
+  relabi.start();
+
+  const root = createRoot(document.getElementById("app"));
+  root.render(<h1>Relabi generator</h1>);
+});
-- 
cgit v1.2.3-70-g09d2

