Modify contact buttons

This commit is contained in:
mitchell 2024-06-22 01:06:50 -04:00
parent f56da3602e
commit 9aaafff796
1 changed files with 0 additions and 14 deletions

View File

@ -3,9 +3,7 @@ import { VPButton } from "vitepress/theme";
import { useClipboard } from "@vueuse/core";
const email = "m@mjfs.us";
const phone = "+19498727279";
const discord = "zettam";
const formattedPhone = "+1 (949) 872 7279";
const formattedDiscord = "zettam on Discord";
const discordLink = "https://discord.com/users/145338365133193226/";
@ -22,12 +20,6 @@ const copiedMsg = (text: string) => `Copied ${text} to clipboard`;
:text="text === email ? copiedMsg(email) : 'E-mail'"
@click="copy(email)"
/>
<VPButton
theme="alt"
class="button"
:text="text === phone ? copiedMsg(phone) : 'Phone'"
@click="copy(phone)"
/>
<VPButton
theme="alt"
class="button"
@ -42,12 +34,6 @@ const copiedMsg = (text: string) => `Copied ${text} to clipboard`;
:href="`mailto:${email}`"
:text="email"
/>
<VPButton
theme="alt"
class="button"
:href="`tel:${phone}`"
:text="formattedPhone"
/>
<VPButton
theme="alt"
class="button"