mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-07-29 10:13:14 +08:00
chore: use react-icons
instead of lucide-react
This commit is contained in:
@ -66,7 +66,7 @@ const MessageTextarea = () => {
|
||||
onChange={handleChange}
|
||||
/>
|
||||
<div className="absolute bottom-2 right-2 w-8 p-1 cursor-pointer rounded-md hover:shadow hover:bg-gray-100" onClick={handleSend}>
|
||||
<Icon.Send className="w-full h-auto text-blue-800" />
|
||||
<Icon.Io.IoMdSend className="w-full h-auto text-blue-800" />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
@ -26,7 +26,7 @@ const Sidebar = () => {
|
||||
return (
|
||||
<div className="w-52 lg:w-64 h-full transition-all shrink-0 border-r px-3 flex flex-col justify-start items-center sticky top-0">
|
||||
<h2 className="py-4 w-full flex flex-row justify-center items-center">
|
||||
<Icon.Bot className="text-gray-600 mr-2 w-6 h-auto" /> Assistant list
|
||||
<Icon.Io.IoIosChatbubbles className="text-gray-600 mr-2 w-6 h-auto" /> Assistant list
|
||||
</h2>
|
||||
<div className="w-full mt-2 flex flex-col justify-start items-start">
|
||||
{userStore.assistantList.map((assistant) => (
|
||||
@ -44,10 +44,10 @@ const Sidebar = () => {
|
||||
<div className="grow w-full flex flex-col justify-end items-center pb-6">
|
||||
<div className="w-full flex flex-row justify-center items-center space-x-3">
|
||||
<Link href="/" className="p-1 rounded-md hover:shadow hover:bg-gray-100">
|
||||
<Icon.Home className="text-gray-600 w-6 h-auto" />
|
||||
<Icon.Io.IoMdHome className="text-gray-600 w-6 h-auto" />
|
||||
</Link>
|
||||
<a href="https://github.com/bytebase/chatdba" target="_blank" className="p-1 rounded-md hover:shadow hover:bg-gray-100">
|
||||
<Icon.Github className="text-gray-600 w-6 h-auto" />
|
||||
<Icon.Io.IoLogoGithub className="text-gray-600 w-6 h-auto" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user