Skip to content

Commit f5a29a2

Browse files
committed
replace placeholder with our very own bull logo! 🥳
The logo was created by Lea Küchler and is published under the same license as bull. (Original file name: 25-09-27c Logo Bull.svg)
1 parent 0dc5181 commit f5a29a2

4 files changed

Lines changed: 202 additions & 2 deletions

File tree

internal/assets/assets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ package assets
22

33
import "embed"
44

5-
//go:embed *.html.tmpl js/*.js css/*.css *.xml.tmpl
5+
//go:embed *.html.tmpl js/*.js css/*.css svg/*.svg *.xml.tmpl
66
var FS embed.FS

internal/assets/nav.html.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<header id="bull_navbar">
2-
<a id="bull_nav_index" href="{{ .URLPrefix }}" style="font-size: 200%; margin-left: .5em">🐮</a>
2+
<a id="bull_nav_index" href="{{ .URLPrefix }}" style="font-size: 200%; margin-top: .1em"><img src="/_bull/svg/bull-logo.svg" border="0"></a>
33
<div>
44
<a href="{{ .URLPrefix }}"><h1>bull</h1></a>
55
<nav id="bull_desktopnav">

internal/assets/svg/bull-logo.svg

Lines changed: 199 additions & 0 deletions
Loading

internal/bull/cmdserve.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ func (c *Customization) serve(args []string) error {
193193
}))
194194
http.Handle(urlBullPrefix+"js/", handleStaticFile)
195195
http.Handle(urlBullPrefix+"css/", handleStaticFile)
196+
http.Handle(urlBullPrefix+"svg/", handleStaticFile)
196197
http.Handle(urlBullPrefix+"opensearch.xml", http.StripPrefix(urlBullPrefix, handleError(bull.opensearch)))
197198
}
198199
http.Handle("GET "+urlBullPrefix+"browse", handleError(bull.browse))

0 commit comments

Comments
 (0)