diff --git a/src/components/header/MobileNavBar.vue b/src/components/header/MobileNavBar.vue index a73d0c3..3432091 100644 --- a/src/components/header/MobileNavBar.vue +++ b/src/components/header/MobileNavBar.vue @@ -1,15 +1,23 @@ @@ -20,11 +28,11 @@ function isRoute(path: string) { color="primary" size="sm" icon="i-ph-list-bold" - @click="isOpen = true" + @click="isOpenSidebar = true" /> - + @@ -33,23 +41,32 @@ function isRoute(path: string) { size="md" icon="i-ic-round-close" :ui="{ rounded: 'rounded-full' }" - @click.prevent="isOpen = false" + @click.prevent="isOpenSidebar = false" /> - - {{ nav.label }} - + + + + @@ -57,5 +74,59 @@ function isRoute(path: string) { + + + + + + Contact me + + + + + + + + Email + + + arthurdanjou@outlook.fr + + + + + + + + + + + + + + + Get in touch + + + I'm most active on Twitter + + + + + + + + + + + + + diff --git a/src/components/header/NavBar.vue b/src/components/header/NavBar.vue index 03fa1a8..a02d3f9 100644 --- a/src/components/header/NavBar.vue +++ b/src/components/header/NavBar.vue @@ -2,6 +2,9 @@ import { otherTab } from '~~/types' const route = useRoute() +const isOpenModal = ref(false) + +const { copy, copied } = useClipboard({ source: 'arthurdanjou@outlook.fr', copiedDuring: 3000 }) @@ -27,10 +30,64 @@ const route = useRoute() Other - + Contact + + + + + + Contact me + + + + + + + + Email + + + arthurdanjou@outlook.fr + + + + + + + + + + + + + + + Get in touch + + + I'm most active on Twitter + + + + + + + + + + + + + diff --git a/types.ts b/types.ts index f0c5445..e19baaa 100644 --- a/types.ts +++ b/types.ts @@ -144,7 +144,7 @@ export const navs = [ ...otherTab, { label: 'Contact', - to: '/contact', + open: true, icon: 'i-ph-push-pin-bold', }, ].flat()
+ arthurdanjou@outlook.fr +
+ I'm most active on Twitter +