Skip to content

Commit

Permalink
add connect button
Browse files Browse the repository at this point in the history
  • Loading branch information
rohittp0 committed Oct 4, 2023
1 parent a2c0646 commit 703671d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions apps/web/views/profile/components/ProfileBar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Heading, Button, Box, Flex, Text, Icon } from '@chakra-ui/react';
import { MdOutlineContentCopy, MdOutlineCancel } from 'react-icons/md';
import { Box, Button, Flex, Heading, Icon, Text } from '@chakra-ui/react';
import { MdOutlineCancel, MdOutlineContentCopy } from 'react-icons/md';
import { BiArrowBack } from 'react-icons/bi';
import { FiEdit } from 'react-icons/fi';
import { AiOutlineSave } from 'react-icons/ai';
Expand Down Expand Up @@ -124,6 +124,17 @@ export const ProfileBar = ({
Save
</Button>
)}
<Button
p="5"
colorScheme="blue"
backgroundColor="rgba(0, 0, 0, 1)"
alignSelf="center"
onClick={() => router.push(`https://tinkerhub.org/foss_team?id=${id}`)}
_hover={{ cursor: 'pointer', bg: '#0F0F0F' }}
color="white"
>
Connect GitHub
</Button>
</Flex>
</Box>
);
Expand Down

0 comments on commit 703671d

Please sign in to comment.