diff --git a/backend/src/assets/css/header.css b/backend/src/assets/css/header.css index 530fadb2f..165185379 100644 --- a/backend/src/assets/css/header.css +++ b/backend/src/assets/css/header.css @@ -44,6 +44,10 @@ .header-desktop { display: flex; + flex-direction: row; + flex-grow: 1; + justify-content: flex-end; + align-items: center; } .header-mobile { diff --git a/backend/src/components/Header.tsx b/backend/src/components/Header.tsx index a458e270e..e2def5c4c 100644 --- a/backend/src/components/Header.tsx +++ b/backend/src/components/Header.tsx @@ -334,7 +334,7 @@ const Header = ({ )} {isLoaded && !loading && ( - )} @@ -346,7 +346,7 @@ const Header = ({
{!isSignedIn && !loading && ( - )} diff --git a/frontend/src/assets/css/common.css b/frontend/src/assets/css/common.css index 754dca6da..b7e81ed81 100644 --- a/frontend/src/assets/css/common.css +++ b/frontend/src/assets/css/common.css @@ -41,6 +41,10 @@ margin-bottom: 10px !important; } +.bold { + font-weight: 500 !important; +} + .validate-email { margin: 15px; } diff --git a/frontend/src/assets/css/header.css b/frontend/src/assets/css/header.css index d13472ace..249fa2dd0 100644 --- a/frontend/src/assets/css/header.css +++ b/frontend/src/assets/css/header.css @@ -34,6 +34,10 @@ .header-desktop { display: flex; + flex-direction: row; + flex-grow: 1; + justify-content: flex-end; + align-items: center; } .header-mobile { @@ -43,6 +47,7 @@ .header .btn { background-color: transparent !important; color: #121212 !important; + text-transform: none !important; } .header .btn:hover { diff --git a/frontend/src/components/Header.tsx b/frontend/src/components/Header.tsx index 151920529..8c036aec6 100644 --- a/frontend/src/components/Header.tsx +++ b/frontend/src/components/Header.tsx @@ -32,13 +32,15 @@ import { LocationOn as LocationIcon, PrivacyTip as PrivacyIcon, QuestionAnswer as FaqIcon, + PersonOutline as SignUpIcon, } from '@mui/icons-material' import { toast } from 'react-toastify' import { CircleFlag } from 'react-circle-flags' import * as bookcarsTypes from ':bookcars-types' import env from '@/config/env.config' -import { strings } from '@/lang/header' import { strings as commonStrings } from '@/lang/common' +import { strings as suStrings } from '@/lang/sign-up' +import { strings } from '@/lang/header' import * as UserService from '@/services/UserService' import * as NotificationService from '@/services/NotificationService' import Avatar from './Avatar' @@ -398,23 +400,28 @@ const Header = ({ {(env.isMobile || !headerTitle) &&
}
- {!hideSignin && !isSignedIn && isLoaded && !loading && ( - - )} {isLoaded && !loading && ( - )} {isLoaded && !loading && ( - )} + {!hideSignin && !isSignedIn && isLoaded && !loading && ( + + )} + {!hideSignin && !isSignedIn && isLoaded && !loading && ( + + )} {isSignedIn && ( 0 ? notificationCount : null} color="error"> @@ -430,7 +437,7 @@ const Header = ({
{!loading && ( - )}