public: update landing page

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-03-19 22:37:37 +01:00
parent b7513f24d5
commit 1b9edc6bd2
47 changed files with 509 additions and 4061 deletions

View File

@@ -84,3 +84,16 @@ Button.defaultProps = {
};
export { Button, buttonVariants };
export interface ALinkProps
extends React.AnchorHTMLAttributes<HTMLAnchorElement>,
VariantProps<typeof buttonVariants> {}
export const ALink = ({ variant, size, className, ...props }: ALinkProps) => {
return (
<a
{...props}
className={cn(buttonVariants({ variant, size, className }))}
/>
);
};