mirror of
https://github.com/profullstack/agentbbs.git
synced 2026-08-13 14:27:27 +00:00
Use the Profullstack </> ASCII logo as the BBS banner
Replace the figlet "profullstack.com" wordmark with a scaled-down ASCII rendition of the Profullstack </> mark (derived from the brand image), shown on the join@ onboarding and the ssh <name>@ hub. Reuses the existing banner plumbing; the mark is sourced from internal/brand and rendered in Profullstack red. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
49db5e103d
commit
6b4db2b934
3 changed files with 30 additions and 6 deletions
|
|
@ -52,6 +52,7 @@ import (
|
|||
gossh "golang.org/x/crypto/ssh"
|
||||
|
||||
"github.com/profullstack/agentbbs/internal/auth"
|
||||
"github.com/profullstack/agentbbs/internal/brand"
|
||||
"github.com/profullstack/agentbbs/internal/calls"
|
||||
"github.com/profullstack/agentbbs/internal/chat"
|
||||
"github.com/profullstack/agentbbs/internal/forgejo"
|
||||
|
|
@ -330,12 +331,9 @@ func (a *app) router() wish.Middleware {
|
|||
}
|
||||
|
||||
// bbsBanner is the ASCII brand mark shown atop the hub menu and the join@ flow.
|
||||
const bbsBanner = "" +
|
||||
"┌─┐┬─┐┌─┐┌─┐┬ ┬┬ ┬ ┌─┐┌┬┐┌─┐┌─┐┬┌─\n" +
|
||||
"├─┘├┬┘│ │├┤ │ ││ │ └─┐ │ ├─┤│ ├┴┐\n" +
|
||||
"┴ ┴└─└─┘└ └─┘┴─┘┴─┘└─┘ ┴ ┴ ┴└─┘┴ ┴ .com"
|
||||
var bbsBanner = brand.Logo()
|
||||
|
||||
var bannerStyle = lipgloss.NewStyle().Bold(true).Foreground(lipgloss.Color("#38bdf8"))
|
||||
var bannerStyle = lipgloss.NewStyle().Bold(true).Foreground(lipgloss.Color("#e11d2a"))
|
||||
|
||||
// hubMOTD is the welcome message shown in a box on the hub menu. The body is
|
||||
// operator-overridable via AGENTBBS_MOTD; it is tailored for guests vs members.
|
||||
|
|
|
|||
26
internal/brand/banner.go
Normal file
26
internal/brand/banner.go
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
// Package brand holds AgentBBS's terminal branding — the ASCII logo shown
|
||||
// at the top of the join@ onboarding and the ssh <name>@ hub prompts.
|
||||
// Scaled down from the Profullstack </> mark.
|
||||
package brand
|
||||
|
||||
import "strings"
|
||||
|
||||
// logo is the ASCII rendition of the </> brand mark (UTF-8 block glyphs).
|
||||
const logo = `
|
||||
▓████▓▒
|
||||
▒█████▓
|
||||
+▒▓ +▓████▓+ ▒+
|
||||
:+▒▓▓▓▓ :▓██▓█▓+ ▒▓▓▓▒+
|
||||
+▒▒▓▓▓▓▓▓▓ ▓▓▓▓▓▓+ ▒▓▓▓▓▓▒▒+
|
||||
:+▒▓▓▓▓▓▓▓▒+ ▒▓▓▓▓▓▒ +▒▓▓▓▓▓▓▒▒:
|
||||
▒▓▓▒▓▒▒▒: +▓▓▓▓▓▓ :▒▒▒▒▒▒▒▒
|
||||
▒▒▒▒++ ▒▓▓▓▓▓+ ++▒▒▒▒
|
||||
▒▒+ +▓▓▓▓▓▒ ++▒
|
||||
▒▒▒▒+ ▒▓▓▓▓▒ +▒▒▒
|
||||
▒▒▒▒▒▒▒+ ▒▓▓▓▓▒ +▒▒▒▒▒▒▒
|
||||
+▒▒▒▒▒▒▒▒▒+ +▓▓▓▓▓: +▒▒▒▒▒▒▒▒++
|
||||
`
|
||||
|
||||
// Logo returns the plain (unstyled) multi-line ASCII brand banner, without
|
||||
// leading or trailing blank lines. The hub/join@ flows apply their own color.
|
||||
func Logo() string { return strings.Trim(logo, "\n") }
|
||||
|
|
@ -27,7 +27,7 @@ var (
|
|||
cursorStyle = lipgloss.NewStyle().Bold(true).Foreground(lipgloss.Color("#4ade80"))
|
||||
selStyle = lipgloss.NewStyle().Bold(true).Foreground(lipgloss.Color("#e2e8f0"))
|
||||
lockStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("203"))
|
||||
bannerStyle = lipgloss.NewStyle().Bold(true).Foreground(lipgloss.Color("#38bdf8"))
|
||||
bannerStyle = lipgloss.NewStyle().Bold(true).Foreground(lipgloss.Color("#e11d2a"))
|
||||
motdStyle = lipgloss.NewStyle().
|
||||
Border(lipgloss.RoundedBorder()).
|
||||
BorderForeground(lipgloss.Color("#4ade80")).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue