|
After Width: | Height: | Size: 226 KiB |
|
Before Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 9.4 KiB |
@ -1,38 +0,0 @@
|
||||
.App {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.App-logo {
|
||||
height: 40vmin;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.App-logo {
|
||||
animation: App-logo-spin infinite 20s linear;
|
||||
}
|
||||
}
|
||||
|
||||
.App-header {
|
||||
background-color: #282c34;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: calc(10px + 2vmin);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.App-link {
|
||||
color: #61dafb;
|
||||
}
|
||||
|
||||
@keyframes App-logo-spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
@ -0,0 +1,12 @@
|
||||
.bar {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
height: 48px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.nav-header {
|
||||
font-weight: bold;
|
||||
}
|
||||
@ -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
|
||||
|
Before Width: | Height: | Size: 2.6 KiB |
@ -1,5 +1,5 @@
|
||||
import { render, screen } from '@testing-library/react';
|
||||
import App from './App';
|
||||
import App from '../../App';
|
||||
|
||||
test('renders learn react link', () => {
|
||||
render(<App />);
|
||||