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.
16 lines
290 B
TypeScript
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>
|
|
);
|
|
}
|