diff --git a/web/containers/Layout/BottomBar/SystemItem/index.tsx b/web/containers/Layout/BottomBar/SystemItem/index.tsx
index bab545547..dfa8cb0d3 100644
--- a/web/containers/Layout/BottomBar/SystemItem/index.tsx
+++ b/web/containers/Layout/BottomBar/SystemItem/index.tsx
@@ -9,7 +9,7 @@ export default function SystemItem({ name, value }: Props) {
return (
{name}
-
{value}
+
{value}
)
}
diff --git a/web/containers/Layout/BottomBar/index.tsx b/web/containers/Layout/BottomBar/index.tsx
index 655ca2300..209d1d95c 100644
--- a/web/containers/Layout/BottomBar/index.tsx
+++ b/web/containers/Layout/BottomBar/index.tsx
@@ -1,6 +1,15 @@
-import { Badge, Button } from '@janhq/uikit'
+import {
+ Badge,
+ Button,
+ Tooltip,
+ TooltipArrow,
+ TooltipContent,
+ TooltipTrigger,
+} from '@janhq/uikit'
import { useAtomValue } from 'jotai'
+import { FaGithub, FaDiscord } from 'react-icons/fa'
+
import DownloadingState from '@/containers/Layout/BottomBar/DownloadingState'
import SystemItem from '@/containers/Layout/BottomBar/SystemItem'
@@ -27,6 +36,19 @@ const BottomBar = () => {
const { setMainViewState } = useMainViewState()
const { downloadStates } = useDownloadState()
+ const linksMenu = [
+ {
+ name: 'Discord',
+ icon: ,
+ link: 'https://discord.gg/FTk2MvZwJH',
+ },
+ {
+ name: 'Github',
+ icon: ,
+ link: 'https://github.com/janhq/jan',
+ },
+ ]
+
return (
@@ -69,11 +91,39 @@ const BottomBar = () => {
-
-
-
+
+
+
+
+
{/* VERSION is defined by webpack, please see next.config.js */}
-
Jan v{VERSION ?? ''}
+
Jan v{VERSION ?? ''}
+
+ {linksMenu
+ .filter((link) => !!link)
+ .map((link, i) => {
+ return (
+
+ )
+ })}
+
)
diff --git a/web/containers/Layout/Ribbon/index.tsx b/web/containers/Layout/Ribbon/index.tsx
index d887da19a..2fa5189cc 100644
--- a/web/containers/Layout/Ribbon/index.tsx
+++ b/web/containers/Layout/Ribbon/index.tsx
@@ -11,8 +11,6 @@ import {
SettingsIcon,
MonitorIcon,
LayoutGridIcon,
- Twitter,
- Github,
} from 'lucide-react'
import { twMerge } from 'tailwind-merge'
@@ -54,23 +52,6 @@ export default function RibbonNav() {
},
]
- const linksMenu = [
- {
- name: 'Twitter',
- icon: (
-
- ),
- link: 'https://twitter.com/janhq_',
- },
- {
- name: 'Github',
- icon: (
-
- ),
- link: 'https://github.com/janhq/jan',
- },
- ]
-
const secondaryMenus = [
{
name: 'System Monitor',
@@ -138,33 +119,6 @@ export default function RibbonNav() {
- <>
- {linksMenu
- .filter((link) => !!link)
- .map((link, i) => {
- return (
-
- )
- })}
- >
-
{secondaryMenus
.filter((secondary) => !!secondary)
.map((secondary, i) => {
diff --git a/web/package.json b/web/package.json
index 61c079334..1300cbf6b 100644
--- a/web/package.json
+++ b/web/package.json
@@ -34,6 +34,7 @@
"react-dom": "18.2.0",
"react-hook-form": "^7.47.0",
"react-hot-toast": "^2.4.1",
+ "react-icons": "^4.12.0",
"react-scroll-to-bottom": "^4.2.0",
"react-toastify": "^9.1.3",
"sass": "^1.69.4",
@@ -49,6 +50,7 @@
"@types/node": "20.8.10",
"@types/react": "18.2.34",
"@types/react-dom": "18.2.14",
+ "@types/react-icons": "^3.0.0",
"@types/react-scroll-to-bottom": "^4.2.4",
"@types/uuid": "^9.0.6",
"@typescript-eslint/eslint-plugin": "^6.8.0",