Skip to content

Commit

Permalink
added link instead of button
Browse files Browse the repository at this point in the history
  • Loading branch information
agnieszkajarosikloj committed Feb 8, 2023
1 parent 9e6e6d4 commit c816447
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@

.verifyButton {
composes: themePrimary main from '~core/Button/Button.css';
display: flex;
justify-content: center;
align-items: center;
padding: 0;
height: 44px;
width: 160px;
font-size: var(--size-normal);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import React from 'react';
import { defineMessages, FormattedMessage } from 'react-intl';

import Button from '~core/Button';
import Link from '~core/Link';
import { Stages } from '~pages/IncorporationPage/constants';
import { LANDING_PAGE_ROUTE } from '~routes/routeConstants';

import styles from './InfoBanner.css';

Expand Down Expand Up @@ -56,7 +57,11 @@ const InfoBanner = ({ activeStageId }: Props) => {
</div>
{activeStageId === Stages.Complete && (
<div className={styles.buttonsWrapper}>
<Button text={MSG.buttonText} className={styles.verifyButton} />
<Link
to={LANDING_PAGE_ROUTE}
text={MSG.buttonText}
className={styles.verifyButton}
/>
</div>
)}
</div>
Expand Down

0 comments on commit c816447

Please sign in to comment.