From 0da431db2bdbaf91e4512a01d97f840d7d8ef40c Mon Sep 17 00:00:00 2001 From: Dhravya Date: Thu, 4 Jul 2024 15:37:08 -0500 Subject: UX: Load while creating memory --- apps/browser-rendering | 2 +- apps/web/app/(dash)/menu.tsx | 9 +++++++-- apps/web/app/(landing)/Hero.tsx | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) (limited to 'apps') diff --git a/apps/browser-rendering b/apps/browser-rendering index 4d21045a..0135d881 160000 --- a/apps/browser-rendering +++ b/apps/browser-rendering @@ -1 +1 @@ -Subproject commit 4d21045a45fdbf56b7483d3704ae0474ebf044fb +Subproject commit 0135d8813311b6825382f411cda13f5663b6c462 diff --git a/apps/web/app/(dash)/menu.tsx b/apps/web/app/(dash)/menu.tsx index 11738391..6cea35a4 100644 --- a/apps/web/app/(dash)/menu.tsx +++ b/apps/web/app/(dash)/menu.tsx @@ -109,7 +109,10 @@ function Menu() { const handleSubmit = async (content?: string, space?: string) => { setDialogOpen(false); - toast.info("Creating memory..."); + toast.info("Creating memory...", { + icon: , + duration: 7500, + }); if (!content || content.length === 0) { toast.error("Content is required"); @@ -124,7 +127,9 @@ function Menu() { setContent(""); if (cont.success) { - toast.success("Memory created"); + toast.success("Memory created", { + richColors: true, + }); } else { toast.error(`Memory creation failed: ${cont.error}`); } diff --git a/apps/web/app/(landing)/Hero.tsx b/apps/web/app/(landing)/Hero.tsx index 4a0529aa..5565de3a 100644 --- a/apps/web/app/(landing)/Hero.tsx +++ b/apps/web/app/(landing)/Hero.tsx @@ -75,7 +75,7 @@ function Hero() { width={1512} height={1405} draggable="false" - className="z-40 md:mt-[-40px] hidden sm:block h-full max-w-[70vw] mx-auto md:w-full select-none px-5 rounded-2xl" + className="z-40 md:mt-[-40px] hidden sm:block h-full max-w-[70vw] mx-auto md:w-full select-none px-5 !rounded-2xl" style={{ borderRadius: "20px", }} -- cgit v1.2.3