initial setup, ztdl-login, core

This commit is contained in:
Max Peintner
2023-04-03 13:39:51 +02:00
parent c1c9ccbf03
commit f9299ad990
100 changed files with 126387 additions and 81 deletions

View File

@@ -0,0 +1,20 @@
import { ArrowRightIcon } from '@heroicons/react/24/solid';
export const ExternalLink = ({
children,
href,
}: {
children: React.ReactNode;
href: string;
}) => {
return (
<a
href={href}
className="inline-flex space-x-2 rounded-lg bg-gray-700 px-3 py-1 text-sm font-medium text-gray-100 hover:bg-gray-500 hover:text-white"
>
<div>{children}</div>
<ArrowRightIcon className="block w-4" />
</a>
);
};