From 98698a126c85f25efe71ed70ceff93294187ab34 Mon Sep 17 00:00:00 2001 From: Jordi Enric Date: Sat, 18 May 2024 20:21:17 +0200 Subject: [PATCH] ui --- .../src/components/Images/ImageUploader.tsx | 11 ++++++ apps/web/src/pages/index.tsx | 36 +++++++------------ todo/mvp.md | 5 ++- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/apps/web/src/components/Images/ImageUploader.tsx b/apps/web/src/components/Images/ImageUploader.tsx index 6610245..1b228a0 100644 --- a/apps/web/src/components/Images/ImageUploader.tsx +++ b/apps/web/src/components/Images/ImageUploader.tsx @@ -174,6 +174,17 @@ export const ImageUploader = ({ {imageInfo && (
+ 20 + ? `${image.name.slice(0, 20)}...` + : image.name + } + className="bg-transparent text-slate-500" + /> {`${imageInfo.height}x${imageInfo.width}px`} {imageInfo.size}
diff --git a/apps/web/src/pages/index.tsx b/apps/web/src/pages/index.tsx index 0327631..22cccac 100644 --- a/apps/web/src/pages/index.tsx +++ b/apps/web/src/pages/index.tsx @@ -20,12 +20,8 @@ import { } from "@/components/ui/carousel"; import Image from "next/image"; import { Dialog, DialogContent, DialogTrigger } from "@/components/ui/dialog"; -import { Instrument_Serif } from "next/font/google"; - -const serif = Instrument_Serif({ - weight: ["400"], - subsets: ["latin"], -}); +import { ZendoEditor } from "@/components/Editor/ZendoEditor"; +import { toast } from "sonner"; const Home = () => { const user = useUser(); @@ -60,9 +56,9 @@ const Home = () => { -
-
-