diff options
| author | N. Taylor Mullen <[email protected]> | 2025-06-02 11:45:09 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-02 11:45:09 -0700 |
| commit | 42bedbc3d39265932cbd6c9b818b6a7fbcbdd022 (patch) | |
| tree | ada81f72fda1d4448e06439583e22f7095329225 /packages/cli/src/ui/components/Header.tsx | |
| parent | 33052018a27ff5ea498cfa21d34e15d002ab92f7 (diff) | |
feat: Refactor CLI header for customizable logo text (#658)
Diffstat (limited to 'packages/cli/src/ui/components/Header.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/Header.tsx | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/packages/cli/src/ui/components/Header.tsx b/packages/cli/src/ui/components/Header.tsx index 1554f987..e95efc59 100644 --- a/packages/cli/src/ui/components/Header.tsx +++ b/packages/cli/src/ui/components/Header.tsx @@ -5,28 +5,20 @@ */ import React from 'react'; -import { Box, Text } from 'ink'; +import { Box } from 'ink'; import Gradient from 'ink-gradient'; +import BigText from 'ink-big-text'; import { Colors } from '../colors.js'; -const asciiArtLogo = ` - ██████╗ ███████╗███╗ ███╗██╗███╗ ██╗██╗ -██╔════╝ ██╔════╝████╗ ████║██║████╗ ██║██║ -██║ ███╗█████╗ ██╔████╔██║██║██╔██╗ ██║██║ -██║ ██║██╔══╝ ██║╚██╔╝██║██║██║╚██╗██║██║ -╚██████╔╝███████╗██║ ╚═╝ ██║██║██║ ╚████║██║ - ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝ -`; - export const Header: React.FC = () => ( <> - <Box marginBottom={1} alignItems="flex-start"> + <Box alignItems="flex-start"> {Colors.GradientColors ? ( <Gradient colors={Colors.GradientColors}> - <Text>{asciiArtLogo}</Text> + <BigText text="GEMINI" letterSpacing={0} space={false} /> </Gradient> ) : ( - <Text>{asciiArtLogo}</Text> + <BigText text="GEMINI" letterSpacing={0} space={false} /> )} </Box> </> |
