diff --git a/src/Main.js b/src/Main.js index 429c3d9..f462057 100644 --- a/src/Main.js +++ b/src/Main.js @@ -12,6 +12,7 @@ import Error from './pages/Error-Page' import './styles.css' + export default function Main() { let Layout switch (window.location.pathname) { diff --git a/src/pages/AddNewBill.css b/src/pages/AddNewBill.css new file mode 100644 index 0000000..ba22a79 --- /dev/null +++ b/src/pages/AddNewBill.css @@ -0,0 +1,61 @@ +.add_bill_widget { + max-width: 20%; + background-color: rgb(223, 245, 229); + padding: 10px; +} +.widget_header { + margin:0px; + margin-bottom: 20px; + position: relative; +} +input { + max-width: 50%; +} +button { + margin-left: 20%; + margin-right: auto; +} +.buttons{ + margin-top: 10px; +} +/* Style The Dropdown Button */ +.dropbtn { + cursor: pointer; + } + + /* The container
- needed to position the dropdown content */ + .dropdown { + position: relative; + display: inline-block; + } + + /* Dropdown Content (Hidden by Default) */ + .dropdown-content { + display: none; + position: absolute; + background-color: #f9f9f9; + min-width: 160px; + box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); + z-index: 1; + } + + /* Links inside the dropdown */ + .dropdown-content a { + color: black; + padding: 12px 16px; + text-decoration: none; + display: block; + } + + /* Change color of dropdown links on hover */ + .dropdown-content a:hover {background-color: #f1f1f1} + + /* Show the dropdown menu on hover */ + .dropdown:hover .dropdown-content { + display: block; + } + + /* Change the background color of the dropdown button when the dropdown content is shown */ + .dropdown:hover .dropbtn { + background-color: #3e8e41; + } \ No newline at end of file diff --git a/src/pages/AddNewBill.js b/src/pages/AddNewBill.js new file mode 100644 index 0000000..3b5c697 --- /dev/null +++ b/src/pages/AddNewBill.js @@ -0,0 +1,29 @@ +import React from 'react' +import './AddNewBill.css' + +export default function AddNewBill() { + return ( + <> +
+
Add New Bill
+ +
+ + +
+ +
+ + + ) +} \ No newline at end of file diff --git a/src/pages/Dashboard.jsx b/src/pages/Dashboard.jsx index a3043fa..1b20f7f 100644 --- a/src/pages/Dashboard.jsx +++ b/src/pages/Dashboard.jsx @@ -1,3 +1,12 @@ + import AddNewBill from './AddNewBill' + export default function Dashboard() { - return

Dashboard

+ + return ( + <> +

Dashboard

+ + + + ) } \ No newline at end of file