mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-12 10:15:31 +00:00
* style(web-shell): polish chat UI * fix(web-shell): address chat polish review feedback --------- Co-authored-by: ytahdn <ytahdn@gmail.com>
25 lines
619 B
TypeScript
25 lines
619 B
TypeScript
import { useI18n } from '../i18n';
|
|
import styles from './WelcomeHeader.module.css';
|
|
|
|
export interface WelcomeHeaderProps {
|
|
version: string;
|
|
cwd: string;
|
|
currentModel: string;
|
|
currentMode: string;
|
|
hideTips?: boolean;
|
|
}
|
|
|
|
export function WelcomeHeader(props: WelcomeHeaderProps) {
|
|
void props;
|
|
const { t } = useI18n();
|
|
|
|
return (
|
|
<div className={styles.header}>
|
|
<div className={styles.titleRow}>
|
|
<span>{t('welcome.titlePrefix')}</span>
|
|
<span className={styles.title}>Qwen Code</span>
|
|
</div>
|
|
<div className={styles.subtitle}>{t('welcome.prompt')}</div>
|
|
</div>
|
|
);
|
|
}
|