project nearly finished. TODO Next : Project page and refine some text

This commit is contained in:
2023-05-29 19:50:07 +02:00
parent 3be7a4adfd
commit ff3ea2cdcd
62 changed files with 6197 additions and 1313 deletions

25
src/stores/menu.js Normal file
View File

@@ -0,0 +1,25 @@
import { defineStore } from 'pinia'
export const useMenuStore = defineStore('menu', {
state: () => ({
whoAmI: true,
technologies: false,
projects: false,
networks: false,
contact: false,
}),
actions:
{
selected(event){
this.whoAmI = false
this.technologies = false
this.projects = false
this.networks = false
this.contact = false
this[event.currentTarget.dataset.name] = true
},
}
})