Skip to content

Commit e64eff1

Browse files
Add link to email in contact text
1 parent 9dada86 commit e64eff1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

components/contact.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { Box, Flex, Text } from "@chakra-ui/layout";
22
import { Button, IconButton } from "@chakra-ui/button";
33
import { Heading, useMediaQuery, useColorMode } from "@chakra-ui/react";
44
import { Icon } from "@chakra-ui/icon";
5+
import { MdEmail } from "react-icons/md";
56
import { GoMarkGithub } from "react-icons/go";
67
import { GrInstagram, GrLinkedin, GrYoutube } from "react-icons/gr";
78
import { SiDiscord, SiGoogledrive } from "react-icons/si";
@@ -40,6 +41,7 @@ const github = "vikelabs";
4041
const linkedin = "vikelabs";
4142
const instagram = "vikelabs";
4243
const youtube = "https://www.youtube.com/channel/UCKAAXo4bqb034PZYR6ZhpQw";
44+
const email = "vikelabs@gmail.com";
4345

4446
interface ContactProps {
4547
discordButtonProps?: {
@@ -69,6 +71,16 @@ export const Contact: React.FC<ContactProps> = ({ discordButtonProps }) => {
6971
</Text>
7072
)}
7173
<Box>
74+
<IconButton
75+
as={"a"}
76+
href={`mailto:${email}`}
77+
target="_blank"
78+
icon={<Icon as={MdEmail} color={iconColor} boxSize="2rem" />}
79+
isRound
80+
aria-label="vikelabs email"
81+
variant="unstyled"
82+
mr="2"
83+
/>
7284
<IconButton
7385
as={"a"}
7486
href={`https://github.com/${github}`}

0 commit comments

Comments
 (0)