Skip to content
Permalink
Browse files

Replace generated homepage and use NavBar with login button

  • Loading branch information
ivarprudnikov committed Jan 2, 2020
1 parent 710f0bb commit 32956d4c67ac4b016dbac975485378ce948247fc
Showing with 11 additions and 59 deletions.
  1. +0 −38 src/App.css
  2. +11 −14 src/App.js
  3. +0 −7 src/logo.svg

This file was deleted.

@@ -1,23 +1,20 @@
import React from 'react';
import logo from './logo.svg';
import './App.css';
import NavBar from "./components/NavBar";
import { useAuth0 } from "./react-auth0-spa";

function App() {

const { loading } = useAuth0();

if (loading) {
return <div>Loading...</div>;
}

return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
<header>
<NavBar />
</header>
</div>
);

This file was deleted.

0 comments on commit 32956d4

Please sign in to comment.
You can’t perform that action at this time.