Skip to content

Commit 8ea0e19

Browse files
Update email copy notification and CSS variable names
1 parent 47444b5 commit 8ea0e19

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

index.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@
1919
navigator.clipboard.writeText("r0hanmodi11111@gmail.com")
2020
.then(() => {
2121
return Swal.fire({
22-
title: "Email copied.",
23-
text: "Feel free to send me an email. I’ll respond as soon as possible.",
24-
icon: "success"
25-
background: "#ffffff",
26-
color: "#000000",
27-
confirmButtonColor: "#ffffff"
22+
title: "Email copied!",
23+
text: "Your email has been copied to clipboard.",
24+
icon: "success",
25+
confirmButtonText: "Dismiss",
26+
width: 600, padding: "3em",
27+
color: "#000000",
28+
background: "#ffffff"
2829
});
2930
})
3031
.catch(() => {
@@ -104,8 +105,8 @@ <h2>Achievements</h2>
104105
</script>
105106
<script>
106107
document.addEventListener("mousemove", (e) => {
107-
document.documentElement.style.setProperty("-x", `${e.clientX}px`);
108-
document.documentElement.style.setProperty("-y", `${e.clientY}px`);
108+
document.documentElement.style.setProperty("--x", `${e.clientX}px`);
109+
document.documentElement.style.setProperty("--y", `${e.clientY}px`);
109110
});
110111
</script>
111112
</body>

0 commit comments

Comments
 (0)