File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ const logo2 string = "" +
1414 "╦╔═┌─┐┬ ┬┌┬┐┌─┐┌─┐┌┬┐┌─┐┬─┐\n " +
1515 "╠╩╗├┤ └┬┘│││├─┤└─┐ │ ├┤ ├┬┘\n " +
1616 "╩ ╩└─┘ ┴ ┴ ┴┴ ┴└─┘ ┴ └─┘┴└─"
17- const logo string = "🗝️ Master 🔑"
17+ const logoTitle string = "🔑 Keymaster"
18+ const logoTagline string = "An agentless SSH key manager that just does the job."
19+ const logo string = logoTitle + "\n " + logoTagline
1820
1921// Keep `logo2` available for the TUI rewrite. Reference it so linters
2022// don't flag it as unused while the new UI consumes it.
@@ -38,14 +40,21 @@ func (m *Model) Update(msg tea.Msg) tea.Cmd {
3840}
3941
4042func (m Model ) View () string {
43+ brand := lipgloss .NewStyle ().
44+ Bold (true ).
45+ Render (logoTitle ) + "\n " +
46+ lipgloss .NewStyle ().
47+ Foreground (lipgloss .Color ("8" )).
48+ Render (logoTagline )
49+
4150 return lipgloss .
4251 NewStyle ().
43- Border (lipgloss .NormalBorder (), false ).
52+ BorderStyle (lipgloss .NormalBorder ()).
4453 BorderBottom (true ).
4554 Render (lipgloss .PlaceHorizontal (
46- m .size .Width , //m.size.Height-1,
47- lipgloss .Center , //lipgloss.Center ,
48- logo ,
55+ m .size .Width ,
56+ lipgloss .Left ,
57+ brand ,
4958 ))
5059}
5160
You can’t perform that action at this time.
0 commit comments