Skip to content

Commit

Permalink
Merge pull request #52 from nowscott/development
Browse files Browse the repository at this point in the history
style:修改部分外观
  • Loading branch information
nowscott authored Jul 23, 2024
2 parents d3a0252 + 3879fe0 commit 92e75ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/layout/InputPrompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const InputPrompt = ({ onSend, onClear }) => {
}}
onCompositionStart={handleCompositionStart}
onCompositionEnd={handleCompositionEnd}
placeholder="发送消息..."
placeholder="發送訊息..."
/>
<button
className="p-1 text-slate-500"
Expand Down
4 changes: 2 additions & 2 deletions src/components/layout/MessageList.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ const MessageList = ({ messages, onDelete }) => {
{messages.length === 0 ? (
<div className="flex items-center justify-center h-full">
<div className="text-center">
<p className="text-6xl text-gray-500 dark:text-yellow-50 mb-4 tracking-widest">对牛弹琴</p>
<p className="text-sm text-gray-400 dark:text-yellow-100">每一次对话,都是一场思想碰撞</p>
<p className="text-6xl text-gray-500 dark:text-yellow-50 mb-4 tracking-widest">對🐮彈琴</p>
<p className="text-sm text-gray-400 dark:text-yellow-100">每壹次對話,都是壹場思想碰撞</p>
</div>
</div>
) : (
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const NavBar = ({ targetRef, onSettingsClick }) => {
const { darkMode, setDarkMode } = useContext(ThemeContext);

const toggleTitle = () => {
setTitle((prevTitle) => (prevTitle === 'Chat With Mou' ? '对牛弹琴' : 'Chat With Mou'));
setTitle((prevTitle) => (prevTitle === 'Chat With Mou' ? '對🐮彈琴' : 'Chat With Mou'));
};

const toggleDarkMode = () => {
Expand Down

0 comments on commit 92e75ae

Please sign in to comment.