Skip to content

Commit c827793

Browse files
committed
Improved help page, images and README file
1 parent 11a63e8 commit c827793

6 files changed

Lines changed: 18 additions & 4 deletions

File tree

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,18 @@
77
TBlogs is a basic app for your terminal that allows you to read, follow and save posts from development blogs from lots of companies.
88

99
## What It Looks Like
10-
<p align="center"><img src="images/posts-1.png"></p>
10+
<p align="center"><img src="images/home.png"></p>
11+
12+
## Other screens
13+
14+
### Help section
15+
<p align="center"><img src="images/help.png"></p>
16+
17+
### Blogs section
18+
<p align="center"><img src="images/blogs.png"></p>
19+
20+
### Saved Posts
21+
<p align="center"><img src="images/saved-posts.png"></p>
1122

1223
## Install
1324
You can install by the following set of instructions:

app/help.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ const logo = `
2121

2222
const (
2323
subtitle = `tblogs - Read development blogs from the terminal`
24-
// navigation = ``
25-
mouse = `(or use your mouse)`
24+
quote = `All your blogs are belongs to us`
25+
mouse = `(or use your mouse)`
2626
)
2727

2828
var shortcuts = []string{"Ctrl-S: Save Post", "Ctrl-F: Follow Blog", "Ctrl-B: Blogs", "Ctrl-H: Help",
29-
"Ctrl-P: Saved Posts", "Ctrl-C: Exit", "Ctrl-T: Home"}
29+
"Ctrl-P: Saved Posts", "Ctrl-C: Exit", "Ctrl-T: Home", "Enter: Search posts for blog or open browser with post",
30+
"Esc: Returns from posts results to blogs list"}
3031

3132
func helpPage(nextSlide func()) (title string, content tview.Primitive) {
3233
lines := strings.Split(logo, "\n")
@@ -48,6 +49,8 @@ func helpPage(nextSlide func()) (title string, content tview.Primitive) {
4849
frame := tview.NewFrame(tview.NewBox()).
4950
SetBorders(0, 0, 0, 0, 0, 0).
5051
AddText(subtitle, true, tview.AlignCenter, tcell.ColorWhite).
52+
AddText("", true, tview.AlignCenter, tcell.ColorWhite).
53+
AddText(quote, true, tview.AlignCenter, tcell.ColorWhite).
5154
AddText("", true, tview.AlignCenter, tcell.ColorWhite)
5255
// AddText(navigation, true, tview.AlignCenter, tcell.ColorDarkMagenta)
5356
// AddText(mouse, true, tview.AlignCenter, tcell.ColorDarkMagenta)

images/blogs.png

153 KB
Loading

images/help.png

158 KB
Loading

images/home.png

368 KB
Loading

images/saved-posts.png

226 KB
Loading

0 commit comments

Comments
 (0)