/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import React from 'react'; import { Box, Text } from 'ink'; import Gradient from 'ink-gradient'; import { Colors } from '../colors.js'; const asciiArtLogo = ` ██████╗ ███████╗███╗ ███╗██╗███╗ ██╗██╗ ██╔════╝ ██╔════╝████╗ ████║██║████╗ ██║██║ ██║ ███╗█████╗ ██╔████╔██║██║██╔██╗ ██║██║ ██║ ██║██╔══╝ ██║╚██╔╝██║██║██║╚██╗██║██║ ╚██████╔╝███████╗██║ ╚═╝ ██║██║██║ ╚████║██║ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝ `; interface HeaderProps { title?: string; } export const Header: React.FC = ({ title = asciiArtLogo }) => ( <> {Colors.GradientColors ? ( {title} ) : ( {title} )} );