generated from hack4impact-calpoly/nextjs-app-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from hack4impact-calpoly/banner-logo
Banner logo
- Loading branch information
Showing
5 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,3 +1,9 @@ | ||
import Head from "@/components/headerBar"; | ||
|
||
export default function Navbar() { | ||
return <div>Navbar</div>; | ||
return ( | ||
<div> | ||
<Head /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import styles from "@/styles/header.module.css"; | ||
|
||
export default function Head() { | ||
return ( | ||
<header className={styles.head}> | ||
<div className={styles.full_bars}> | ||
<div className={styles.bar}></div> | ||
<div className={styles.bar}></div> | ||
<div className={styles.bar}></div> | ||
</div> | ||
|
||
<img src="Logo_Banner.png" className={styles.banner_img} /> | ||
</header> | ||
); | ||
} |
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,28 @@ | ||
.head { | ||
background-color: #d29561; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 8vh; | ||
} | ||
|
||
.full_bars { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 5px; | ||
cursor: pointer; | ||
position: absolute; | ||
left: 1rem; | ||
} | ||
|
||
.bar { | ||
width: 30px; | ||
height: 3px; | ||
background-color: #3b3b3b; | ||
border-radius: 3px; | ||
} | ||
|
||
.banner_img { | ||
height: 75%; | ||
width: auto; | ||
} |
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