mirror of
https://github.com/stackblitz/bolt.new
synced 2025-06-26 18:17:50 +00:00
feat(chat): 更新聊天组件和头部标题
This commit is contained in:
parent
6d23441318
commit
81d6d05107
@ -93,12 +93,11 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
|
||||
<p className="mb-4 text-center text-bolt-elements-textSecondary">
|
||||
在几秒钟内将想法变为现实,或获取现有项目的帮助。
|
||||
</p>
|
||||
<TemplateSelector
|
||||
{/* <TemplateSelector
|
||||
className="w-full mb-4"
|
||||
value={selectedTemplate}
|
||||
onChange={handleTemplateChange}
|
||||
/>
|
||||
<ClientOnly>{() => <div>123</div>}</ClientOnly>
|
||||
/> */}
|
||||
</div>
|
||||
)}
|
||||
<div
|
||||
@ -150,7 +149,7 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
|
||||
minHeight: TEXTAREA_MIN_HEIGHT,
|
||||
maxHeight: TEXTAREA_MAX_HEIGHT,
|
||||
}}
|
||||
placeholder="Bolt 今天能为您做些什么?"
|
||||
placeholder="多八多今天能为您做些什么?"
|
||||
translate="no"
|
||||
/>
|
||||
<ClientOnly>
|
||||
|
||||
@ -21,7 +21,7 @@ export function Header() {
|
||||
<div className="flex items-center gap-2 z-logo text-bolt-elements-textPrimary cursor-pointer">
|
||||
<div className="i-ph:sidebar-simple-duotone text-xl" />
|
||||
<a href="/" className="text-2xl font-semibold text-accent flex items-center">
|
||||
<span className="i-bolt:logo-text?mask w-[46px] inline-block" />
|
||||
<span className="text-2xl font-bold">多八多</span>
|
||||
</a>
|
||||
</div>
|
||||
<span className="flex-1 px-4 truncate text-center text-bolt-elements-textPrimary">
|
||||
|
||||
@ -5,7 +5,7 @@ import { Chat } from '~/components/chat/Chat.client';
|
||||
import { Header } from '~/components/header/Header';
|
||||
|
||||
export const meta: MetaFunction = () => {
|
||||
return [{ title: 'Bolt' }, { name: 'description', content: 'Talk with Bolt, an AI assistant from StackBlitz' }];
|
||||
return [{ title: '多八多' }, { name: 'description', content: 'Talk with 多八多, an AI assistant from d8d.fun' }];
|
||||
};
|
||||
|
||||
export const loader = () => json({});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user