Skip to content

Commit

Permalink
add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Steinke committed Feb 12, 2024
1 parent 1c0e6ed commit 1bb8594
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
build:
GOARCH=wasm GOOS=js go build -o _site/web/app.wasm
cp styles.css _site/web/
cp icon.png _site/web/
go run ./

vim:
Expand All @@ -10,4 +11,5 @@ vim:
serve:
GOARCH=wasm GOOS=js go build -o web/app.wasm
cp styles.css web/
cp icon.png web/
go run . --serve
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ func main() {
Styles: []string{
"/web/styles.css",
},
Icon: app.Icon{
Default: "/web/icon.png",
},
}
if !*serve {
h.Resources = app.GitHubPages("simon-says")
Expand Down

0 comments on commit 1bb8594

Please sign in to comment.