new favicon

This commit is contained in:
maddalax 2024-10-30 14:07:38 -05:00
parent 129c230c72
commit cb6fcdd676
13 changed files with 37 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 15 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

View file

@ -0,0 +1,21 @@
{
"name": "htmgo",
"short_name": "htmgo",
"icons": [
{
"src": "/public/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/public/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -80,6 +80,17 @@ func ConfigurableRootPage(ctx *h.RequestContext, props RootPageProps) *h.Page {
)
}
func RootPageWithTitle(ctx *h.RequestContext, title string, children ...h.Ren) *h.Page {
return ConfigurableRootPage(
ctx,
RootPageProps{
Title: title,
Description: "build simple and scalable systems with go + htmx",
Children: h.Fragment(children...),
},
)
}
func RootPage(ctx *h.RequestContext, children ...h.Ren) *h.Page {
return ConfigurableRootPage(
ctx,

View file

@ -8,8 +8,9 @@ import (
func Index(ctx *h.RequestContext) *h.Page {
snippet := GetSnippet(ctx)
return base.RootPage(
return base.RootPageWithTitle(
ctx,
"Examples",
h.Div(
h.Class("flex h-full"),
h.Aside(