Skip to content

Commit

Permalink
Merge pull request #241 from azavea/tt/add-request-access-link
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadain authored Sep 13, 2023
2 parents 4c6ba5e + 6f66ab3 commit 571e7a0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- Add management command to bulk import contributors [#238](https://github.com/azavea/iow-boundary-tool/pull/238)
- Add link to Google Form to request access [#241](https://github.com/azavea/iow-boundary-tool/pull/241)

### Changed

Expand Down
9 changes: 8 additions & 1 deletion src/app/src/pages/Login.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useEffect, useState } from 'react';
import { useDispatch, useSelector } from 'react-redux';
import { useLocation, useNavigate } from 'react-router-dom';
import { Box, Button, Input, Text, VStack } from '@chakra-ui/react';
import { Box, Button, Input, Link, Text, VStack } from '@chakra-ui/react';

import apiClient from '../api/client';
import { API_URLS, API_STATUSES, APP_URLS } from '../constants';
Expand Down Expand Up @@ -95,6 +95,13 @@ export default function Login() {
<Button variant='minimal' onClick={() => navigate('/forgot')}>
Forgot password?
</Button>
<Link
href='https://docs.google.com/forms/d/1k7g63ODqcUkyhj7Pg2CxN9i0_XXc6SxHY5eIQDohTPI'
variant='minimal'
isExternal
>
Request access
</Link>
</VStack>
</LoginForm>
);
Expand Down
12 changes: 12 additions & 0 deletions src/app/src/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,17 @@ const Input = {
},
};

const Link = {
variants: {
minimal: {
fontWeight: 400,
fontSize: 'sm',
textDecoration: 'underline',
color: 'gray.800',
},
},
};

const ListItem = {
baseStyle: {
fontFamily: `'Inter', san-serif`,
Expand Down Expand Up @@ -158,6 +169,7 @@ const theme = extendTheme({
Button,
Heading,
Input,
Link,
ListItem,
Tooltip,
Table,
Expand Down

0 comments on commit 571e7a0

Please sign in to comment.