mirror of
https://github.com/gabehf/BudgetBuddy.git
synced 2026-03-09 07:28:55 -07:00
Organize File Structure & Begin Top Navbar
This commit is contained in:
parent
23463c453c
commit
801760e8f8
16 changed files with 83 additions and 58 deletions
12
src/components/NavBar.css
Normal file
12
src/components/NavBar.css
Normal 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
19
src/components/NavBar.js
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue