Skip to content

Commit

Permalink
Add share button
Browse files Browse the repository at this point in the history
  • Loading branch information
zk-phi committed Jul 10, 2024
1 parent 5eb39b2 commit 4b1e25b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/global/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ export default defineComponent({
donation() {
window.open("https://note.com/zk_phi/n/n3a199c99d6d6");
},
share() {
window.open("http://twitter.com/share?url=https://zk-phi.github.io/MEGAMOJI&text=カスタム絵文字メーカー%20MEGAMOJI&hashtags=メガ文字");
},
},
});
</script>
Expand All @@ -34,6 +37,10 @@ export default defineComponent({
</template>
開発室
</Button>
/
<Button type="text" @click="share">
Xでシェア
</Button>
</p>
<p class="p">
このページでは Cookie (アクセス数などの集計に Google Analytics、エラーの検知に Rollbar) を使用しています。
Expand Down

0 comments on commit 4b1e25b

Please sign in to comment.