From 312c131488db48c815adde3570277f19cc686538 Mon Sep 17 00:00:00 2001 From: krustowski Date: Thu, 29 Aug 2024 22:07:45 +0200 Subject: [PATCH] switch welcome text box and flow screenshot --- .env.example | 2 +- api/swagger.json | 2 +- pkg/backend/router.go | 2 +- pkg/frontend/welcome.go | 11 +++++------ 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.env.example b/.env.example index be267d52..845dd66e 100644 --- a/.env.example +++ b/.env.example @@ -3,5 +3,5 @@ # APP_NAME=litter-go -APP_VERSION=0.39.7 +APP_VERSION=0.39.8 GOLANG_VERSION=1.23 diff --git a/api/swagger.json b/api/swagger.json index 6ca5d3fe..f9454f93 100644 --- a/api/swagger.json +++ b/api/swagger.json @@ -13,7 +13,7 @@ "name": "MIT", "url": "https://github.com/krustowski/litter-go/blob/master/LICENSE" }, - "version": "0.39.7" + "version": "0.39.8" }, "host": "littr.eu", "basePath": "/api/v1", diff --git a/pkg/backend/router.go b/pkg/backend/router.go index 21ef2880..61486cbe 100644 --- a/pkg/backend/router.go +++ b/pkg/backend/router.go @@ -1,5 +1,5 @@ // @title litter-go -// @version 0.39.7 +// @version 0.39.8 // @description nanoblogging platform as PWA built on go-app framework // @termsOfService https://littr.eu/tos diff --git a/pkg/frontend/welcome.go b/pkg/frontend/welcome.go index cfeb79c8..304ebf0b 100644 --- a/pkg/frontend/welcome.go +++ b/pkg/frontend/welcome.go @@ -52,11 +52,6 @@ func (c *welcomeContent) Render() app.UI { ), app.Div().Class("space"), - app.Article().Style("z-index", "5").Style("border-radius", "8px").Class("medium no-padding transparent center-align").Body( - app.Img().Class("absolute center middle lazy").Src("https://krusty.space/littr_flow_new_post_live_v0.30.17.jpg").Style("max-width", "100%").Style("max-height", "100%").Attr("loading", "lazy"), - ), - app.Div().Class("space"), - app.Article().Class("row large-padding").Body( app.I().Text("lightbulb").Class("amber-text"), app.P().Class("max").Body( @@ -66,7 +61,7 @@ func (c *welcomeContent) Render() app.UI { app.Span().Text("the very main page of this platform is called"), app.Span().Class("deep-orange-text").Text(" flow "), - app.Span().Text("(shown above); this page lists all your posts in reverse chronological order (newest to oldest) plus posts from other folks/accounts that you have added to your flow"), + app.Span().Text("(shown below); this page lists all your posts in reverse chronological order (newest to oldest) plus posts from other folks/accounts that you have added to your flow"), app.Div().Class("small-space"), app.Span().Text("to navigate to the login page (where the link to registration sits as well) use the icon/button in the upper right corner: "), @@ -76,6 +71,10 @@ func (c *welcomeContent) Render() app.UI { ), ), + app.Article().Style("z-index", "5").Style("border-radius", "8px").Class("medium no-padding transparent center-align").Body( + app.Img().Class("absolute margin-top center middle lazy").Src("https://krusty.space/littr_flow_new_post_live_v0.30.17.jpg").Style("max-width", "100%").Style("max-height", "100%").Attr("loading", "lazy"), + ), + app.Div().Class("medium-space"), ) }