Skip to content

Commit

Permalink
refactor: splash to tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Curtis committed Jul 28, 2024
1 parent 62604fe commit 4199a7c
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/components/Splash.jsx → src/components/Splash.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { PrimaryButton } from "./PrimaryButton";
import { SecondaryButton } from "./SecondaryButton";
import { TransitionDecorator } from "./decorators/TransitionDecorator";
import { ButtonAnimationDecorator } from "./decorators/ButtonAnimationDecorator";

import { Button, Stack } from "react-bootstrap";
import { Stack } from "react-bootstrap";

import { Link } from "react-router-dom";

Expand All @@ -29,15 +29,11 @@ export const Splash = () => {
</Link>
<Link to="/login">
<ButtonAnimationDecorator>
<Button
variant="secondary"
aria-label="sign-in-button"
className="w-100"
<SecondaryButton
ariaLabel="sign-in-button"
title="Sign in to an account."
style={{ color: "white" }}
>
Sign In
</Button>
content="Sign In"
/>
</ButtonAnimationDecorator>
</Link>
</Stack>
Expand Down

0 comments on commit 4199a7c

Please sign in to comment.