From d606e6a4d601b8c830f01614896c03123d9e0065 Mon Sep 17 00:00:00 2001 From: Zhang Minghan Date: Sun, 22 Oct 2023 09:18:17 +0800 Subject: [PATCH] update link --- app/src/assets/home.less | 5 ++++- app/src/components/home/ChatWrapper.tsx | 10 +++++++++- app/src/i18n.ts | 9 +++++++++ app/src/routes/Sharing.tsx | 1 + 4 files changed, 23 insertions(+), 2 deletions(-) diff --git a/app/src/assets/home.less b/app/src/assets/home.less index ba3edb0e..301073a5 100644 --- a/app/src/assets/home.less +++ b/app/src/assets/home.less @@ -236,12 +236,15 @@ .chat-product { display: flex; flex-direction: column; - gap: 12px; flex-grow: 1; width: 100%; overflow: hidden; justify-content: center; align-items: center; + + button { + margin: 0.5rem 0; + } } .chat-content { diff --git a/app/src/components/home/ChatWrapper.tsx b/app/src/components/home/ChatWrapper.tsx index 6c7e7bcc..d0d9c909 100644 --- a/app/src/components/home/ChatWrapper.tsx +++ b/app/src/components/home/ChatWrapper.tsx @@ -9,7 +9,7 @@ import {formatMessage} from "../../utils.ts"; import ChatInterface from "./ChatInterface.tsx"; import {Button} from "../ui/button.tsx"; import router from "../../router.ts"; -import {ChevronRight, FolderKanban, Globe} from "lucide-react"; +import {BookMarked, ChevronRight, FolderKanban, Globe} from "lucide-react"; import {Tooltip, TooltipContent, TooltipProvider, TooltipTrigger} from "../ui/tooltip.tsx"; import {Toggle} from "../ui/toggle.tsx"; import {Input} from "../ui/input.tsx"; @@ -80,6 +80,14 @@ function ChatWrapper() { ) : (
+
)}