Skip to content

Commit

Permalink
DAPP-1966: Keep componentName props value as actual component name in…
Browse files Browse the repository at this point in the history
… illustration and removed unused imports
  • Loading branch information
meKushdeepSingh committed Dec 4, 2024
1 parent 0b815a8 commit 83f0f1a
Show file tree
Hide file tree
Showing 4 changed files with 171 additions and 46 deletions.
212 changes: 169 additions & 43 deletions src/blocks/illustrations/components/PushLogo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const PushLogo: FC<IllustrationProps> = (allProps) => {
const { svgProps: props, ...restProps } = allProps;
return (
<IllustrationWrapper
componentName="PushDev"
componentName="PushLogo"
illustration={
<svg
width={restProps.width ?? '48'}
Expand Down Expand Up @@ -50,13 +50,34 @@ const PushLogo: FC<IllustrationProps> = (allProps) => {
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#FF94A6" />
<stop offset="0.17" stop-color="#EA6AC0" />
<stop offset="0.33" stop-color="#DA4AD5" />
<stop offset="0.42" stop-color="#D53EDD" />
<stop offset="0.53" stop-color="#CB3EDD" />
<stop offset="0.72" stop-color="#B341E0" />
<stop offset="0.95" stop-color="#8B45E4" />
<stop offset="1" stop-color="#8247E5" />
<stop
offset="0.17"
stop-color="#EA6AC0"
/>
<stop
offset="0.33"
stop-color="#DA4AD5"
/>
<stop
offset="0.42"
stop-color="#D53EDD"
/>
<stop
offset="0.53"
stop-color="#CB3EDD"
/>
<stop
offset="0.72"
stop-color="#B341E0"
/>
<stop
offset="0.95"
stop-color="#8B45E4"
/>
<stop
offset="1"
stop-color="#8247E5"
/>
</linearGradient>
<linearGradient
id="paint1_linear_2966_8287"
Expand All @@ -67,13 +88,34 @@ const PushLogo: FC<IllustrationProps> = (allProps) => {
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#FF94A6" />
<stop offset="0.17" stop-color="#EA6AC0" />
<stop offset="0.33" stop-color="#DA4AD5" />
<stop offset="0.42" stop-color="#D53EDD" />
<stop offset="0.53" stop-color="#CB3EDD" />
<stop offset="0.72" stop-color="#B341E0" />
<stop offset="0.95" stop-color="#8B45E4" />
<stop offset="1" stop-color="#8247E5" />
<stop
offset="0.17"
stop-color="#EA6AC0"
/>
<stop
offset="0.33"
stop-color="#DA4AD5"
/>
<stop
offset="0.42"
stop-color="#D53EDD"
/>
<stop
offset="0.53"
stop-color="#CB3EDD"
/>
<stop
offset="0.72"
stop-color="#B341E0"
/>
<stop
offset="0.95"
stop-color="#8B45E4"
/>
<stop
offset="1"
stop-color="#8247E5"
/>
</linearGradient>
<linearGradient
id="paint2_linear_2966_8287"
Expand All @@ -84,13 +126,34 @@ const PushLogo: FC<IllustrationProps> = (allProps) => {
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#FF94A6" />
<stop offset="0.17" stop-color="#EA6AC0" />
<stop offset="0.33" stop-color="#DA4AD5" />
<stop offset="0.42" stop-color="#D53EDD" />
<stop offset="0.53" stop-color="#CB3EDD" />
<stop offset="0.72" stop-color="#B341E0" />
<stop offset="0.95" stop-color="#8B45E4" />
<stop offset="1" stop-color="#8247E5" />
<stop
offset="0.17"
stop-color="#EA6AC0"
/>
<stop
offset="0.33"
stop-color="#DA4AD5"
/>
<stop
offset="0.42"
stop-color="#D53EDD"
/>
<stop
offset="0.53"
stop-color="#CB3EDD"
/>
<stop
offset="0.72"
stop-color="#B341E0"
/>
<stop
offset="0.95"
stop-color="#8B45E4"
/>
<stop
offset="1"
stop-color="#8247E5"
/>
</linearGradient>
<linearGradient
id="paint3_linear_2966_8287"
Expand All @@ -101,13 +164,34 @@ const PushLogo: FC<IllustrationProps> = (allProps) => {
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#FF94A6" />
<stop offset="0.17" stop-color="#EA6AC0" />
<stop offset="0.33" stop-color="#DA4AD5" />
<stop offset="0.42" stop-color="#D53EDD" />
<stop offset="0.53" stop-color="#CB3EDD" />
<stop offset="0.72" stop-color="#B341E0" />
<stop offset="0.95" stop-color="#8B45E4" />
<stop offset="1" stop-color="#8247E5" />
<stop
offset="0.17"
stop-color="#EA6AC0"
/>
<stop
offset="0.33"
stop-color="#DA4AD5"
/>
<stop
offset="0.42"
stop-color="#D53EDD"
/>
<stop
offset="0.53"
stop-color="#CB3EDD"
/>
<stop
offset="0.72"
stop-color="#B341E0"
/>
<stop
offset="0.95"
stop-color="#8B45E4"
/>
<stop
offset="1"
stop-color="#8247E5"
/>
</linearGradient>
<linearGradient
id="paint4_linear_2966_8287"
Expand All @@ -118,13 +202,34 @@ const PushLogo: FC<IllustrationProps> = (allProps) => {
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#FF94A6" />
<stop offset="0.17" stop-color="#EA6AC0" />
<stop offset="0.33" stop-color="#DA4AD5" />
<stop offset="0.42" stop-color="#D53EDD" />
<stop offset="0.53" stop-color="#CB3EDD" />
<stop offset="0.72" stop-color="#B341E0" />
<stop offset="0.95" stop-color="#8B45E4" />
<stop offset="1" stop-color="#8247E5" />
<stop
offset="0.17"
stop-color="#EA6AC0"
/>
<stop
offset="0.33"
stop-color="#DA4AD5"
/>
<stop
offset="0.42"
stop-color="#D53EDD"
/>
<stop
offset="0.53"
stop-color="#CB3EDD"
/>
<stop
offset="0.72"
stop-color="#B341E0"
/>
<stop
offset="0.95"
stop-color="#8B45E4"
/>
<stop
offset="1"
stop-color="#8247E5"
/>
</linearGradient>
<linearGradient
id="paint5_linear_2966_8287"
Expand All @@ -135,13 +240,34 @@ const PushLogo: FC<IllustrationProps> = (allProps) => {
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#FF94A6" />
<stop offset="0.17" stop-color="#EA6AC0" />
<stop offset="0.33" stop-color="#DA4AD5" />
<stop offset="0.42" stop-color="#D53EDD" />
<stop offset="0.53" stop-color="#CB3EDD" />
<stop offset="0.72" stop-color="#B341E0" />
<stop offset="0.95" stop-color="#8B45E4" />
<stop offset="1" stop-color="#8247E5" />
<stop
offset="0.17"
stop-color="#EA6AC0"
/>
<stop
offset="0.33"
stop-color="#DA4AD5"
/>
<stop
offset="0.42"
stop-color="#D53EDD"
/>
<stop
offset="0.53"
stop-color="#CB3EDD"
/>
<stop
offset="0.72"
stop-color="#B341E0"
/>
<stop
offset="0.95"
stop-color="#8B45E4"
/>
<stop
offset="1"
stop-color="#8247E5"
/>
</linearGradient>
</defs>
</svg>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const PushLogoWithNameDark: FC<IllustrationProps> = (allProps) => {
const { svgProps: props, ...restProps } = allProps;
return (
<IllustrationWrapper
componentName="PushDev"
componentName="PushLogoWithNameDark"
illustration={
<svg
width={restProps.width ?? '134'}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const PushLogoWithNameLight: FC<IllustrationProps> = (allProps) => {
const { svgProps: props, ...restProps } = allProps;
return (
<IllustrationWrapper
componentName="PushDev"
componentName="PushLogoWithNameLight"
illustration={
<svg
width={restProps.width ?? '134'}
Expand Down
1 change: 0 additions & 1 deletion src/modules/purchasePlan/components/PurchaseSummery.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { FC, useState } from 'react';
import { Box, Button, ExternalLink, Link, TabItem, Tabs, Text, TextInput, Tick } from 'blocks';
import { PricingPlan, PricingPlanTabsType } from 'modules/pricing/Pricing.types';
import { css } from 'styled-components';
import { ConfirmPurchaseModal } from './ConfirmPurchaseModal';
import { PurchasePlanModalTypes } from '../PusrchasePlan.types';
import { PlanPurchasedModal } from './PlanPurchasedModal';
Expand Down

0 comments on commit 83f0f1a

Please sign in to comment.