This repository was archived by the owner on Sep 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-20
lines changed
Expand file tree Collapse file tree 2 files changed +3
-20
lines changed Original file line number Diff line number Diff line change @@ -67,20 +67,3 @@ export const ProIcon = ({ className }: { className?: string }): ReactElement =>
6767 />
6868 </ svg >
6969)
70-
71- export const ProIconSquashed = ( { className } : { className ?: string } ) : ReactElement => (
72- < svg xmlns = "http://www.w3.org/2000/svg" viewBox = "0 0 15 15" width = { 15 } height = { 15 } className = { className } >
73- < path
74- fill = "#fff"
75- fillOpacity = ".46"
76- d = "M10.9 9.11a.52.52 0 0 1-.4.2.53.53 0 0 1-.42-.2c-.1-.12-.2-.3-.25-.52a3.1 3.1 0 0 1-.08-.75c0-.28.03-.53.08-.75.06-.22.14-.4.25-.53a.55.55 0 0 1 .42-.19c.16 0 .3.07.4.2.11.12.2.3.25.52a3.02 3.02 0 0 1 0 1.5c-.05.22-.14.4-.25.52ZM4.24 7.06h.68a.8.8 0 0 0 .48-.13 1 1 0 0 0 .28-.38 1.66 1.66 0 0 0 0-1.13.78.78 0 0 0-.28-.37.8.8 0 0 0-.48-.14h-.68v2.15Z"
77- />
78- < path
79- fill = "#fff"
80- fillOpacity = ".46"
81- fillRule = "evenodd"
82- d = "M2.92.21C1.6.21.53 1.68.53 3.48v7.47c0 1.8 1.07 3.26 2.4 3.26h9.21c1.32 0 2.4-1.46 2.4-3.26V3.48c0-1.8-1.08-3.27-2.4-3.27H2.92Zm6.64 9.82c.27.2.57.31.93.31.36 0 .67-.1.93-.3a2 2 0 0 0 .6-.88c.14-.38.21-.82.21-1.31 0-.5-.07-.94-.2-1.31a1.97 1.97 0 0 0-.61-.88 1.43 1.43 0 0 0-.93-.31c-.36 0-.66.1-.93.31-.2.17-.37.38-.5.65v-.92a1.1 1.1 0 0 0-.3-.05.7.7 0 0 0-.53.24 1.4 1.4 0 0 0-.33.68h-.03V5.4h-.95v4.84h.98V7.5c0-.2.03-.37.1-.52a.86.86 0 0 1 .26-.35.62.62 0 0 1 .39-.13 1.27 1.27 0 0 1 .3.04c-.13.37-.2.8-.2 1.3s.07.93.21 1.3a2 2 0 0 0 .6.88ZM3.25 3.8v6.45h1v-2.1h.83A1.55 1.55 0 0 0 6.6 7.13c.13-.33.2-.7.2-1.14 0-.42-.07-.8-.2-1.13a1.72 1.72 0 0 0-.58-.77 1.5 1.5 0 0 0-.91-.28H3.25Z"
83- clipRule = "evenodd"
84- />
85- </ svg >
86- )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import {
1919 CodySubscriptionPlan ,
2020} from '../../graphql-operations'
2121import { CodyAlert } from '../components/CodyAlert'
22- import { ProIconSquashed } from '../components/CodyIcon'
22+ import { ProIcon } from '../components/CodyIcon'
2323import { PageHeaderIcon } from '../components/PageHeaderIcon'
2424import { AcceptInviteBanner } from '../invites/AcceptInviteBanner'
2525import { isCodyEnabled } from '../isCodyEnabled'
@@ -211,8 +211,8 @@ const UpgradeToProBanner: React.FunctionComponent<{
211211 </ div >
212212 < div >
213213 < ButtonLink to = "/cody/subscription" variant = "primary" size = "sm" onClick = { onClick } >
214- < ProIconSquashed className = "mr-1" />
215- Upgrade
214+ < ProIcon className = "mr-1" />
215+ Upgrade now
216216 </ ButtonLink >
217217 </ div >
218218 </ div >
You can’t perform that action at this time.
0 commit comments