File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed
components/Gigs/ReferralCode Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ workflows:
356356 filters :
357357 branches :
358358 only :
359- - thrive-sep-update1
359+ - free
360360 # This is beta env for production soft releases
361361 - " build-prod-beta " :
362362 context : org-global
Original file line number Diff line number Diff line change @@ -30,7 +30,13 @@ function ReferralCode(props) {
3030
3131 return (
3232 < div className = { _ . isEmpty ( profile ) ? defautlStyle . container : defautlStyle . containerWithLink } >
33- < span className = { defautlStyle . title } > Topcoder Referral Program:</ span >
33+ {
34+ _ . isEmpty ( profile ) ? (
35+ < span className = { defautlStyle . title } > Topcoder Referral Program:</ span >
36+ ) : (
37+ < a className = { defautlStyle . title } href = "/community/gig-referral" target = "_blank" rel = "noreferrer" > Topcoder Referral Program:</ a >
38+ )
39+ }
3440 {
3541 _ . isEmpty ( profile ) ? (
3642 < React . Fragment >
Original file line number Diff line number Diff line change 2121
2222 .title {
2323 font-weight : bold ;
24+ color : #fff ;
25+ font-family : Roboto, sans-serif ;
26+ font-size : 18px ;
27+ margin-right : 5px ;
2428
2529 @media screen and (max-width : 768px ) {
2630 margin-bottom : 10px ;
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ function GigsPagesContainer(props) {
3737 optProfile . attributes . email = profile . email ;
3838 // trigger referral id fetching when profile is loaded
3939 if ( isomorphy . isClientSide ( ) ) {
40- if ( _ . isEmpty ( growSurf ) || ( ! growSurf . loading && ! growSurf . data ) ) {
40+ if ( _ . isEmpty ( growSurf ) || ( ! growSurf . loading && ! growSurf . data && ! growSurf . error ) ) {
4141 getReferralId ( profile ) ;
4242 }
4343 }
@@ -67,7 +67,7 @@ function GigsPagesContainer(props) {
6767 }
6868 const { id, type } = match . params ;
6969 const isApply = `${ config . GIGS_PAGES_PATH } /${ id } /apply` === match . url ;
70- const title = 'Gig Work | Topcoder Community | Topcoder' ;
70+ const title = 'Find Freelance Work | Gigs | Topcoder' ;
7171 const description = 'Compete and build up your profiles and skills! Topcoder members become eligible to work on Gig Work projects by first proving themselves in various skill sets through Topcoder competitions.' ;
7272 const inner = (
7373 < div >
You can’t perform that action at this time.
0 commit comments