MeetUp/src/components/user/redirect-button.tsx
SomeCodecat 4f4e73318a feat(ui): Improve login card design and theme customization
Refactor the `Button` component, add new `LoginCard` component, update `ThemePicker` component, edit global CSS styles to include card background and foreground and style the login page, including the logo and login form.
2025-06-05 17:22:45 +02:00

16 lines
290 B
TypeScript

import { Button } from '../custom-ui/button';
import Link from 'next/link';
export function RedirectButton({
redirectUrl,
buttonText,
}: {
redirectUrl: string;
buttonText: string;
}) {
return (
<Link href={redirectUrl}>
<Button>{buttonText}</Button>
</Link>
);
}