-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update team * add button to aws marketplace
- Loading branch information
1 parent
7ea8af6
commit e7be71c
Showing
4 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
components/Sections/Pricing/AwsMarketplaceButton/index.jsx
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,37 @@ | ||
import Link from 'next/link'; | ||
import Image from 'next/image'; | ||
import AwsMarketPlaceLogo from '../../../../public/images/aws-marketplace.svg'; | ||
import { useCallback } from 'react'; | ||
import * as analytics from '../../../../lib/analytics'; | ||
|
||
export const AwsMarketplaceButton = () => { | ||
const handleClick = useCallback((e) => { | ||
analytics.event({ | ||
action: 'awsMarketplaceButtonClicked', | ||
params: { | ||
buttonLocation: 'pricing-page', | ||
}, | ||
}); | ||
}, []); | ||
|
||
return ( | ||
<Link href={'https://aws.amazon.com/marketplace/pp/prodview-gplydokkf64js'}> | ||
<a | ||
onClick={handleClick} | ||
className="w-[340px] m-auto border border-1 border-white rounded flex justify-center items-center gap-2 text-white font-normal text-center rounded py-2 laptop:font-medium transition-all duration-300" | ||
target="_blank" | ||
> | ||
<div className="flex justify-center items-center gap-2 pb-2"> | ||
<div className="w-[9px] h-[9px] bg-success rounded" /> | ||
Available on | ||
</div> | ||
<Image | ||
width={152} | ||
height={27} | ||
src={AwsMarketPlaceLogo} | ||
alt={'AWS Marketplace'} | ||
/> | ||
</a> | ||
</Link> | ||
); | ||
}; |
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
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