Skip to content

Commit

Permalink
Merge pull request #96 from anct-cnum/qf/ouvertureEspacePrefet
Browse files Browse the repository at this point in the history
WIP - Ouverture espace préfet
  • Loading branch information
QuentinFontenay authored Sep 27, 2023
2 parents 00f426c + efec8ca commit e8cb095
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
REACT_APP_BLOG_URL=https://media.conseiller-numerique.gouv.fr
REACT_APP_BACKOFFICE_URL=https://admin.conseiller-numerique.gouv.fr/login
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
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ jobs:
uses: SpicyPizza/create-envfile@v1
with:
envkey_REACT_APP_BLOG_URL: "https://media.conseiller-numerique.gouv.fr"
envkey_REACT_APP_BACKOFFICE_URL: "https://admin.conseiller-numerique.gouv.fr/login"
envkey_REACT_APP_DASHBOARD_URL: "https://pilotage.conseiller-numerique.gouv.fr"
envkey_REACT_APP_COOP_URL: "https://coop.conseiller-numerique.gouv.fr/login"
envkey_REACT_APP_CANDIDAT_URL: "https://candidat.conseiller-numerique.gouv.fr/login"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy-recette.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ jobs:
uses: SpicyPizza/create-envfile@v1
with:
envkey_REACT_APP_BLOG_URL: "https://media.conseiller-numerique.gouv.fr"
envkey_REACT_APP_BACKOFFICE_URL: "https://beta.admin.conseiller-numerique.gouv.fr/login"
envkey_REACT_APP_DASHBOARD_URL: "https://beta.pilotage.conseiller-numerique.gouv.fr"
envkey_REACT_APP_COOP_URL: "https://beta.coop.conseiller-numerique.gouv.fr/login"
envkey_REACT_APP_CANDIDAT_URL: "https://beta.candidat.conseiller-numerique.gouv.fr/login"
Expand Down
5 changes: 2 additions & 3 deletions src/components/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ function Menu() {
const [changedMenu, setIsChangedMenu] = useState(false);

const urlBlog = process.env.REACT_APP_BLOG_URL;
const urlBackoffice = process.env.REACT_APP_BACKOFFICE_URL;
const urlDashboard = process.env.REACT_APP_DASHBOARD_URL;
const urlCoop = process.env.REACT_APP_COOP_URL;
const urlCandidat = process.env.REACT_APP_CANDIDAT_URL;
Expand Down Expand Up @@ -143,8 +142,8 @@ function Menu() {
target="_blank" rel="noopener noreferrer">&bull;&nbsp;Tableau de pilotage - structure</a>
</li>
<li>
<a className="fr-nav__link" href={`${urlBackoffice}?role=prefet`}
target="_blank" rel="noopener noreferrer">&bull;&nbsp;Espace pr&eacute;fecture</a>
<a className="fr-nav__link" href={urlDashboard}
target="_blank" rel="noopener noreferrer">&bull;&nbsp;Tableau de pilotage - pr&eacute;fet</a>
</li>
</ul>
</div>
Expand Down

0 comments on commit e8cb095

Please sign in to comment.