mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-30 23:55:49 +02:00
major ui tweaks and refactoring
This commit is contained in:
parent
51bf5c1408
commit
64158a823b
91 changed files with 1791 additions and 1246 deletions
18
server/emails/templates/components/ButtonLink.tsx
Normal file
18
server/emails/templates/components/ButtonLink.tsx
Normal file
|
@ -0,0 +1,18 @@
|
|||
export default function ButtonLink({
|
||||
href,
|
||||
children,
|
||||
className = ""
|
||||
}: {
|
||||
href: string;
|
||||
children: React.ReactNode;
|
||||
className?: string;
|
||||
}) {
|
||||
return (
|
||||
<a
|
||||
href={href}
|
||||
className={`rounded-full bg-primary px-4 py-2 text-center font-semibold text-white text-xl no-underline inline-block ${className}`}
|
||||
>
|
||||
{children}
|
||||
</a>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue