diff --git a/src/ApplicationViews.js b/src/ApplicationViews.js index 958727f..9273003 100644 --- a/src/ApplicationViews.js +++ b/src/ApplicationViews.js @@ -1,6 +1,10 @@ import React from "react"; import { Home } from "./home/Home"; import { Route } from "react-router-dom"; +import { SelectTags } from "./tags/SelectTags"; +import { PhotosByTag } from "./tags/PhotosByTag"; +import { MyImages } from "./images/MyImages"; +import { Profile } from "./profile/Profile"; export const ApplicationViews = () => { @@ -12,7 +16,19 @@ export const ApplicationViews = () => {
- + + + + + + + + + + + + +
) diff --git a/src/home/Home.js b/src/home/Home.js index 9f3de2d..feaa4da 100644 --- a/src/home/Home.js +++ b/src/home/Home.js @@ -4,7 +4,7 @@ import { postImages, getImages } from "./HomeManager"; export const Home = () => { const homeImages = useState([]) - const history = useHistory + const history = useHistory() const[ businessImages, setbusinessImages] = useState([]) const [image, setImage] = useState({ album_id: 0, @@ -67,7 +67,12 @@ const defaultImageState =

SmugFolio

-
diff --git a/src/images/MyImages.js b/src/images/MyImages.js index e69de29..9d7c14b 100644 --- a/src/images/MyImages.js +++ b/src/images/MyImages.js @@ -0,0 +1,6 @@ +import React, {useState, useEffect} from "react"; +import { useHistory,useParams } from "react-router-dom"; + +export const MyImages = () => { + +} \ No newline at end of file diff --git a/src/nav/NavBar.js b/src/nav/NavBar.js index a1ad8b9..bf24b7e 100644 --- a/src/nav/NavBar.js +++ b/src/nav/NavBar.js @@ -5,15 +5,19 @@ import { Link, useHistory } from "react-router-dom" export const NavBar = () => { const history = useHistory() return ( +