Skip to content

Commit

Permalink
Changed banner to simpler ASCII art
Browse files Browse the repository at this point in the history
  • Loading branch information
mrusme committed Jan 8, 2023
1 parent dc4c5a4 commit 680f503
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions ui/header/header.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 680f503

Please sign in to comment.