- Migrate from legacy .eslintrc.json to modern flat config system - Remove conflicting ESLint configuration files - Fix auto-generation of eslint.config.mjs by Nuxt - Update ESLint rules to use single quotes and proper formatting - Add comprehensive theme switching system with 24 palettes - Implement proper daisyUI theme integration - Add theme store with persistence and dark/light mode support - Create ThemeSwitcher component with enhanced UI - Fix package.json scripts to work with new ESLint flat config - Update VS Code settings for proper ESLint integration - Add changelogen scripts for proper changelog management BREAKING CHANGE: ESLint configuration migrated to flat config system
44 lines
972 B
Vue
44 lines
972 B
Vue
<template>
|
|
<div class="w-64 bg-base-200 p-4">
|
|
<ul class="menu">
|
|
<li>
|
|
<a
|
|
:class="{ active: currentRoute === 'dashboard' }"
|
|
@click="navigateToDashboard"
|
|
>
|
|
Dashboard
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a
|
|
:class="{ active: currentRoute === 'profile' }"
|
|
@click="navigateToProfile"
|
|
>
|
|
Profile
|
|
</a>
|
|
</li>
|
|
<li><a>Trading</a></li>
|
|
<li><a>Portfolio</a></li>
|
|
<li><a>Markets</a></li>
|
|
<li>
|
|
<a
|
|
:class="{ active: currentRoute === 'hunting-ground' }"
|
|
@click="navigateToHuntingGround"
|
|
>
|
|
Hunting Ground
|
|
</a>
|
|
</li>
|
|
<li><a>Analytics</a></li>
|
|
</ul>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
interface Props {
|
|
currentRoute: string;
|
|
}
|
|
|
|
const props = defineProps<Props>();
|
|
|
|
const { navigateToDashboard, navigateToProfile, navigateToHuntingGround } = useNavigation();
|
|
</script>
|