-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: better mailto links with mailgo (#562)
* feat: better mailto links with mailgo resolves #556 * chore(deps): mailgo version 0.9.16 Co-authored-by: Damien Robinson <damien.robinson@xcommedia.com.au>
- Loading branch information
1 parent
7ba0227
commit 5bae934
Showing
4 changed files
with
76 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<template> | ||
<v-tooltip bottom> | ||
<template v-slot:activator="{ on, attrs }"> | ||
<v-btn | ||
target="_blank" | ||
v-bind="attrs" | ||
large | ||
text | ||
:href="href" | ||
rel="noopener" | ||
class="pl-0" | ||
v-on="on" | ||
> | ||
<font-awesome-icon v-if="icon" :icon="icon" fixed-width pull="left" /> | ||
<slot></slot> | ||
</v-btn> | ||
</template> | ||
<span>Reach out and contact with me now!</span> | ||
</v-tooltip> | ||
</template> | ||
|
||
<script> | ||
import mailgo from 'mailgo'; | ||
export default { | ||
props: { | ||
href: { type: String, required: true }, | ||
icon: { type: String, required: true }, | ||
}, | ||
created() { | ||
if (process.client) { | ||
mailgo(); | ||
} | ||
}, | ||
}; | ||
</script> | ||
|
||
<style></style> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5bae934
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: