diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-06-15 19:20:04 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-06-15 19:20:04 +0530 |
commit | e21a1c15a2e4bf3e51cdd7a5671bbfee5837ef13 (patch) | |
tree | bfeaa64c1d2ac00570d104ae9ee0e60720d55ba5 /src/components/Pages | |
parent | 4f67c1cca24ac93f5e8b7a9108c028e6c2794d74 (diff) |
Using react-router to switch pages
Diffstat (limited to 'src/components/Pages')
-rw-r--r-- | src/components/Pages/BillingPage.js | 14 | ||||
-rw-r--r-- | src/components/Pages/HomePage.scss | 4 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/components/Pages/BillingPage.js b/src/components/Pages/BillingPage.js index cb9e74c..abb7b7d 100644 --- a/src/components/Pages/BillingPage.js +++ b/src/components/Pages/BillingPage.js @@ -9,16 +9,16 @@ import React, { useState, useEffect } from "react"; import axios from "axios"; -import AddNewItemForm from "./Form/Items/AddNewItemForm"; -import RegisterItemForm from "./Form/Items/RegisterItemForm"; +import AddNewItemForm from "./../Form/Items/AddNewItemForm"; +import RegisterItemForm from "./../Form/Items/RegisterItemForm"; -import RegisterPersonForm from "./Form/People/RegisterPersonForm"; +import RegisterPersonForm from "./../Form/People/RegisterPersonForm"; -import DocumentInfoForm from "./Form/Document/DocumentInfoForm"; -import MetaInfoForm from "./Form/MetaInfoForm"; +import DocumentInfoForm from "./../Form/Document/DocumentInfoForm"; +import MetaInfoForm from "./../Form/MetaInfoForm"; -import ItemsDisplay from "./Display/ItemsDisplay"; -import SummaryDisplay from "./Display/SummaryDisplay"; +import ItemsDisplay from "./../Display/ItemsDisplay"; +import SummaryDisplay from "./../Display/SummaryDisplay"; const BillingPage = () => { const [savedItems, getSavedItems] = useState([]); diff --git a/src/components/Pages/HomePage.scss b/src/components/Pages/HomePage.scss index 4e06e11..8ac7594 100644 --- a/src/components/Pages/HomePage.scss +++ b/src/components/Pages/HomePage.scss @@ -1,7 +1,7 @@ .HomePage { - height: 80vh; + height: 60vh; display: flex; flex-direction: column; - justify-content: space-between; + justify-content: space-evenly; align-items: center; } |