Skip to content
This repository has been archived by the owner. It is now read-only.
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
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 59 deletions.

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>
);
Deleted file not rendered

0 comments on commit 32956d4

Please sign in to comment.