diff --git a/app/contact/contact-link.tsx b/app/contact/contact-link.tsx index 00c870f..10151fb 100644 --- a/app/contact/contact-link.tsx +++ b/app/contact/contact-link.tsx @@ -41,19 +41,16 @@ export function ContactLink({ url, display, easterEgg }: ContactLinkProps) { const keyframes = generateRandomKeyframes() const css = `@keyframes ${animationId} { ${keyframes} }` - // Remove old style element if it exists if (styleRef.current) { styleRef.current.remove() } - // Create new style element each time styleRef.current = document.createElement("style") styleRef.current.textContent = css document.head.appendChild(styleRef.current) } return () => { - // Cleanup on unmount if (styleRef.current) { styleRef.current.remove() styleRef.current = null @@ -65,6 +62,7 @@ export function ContactLink({ url, display, easterEgg }: ContactLinkProps) {
setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} + className="min-h-[3rem]" >
$ @@ -78,51 +76,55 @@ export function ContactLink({ url, display, easterEgg }: ContactLinkProps) { {display}
- - {isHovered && easterEgg && ( - - - # - - + {easterEgg && ( + + {isHovered && ( + + - {easterEgg} - - - - - + # + + + {easterEgg} + + + + + + )} + )} - +
) } diff --git a/app/contact/page.tsx b/app/contact/page.tsx index 0574582..9abe199 100644 --- a/app/contact/page.tsx +++ b/app/contact/page.tsx @@ -7,7 +7,7 @@ const contactLinks = [ { url: "mailto:jakebodea@gmail.com", display: "jakebodea@gmail.com", - easterEgg: "no spam pls" + easterEgg: "pls no spam thanks" }, { url: "https://x.com/jakebodea", @@ -16,12 +16,12 @@ const contactLinks = [ { url: "https://www.linkedin.com/in/jakebodea/", display: "linkedin.com/in/jakebodea", - easterEgg: "unfortunately i still need this platform" + easterEgg: "unfortunately" }, { url: "https://github.com/jakebodea", display: "github.com/jakebodea", - easterEgg: "don't DM me here but check out my commit history map" + easterEgg: "check out my commit history map" } ]