summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/Header.tsx
blob: e95efc597572c79a66e6024b96d94868bb4983ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
 * @license
 * Copyright 2025 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */

import React from 'react';
import { Box } from 'ink';
import Gradient from 'ink-gradient';
import BigText from 'ink-big-text';
import { Colors } from '../colors.js';

export const Header: React.FC = () => (
  <>
    <Box alignItems="flex-start">
      {Colors.GradientColors ? (
        <Gradient colors={Colors.GradientColors}>
          <BigText text="GEMINI" letterSpacing={0} space={false} />
        </Gradient>
      ) : (
        <BigText text="GEMINI" letterSpacing={0} space={false} />
      )}
    </Box>
  </>
);