add download keys button to onboarding process

This commit is contained in:
Ren Amamiya
2023-07-19 07:57:25 +07:00
parent 12bfa2fca1
commit 6307e8d1e4
9 changed files with 75 additions and 39 deletions

View File

@@ -7,7 +7,7 @@ export function Button({
disabled = false,
onClick = undefined,
}: {
preset: 'small' | 'publish' | 'large';
preset: 'small' | 'publish' | 'large' | 'large-alt';
children: ReactNode;
disabled?: boolean;
onClick?: () => void;
@@ -26,6 +26,10 @@ export function Button({
preClass =
'h-11 w-full bg-fuchsia-500 rounded-md font-medium text-zinc-100 hover:bg-fuchsia-600';
break;
case 'large-alt':
preClass =
'h-11 w-full bg-zinc-800 rounded-md font-medium text-zinc-300 border-t border-zinc-700/50 hover:bg-zinc-900';
break;
default:
break;
}