Skip to content

Commit

Permalink
Add copy to clipboard button next to the pricing calculator section t…
Browse files Browse the repository at this point in the history
…itle
  • Loading branch information
Breno committed Oct 9, 2024
1 parent af2c52e commit dce3bf4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/PricingPage/SectionThree/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';
import clsx from 'clsx';
import { defaultWrapperDark } from '../../../globalStyles/wrappers.module.less';
import { PricingCalculator } from '../../PricingCalculator';
import CopyToClipboardButton from '../../CopyToClipboardButton';
import {
container,
title,
Expand All @@ -19,7 +20,10 @@ const SectionThree = () => {
>
<div className={container}>
<div className={textWrapper}>
<h2 className={title}>PRICING CALCULATOR</h2>
<div>
<h2 className={title}>PRICING CALCULATOR</h2>
<CopyToClipboardButton contentToCopy="https://www.estuary.dev/pricing/#pricing-calculator" />
</div>
<p className={description}>
Use our intuitive pricing calculator to easily estimate
your monthly costs. Simply input your requirements, and
Expand Down
6 changes: 6 additions & 0 deletions src/components/PricingPage/SectionThree/styles.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
@media (max-width: 1024px) {
text-align: center;
}

div:first-child {
display: flex;
align-items: center;
gap: 18px;
}
}

.title {
Expand Down

0 comments on commit dce3bf4

Please sign in to comment.