feat(projects): 添加侧边菜单

This commit is contained in:
Soybean
2022-01-11 08:22:31 +08:00
parent 371fad4f26
commit e25afe2fad
34 changed files with 1887 additions and 391 deletions

View File

@ -5,6 +5,17 @@
<menu-collapse v-if="showMenuCollape" />
<!-- <global-breadcrumb v-if="theme.header.crumb.visible" /> -->
</div>
<div
v-else
class="flex-1-hidden flex-y-center h-full"
:style="{ justifyContent: theme.menu.horizontalPosition }"
></div>
<div class="flex justify-end h-full">
<github-site />
<full-screen />
<theme-mode />
<user-avatar />
</div>
</dark-mode-container>
</template>
@ -13,7 +24,7 @@ import { DarkModeContainer } from '@/components';
import { useThemeStore } from '@/store';
import type { GlobalHeaderProps } from '@/interface';
import GlobalLogo from '../GlobalLogo/index.vue';
import { MenuCollapse } from './components';
import { MenuCollapse, GithubSite, FullScreen, ThemeMode, UserAvatar } from './components';
interface Props {
/** 显示logo */