Skip to content

Commit

Permalink
Implement contct dialog for hire me button in profile page
Browse files Browse the repository at this point in the history
  • Loading branch information
arbisyarifudin committed Mar 13, 2024
1 parent ed071d3 commit cff9f9d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pages/profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<div class="d-flex mt-4">
<a download href="/documents/Resume - Arbi Syarifudin (EN).pdf" class="btn btn-outline-primary"><i class="bi bi-download me-2"></i>
Download CV</a>
<button href="#" class="btn btn-primary ms-3"><i class="bi bi-envelope me-2"></i>
<button @click="openContactDialog" class="btn btn-primary ms-3"><i class="bi bi-envelope me-2"></i>
Hire Me</button>
</div>

Expand Down Expand Up @@ -179,6 +179,11 @@ useHead({
]
})
const openContactDialog = () => {
const contactDialog = new bootstrap.Modal(document.getElementById('contactDialog'), { keyboard: false })
contactDialog.show()
}
</script>

<style lang="scss" scoped>
Expand Down

0 comments on commit cff9f9d

Please sign in to comment.