minor changes / cleanup

This commit is contained in:
2023-12-12 00:11:24 +01:00
parent f1de0d54ac
commit 6275b083db
10 changed files with 2301 additions and 5912 deletions
+27
View File
@@ -0,0 +1,27 @@
import { Button } from '@nextui-org/react'
export const PdfButton: React.FC<{ label: string; link: string }> = ({
label,
link,
}) => (
<Button
isDisabled={!link}
className='w-24 mt-3 text-sm bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-2'
onClick={link ? () => window.open(link) : () => {}}
>
{label}
</Button>
)
export const ZipButton: React.FC<{ label: string; link: string }> = ({
label,
link,
}) => (
<Button
isDisabled={!link}
className='w-24 mt-3 text-sm bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-2'
onClick={link ? () => window.open(link) : () => {}}
>
{label}
</Button>
)