-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
melkent
committed
Nov 27, 2024
1 parent
d277a85
commit f97a53c
Showing
12 changed files
with
170 additions
and
47 deletions.
There are no files selected for viewing
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
.app-bar { | ||
display: flex; | ||
flex-direction: row; | ||
box-sizing: border-box; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
height: 120px; | ||
width: 100vw; | ||
padding: 1rem 3rem 1rem 2rem; | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
|
||
.logo { | ||
padding: 0px; | ||
height: 85px; | ||
width: 85px; | ||
} | ||
|
||
.icon-search-filter-container { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
gap: 100px; | ||
} | ||
|
||
.search-filter-container { | ||
display: flex; | ||
flex-direction: row; | ||
gap: 12px; | ||
} | ||
|
||
.search-input { | ||
height: 18px; | ||
font-size: 16px; | ||
padding: 12px 20px 12px 40px; | ||
background-color: white; | ||
background-image: url('../../assets/magnifying-glass.jpg'); | ||
background-position: 10px 10px; | ||
background-repeat: no-repeat; | ||
background-size: 20px 20px; | ||
background-color: #FBFCFE; | ||
border: none; | ||
border-radius: 20px; | ||
box-shadow: 0px 0px 10px #e3e8f2; | ||
} | ||
|
||
.filter-button { | ||
display: flex; | ||
height: 40px; | ||
flex-direction: row; | ||
justify-content: center; | ||
align-items: center; | ||
color: #2F3C50 !important; | ||
background-color: #FBFCFE !important; | ||
box-shadow: 0px 0px 10px #e3e8f2; | ||
border-radius: 20px !important; | ||
gap: 10px; | ||
} | ||
|
||
.small-icon-buttons-container { | ||
display: flex; | ||
flex-direction: row; | ||
gap: 12px; | ||
} | ||
|
||
.small-icon-button { | ||
display: flex; | ||
height: 48px; | ||
width: 54px; | ||
flex-direction: row; | ||
justify-content: center; | ||
align-items: center; | ||
color: #2F3C50; | ||
background-color: #FBFCFE; | ||
box-shadow: 0px 0px 10px #e3e8f2; | ||
border-radius: 20px; | ||
} | ||
|
||
.app-bar-icon { | ||
height: 24px; | ||
width: 24px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import Logo from "../../assets/flow-leaflets-logo.svg"; | ||
import { | ||
AdjustmentsHorizontalIcon, | ||
BellIcon, | ||
UserCircleIcon | ||
} from '@heroicons/react/24/outline'; | ||
import "./AppBar.css" | ||
|
||
export const AppBar = () => { | ||
return ( | ||
<div className="app-bar"> | ||
<div className="icon-search-filter-container"> | ||
<img src={Logo} className="logo" /> | ||
<div className="search-filter-container"> | ||
<input type="text" className="search-input" name="search" placeholder="Search..." /> | ||
<button className="filter-button"> | ||
<AdjustmentsHorizontalIcon className="app-bar-icon" /> | ||
<p>Filter</p> | ||
</button> | ||
</div> | ||
</div> | ||
<div> | ||
<div className="small-icon-buttons-container"> | ||
<button className="small-icon-button"> | ||
<BellIcon className="app-bar-icon" /> | ||
</button> | ||
<button className="small-icon-button"> | ||
<UserCircleIcon className="app-bar-icon" /> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
// import Logo from "../Logo/Logo"; | ||
// import HomeButton from "../Buttons/HomeButton"; | ||
// import SignInButton from "../Buttons/SignInButton"; | ||
// import SignOutButton from "../Buttons/SignOutButton"; | ||
// import { useAuth } from "../../contexts/AuthContext"; | ||
import "./Navbar.css"; | ||
import { NavLink } from 'react-router-dom'; | ||
import { | ||
HomeIcon, | ||
BookOpenIcon, | ||
ClockIcon, | ||
ArrowLeftStartOnRectangleIcon | ||
} from '@heroicons/react/24/outline'; | ||
// import SignOutButton from "../Buttons/SignOutButton"; | ||
import "./Navbar.css"; | ||
|
||
export default function Navbar() { | ||
export const Navbar = () => { | ||
return ( | ||
<div className="navbar"> | ||
<nav className="nav-bar"> | ||
<div className="nav-button-container"> | ||
<button className="nav-button"> | ||
<NavLink className="nav-button" to="/dashboard"> | ||
<div className="nav-button-icon-container-selected"> | ||
<HomeIcon className="icon"/> | ||
<HomeIcon className="nav-icon"/> | ||
</div> | ||
<p className="nav-button-text-selected">Home</p> | ||
</button> | ||
<button className="nav-button"> | ||
</NavLink> | ||
<NavLink className="nav-button" to="/newLog"> | ||
<div className="nav-button-icon-container"> | ||
<BookOpenIcon className="icon"/> | ||
<BookOpenIcon className="nav-icon"/> | ||
</div> | ||
<p className="nav-button-text">Logs</p> | ||
</button> | ||
<button className="nav-button"> | ||
</NavLink> | ||
<NavLink className="nav-button" to="/logHistory"> | ||
<div className="nav-button-icon-container"> | ||
<ClockIcon className="icon"/> | ||
<ClockIcon className="nav-icon"/> | ||
</div> | ||
<p className="nav-button-text">History</p> | ||
</button> | ||
</NavLink> | ||
</div> | ||
<button className="logout-button"> | ||
<ArrowLeftStartOnRectangleIcon className="icon"/> | ||
<ArrowLeftStartOnRectangleIcon className="nav-icon"/> | ||
</button> | ||
</div> | ||
</nav> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters