Skip to content

Commit

Permalink
Add logo
Browse files Browse the repository at this point in the history
  • Loading branch information
mileswwatkins committed Nov 25, 2023
1 parent 59e45b0 commit 88af58a
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 13 deletions.
22 changes: 22 additions & 0 deletions public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 14 additions & 2 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
header {
padding: 1rem 1.5rem;
border-bottom: 1px solid black;
display: flex;
align-items: center;
}

.Header-Logo {
height: 2.5rem;
margin-right: 1rem;
}

.Header-Text {
display: flex;
align-items: baseline;
}

.Header-Title {
margin: 0;
margin-right: 1.5rem;
margin-right: 1rem;
font-size: 2rem;
}

.Header-Text {
.Header-Explainer {
margin: 0;
font-size: 0.75rem;
font-style: italic;
Expand All @@ -23,6 +33,7 @@ header {

.Content-FilterPane {
flex-basis: 30%;
min-width: 250px;
padding-left: 1.5rem;
padding-right: 1rem;
padding-bottom: 1.5rem;
Expand All @@ -34,6 +45,7 @@ header {

.Content-Attribution {
display: block;
font-size: 0.75rem;
}

.Filters-Header {
Expand Down
35 changes: 24 additions & 11 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const Filters = ({
</label>

<label>
For this many consecutive days:{"\u00A0"}
How many consecutive days:{"\u00A0"}
<input
type="number"
min={1}
Expand Down Expand Up @@ -409,16 +409,23 @@ class App extends Component {
return (
<Fragment>
<header>
<h1 className="Header-Title">Lookout Hunter</h1>
<span className="Header-Text">
<a
href="https://github.com/mileswwatkins/lookout_hunter#lookout-hunter"
rel="noreferrer"
target="_blank"
>
(Wait, what's a lookout?)
</a>
</span>
<img
src="logo.svg"
alt="the silhouette of a fire lookout tower"
className="Header-Logo"
></img>
<div className="Header-Text">
<h1 className="Header-Title">Lookout Hunter</h1>
<span className="Header-Explainer">
<a
href="https://github.com/mileswwatkins/lookout_hunter#lookout-hunter"
rel="noreferrer"
target="_blank"
>
(Wait, what's a lookout?)
</a>
</span>
</div>
</header>

<section className="Content">
Expand Down Expand Up @@ -457,6 +464,12 @@ class App extends Component {
Code on GitHub
</a>
</span>
<span className="Content-Attribution">
Logo based on work by{" "}
<a href="https://thenounproject.com/icon/watchtower-1247287/">
Creative Mania
</a>
</span>
</div>
</div>

Expand Down

0 comments on commit 88af58a

Please sign in to comment.