Skip to content

Commit

Permalink
Add dimensions to hero image so the browser can reserve the right amo…
Browse files Browse the repository at this point in the history
…unt of space for it while its loading
  • Loading branch information
andrewiggins committed Aug 6, 2024
1 parent 6774981 commit 86cc477
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/pages/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<my-layout>
<img src="/_public/images/blank-seattlejs-header.png" alt="SeattleJS header image" width="2535" height="912" />
<img class="hero-image" src="/_public/images/blank-seattlejs-header.png" alt="SeattleJS header image" width="2535" height="912" />
<div id="page">
<h2>Upcoming Meetups</h2>
<iframe
Expand Down
4 changes: 4 additions & 0 deletions public/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ a[target="_blank"]:after {
padding: 8px 24px;
}

.hero-image {
height: auto;
}

.cta {
font-family: headline-gothic-atf-round, sans-serif;
background-color: #0033FF;
Expand Down

0 comments on commit 86cc477

Please sign in to comment.