Skip to content

Commit

Permalink
feat(chat): 更新聊天组件和头部标题
Browse files Browse the repository at this point in the history
  • Loading branch information
zyh320888 committed Oct 21, 2024
1 parent 6d23441 commit 81d6d05
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions app/components/chat/BaseChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/components/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
2 changes: 1 addition & 1 deletion app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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({});
Expand Down

0 comments on commit 81d6d05

Please sign in to comment.