feat: layout
This commit is contained in:
parent
efee84d0ea
commit
d984bac2d4
@ -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';
|
||||
|
@ -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) => {
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user