Skip to content
6 changes: 3 additions & 3 deletions src/shared/components/Gigs/GigApply/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default function GigApply(props) {
<SadFace />
<h2>One Gig Limit!</h2>
<React.Fragment>
<p>Apologies, you are not allowed to apply to gigs if you are already placed on a gig.<br /><br />You can however refer a friend to this gig and receive $500 if they get placed in that gig. To do that, you can enter their email on the right side of the Gigs Description page.<br /><br />If you have any questions or feel this is an error, please email <a href="mailto:talent.topcoder@wipro.com">talent.topcoder@wipro.com</a>.</p>
<p>Apologies, you are not allowed to apply to gigs if you are already placed on a gig.<br /><br />You can however refer a friend to this gig and receive $500 if they get placed in that gig. To do that, you can enter their email on the right side of the Gigs Description page.<br /><br />If you have any questions or feel this is an error, please email <a href="mailto:talent.taas@wipro.com">talent.taas@wipro.com</a>.</p>
</React.Fragment>
<div styleName="cta-buttons">
<Link to={`${config.GIGS_PAGES_PATH}/${job.slug}`} styleName="primaryBtn">Back To Gig</Link>
Expand All @@ -102,11 +102,11 @@ export default function GigApply(props) {
}
{
application.errorObj && application.errorObj.notAllowed ? (
<p>If you have any questions or feel this is an error, please email <a href="mailto:talent.topcoder@wipro.com">talent.topcoder@wipro.com</a>.</p>
<p>If you have any questions or feel this is an error, please email <a href="mailto:talent.taas@wipro.com">talent.taas@wipro.com</a>.</p>
) : (
<React.Fragment>
<p>Looks like there is a problem on our end. Please try again.<br />If this persists please contact <a href="mailto:[email protected]">[email protected]</a>.</p>
<p>Please send us an email at <a href="mailto:talent.topcoder@wipro.com">talent.topcoder@wipro.com</a> with the subject ‘Gig Error’<br />and paste the URL for the gig you are attempting to apply for so that we know of your interest.</p>
<p>Please send us an email at <a href="mailto:talent.taas@wipro.com">talent.taas@wipro.com</a> with the subject ‘Gig Error’<br />and paste the URL for the gig you are attempting to apply for so that we know of your interest.</p>
</React.Fragment>
)
}
Expand Down
9 changes: 5 additions & 4 deletions src/shared/components/Gigs/GigDetails/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { isEmpty } from 'lodash';
import React, { useState } from 'react';
import PT from 'prop-types';
import { connect } from 'react-redux';
import { Link, config } from 'topcoder-react-utils';
import { Link, config, isomorphy } from 'topcoder-react-utils';
import ReactHtmlParser from 'react-html-parser';
import { getSalaryType, getCustomField } from 'utils/gigs';
import './style.scss';
Expand Down Expand Up @@ -39,7 +39,8 @@ function GigDetails(props) {
const {
job, application, profile,
} = props;
let retUrl;
// eslint-disable-next-line no-restricted-globals
const retUrl = isomorphy.isClientSide() ? location.href : null;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[❗❗ security]
Using location.href directly can lead to security issues, such as open redirects, if not handled carefully. Consider using a safer method to construct URLs or validate the URL before use.

let skills = getCustomField(job.custom_fields, 'Technologies Required');
if (skills !== 'n/a') skills = skills.split(',').join(', ');
const hPerW = getCustomField(job.custom_fields, 'Hours per week');
Expand Down Expand Up @@ -115,7 +116,7 @@ function GigDetails(props) {
** USA Visa Holders - Please consult an attorney before applying to any Topcoder Gig. Some visa statuses will or will not allow you to conduct freelance work with Topcoder.
</strong>
<strong>
*** Topcoder and Wipro employees are not eligible for Gig work opportunities. Do not apply and send questions to <a href="mailto:talent.topcoder@wipro.com">talent.topcoder@wipro.com</a>.
*** Topcoder and Wipro employees are not eligible for Gig work opportunities. Do not apply and send questions to <a href="mailto:talent.taas@wipro.com">talent.taas@wipro.com</a>.
</strong>
</div>
<div styleName="cta-buttons">
Expand Down Expand Up @@ -155,7 +156,7 @@ function GigDetails(props) {
</li>
</ul>
</div>
<div styleName="support">If you have any questions or doubts, don’t hesitate to email <a href="mailto:talent.topcoder@wipro.com">talent.topcoder@wipro.com</a>.</div>
<div styleName="support">If you have any questions or doubts, don’t hesitate to email <a href="mailto:talent.taas@wipro.com">talent.taas@wipro.com</a>.</div>
{
isLoginModalOpen && <LoginModal retUrl={retUrl} onCancel={() => setLoginModalOpen(false)} />
}
Expand Down
4 changes: 4 additions & 0 deletions src/shared/components/challenge-detail/Header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@
.datasci-accent-color {
color: $tc-orange;
}

.data-science-accent-color {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ maintainability]
The addition of .data-science-accent-color seems redundant since it duplicates the existing .datasci-accent-color with the same style. Consider removing one to avoid unnecessary duplication, which can lead to maintenance challenges.

color: $tc-orange;
}
}

@mixin design-accent-btm-border {
Expand Down
4 changes: 4 additions & 0 deletions src/shared/components/tco/scoreboard/Header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
.datasci-accent-color {
color: $tc-orange;
}

.data-science-accent-color {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ maintainability]
The addition of .data-science-accent-color seems redundant as it duplicates the existing .datasci-accent-color class. Consider removing one to avoid confusion and maintain consistency.

color: $tc-orange;
}
}

@mixin design-accent-btm-border {
Expand Down