Skip to content

Commit

Permalink
fix: Use blue footer links in modal
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Feb 3, 2020
1 parent de2bd8a commit 3906d3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/react/components/link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ interface LinkProps extends BoxProps {
_hover?: BoxProps;
}

const Link: React.FC<LinkProps> = ({ _hover = {}, children, ...rest }) => (
export const Link: React.FC<LinkProps> = ({ _hover = {}, children, ...rest }) => (
<Box {...rest}>
<Text _hover={{ textDecoration: 'underline', cursor: 'pointer', ..._hover }} fontWeight="medium">
<Text _hover={{ textDecoration: 'underline', cursor: 'pointer', ..._hover }} textStyle="caption.medium">
{children}
</Text>
</Box>
);

export { Link };
2 changes: 2 additions & 0 deletions src/react/components/screens/intro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export const Intro = () => {
<ScreenFooter>
<Stack spacing={4} isInline>
<Link
color="blue.900"
onClick={() => {
doStartAuth();
// eslint-disable-next-line @typescript-eslint/no-floating-promises
Expand All @@ -98,6 +99,7 @@ export const Intro = () => {
Sign in to Data Vault
</Link>
<Link
color="blue.900"
onClick={() => {
doGoToHowItWorksScreen();
}}
Expand Down

0 comments on commit 3906d3f

Please sign in to comment.