[FEAT] Add new project modal
This commit is contained in:
@@ -27,6 +27,9 @@
|
||||
<button @click="$emit('open-save-modal')" class="w-8 h-8 rounded-lg flex items-center justify-center text-gray-500 hover:text-indigo-600 hover:bg-indigo-50 dark:hover:bg-indigo-900/30 transition-all" title="Save Project">
|
||||
<i class="fas fa-save"></i>
|
||||
</button>
|
||||
<button @click="$emit('open-new-project-modal')" class="w-8 h-8 rounded-lg flex items-center justify-center text-gray-500 hover:text-indigo-600 hover:bg-indigo-50 dark:hover:bg-indigo-900/30 transition-all" title="New Project">
|
||||
<i class="fas fa-plus"></i>
|
||||
</button>
|
||||
<button @click="$emit('open-project-list')" class="w-8 h-8 rounded-lg flex items-center justify-center text-gray-500 hover:text-indigo-600 hover:bg-indigo-50 dark:hover:bg-indigo-900/30 transition-all" title="My Projects">
|
||||
<i class="fas fa-folder-open"></i>
|
||||
</button>
|
||||
@@ -37,7 +40,7 @@
|
||||
<script setup lang="ts">
|
||||
import { useProjectStore } from '@/stores/useProjectStore';
|
||||
|
||||
defineEmits(['open-save-modal', 'open-project-list']);
|
||||
defineEmits(['open-save-modal', 'open-project-list', 'open-new-project-modal']);
|
||||
|
||||
const projectStore = useProjectStore();
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user