From e48147f87e20a9ad9490d4bde37fb8d4231e970d Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Tue, 1 Aug 2023 13:34:54 +0530 Subject: [PATCH] style: create project modal (#1741) --- apps/app/components/project/create-project-modal.tsx | 8 +++++--- apps/app/components/ui/buttons/secondary-button.tsx | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/app/components/project/create-project-modal.tsx b/apps/app/components/project/create-project-modal.tsx index 4df54f798..2b9c8bdc2 100644 --- a/apps/app/components/project/create-project-modal.tsx +++ b/apps/app/components/project/create-project-modal.tsx @@ -47,7 +47,7 @@ type Props = { const defaultValues: Partial = { cover_image: - "https://images.unsplash.com/photo-1575116464504-9e7652fddcb3?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwyODUyNTV8MHwxfHNlYXJjaHwxOHx8cGxhbmV8ZW58MHx8fHwxNjgxNDY4NTY5&ixlib=rb-4.0.3&q=80&w=1080", + "https://images.unsplash.com/photo-1531045535792-b515d59c3d1f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=870&q=80", description: "", emoji_and_icon: getRandomEmoji(), identifier: "", @@ -213,7 +213,7 @@ export const CreateProjectModal: React.FC = ({ isOpen, setIsOpen, user }) leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > -
+
{watch("cover_image") !== null && ( = ({ isOpen, setIsOpen, user })