-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #452 from developmentseed/add/privacy-policy
Add footer and privacy policy page
- Loading branch information
Showing
3 changed files
with
466 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import { Box, Container, Flex, Text } from '@chakra-ui/react' | ||
|
||
import NavLink from '../components/Link' | ||
|
||
const Links = [ | ||
{ url: '/about', name: 'About' }, | ||
{ url: '/guide', name: 'User guide' }, | ||
{ url: '/developers', name: 'Developers' }, | ||
{ url: '/privacy', name: 'Privacy Policy' }, | ||
] | ||
|
||
export default function PageFooter() { | ||
return ( | ||
<Box bg='brand.700' color='white' as='footer'> | ||
<Container | ||
color='white' | ||
maxW='container.xl' | ||
position='relative' | ||
display='flex' | ||
justifyContent={['center', null, 'space-between']} | ||
flexDirection={['column', null, 'row']} | ||
> | ||
<Flex | ||
as='nav' | ||
alignItems={'center'} | ||
gap={[0, null, 8]} | ||
flexDirection={['column', null, 'row']} | ||
> | ||
<Text color='white' fontSize='xs' fontFamily='mono'> | ||
osm_teams | ||
</Text> | ||
{Links.map((link) => ( | ||
<NavLink key={link.url} href={link.url} passHref color='white'> | ||
<Text color='white' fontSize='xs' textTransform='uppercase'> | ||
{link.name} | ||
</Text> | ||
</NavLink> | ||
))} | ||
</Flex> | ||
<Text | ||
color='white' | ||
fontSize='xs' | ||
fontFamily='mono' | ||
lineHeight='2rem' | ||
textAlign='center' | ||
> | ||
<a href='https://developmentseed.org' style={{ color: 'white' }}> | ||
© Development Seed {new Date().getFullYear()} | ||
</a> | ||
</Text> | ||
</Container> | ||
</Box> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.