chore(certs): Rename endpoint /c/ => /certificates/
This commit is contained in:
@ -134,7 +134,7 @@ function renderCertShow(username, cert) {
|
||||
block={ true }
|
||||
bsSize='lg'
|
||||
bsStyle='primary'
|
||||
href={ `/c/${username}/${cert.showURL}`}
|
||||
href={ `/certificates/${username}/${cert.showURL}`}
|
||||
>
|
||||
Show
|
||||
</Button>
|
||||
|
@ -208,7 +208,7 @@ class CertificationSettings extends PureComponent {
|
||||
block={ true }
|
||||
bsSize='lg'
|
||||
bsStyle='primary'
|
||||
href={ `/c/${username}/${superBlock}`}
|
||||
href={ `/certificates/${username}/${superBlock}`}
|
||||
>
|
||||
Show Certificate
|
||||
</Button> :
|
||||
|
@ -43,7 +43,7 @@ class JSAlgoAndDSForm extends PureComponent {
|
||||
e.preventDefault();
|
||||
const { username, superBlock, isCertClaimed } = this.props;
|
||||
if (isCertClaimed) {
|
||||
return this.props.hardGoTo(`/c/${username}/${superBlock}`);
|
||||
return this.props.hardGoTo(`/certificates/${username}/${superBlock}`);
|
||||
}
|
||||
return this.props.claimCert(superBlock);
|
||||
}
|
||||
|
@ -197,7 +197,7 @@ export default function certificate(app) {
|
||||
verifyCert
|
||||
);
|
||||
router.get(
|
||||
'/c/:username/:cert',
|
||||
'/certificates/:username/:cert',
|
||||
showCert
|
||||
);
|
||||
|
||||
|
@ -29,4 +29,4 @@ include styles
|
||||
strong Quincy Larson
|
||||
p Executive Director, freeCodeCamp.org
|
||||
.row
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/c/#{username}/advanced-front-end
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/advanced-front-end
|
@ -29,4 +29,4 @@ include styles
|
||||
strong Quincy Larson
|
||||
p Executive Director, freeCodeCamp.org
|
||||
.row
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/c/#{username}/apis-and-microservices
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/apis-and-microservices
|
||||
|
@ -29,4 +29,4 @@ include styles
|
||||
strong Quincy Larson
|
||||
p Executive Director, freeCodeCamp.org
|
||||
.row
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/c/#{username}/data-visualization
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/data-visualization
|
||||
|
@ -29,4 +29,4 @@ include styles
|
||||
strong Quincy Larson
|
||||
p Executive Director, freeCodeCamp.org
|
||||
.row
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/c/#{username}/front-end-libraries
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/front-end-libraries
|
||||
|
@ -29,4 +29,4 @@ include styles
|
||||
strong Quincy Larson
|
||||
p Executive Director, freeCodeCamp.org
|
||||
.row
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/c/#{username}/information-security-and-quality-assurance
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/information-security-and-quality-assurance
|
||||
|
@ -29,4 +29,4 @@ include styles
|
||||
strong Quincy Larson
|
||||
p Executive Director, freeCodeCamp.org
|
||||
.row
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/c/#{username}/javascript-algorithms-and-data-structures
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/javascript-algorithms-and-data-structures
|
||||
|
@ -29,4 +29,4 @@ include ../styles
|
||||
strong Quincy Larson
|
||||
p Executive Director, freeCodeCamp.org
|
||||
.row
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/c/#{username}/legacy-back-end
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/legacy-back-end
|
||||
|
@ -29,4 +29,4 @@ include ../styles
|
||||
strong Quincy Larson
|
||||
p Executive Director, freeCodeCamp.org
|
||||
.row
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/c/#{username}/legacy-data-visualization
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/legacy-data-visualization
|
||||
|
@ -29,4 +29,4 @@ include ../styles
|
||||
strong Quincy Larson
|
||||
p Executive Director, freeCodeCamp.org
|
||||
.row
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/c/#{username}/legacy-front-end
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/legacy-front-end
|
||||
|
@ -29,4 +29,4 @@ include ../styles
|
||||
strong Quincy Larson
|
||||
p Executive Director, freeCodeCamp.org
|
||||
.row
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/c/#{username}/legacy-full-stack
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/legacy-full-stack
|
@ -29,4 +29,4 @@ include styles
|
||||
strong Quincy Larson
|
||||
p Executive Director, freeCodeCamp.org
|
||||
.row
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/c/#{username}/responsive-web-design
|
||||
p.verify Verify this certificate at: https://freecodecamp.org/certificates/#{username}/responsive-web-design
|
||||
|
Reference in New Issue
Block a user