Skip to content

Commit

Permalink
Improve layout responsiveness for the header section
Browse files Browse the repository at this point in the history
Refactored the header section to use flexible and wrapping layouts, enhancing responsiveness and readability on various screen sizes. Updated container styles to better align and space elements dynamically.
  • Loading branch information
billettc committed Sep 17, 2024
1 parent 44e4a76 commit 5c6dbac
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions web/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,22 @@ const tmpl = `
<div class="row-container">
<div class="first-row">
<div style="display: flex; align-items: center; padding-left: 40px; padding-top: 5px; padding-bottom: 5px;">
<a href="https://hivemapper.com/">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRxugF0W5SMUWI-Pp0abVDJ8zWDP8UJ5ccWJQ8zzYgsgUev7maTTasAWaD123-LTPuAl30&usqp=CAU" height=50/>
</a>
<span style="padding-left:10px; width:100%; font-family:sans-serif; font-weight: bold; font-size: 26px; color:#4F5671;">Hivemapper</span>
<span style="font-family:sans-serif; font-weight: bold; font-size: 18px; color:#4F5671; white-space: nowrap; padding-right:15px">Powered by:</span>
<a href="https://thegraph.com/">
<img src="https://cdn.prod.website-files.com/649aef4c9068091b737a9baf/66ad5cd70dec61e829ac393d_The%20Graph%20-%20Logo%20-%20Dark.svg" height=40/>
</a>
<a href="https://www.streamingfast.io/#substreams">
<img style="padding-top: 5px" src="https://cdn.prod.website-files.com/649aef4c9068091b737a9baf/65119d95beb11cb3b1c4583c_Substreams-Tagline-color-p-800.png" height=75/>
</a>
<div style="display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; padding-left: 40px; padding-top: 5px; padding-bottom: 5px;">
<div style="display: flex; flex-grow:2; align-items: center;">
<a href="https://hivemapper.com/">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRxugF0W5SMUWI-Pp0abVDJ8zWDP8UJ5ccWJQ8zzYgsgUev7maTTasAWaD123-LTPuAl30&usqp=CAU" height=50/>
</a>
<span style="flex-grow:2; padding-left:5px;font-family:sans-serif; font-weight: bold; font-size: 26px; color:#4F5671;">Hivemapper</span>
</div>
<div style="display: flex; align-items: center;">
<span style="font-family:sans-serif; font-weight: bold; font-size: 18px; color:#4F5671; white-space: nowrap; padding-right:15px">Powered by:</span>
<a href="https://thegraph.com/">
<img src="https://cdn.prod.website-files.com/649aef4c9068091b737a9baf/66ad5cd70dec61e829ac393d_The%20Graph%20-%20Logo%20-%20Dark.svg" height=40/>
</a>
<a href="https://www.streamingfast.io/#substreams">
<img style="padding-top: 5px" src="https://cdn.prod.website-files.com/649aef4c9068091b737a9baf/65119d95beb11cb3b1c4583c_Substreams-Tagline-color-p-800.png" height=75/>
</a>
</div>
</div>
<div style="padding-left: 25px;">
<button class="round-button" onclick="window.location.href='./'">Overview</button>
Expand Down

0 comments on commit 5c6dbac

Please sign in to comment.