From 292442c36ff9fedc8e7bab023974cf5fa33d0f3a Mon Sep 17 00:00:00 2001 From: Feenix <25067102+NayamAmarshe@users.noreply.github.com> Date: Mon, 15 Aug 2022 12:51:12 +0530 Subject: [PATCH] Updated UI --- main/index.js | 2 +- renderer/pages/index.jsx | 34 +++++++++++++++++++++++++++++++--- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/main/index.js b/main/index.js index 200e84c..18ead53 100644 --- a/main/index.js +++ b/main/index.js @@ -38,7 +38,7 @@ app.on("ready", async () => { // Quit the app once all windows are closed app.on("window-all-closed", app.quit); -// listen the channel `message` and resend the received message to the renderer process +// ! DONT FORGET TO RESTART THE APP WHEN YOU CHANGE CODE HERE ipcMain.on("sendMessage", (_, message) => { console.log(message); }); diff --git a/renderer/pages/index.jsx b/renderer/pages/index.jsx index 66c7be8..9066c9a 100644 --- a/renderer/pages/index.jsx +++ b/renderer/pages/index.jsx @@ -6,9 +6,37 @@ const Home = () => { window.electron.send("sendMessage", { message: "Hello!" }); }, []); return ( -
Step 1
+ +Step 2
+Select Scale Factor:
+Step 3
+ +Step 4
+ ++ Select an Image to Upscale +