-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:centrifuge/apps into default-provider
- Loading branch information
Showing
82 changed files
with
774 additions
and
954 deletions.
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
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
This file was deleted.
Oops, something went wrong.
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
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
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
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 |
---|---|---|
@@ -1,38 +1,37 @@ | ||
import { Stack, Text } from '@centrifuge/fabric' | ||
import * as React from 'react' | ||
import styled, { useTheme } from 'styled-components' | ||
import styled from 'styled-components' | ||
import { InvestmentDisclaimerDialog } from './Dialogs/InvestmentDisclaimerDialog' | ||
|
||
export const Footer = () => { | ||
const theme = useTheme() | ||
const [isDialogOpen, setIsDialogOpen] = React.useState(false) | ||
|
||
return ( | ||
<> | ||
<InvestmentDisclaimerDialog open={isDialogOpen} onClose={() => setIsDialogOpen(false)} /> | ||
<Stack as="footer" px={2} py="12px" gap={1} width="100%" background={theme.colors.backgroundPrimary}> | ||
<Stack as="footer" gap={1} width="100%"> | ||
<UnstyledLink href="mailto:[email protected]"> | ||
<Text textOverflow="ellipsis" variant="body4"> | ||
<Text textOverflow="ellipsis" variant="body4" color="textInverted"> | ||
Need help? | ||
</Text> | ||
</UnstyledLink> | ||
<UnstyledLink href="https://docs.centrifuge.io/"> | ||
<Text textOverflow="ellipsis" variant="body4"> | ||
<Text textOverflow="ellipsis" variant="body4" color="textInverted"> | ||
Documentation | ||
</Text> | ||
</UnstyledLink> | ||
<UntyledButton onClick={() => setIsDialogOpen(true)}> | ||
<Text textOverflow="ellipsis" variant="body4"> | ||
<Text textOverflow="ellipsis" variant="body4" color="textInverted"> | ||
Investment disclaimer | ||
</Text> | ||
</UntyledButton> | ||
<UnstyledLink target="_blank" href="https://centrifuge.io/data-privacy-policy/"> | ||
<Text textOverflow="ellipsis" variant="body4"> | ||
<Text textOverflow="ellipsis" variant="body4" color="textInverted"> | ||
Data privacy policy | ||
</Text> | ||
</UnstyledLink> | ||
<UnstyledLink target="_blank" href="https://centrifuge.io/imprint/"> | ||
<Text textOverflow="ellipsis" variant="body4"> | ||
<Text textOverflow="ellipsis" variant="body4" color="textInverted"> | ||
Imprint | ||
</Text> | ||
</UnstyledLink> | ||
|
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
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.