Skip to content

Commit 029a580

Browse files
committed
Update app logo
1 parent 98a6e48 commit 029a580

File tree

6 files changed

+17
-3
lines changed

6 files changed

+17
-3
lines changed

β€Žcmd/web.goβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,8 @@ func (s *WebServer) handleStatic(w http.ResponseWriter, r *http.Request) {
493493
w.Header().Set("Content-Type", "image/x-icon")
494494
} else if strings.HasSuffix(path, ".png") {
495495
w.Header().Set("Content-Type", "image/png")
496+
} else if strings.HasSuffix(path, ".svg") {
497+
w.Header().Set("Content-Type", "image/svg+xml")
496498
}
497499

498500
// Set cache headers for static assets

β€Žcmd/web/components/index.templβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ templ Index(data types.PageData) {
99
@Layout(data) {
1010
<div class="home-page">
1111
<div class="hero-section">
12-
<img src="/static/ergs-logo.png" alt="Ergs Data Explorer" class="hero-logo"/>
12+
<img src="/static/dune-logo.svg" alt="Ergs Data Explorer" class="hero-logo"/>
1313
<p>
1414
Search across all your configured datasources to find the content
1515
you need.

β€Žcmd/web/components/index_templ.goβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žcmd/web/static/dune-logo.svgβ€Ž

Lines changed: 12 additions & 0 deletions
Loading

β€Žcmd/web/static/ergs-logo.pngβ€Ž

-266 KB
Binary file not shown.

β€Žcmd/web/static/style.cssβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ nav select:focus {
953953

954954
.hero-logo {
955955
width: 180px;
956-
height: 180px;
956+
height: auto;
957957
margin-bottom: 0.75rem;
958958
}
959959

0 commit comments

Comments
Β (0)