Browse Source

chore(gui-v2): add transitions

pull/3109/head
braks 2 years ago
parent
commit
8e8ba31000
  1. 4
      packages/nc-gui-v2/layouts/base.vue

4
packages/nc-gui-v2/layouts/base.vue

@ -19,6 +19,7 @@ const logout = () => {
<div id="nc-sidebar-left" />
<a-layout class="!flex-col">
<Transition name="layout">
<a-layout-header v-if="signedIn" class="flex !bg-primary items-center text-white pl-4 pr-5 shadow-lg">
<div
v-if="route.name === 'index' || route.name === 'project-index-create' || route.name === 'project-index-create-external'"
@ -76,13 +77,16 @@ const logout = () => {
</a-dropdown>
</template>
</a-layout-header>
</Transition>
<a-tooltip>
<template #title> Switch language </template>
<Transition name="layout">
<div v-if="!signedIn" class="nc-lang-btn">
<GeneralLanguage />
</div>
</Transition>
</a-tooltip>
<div class="w-full h-full overflow-hidden">

Loading…
Cancel
Save