diff options
author | terminaldweller <thabogre@gmail.com> | 2022-03-21 21:58:11 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-03-21 21:58:11 +0000 |
commit | f084c45b544b7c3c47d0638081f05ebce3ea1e42 (patch) | |
tree | d7ffdbcabacbe8c5262e28f047f9b272d0edea5f /spring-front/src/index.js | |
parent | wip (diff) | |
download | mdrtl-f084c45b544b7c3c47d0638081f05ebce3ea1e42.tar.gz mdrtl-f084c45b544b7c3c47d0638081f05ebce3ea1e42.zip |
wip
Diffstat (limited to 'spring-front/src/index.js')
-rw-r--r-- | spring-front/src/index.js | 17 |
1 files changed, 11 insertions, 6 deletions
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 = ( - <div> - <h1>Hello, everyone!</h1> - <p>A paragraph</p> - </div> +const navbar = ( + <nav> + <h1>terminaldweller.com</h1> + <ul> + <li>Pricing</li> + <li>About</li> + <li>Contact</li> + </ul> + </nav> ); -React.ReactDOM.render(page, document.getElementById("root")); +ReactDOM.render(navbar, document.getElementById("root")); |