1
0
mirror of https://github.com/mrusme/neonmodem.git synced 2024-07-21 03:14:14 -04:00

Changed banner to simpler ASCII art

This commit is contained in:
マリウス 2023-01-08 16:37:32 -05:00
parent dc4c5a4120
commit 680f503953
No known key found for this signature in database
GPG Key ID: 272ED814BF63261F

View File

@ -13,12 +13,15 @@ import (
var (
highlight = lipgloss.AdaptiveColor{Light: "#874BFD", Dark: "#7D56F4"}
banner = `




`
overdrive = lipgloss.NewStyle().Foreground(lipgloss.Color("#f119a0"))
banner = lipgloss.NewStyle().Foreground(lipgloss.Color("#3c4f92")).Render(" ________ _____ _____ ________") + "\n" +
lipgloss.NewStyle().Foreground(lipgloss.Color("#bff1fe")).Render("| | | __| | | | ") + overdrive.Render("O") + "\n" +
lipgloss.NewStyle().Foreground(lipgloss.Color("#1b0d35")).Render("| | | | __| | | | | | ") + overdrive.Render("V") + "\n" +
lipgloss.NewStyle().Foreground(lipgloss.Color("#7c8eb5")).Render("|___|____|_____|_____|___|____| ") + overdrive.Render("R") + "\n" +
lipgloss.NewStyle().Foreground(lipgloss.Color("#2d3588")).Render("| | | \\| __| | ") + overdrive.Render("D") + "\n" +
lipgloss.NewStyle().Foreground(lipgloss.Color("#b4effe")).Render("| | | | | | | | __| | | | ") + overdrive.Render("R") + "\n" +
lipgloss.NewStyle().Foreground(lipgloss.Color("#28254c")).Render("|_|_|_|_____|____/|_____|_|_|_| ") + overdrive.Render("V")
)
type Model struct {
@ -108,7 +111,7 @@ func (m Model) View() string {
spinner = m.spinner.View()
}
row = lipgloss.JoinHorizontal(lipgloss.Top,
row = lipgloss.JoinHorizontal(lipgloss.Bottom,
banner,
" ",
selectorColumn,