Skip to content

Commit

Permalink
Rectification url (#255)
Browse files Browse the repository at this point in the history
* url formulaire modifier

* fix boutton sans ouvrir d'onglet
  • Loading branch information
Ornella452 authored Nov 27, 2024
1 parent 69658ea commit 5baf6a6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ function App() {
<Router>
<Routes>
<Route path="/accueil" element={<GestionHash />}/>
<Route path="/nouveau-formulaire-conseiller" element={<PageCandidatureConseiller />}/>
<Route path="/nouveau-formulaire-structure" element={<PageCandidatureStructure />}/>
<Route path="/nouveau-formulaire-coordinateur" element={<PageCandidatureCoordinateur />}/>
<Route path="/candidature-conseiller" element={<PageCandidatureConseiller />}/>
<Route path="/candidature-poste-conseiller" element={<PageCandidatureStructure />}/>
<Route path="/candidature-poste-coordinateur" element={<PageCandidatureCoordinateur />}/>
<Route path="/candidature-validee-conseiller" element={<PageCandidatureValideeConseiller />}/>
<Route path="/candidature-validee-structure" element={<PageCandidatureValideeStructure />}/>
<Route path="/candidature-confirmer-conseiller/:token" element={<PageConfirmationEmailCandidatureConseiller />}/>
Expand Down
6 changes: 3 additions & 3 deletions src/components/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function Menu() {
{
...(location.pathname.startsWith('/aide-candidat') ||
location.pathname.startsWith('/aide-structure') ||
location.pathname.startsWith('/nouveau-formulaire-coordinateur') ? { 'aria-current': true } : {})
location.pathname.startsWith('/candidature-poste-coordinateur') ? { 'aria-current': true } : {})
}>
Candidature
</button>
Expand All @@ -124,9 +124,9 @@ function Menu() {
</li>
<li>
<Link
to="/nouveau-formulaire-coordinateur"
to="/candidature-poste-coordinateur"
className="fr-nav__link"
{...(location.pathname.startsWith('/nouveau-formulaire-coordinateur') ? { 'aria-current': 'page' } : {})}>
{...(location.pathname.startsWith('/candidature-poste-coordinateur') ? { 'aria-current': 'page' } : {})}>
Obtenir un poste de coordinateur de conseiller num&eacute;rique
</Link>
</li>
Expand Down
4 changes: 2 additions & 2 deletions src/views/aide-candidat/Actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import React from 'react';

function Actions() {

const urlFormConseiller = '/nouveau-formulaire-conseiller';
const urlFormConseiller = '/candidature-conseiller';

return (
<div className="fr-container fr-col-lg-5 fr-col-xs-12 fr-mb-10w" style={{ textAlign: 'center' }}>
<a
href={urlFormConseiller}
target="_blank" rel="noopener noreferrer"
target="_self" rel="noopener noreferrer"
className="buttonCustom blueButtonCustom fr-text--xx-bold"
title="Devenir conseiller num&eacute;rique">Devenir conseiller num&eacute;rique</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/views/aide-structure/Questions.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';

function Questions() {

const urlFormStructure = '/nouveau-formulaire-structure';
const urlFormStructure = '/candidature-poste-conseiller';

return (
<div className="fr-container fr-mb-5w">
Expand Down Expand Up @@ -49,7 +49,7 @@ function Questions() {
</em>
</p>
<div className="fr-container fr-col-lg-5 fr-col-xs-12 fr-mb-10w" style={{ textAlign: 'center' }}>
<a href={urlFormStructure} target="_blank" rel="noopener noreferrer"
<a href={urlFormStructure} target="_self" rel="noopener noreferrer"
className="buttonCustom redButtonCustom fr-text--xx-bold"
title="Recruter des conseillers num&eacute;riques">
Recruter des conseillers num&eacute;riques
Expand Down

0 comments on commit 5baf6a6

Please sign in to comment.