would certainly be helpful if it copied the email

This commit is contained in:
2024-07-20 14:46:50 -04:00
parent e2108f3df3
commit a151e2e0ab
3 changed files with 7 additions and 4 deletions
+4 -1
View File
@@ -21,7 +21,10 @@ export default function Footer() {
Copied!
</p>
) : (
<button onClick={() => setMailState(true)} className="hover:underline">alex@alexav.gg</button>
<button onClick={() => {
setMailState(true)
navigator.clipboard.writeText("alex@alexav.gg")
}} className="hover:underline">alex@alexav.gg</button>
)
}
+1 -1
View File
@@ -53,7 +53,7 @@ export default function RecentWatch() {
return (
<a href={data?.id ? "https://watch.alexav.gg/?id=" + data?.id : "#"} target="_blank">
<div className="bg-white text-black p-4">
<div className="bg-white text-black p-4 max-w-fit">
{
loading ? (
<h1>Loading..</h1>