diff --git a/src/components/ApplicationViews.js b/src/components/ApplicationViews.js index e69de29..4c66bfd 100644 --- a/src/components/ApplicationViews.js +++ b/src/components/ApplicationViews.js @@ -0,0 +1,13 @@ +import React from "react" +import { Route } from "react-router-dom" +import { GraphicsBayTrackerHome } from "./home/GraphicsBayTrackerHome" + +export const ApplicationViews = () => { + return ( + <> + + + + + ) +} diff --git a/src/components/auth/Login.js b/src/components/auth/Login.js index b8f6fd5..9f3aaf0 100644 --- a/src/components/auth/Login.js +++ b/src/components/auth/Login.js @@ -9,7 +9,7 @@ export const Login = () => { const history = useHistory() const existingUserCheck = () => { - return fetch(`http://localhost:8088/customers?email=${email}`) + return fetch(`http://localhost:8088/users?email=${email}`) .then(res => res.json()) .then(user => user.length ? user[0] : false) } diff --git a/src/components/home/GraphicsBayTrackerHome.js b/src/components/home/GraphicsBayTrackerHome.js index e69de29..bfb2ba6 100644 --- a/src/components/home/GraphicsBayTrackerHome.js +++ b/src/components/home/GraphicsBayTrackerHome.js @@ -0,0 +1,5 @@ + + +export const GraphicsBayTrackerHome =()=>{ + return
+} \ No newline at end of file diff --git a/src/components/home/NewsStories.js b/src/components/home/NewsStories.js index e69de29..e0f4efe 100644 --- a/src/components/home/NewsStories.js +++ b/src/components/home/NewsStories.js @@ -0,0 +1,4 @@ + +export const NewsStories = () => { + return
+} \ No newline at end of file diff --git a/src/components/nav/NavBar.js b/src/components/nav/NavBar.js index e69de29..2ca4b59 100644 --- a/src/components/nav/NavBar.js +++ b/src/components/nav/NavBar.js @@ -0,0 +1,46 @@ +import React, { useEffect, useState } from "react" +import { Link, useHistory } from "react-router-dom" +import "./NavBar.css" + + + +export const NavBar = () => { + const history = useHistory() + + + + return ( +
+ +
+ ) +}