fosrl.pangolin/server/emails/templates/components/ButtonLink.tsx

25 lines
585 B
TypeScript
Raw Normal View History

import React from "react";
2025-01-04 20:22:01 -05:00
export default function ButtonLink({
href,
children,
className = ""
}: {
href: string;
children: React.ReactNode;
className?: string;
}) {
return (
<a
href={href}
2025-07-13 21:57:24 -07:00
className={`inline-block bg-primary hover:bg-primary/90 text-white font-semibold px-8 py-3 rounded-lg text-center no-underline transition-colors ${className}`}
style={{
backgroundColor: "#F97316",
textDecoration: "none"
}}
2025-01-04 20:22:01 -05:00
>
{children}
</a>
);
}