ruoyi-plus-vben5/packages/business/layouts/src/authentication/toolbar.vue

25 lines
521 B
Vue
Raw Normal View History

2024-05-19 21:20:42 +08:00
<script setup lang="ts">
2024-06-23 20:03:41 +08:00
import { LanguageToggle, ThemeToggle } from '@vben/widgets';
2024-05-19 21:20:42 +08:00
import {
AuthenticationColorToggle,
AuthenticationLayoutToggle,
2024-06-23 20:03:41 +08:00
} from './widgets';
2024-05-19 21:20:42 +08:00
defineOptions({
name: 'AuthenticationToolbar',
});
</script>
<template>
<div
2024-06-23 19:17:31 +08:00
class="flex-center bg-accent absolute right-2 top-4 rounded-3xl px-3 py-1"
2024-05-19 21:20:42 +08:00
>
<div class="hidden md:flex">
<AuthenticationColorToggle />
<AuthenticationLayoutToggle />
</div>
<LanguageToggle />
<ThemeToggle />
</div>
</template>