Commit 49c2f9df authored by tom's avatar tom

support link and login route

parent 5dfa127d
...@@ -39,6 +39,7 @@ frontend: ...@@ -39,6 +39,7 @@ frontend:
- "/csv-export" - "/csv-export"
- "/verified-contracts" - "/verified-contracts"
- "/graphiql" - "/graphiql"
- "/login"
resources: resources:
limits: limits:
......
...@@ -104,7 +104,7 @@ const AddressVerificationStepAddress = ({ onContinue }: Props) => { ...@@ -104,7 +104,7 @@ const AddressVerificationStepAddress = ({ onContinue }: Props) => {
</Button> </Button>
<Box> <Box>
<span>Contact </span> <span>Contact </span>
<Link>support@blockscout.com</Link> <Link href="mailto:help@blockscout.com">help@blockscout.com</Link>
</Box> </Box>
</Flex> </Flex>
</form> </form>
......
...@@ -133,7 +133,7 @@ const AddressVerificationStepSignature = ({ address, signingMessage, contractCre ...@@ -133,7 +133,7 @@ const AddressVerificationStepSignature = ({ address, signingMessage, contractCre
); );
})(); })();
const contactUsLink = <Link>contact us</Link>; const contactUsLink = <span>contact us <Link href="mailto:help@blockscout.com">help@blockscout.com</Link></span>;
const rootError = (() => { const rootError = (() => {
switch (formState.errors.root?.type) { switch (formState.errors.root?.type) {
...@@ -215,6 +215,10 @@ const AddressVerificationStepSignature = ({ address, signingMessage, contractCre ...@@ -215,6 +215,10 @@ const AddressVerificationStepSignature = ({ address, signingMessage, contractCre
</Flex> </Flex>
<Flex alignItems="center" mt={ 8 } columnGap={ 5 }> <Flex alignItems="center" mt={ 8 } columnGap={ 5 }>
{ button } { button }
<Box>
<span>Contact </span>
<Link href="mailto:help@blockscout.com">help@blockscout.com</Link>
</Box>
</Flex> </Flex>
</form> </form>
); );
......
import { OrderedList, ListItem, chakra, Button, useDisclosure, Show, Hide, Skeleton, Box } from '@chakra-ui/react'; import { OrderedList, ListItem, chakra, Button, useDisclosure, Show, Hide, Skeleton, Box, Link } from '@chakra-ui/react';
import { useQueryClient } from '@tanstack/react-query'; import { useQueryClient } from '@tanstack/react-query';
import React from 'react'; import React from 'react';
...@@ -171,6 +171,11 @@ const VerifiedAddresses = () => { ...@@ -171,6 +171,11 @@ const VerifiedAddresses = () => {
<chakra.div mt={ 5 }> <chakra.div mt={ 5 }>
Once these steps are complete, click the Add address button below to get started. Once these steps are complete, click the Add address button below to get started.
</chakra.div> </chakra.div>
<chakra.div>
<span>Need help? Contact admin team at </span>
<Link href="mailto:help@blockscout.com">help@blockscout.com</Link>
<span> for assistance!</span>
</chakra.div>
</AccountPageDescription> </AccountPageDescription>
<DataListDisplay <DataListDisplay
isLoading={ addressesQuery.isLoading || applicationsQuery.isLoading } isLoading={ addressesQuery.isLoading || applicationsQuery.isLoading }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment