Skip to content

Commit

Permalink
chore: clean up contact links
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Won committed Sep 16, 2020
1 parent cb02792 commit 9b2dafd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pages/contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
Divider,
Link as ChakraLink,
} from '@chakra-ui/core';
import Reference from 'src/components/Reference';

export interface IContactProps {}

Expand Down Expand Up @@ -36,9 +37,9 @@ export default function Contact(props: IContactProps) {
{props.title}
</Heading>
<Divider width="10%" borderColor="black"></Divider>
<ChakraLink href={props.src} isExternal>
<Reference link={{ href: props.src, external: true }}>
{props.linkName ? props.linkName : props.src}
</ChakraLink>
</Reference>
</Flex>
);
}
Expand Down

0 comments on commit 9b2dafd

Please sign in to comment.