Skip to content

Commit

Permalink
Merge pull request #59 from hack4impact-calpoly/banner-logo
Browse files Browse the repository at this point in the history
Banner logo
  • Loading branch information
emily-yarvis authored Feb 26, 2025
2 parents 1a1798b + 10a384b commit dc373a0
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 2 deletions.
Binary file added public/Logo_Banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion src/components/Navbar.tsx
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>
);
}
15 changes: 15 additions & 0 deletions src/components/headerBar.tsx
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>
);
}
28 changes: 28 additions & 0 deletions src/styles/header.module.css
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;
}
2 changes: 1 addition & 1 deletion src/styles/keyStats.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
stroke: #f7cba6;
stroke-width: 10;
fill: none;
stroke-linecap: round;
stroke-linecap: square;
transform: rotate(-90deg);
transform-origin: 50% 50%;
}

0 comments on commit dc373a0

Please sign in to comment.