diff --git a/components/Header/index.scss b/components/Header/index.scss index f19cc45f..bfa358ea 100644 --- a/components/Header/index.scss +++ b/components/Header/index.scss @@ -10,13 +10,18 @@ gap: $unit; } - img { + img, + .placeholder { $diameter: 32px; border-radius: calc($diameter / 2); height: $diameter; width: $diameter; } + .placeholder { + background: var(--placeholder-bg); + } + #DropdownWrapper { display: inline-block; padding-bottom: $unit; diff --git a/components/Header/index.tsx b/components/Header/index.tsx index 2fe2a72f..a66c95a5 100644 --- a/components/Header/index.tsx +++ b/components/Header/index.tsx @@ -225,7 +225,7 @@ const Header = () => { /> ) } else { - image = {t('no_user')} + image =
} return image @@ -395,7 +395,11 @@ const Header = () => { items = ( <> - New party + + + New party + + diff --git a/components/LoginModal/index.tsx b/components/LoginModal/index.tsx index be2f72c6..e2910acf 100644 --- a/components/LoginModal/index.tsx +++ b/components/LoginModal/index.tsx @@ -199,9 +199,9 @@ const LoginModal = () => { return ( -
  • +
    {t('menu.login')} -
  • +
    { return ( -
  • +
    {t('menu.signup')} -
  • +