feat: layout

This commit is contained in:
Alisa | Side.one 2023-05-12 21:18:42 +08:00
parent efee84d0ea
commit d984bac2d4
3 changed files with 2 additions and 9 deletions

View File

@ -10,7 +10,6 @@ import UserProfile from '@/layouts/components/ChainProfile.vue';
import { useDashboard } from '@/stores/useDashboard';
// @layouts plugin
import NavBarI18n from './NavBarI18n.vue';
import NavBarNotifications from './NavBarNotifications.vue';
import NavBarWallet from './NavBarWallet.vue';

View File

@ -1,11 +1,10 @@
<script lang="ts" setup>
import NavBarI18n from '@core/components/I18n.vue';
import { useThemeConfig } from '@core/composable/useThemeConfig';
import type { I18nLanguage } from '@layouts/types';
const { isAppRtl } = useThemeConfig();
const i18nCompLanguages: I18nLanguage[] = [
const i18nCompLanguages: Array<{ label: string; i18nLang: string }> = [
{
label: 'English',
i18nLang: 'en',
@ -14,10 +13,6 @@ const i18nCompLanguages: I18nLanguage[] = [
label: '中文',
i18nLang: 'cn',
},
// {
// label: 'Arabic',
// i18nLang: 'ar',
// },
];
const handleLangChange = (lang: string) => {

View File

@ -1,7 +1,6 @@
<script setup lang="ts">
import type { ThemeSwitcherTheme } from '@layouts/types';
import NewThemeSwitcher from '@/components/ThemeSwitcher.vue';
const themes: ThemeSwitcherTheme[] = [
const themes: Array<{ name: string; icon: string }> = [
{
name: 'system',
icon: 'mdi-laptop',