From 9c4edb9a3f27b40629f66063f4e729bb41291aad Mon Sep 17 00:00:00 2001 From: KenCorma <37089104+KenCorma@users.noreply.github.com> Date: Thu, 19 Sep 2024 22:43:57 +0000 Subject: [PATCH] Refactor index.html (#33) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Moved progress bar and refactored html code to use React * Prettier didn't like these * Console logs → log.info --- index.html | 34 +----------- src/index.css | 2 - src/preload.ts | 3 +- src/renderer.ts | 35 ++---------- src/renderer/index.tsx | 27 ++++++++++ src/renderer/screens/ProgressOverlay.tsx | 68 ++++++++++++++++++++++++ vite.renderer.config.ts | 2 + 7 files changed, 104 insertions(+), 67 deletions(-) create mode 100644 src/renderer/index.tsx create mode 100644 src/renderer/screens/ProgressOverlay.tsx diff --git a/index.html b/index.html index 72931275..577ed180 100644 --- a/index.html +++ b/index.html @@ -3,41 +3,9 @@