-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui) Show Acryl information with button and banner behind flag (#…
- Loading branch information
1 parent
08d4e90
commit c051ea0
Showing
12 changed files
with
104 additions
and
2 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 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
22 changes: 22 additions & 0 deletions
22
datahub-web-react/src/app/entity/shared/components/styled/DemoButton.tsx
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,22 @@ | ||
import { Button } from 'antd'; | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
const StyledButton = styled(Button)` | ||
padding: 8px; | ||
font-size: 14px; | ||
margin-left: 18px; | ||
`; | ||
|
||
export default function DemoButton() { | ||
return ( | ||
<StyledButton | ||
type="primary" | ||
href="https://www.acryldata.io/datahub-sign-up" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Schedule a Demo | ||
</StyledButton> | ||
); | ||
} |
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,56 @@ | ||
import Link from 'antd/lib/typography/Link'; | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
import AcrylLogo from '../../images/acryl-light-mark.svg'; | ||
|
||
const BannerWrapper = styled.div` | ||
padding: 12px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
color: #262626; | ||
background-color: #e6f4ff; | ||
width: 100%; | ||
margin-bottom: 24px; | ||
`; | ||
|
||
const Logo = styled.img` | ||
margin-right: 12px; | ||
height: 40px; | ||
width: 40px; | ||
`; | ||
|
||
const TextWrapper = styled.div` | ||
font-size: 14px; | ||
`; | ||
|
||
const Title = styled.div` | ||
font-weight: 700; | ||
`; | ||
|
||
const StyledLink = styled(Link)` | ||
color: #1890ff; | ||
font-weight: 700; | ||
`; | ||
|
||
export default function AcrylDemoBanner() { | ||
return ( | ||
<BannerWrapper> | ||
<Logo src={AcrylLogo} /> | ||
<TextWrapper> | ||
<Title>Schedule a Demo of Managed Datahub</Title> | ||
<span> | ||
DataHub is already the industries #1 Open Source Data Catalog.{' '} | ||
<StyledLink | ||
href="https://www.acryldata.io/datahub-sign-up" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Schedule a demo | ||
</StyledLink>{' '} | ||
of Acryl DataHub to see the advanced features that take it to the next level! | ||
</span> | ||
</TextWrapper> | ||
</BannerWrapper> | ||
); | ||
} |
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
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 |
---|---|---|
|
@@ -54,6 +54,7 @@ query appConfig { | |
readOnlyModeEnabled | ||
showSearchFiltersV2 | ||
showBrowseV2 | ||
showAcrylInfo | ||
} | ||
} | ||
} | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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