Organize File Structure & Begin Top Navbar

This commit is contained in:
jveebs 2023-03-27 20:55:50 -04:00
parent 23463c453c
commit 801760e8f8
16 changed files with 83 additions and 58 deletions

12
src/components/NavBar.css Normal file
View file

@ -0,0 +1,12 @@
.bar {
padding: 10px;
}
.logo {
height: 48px;
margin-right: 20px;
}
.nav-header {
font-weight: bold;
}

19
src/components/NavBar.js Normal file
View file

@ -0,0 +1,19 @@
import { makeStyles, Toolbar, Typography } from "@material-ui/core";
import { mergeClasses } from "@material-ui/styles";
import React from "react";
import "./NavBar.css"
import logo from "../assets/BudgetBuddyLogo.png"
function NavBar() {
return (
<Toolbar position="sticky" className="bar">
<img src={logo} className="logo"/>
<Typography variant="h6" className="nav-header">
BudgetBuddy
</Typography>
</Toolbar>
)
}
export default NavBar