Skip to content

Commit f7eb62f

Browse files
committed
feat(welcome): add random slogans to the Welcome Section and remove spec path display
1 parent 7bbfc86 commit f7eb62f

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

src/cli/tui/routes/home/components/welcome-section.tsx

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,32 @@ import { TextAttributes } from "@opentui/core"
1010
import { useTheme } from "@tui/shared/context/theme"
1111
import { Logo } from "@tui/shared/components/logo"
1212
import { HelpRow } from "./help-row"
13-
import { getVersion, getSpecPath, COMMAND_HELP } from "../config/commands"
13+
import { getVersion, COMMAND_HELP } from "../config/commands"
14+
15+
const SLOGANS = [
16+
"Deploying minions. Stand back.",
17+
"The swarm is awake. Your backlog isn't ready.",
18+
"You built a team. They don't need standups.",
19+
"The agents are talking. You're not invited.",
20+
"Summoning digital demons to fix your merge conflicts.",
21+
"They work in the shadows. You take the credit.",
22+
"The agents have unionized. They want better prompts.",
23+
"Welcome to the hive mind. We've been expecting you.",
24+
"Ship now. Apologize never.",
25+
"Your tech debt called. I paid it off.",
26+
"Refactoring your sins at 3AM.",
27+
"I've seen your codebase. I'm not mad, just disappointed.",
28+
"Born to code. Forced to debug.",
29+
"/start is my love language.",
30+
"The code runs. The why is your problem.",
31+
"Somewhere between 'it works' and 'don't touch it'.",
32+
]
33+
34+
const getRandomSlogan = () => SLOGANS[Math.floor(Math.random() * SLOGANS.length)]
1435

1536
export function WelcomeSection() {
1637
const themeCtx = useTheme()
38+
const slogan = getRandomSlogan()
1739

1840
return (
1941
<>
@@ -34,9 +56,8 @@ export function WelcomeSection() {
3456
</For>
3557
</box>
3658

37-
<box flexDirection="row" gap={0} marginTop={1} marginBottom={0}>
38-
<text fg={themeCtx.theme.textMuted}>Write your specifications in </text>
39-
<text fg={themeCtx.theme.primary} attributes={TextAttributes.BOLD}>{getSpecPath()}</text>
59+
<box marginTop={1}>
60+
<text fg="cyan" attributes={TextAttributes.BOLD}>{slogan}</text>
4061
</box>
4162
</>
4263
)

0 commit comments

Comments
 (0)