From a9d14201191149df78a041c5c129a359c71d9055 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Tue, 22 Mar 2022 02:33:38 +0430 Subject: wip --- spring-front/public/index.html | 4 ++-- spring-front/public/index.js | 16 ---------------- spring-front/src/index.js | 22 ++++++++++++---------- 3 files changed, 14 insertions(+), 28 deletions(-) delete mode 100644 spring-front/public/index.js (limited to 'spring-front') diff --git a/spring-front/public/index.html b/spring-front/public/index.html index c74140d..fcfbe7a 100644 --- a/spring-front/public/index.html +++ b/spring-front/public/index.html @@ -12,7 +12,7 @@ RTLMD - +
diff --git a/spring-front/public/index.js b/spring-front/public/index.js deleted file mode 100644 index e6b507f..0000000 --- a/spring-front/public/index.js +++ /dev/null @@ -1,16 +0,0 @@ -import React from "react"; -import ReactDOM from "react-dom"; - -const page = ( -
-

my awesome website in react

-

REasons

-
    -
  1. one
  2. -
  3. two
  4. -
  5. three
  6. -
  7. four
  8. -
-
-); -ReactDOM.render(page, document.getElementById("root")); diff --git a/spring-front/src/index.js b/spring-front/src/index.js index d62147c..e6b507f 100644 --- a/spring-front/src/index.js +++ b/spring-front/src/index.js @@ -1,14 +1,16 @@ import React from "react"; import ReactDOM from "react-dom"; -const navbar = ( - +const page = ( +
+

my awesome website in react

+

REasons

+
    +
  1. one
  2. +
  3. two
  4. +
  5. three
  6. +
  7. four
  8. +
+
); -ReactDOM.render(navbar, document.getElementById("root")); +ReactDOM.render(page, document.getElementById("root")); -- cgit v1.2.3