|
|
@ -82,27 +82,32 @@ onMounted(() => { |
|
|
|
<NcMenuItem data-testid="nc-sidebar-user-logout" @click="logout"> |
|
|
|
<NcMenuItem data-testid="nc-sidebar-user-logout" @click="logout"> |
|
|
|
<GeneralLoader v-if="isLoggingOut" class="!ml-0.5 !mr-0.5 !max-h-4.5 !-mt-0.5" /> |
|
|
|
<GeneralLoader v-if="isLoggingOut" class="!ml-0.5 !mr-0.5 !max-h-4.5 !-mt-0.5" /> |
|
|
|
<GeneralIcon v-else icon="signout" class="menu-icon" /> |
|
|
|
<GeneralIcon v-else icon="signout" class="menu-icon" /> |
|
|
|
Log Out |
|
|
|
<span class="menu-btn"> Log Out </span> |
|
|
|
</NcMenuItem> |
|
|
|
</NcMenuItem> |
|
|
|
<NcDivider /> |
|
|
|
<NcDivider /> |
|
|
|
<a href="https://docs.nocodb.com" target="_blank" class="!underline-transparent"> |
|
|
|
<a href="https://docs.nocodb.com" target="_blank" class="!underline-transparent"> |
|
|
|
<NcMenuItem> |
|
|
|
<NcMenuItem> |
|
|
|
<GeneralIcon icon="help" class="menu-icon" /> |
|
|
|
<GeneralIcon icon="help" class="menu-icon mt-0.5" /> |
|
|
|
Help Center |
|
|
|
<span class="menu-btn"> Help Center </span> |
|
|
|
</NcMenuItem> |
|
|
|
</NcMenuItem> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<NcDivider /> |
|
|
|
<NcDivider /> |
|
|
|
<a href="https://discord.gg/5RgZmkW" target="_blank" class="!underline-transparent"> |
|
|
|
<a href="https://discord.gg/5RgZmkW" target="_blank" class="!underline-transparent"> |
|
|
|
<NcMenuItem class="social-icon-wrapper"> |
|
|
|
<NcMenuItem class="social-icon-wrapper"> |
|
|
|
<GeneralIcon class="social-icon" icon="discord" />Join our Discord |
|
|
|
<GeneralIcon class="social-icon" icon="discord" /> |
|
|
|
|
|
|
|
<span class="menu-btn"> Join our Discord </span> |
|
|
|
</NcMenuItem> |
|
|
|
</NcMenuItem> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<a href="https://www.reddit.com/r/NocoDB" target="_blank" class="!underline-transparent"> |
|
|
|
<a href="https://www.reddit.com/r/NocoDB" target="_blank" class="!underline-transparent"> |
|
|
|
<NcMenuItem class="social-icon-wrapper"> <GeneralIcon class="social-icon" icon="reddit" />/r/NocoDB </NcMenuItem> |
|
|
|
<NcMenuItem class="social-icon-wrapper"> |
|
|
|
|
|
|
|
<GeneralIcon class="social-icon" icon="reddit" /> |
|
|
|
|
|
|
|
<span class="menu-btn"> /r/NocoDB </span> |
|
|
|
|
|
|
|
</NcMenuItem> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<a href="https://twitter.com/nocodb" target="_blank" class="!underline-transparent"> |
|
|
|
<a href="https://twitter.com/nocodb" target="_blank" class="!underline-transparent"> |
|
|
|
<NcMenuItem class="social-icon-wrapper group"> |
|
|
|
<NcMenuItem class="social-icon-wrapper group"> |
|
|
|
<GeneralIcon class="text-gray-500 group-hover:text-gray-800" icon="twitter" />Twitter |
|
|
|
<GeneralIcon class="text-gray-500 group-hover:text-gray-800" icon="twitter" /> |
|
|
|
|
|
|
|
<span class="menu-btn"> Twitter </span> |
|
|
|
</NcMenuItem> |
|
|
|
</NcMenuItem> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<template v-if="!appInfo.ee"> |
|
|
|
<template v-if="!appInfo.ee"> |
|
|
@ -160,6 +165,9 @@ onMounted(() => { |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
|
|
|
|
.menu-btn { |
|
|
|
|
|
|
|
line-height: 1.5; |
|
|
|
|
|
|
|
} |
|
|
|
.menu-icon { |
|
|
|
.menu-icon { |
|
|
|
@apply !min-h-4.5; |
|
|
|
@apply !min-h-4.5; |
|
|
|
line-height: 1rem; |
|
|
|
line-height: 1rem; |
|
|
@ -171,6 +179,7 @@ onMounted(() => { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.social-icon { |
|
|
|
.social-icon { |
|
|
|
|
|
|
|
@apply my-0.5; |
|
|
|
// Make icon black and white |
|
|
|
// Make icon black and white |
|
|
|
filter: grayscale(100%); |
|
|
|
filter: grayscale(100%); |
|
|
|
|
|
|
|
|
|
|
|