Browse Source

fic(nc-gui): wrong user icon

pull/7566/head
Ramesh Mane 10 months ago
parent
commit
4c78952a16
  1. 4
      packages/nc-gui/assets/nc-icons/user.svg
  2. 2
      packages/nc-gui/components/workspace/View.vue
  3. 4
      packages/nc-gui/pages/account/index.vue
  4. 2
      packages/nc-gui/utils/iconUtils.ts

4
packages/nc-gui/assets/nc-icons/user.svg

@ -0,0 +1,4 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M13.3334 14V12.6667C13.3334 11.9594 13.0524 11.2811 12.5523 10.781C12.0522 10.281 11.3739 10 10.6667 10H5.33335C4.62611 10 3.94783 10.281 3.44774 10.781C2.94764 11.2811 2.66669 11.9594 2.66669 12.6667V14" stroke="currentColor" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M7.99998 7.33333C9.47274 7.33333 10.6666 6.13943 10.6666 4.66667C10.6666 3.19391 9.47274 2 7.99998 2C6.52722 2 5.33331 3.19391 5.33331 4.66667C5.33331 6.13943 6.52722 7.33333 7.99998 7.33333Z" stroke="currentColor" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 707 B

2
packages/nc-gui/components/workspace/View.vue

@ -61,7 +61,7 @@ onMounted(() => {
<a-tab-pane key="collaborators" class="w-full"> <a-tab-pane key="collaborators" class="w-full">
<template #tab> <template #tab>
<div class="flex flex-row items-center px-2 pb-1 gap-x-1.5"> <div class="flex flex-row items-center px-2 pb-1 gap-x-1.5">
<PhUsersBold /> <GeneralIcon icon="users" class="!h-3.5 !w-3.5" />
Members Members
</div> </div>
</template> </template>

4
packages/nc-gui/pages/account/index.vue

@ -65,7 +65,7 @@ const logout = async () => {
@click="navigateTo('/account/profile')" @click="navigateTo('/account/profile')"
> >
<div class="flex items-center space-x-2"> <div class="flex items-center space-x-2">
<GeneralIcon icon="account" /> <GeneralIcon icon="user" class="!h-3.5 !w-3.5"/>
<div class="select-none">{{ $t('labels.profile') }}</div> <div class="select-none">{{ $t('labels.profile') }}</div>
</div> </div>
@ -102,7 +102,7 @@ const logout = async () => {
</NcMenuItem> </NcMenuItem>
<a-sub-menu key="users" class="!bg-white !my-0"> <a-sub-menu key="users" class="!bg-white !my-0">
<template #icon> <template #icon>
<MdiAccountSupervisorOutline /> <GeneralIcon icon="users" class="!h-3.5 !w-3.5"/>
</template> </template>
<template #title>{{ $t('objects.users') }}</template> <template #title>{{ $t('objects.users') }}</template>

2
packages/nc-gui/utils/iconUtils.ts

@ -99,6 +99,7 @@ import NcUnStar from '~icons/nc-icons/star-remove'
import NcSearch from '~icons/nc-icons/search' import NcSearch from '~icons/nc-icons/search'
import NcCreditCard from '~icons/nc-icons/credit-card' import NcCreditCard from '~icons/nc-icons/credit-card'
import NcLayers from '~icons/nc-icons/layers' import NcLayers from '~icons/nc-icons/layers'
import NcUser from '~icons/nc-icons/user'
import NcUsers from '~icons/nc-icons/users' import NcUsers from '~icons/nc-icons/users'
import NcCheck from '~icons/nc-icons/check' import NcCheck from '~icons/nc-icons/check'
import NcIconsRowHeightMedium from '~icons/nc-icons/row-height-medium' import NcIconsRowHeightMedium from '~icons/nc-icons/row-height-medium'
@ -327,6 +328,7 @@ export const iconMap = {
accountCircle: h('span', { class: 'material-symbols' }, 'account_circle'), accountCircle: h('span', { class: 'material-symbols' }, 'account_circle'),
phUser: PhUser, phUser: PhUser,
phUsers: PhUsers, phUsers: PhUsers,
user: NcUser,
users: NcUsers, users: NcUsers,
cloudDownload: h('span', { class: 'material-symbols' }, 'cloud_download'), cloudDownload: h('span', { class: 'material-symbols' }, 'cloud_download'),
download: MsDownloadRounded, download: MsDownloadRounded,

Loading…
Cancel
Save