diff --git a/frontend/app/search/page.module.scss b/frontend/app/search/page.module.scss index a33ea829f..80034441c 100644 --- a/frontend/app/search/page.module.scss +++ b/frontend/app/search/page.module.scss @@ -82,10 +82,26 @@ top: 0; left: 0; + .main_message_wrapper { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + + .main_message { + display: flex; + flex-direction: column; + + .bolder { + font-weight: bold; + } + } + } + .first_brain_button { position: absolute; right: Spacings.$spacing07; - top: Spacings.$spacing04; + top: Spacings.$spacing03; display: flex; gap: Spacings.$spacing05; } diff --git a/frontend/app/search/page.tsx b/frontend/app/search/page.tsx index dd6c74ad1..5c19e4bfd 100644 --- a/frontend/app/search/page.tsx +++ b/frontend/app/search/page.tsx @@ -82,27 +82,37 @@ const Search = (): JSX.Element => { - {!isBrainCreationModalOpened && + {(!isBrainCreationModalOpened && !userIdentityData?.onboarded && - !!isUserDataFetched && ( -
-
- + !!isUserDataFetched) || ( +
+
+ +
+ Welcome {userIdentityData?.username}! - Press the following button to create your first brain + We will guide you through your quivr adventure and the + creation of your first brain. - - { - setIsBrainCreationModalOpened(true); - }} - /> -
+ + First, Press the Create Brain button on the top right corner + to create your first brain. + +
+
- )} +
+ { + setIsBrainCreationModalOpened(true); + }} + /> +
+
+ )} ); };