Skip to content

Commit

Permalink
Merge pull request #173 from anct-cnum/md/rollbackFormulaire
Browse files Browse the repository at this point in the history
rollback formulaire candidat
  • Loading branch information
dienamo authored May 29, 2024
2 parents 7214c91 + 041bd44 commit 516163e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ REACT_APP_BLOG_URL=https://media.conseiller-numerique.gouv.fr
REACT_APP_DASHBOARD_URL=https://pilotage.conseiller-numerique.gouv.fr
REACT_APP_COOP_URL=https://coop.conseiller-numerique.gouv.fr/login
REACT_APP_CANDIDAT_URL=https://candidat.conseiller-numerique.gouv.fr/login
REACT_APP_FORMS_URL=https://conseiller-numerique.gouv.fr/candidature
REACT_APP_FORMS_URL=https://app.conseiller-numerique.gouv.fr/candidature
REACT_APP_AIDE_URL=https://aide.conseiller-numerique.gouv.fr/fr
REACT_APP_API_URL=http://localhost:8080
2 changes: 0 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import Documentheque from './views/documentheque';
import Carte from './views/Carte';
import CarteCoordinateur from './views/coordination-territoriale/CarteCoordinateur';
import Formation from './views/formation';
import FormulaireIndisponible from './views/FormullaireIndisponible';

const RedirectCarto = () => {
const { permanence } = useParams();
Expand Down Expand Up @@ -54,7 +53,6 @@ function App() {
<Route path="/carte/:permanence/details" element={<RedirectCarto />}/>
<Route exact path="/:permanence" element={<Carte />}/>
<Route path="/formation" element={<Formation/>}/>
<Route path="/candidature/formulaire-indisponible" element={<FormulaireIndisponible/>}/>
<Route index element={<Accueil />}/>
<Route path="*" element={<Navigate to="/" />}/>
</Routes>
Expand Down
40 changes: 0 additions & 40 deletions src/views/FormullaireIndisponible.js

This file was deleted.

8 changes: 4 additions & 4 deletions src/views/aide-candidat/Actions.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import React from 'react';
import { Link } from 'react-router-dom';

function Actions() {

const urlFormConseiller = process.env.REACT_APP_FORMS_URL + '/candidature/formulaire-indisponible';
const urlFormConseiller = process.env.REACT_APP_FORMS_URL + '/conseiller/new';

return (
<div className="fr-container fr-col-lg-5 fr-col-xs-12 fr-mb-10w" style={{ textAlign: 'center' }}>
<Link to={urlFormConseiller}
<a
href={urlFormConseiller}
target="_blank" rel="noopener noreferrer"
className="buttonCustom blueButtonCustom fr-text--xx-bold"
title="Devenir conseiller num&eacute;rique">Devenir conseiller num&eacute;rique</Link>
title="Devenir conseiller num&eacute;rique">Devenir conseiller num&eacute;rique</a>
</div>
);
}
Expand Down

0 comments on commit 516163e

Please sign in to comment.