diff options
| author | N. Taylor Mullen <[email protected]> | 2025-06-05 00:00:34 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-05 07:00:34 +0000 |
| commit | 822803d9d658d62688c5ced3bf9d7af6904f6edd (patch) | |
| tree | 396ab9eea1d7c9291d2a8c01244a1177feb2b009 /packages/cli/src/ui/components/Header.tsx | |
| parent | 77afd37c2e756593e85105946624f17389ab1987 (diff) | |
Fix "npx https:...." header issue (#759)
Diffstat (limited to 'packages/cli/src/ui/components/Header.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/Header.tsx | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/packages/cli/src/ui/components/Header.tsx b/packages/cli/src/ui/components/Header.tsx index 2b971395..1554f987 100644 --- a/packages/cli/src/ui/components/Header.tsx +++ b/packages/cli/src/ui/components/Header.tsx @@ -5,24 +5,28 @@ */ import React from 'react'; -import { Box } from 'ink'; +import { Box, Text } from 'ink'; import Gradient from 'ink-gradient'; -import BigText from 'ink-big-text'; import { Colors } from '../colors.js'; -interface HeaderProps { - title?: string; -} +const asciiArtLogo = ` + ██████╗ ███████╗███╗ ███╗██╗███╗ ██╗██╗ +██╔════╝ ██╔════╝████╗ ████║██║████╗ ██║██║ +██║ ███╗█████╗ ██╔████╔██║██║██╔██╗ ██║██║ +██║ ██║██╔══╝ ██║╚██╔╝██║██║██║╚██╗██║██║ +╚██████╔╝███████╗██║ ╚═╝ ██║██║██║ ╚████║██║ + ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝ +`; -export const Header: React.FC<HeaderProps> = ({ title = 'GEMINI' }) => ( +export const Header: React.FC = () => ( <> - <Box alignItems="flex-start"> + <Box marginBottom={1} alignItems="flex-start"> {Colors.GradientColors ? ( <Gradient colors={Colors.GradientColors}> - <BigText text={title} letterSpacing={0} space={false} /> + <Text>{asciiArtLogo}</Text> </Gradient> ) : ( - <BigText text={title} letterSpacing={0} space={false} /> + <Text>{asciiArtLogo}</Text> )} </Box> </> |
