Skip to content

Commit a8797dc

Browse files
committed
feat:change icons
1 parent 44ece66 commit a8797dc

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

services/webui/package-lock.json

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/webui/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
"runtime-env-cra": "^0.2.4",
7070
"styled-components": "^6.1.8",
7171
"swagger-typescript-api": "^13.0.23",
72+
"@remixicon/react": "^4.3.0",
7273
"swr": "^2.2.4",
7374
"typescript": "^4.9.5",
7475
"web-vitals": "^2.1.4"

services/webui/src/components/Layout/Sidebar/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import {
2525
CommandLineIcon,
2626
UserIcon,
2727
} from '@heroicons/react/24/outline'
28+
import { RiChatSmileAiLine, RiChatSmileLine } from '@remixicon/react'
2829
import { useAtom, useAtomValue, useSetAtom } from 'jotai'
2930
import { Popover, Transition } from '@headlessui/react'
3031
import { Fragment, useEffect, useState } from 'react'
@@ -274,7 +275,7 @@ export default function Sidebar({ currentPage }: ISidebar) {
274275
{
275276
name: 'Agent AI',
276277
page: 'ai',
277-
icon: UserIcon,
278+
icon: RiChatSmileAiLine,
278279
isPreview: true,
279280
},
280281

services/webui/src/pages/AI/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { useState } from "react"
22
import Agents from "../../components/AIComponents/Agents"
33
import AIChat from "./chat/AIChat"
44
import { ArrowLeftIcon, ArrowRightIcon } from "@heroicons/react/24/outline"
5+
import { RiArrowLeftLine, RiArrowRightLine } from "@remixicon/react"
56

67

78
export default function AI() {
@@ -33,7 +34,7 @@ export default function AI() {
3334
className="text-slate-950 dark:text-slate-200 w-full justify-end flex pr-2 cursor-pointer"
3435
onClick={() => setIsOpen(false)}
3536
>
36-
<ArrowRightIcon className="w-5" />
37+
<RiArrowLeftLine className="w-5" />
3738
</span>
3839
</>
3940
) : (
@@ -42,7 +43,7 @@ export default function AI() {
4243
className="text-slate-950 dark:text-slate-200 w-full justify-start flex pr-2 cursor-pointer"
4344
onClick={() => setIsOpen(true)}
4445
>
45-
<ArrowLeftIcon className="w-5" />
46+
<RiArrowRightLine className="w-5" />
4647
</span>
4748
</>
4849
)}

0 commit comments

Comments
 (0)