Skip to content

Commit

Permalink
switch welcome text box and flow screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
krustowski committed Aug 29, 2024
1 parent 0a14978 commit 312c131
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
#

APP_NAME=litter-go
APP_VERSION=0.39.7
APP_VERSION=0.39.8
GOLANG_VERSION=1.23
2 changes: 1 addition & 1 deletion api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion pkg/backend/router.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
11 changes: 5 additions & 6 deletions pkg/frontend/welcome.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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: "),
Expand All @@ -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"),
)
}

0 comments on commit 312c131

Please sign in to comment.