From ad39f0dd091f2322dd50dca8925dfc447cfa6621 Mon Sep 17 00:00:00 2001 From: jarvis2f <137974272+jarvis2f@users.noreply.github.com> Date: Wed, 8 Jan 2025 17:36:20 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20feat:=20Add=20a=20return=20to=20?= =?UTF-8?q?home=20button=20to=20the=20Header=20component.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/header.tsx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/web/src/components/header.tsx b/web/src/components/header.tsx index 84c9d11..9977f02 100644 --- a/web/src/components/header.tsx +++ b/web/src/components/header.tsx @@ -13,6 +13,7 @@ import { ChevronsLeftRightEllipsisIcon, CloudDownloadIcon, Ellipsis, + Home, UnplugIcon, } from "lucide-react"; import { @@ -32,7 +33,7 @@ import TelegramIcon from "@/components/telegram-icon"; import AutoDownloadDialog from "@/components/auto-download-dialog"; import useIsMobile from "@/hooks/use-is-mobile"; import { useState } from "react"; -import {Button} from "@/components/ui/button"; +import { Button } from "@/components/ui/button"; export function Header() { const { isLoading, getAccounts, accountId, account, handleAccountChange } = @@ -46,7 +47,7 @@ export function Header() {
-
+
@@ -111,7 +112,6 @@ export function Header() { )} -
@@ -158,11 +158,20 @@ export function Header() {
+ +