Why We Replaced "mailto:" Links with a Contact Modal (and How We Built It)

Every business website has a "Contact us" button. Most of them do the same thing: slap a mailto: link on it and call it a day. We did too — until we realized how many potential clients we were losing because of it. Here's what we changed, why, and how you can do the same thing in Next.js with Tailwind CSS. The problem with mailto: links When someone clicks a mailto: link, the browser opens…