File tree Expand file tree Collapse file tree 6 files changed +9
-27
lines changed Expand file tree Collapse file tree 6 files changed +9
-27
lines changed Original file line number Diff line number Diff line change 83
83
"description" : " " ,
84
84
"subMenu" : [
85
85
{
86
- "href" : " es/beyond-the-resume" ,
86
+ "href" : " / es/beyond-the-resume" ,
87
87
"label" : " Más allá del currículum"
88
88
}
89
89
]
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ export default function handler(req, res) {
6
6
if ( vercelEnv === 'production' ) {
7
7
res . end ( `User-agent: *
8
8
Allow: /
9
+ Disallow: /ask.4geeks.com/
10
+ Disallow: /ask2.4geeks.com/
9
11
Disallow: /static/
10
12
Disallow: /_next/
11
13
Disallow: /*.json$
Original file line number Diff line number Diff line change @@ -283,19 +283,8 @@ function CoursePage() {
283
283
{ allDiscounts . length > 0 && '🔥' }
284
284
{ featurePrice }
285
285
</ 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
- ) }
294
286
</ Flex >
295
287
</ 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
- ) }
299
288
{ isAuthenticated ? (
300
289
< Text size = "13px" padding = "4px 8px" borderRadius = "4px" background = { featuredColor } >
301
290
{ t ( 'signup:switch-user-connector' , { name : user ?. first_name } ) }
Original file line number Diff line number Diff line change @@ -145,9 +145,9 @@ export const useBootcamp = () => {
145
145
} ,
146
146
} ) ;
147
147
setIsFetching ( true ) ;
148
- bc . cohort ( ) . join ( cohortId )
148
+ bc . admissions ( ) . joinCohort ( cohortId )
149
149
. then ( async ( resp ) => {
150
- const dataRequested = await resp . json ( ) ;
150
+ const dataRequested = await resp . data ;
151
151
if ( dataRequested ?. status === 'ACTIVE' ) {
152
152
setReadyToRefetch ( true ) ;
153
153
}
@@ -174,7 +174,8 @@ export const useBootcamp = () => {
174
174
router . push ( '#pricing' ) ;
175
175
}
176
176
} )
177
- . catch ( ( ) => {
177
+ . catch ( ( err ) => {
178
+ console . log ( err ) ;
178
179
setTimeout ( ( ) => {
179
180
setIsFetching ( false ) ;
180
181
} , 600 ) ;
Original file line number Diff line number Diff line change @@ -351,17 +351,7 @@ function Checkout() {
351
351
</ Flex >
352
352
) }
353
353
</ 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
+
365
355
</ Flex >
366
356
</ Flex >
367
357
< Divider borderBottomWidth = "2px" />
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ export const getActiveCohorts = (cohorts) => cohorts.filter((cohort) => {
189
189
'NOT_COMPLETING' ,
190
190
] . includes ( programCohortStage ) ;
191
191
192
- const cohortIsAvailable = showCohort && ! hasEnded ;
192
+ const cohortIsAvailable = ( showCohort && ! hasEnded ) || educationalStatus === 'NOT_COMPLETING' ;
193
193
const isNotHiddenOnPrework = programCohortStage === 'PREWORK'
194
194
&& cohort . is_hidden_on_prework === false
195
195
&& ! hasEnded ;
You can’t perform that action at this time.
0 commit comments