{ v-if="project.favorite" name="i-ph-star-duotone" size="16" - class="text-amber-500 hover:rotate-360 duration-300" + class="text-amber-500 hover:rotate-360 duration-500" /> diff --git a/app/pages/writings/index.vue b/app/pages/writings/index.vue index c0d203b..ca73052 100644 --- a/app/pages/writings/index.vue +++ b/app/pages/writings/index.vue @@ -47,7 +47,7 @@ const groupedWritings = computed(() => { :to="writing.path" > +} + +export const navs: Array = [ + { + label: { + en: 'home', + fr: 'accueil', + es: 'inicio', + }, + to: '/', + icon: 'house-duotone', + }, + { + label: { + en: 'uses', + fr: 'usages', + es: 'usos', + }, + to: '/uses', + icon: 'backpack-duotone', + }, + { + label: { + en: 'writings', + fr: 'écrits', + es: 'escritos', + }, + to: '/writings', + icon: 'books-duotone', + }, + { + label: { + en: 'projects', + fr: 'projets', + es: 'proyectos', + }, + to: '/projects', + icon: 'code-duotone', + }, + { + label: { + en: 'resume', + fr: 'cv', + es: 'currículum', + }, + icon: 'address-book-duotone', + to: 'https://files.arthurdanjou.fr/s/resume', + target: '_blank', + }, +] + +export const navColors: Array = [ + { + label: '/', + colors: [{ + color: '#f59e0b', + x: 20, + y: 80, + }, { + color: '#ec4899', + x: 80, + y: 20, + }], + }, + { + label: '/uses', + colors: [{ + color: '#ec4899', + x: 20, + y: 80, + }, { + color: '#f59e0b', + x: 80, + y: 20, + }], + }, + { + label: '/writings', + colors: [{ + color: '#3b82f6', + x: 20, + y: 80, + }, { + color: '#ec4899', + x: 80, + y: 20, + }], + }, + { + label: '/projects', + colors: [{ + color: '#8b5cf6', + x: 20, + y: 80, + }, { + color: '#3b82f6', + x: 80, + y: 20, + }], + }, +]