dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 345a2d3063f902663225cacc5c70dfba7df15da6
parent 373c8c1d4242629608852b792b4dce2ed2ac07c6
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Mon,  7 Oct 2024 10:38:58 -0700

halloween background

Diffstat:
Mpkg/template/templates.go | 2++
Apkg/web/public/img/halloween_bg.jpg | 0
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/pkg/template/templates.go b/pkg/template/templates.go @@ -103,6 +103,8 @@ func (t *Templates) Render(w io.Writer, name string, data any, c echo.Context) e d.IsAprilFool2023 = year == 2023 && month == time.April && day == 1 if strings.HasPrefix(c.QueryParam("redirect"), "/poker") { d.WallpaperImg = "/public/img/login_bg_poker.jpg" + } else if month == time.October { + d.WallpaperImg = "/public/img/halloween_bg.jpg" } else if month == time.December { d.WallpaperImg = "/public/img/login_bg_1.jpg" } else if d.IsAprilFool2023 { diff --git a/pkg/web/public/img/halloween_bg.jpg b/pkg/web/public/img/halloween_bg.jpg Binary files differ.