Skip to content

Commit 17f1be9

Browse files
Remove money-back guarantee messaging from CoursePage and Checkout components
1 parent fb5002e commit 17f1be9

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

src/pages/bootcamp/[course_slug].jsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -283,19 +283,8 @@ function CoursePage() {
283283
{allDiscounts.length > 0 && '🔥'}
284284
{featurePrice}
285285
</Text>
286-
{!featuredPlanToEnroll?.isFreeTier && (
287-
<Flex alignItems="center" marginTop="5px" gap="5px" justifyContent="center">
288-
<Icon icon="shield" color="#ffffff" secondColor={courseColor || '#00b765'} width="23px" />
289-
<Text fontSize="13px" fontWeight="medium" paddingTop="2px">
290-
{t('common:money-back-guarantee-no-link')}
291-
</Text>
292-
</Flex>
293-
)}
294286
</Flex>
295287
</Button>
296-
{!featuredPlanToEnroll?.isFreeTier && (
297-
<Text fontSize="11px" color="gray.500" textAlign="center" marginTop="6px" dangerouslySetInnerHTML={{ __html: t('common:money-back-guarantee-conditions-link') }} />
298-
)}
299288
{isAuthenticated ? (
300289
<Text size="13px" padding="4px 8px" borderRadius="4px" background={featuredColor}>
301290
{t('signup:switch-user-connector', { name: user?.first_name })}

src/pages/checkout/index.jsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -351,17 +351,7 @@ function Checkout() {
351351
</Flex>
352352
)}
353353
</Flex>
354-
{!originalPlan?.isTrial && (
355-
<Flex flexDirection="column" alignItems="flex-start" marginTop="5px" gap="5px">
356-
<Flex alignItems="center" gap="5px">
357-
<Icon icon="shield" width="23px" />
358-
<Text fontSize="13px" fontWeight="medium" paddingTop="2px" color="green.400" lineHeight="normal">
359-
{t('common:money-back-guarantee-no-link')}
360-
</Text>
361-
</Flex>
362-
<Text fontSize="11px" color="gray.500" marginLeft="28px" marginTop="2px" dangerouslySetInnerHTML={{ __html: t('common:money-back-guarantee-conditions-link') }} />
363-
</Flex>
364-
)}
354+
365355
</Flex>
366356
</Flex>
367357
<Divider borderBottomWidth="2px" />

0 commit comments

Comments
 (0)