From 888882584427f586a3d36329f43d00a9edf79070 Mon Sep 17 00:00:00 2001 From: Brandon Dyck Date: Tue, 5 Nov 2024 15:41:34 -0700 Subject: [PATCH] Fix the missing favicon error --- desktop/pages/Page.go | 1 + desktop/static/favicon.ico | Bin 0 -> 933 bytes desktop/static/index.html | 14 +++++--------- 3 files changed, 6 insertions(+), 9 deletions(-) create mode 100644 desktop/static/favicon.ico diff --git a/desktop/pages/Page.go b/desktop/pages/Page.go index 4e75fae..cd29dae 100644 --- a/desktop/pages/Page.go +++ b/desktop/pages/Page.go @@ -12,6 +12,7 @@ func Head() h.ParentElement { e.Meta(a.Name("viewport"), a.Content("width=device-width, initial-scale=1")), e.Title()(h.Text("Peachy")), e.Link(a.Rel("stylesheet"), a.Href("/static/css/main.css")), + e.Link(a.Rel("icon"), a.Href("static/favicon.ico")), e.Script(a.Src("/static/js/htmx-2.0.3.min.js"))(), // TODO change to pack it with the app ) } diff --git a/desktop/static/favicon.ico b/desktop/static/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..5b6ecf03468540dbaa043dd40932923f98086512 GIT binary patch literal 933 zcmW-fJ%|`Y6of~Jk|QGF48$UWKZW9kTrmjI0}H{Zr$j7P1hLR!Y!wWeZW9jzDKyx~ zLlKOH@`8ofC|KDT;SoVt>}(7K0v>iE2;<&uvFz@Ho%g<(XP-ZF`iVD=;wat*9{l&v z9l(D$iM96MF6|#cKtKQm7!7Dd6I!4Zn$dwybfE`&p&J7j#1KYc6o!#N5-DUL3u#PX z5>uFgS(sjb!-NF~T=2RqZ4x4as8wSF8`;DbY{h1Fu#;Wv!Cvg<00%k55gf%~CYWT3 z8O&mu6P)A}XK)s$Y0#ua2VL~)V~tHgLI}0mQiB@Rq!wzWW_74jUFxA;>ehe;HKY+5 zrC}wMR7x4jQd$$5)RbmumZoLMlqH8;@W@wDuyEw$w);;WJNkAVlt*;M$C%oFv1Kg9N`Kt`pawa4EnQN60W25PW|YDA5y;Yw7pQk79zm9B}Jtf`t&vue7GGRrDQxys%T!g6CF zS$(bIib8`M-Q*T-H z_IB?1>-=|DU%Gt%3wzgI{q3!1K0WsM*_#_5-}>dkBim1YbNk(gf6bkHpE~#0D_5WX L_T - - + Hello World - - - - + + +

Hello World

- - - + \ No newline at end of file