Files
gemini-cli/packages/cli/src/ui/components/Header.tsx
T

36 lines
1.8 KiB
TypeScript
Raw Normal View History

/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
2025-04-15 21:41:08 -07:00
import React from 'react';
import { Box, Text } from 'ink';
2025-04-19 12:38:09 -04:00
import Gradient from 'ink-gradient';
2025-04-15 21:41:08 -07:00
2025-04-19 12:38:09 -04:00
const gradientColors = ['#4796E4', '#847ACE', '#C3677F'];
2025-04-15 21:41:08 -07:00
2025-04-19 12:38:09 -04:00
export const Header: React.FC = () => (
2025-04-18 18:08:43 -04:00
<>
2025-04-19 12:38:09 -04:00
<Box marginBottom={1} alignItems="flex-start">
<Gradient colors={gradientColors}>
<Text>{`
██████╗ ███████╗███╗ ███╗██╗███╗ ██╗██╗
██╔════╝ ██╔════╝████╗ ████║██║████╗ ██║██║
██║ ███╗█████╗ ██╔████╔██║██║██╔██╗ ██║██║
██║ ██║██╔══╝ ██║╚██╔╝██║██║██║╚██╗██║██║
╚██████╔╝███████╗██║ ╚═╝ ██║██║██║ ╚████║██║
╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝
██████╗ ██████╗ ██████╗ ███████╗
██╔════╝██╔═══██╗██╔══██╗██╔════╝
██║ ██║ ██║██║ ██║█████╗
██║ ██║ ██║██║ ██║██╔══╝
╚██████╗╚██████╔╝██████╔╝███████╗
╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝
`}</Text>
</Gradient>
2025-04-18 18:08:43 -04:00
</Box>
</>
);