From f084c45b544b7c3c47d0638081f05ebce3ea1e42 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Tue, 22 Mar 2022 02:28:11 +0430 Subject: wip --- spring-front/src/index.css | 0 spring-front/src/index.html | 23 ----------------------- spring-front/src/index.js | 17 +++++++++++------ spring-front/src/index.jsx | 20 -------------------- 4 files changed, 11 insertions(+), 49 deletions(-) delete mode 100644 spring-front/src/index.css delete mode 100644 spring-front/src/index.html delete mode 100644 spring-front/src/index.jsx (limited to 'spring-front/src') diff --git a/spring-front/src/index.css b/spring-front/src/index.css deleted file mode 100644 index e69de29..0000000 diff --git a/spring-front/src/index.html b/spring-front/src/index.html deleted file mode 100644 index d82108b..0000000 --- a/spring-front/src/index.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - link - - -
- - - diff --git a/spring-front/src/index.js b/spring-front/src/index.js index 81d4809..d62147c 100644 --- a/spring-front/src/index.js +++ b/spring-front/src/index.js @@ -1,9 +1,14 @@ import React from "react"; +import ReactDOM from "react-dom"; -const page = ( -
-

Hello, everyone!

-

A paragraph

-
+const navbar = ( + ); -React.ReactDOM.render(page, document.getElementById("root")); +ReactDOM.render(navbar, document.getElementById("root")); diff --git a/spring-front/src/index.jsx b/spring-front/src/index.jsx deleted file mode 100644 index 0ef0cdf..0000000 --- a/spring-front/src/index.jsx +++ /dev/null @@ -1,20 +0,0 @@ -import React from "react"; - -const page = ( -
-

Hello, everyone!

-

A paragraph

-
-); - -const navbar = ( - -) -React.ReactDOM.render(navbar, document.getElementById("root")); -- cgit v1.2.3