Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
fix(name): MonParcoursPsy devient MonSoutienPsy (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
carolineBda authored Sep 12, 2023
1 parent e918268 commit f288ad7
Show file tree
Hide file tree
Showing 61 changed files with 667 additions and 584 deletions.
4 changes: 3 additions & 1 deletion .kontinuous/env/prod/values.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
global:
appHost: monparcourspsy.sante.gouv.fr
appHost: monsoutienpsy.sante.gouv.fr

app:
host: "{{ .Values.global.appHost }}"
redirectFrom:
- www.monsoutienpsy.sante.gouv.fr
- monparcourspsy.sante.gouv.fr
- www.monparcourspsy.sante.gouv.fr
- monpsy.sante.gouv.fr
- www.monpsy.sante.gouv.fr
Expand Down
903 changes: 461 additions & 442 deletions CHANGELOG.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MonParcoursPsy
# Mon soutien psy

https://monparcourspsy.sante.gouv.fr
https://monsoutienpsy.sante.gouv.fr

## Run locally

Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/faq.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ describe("FAQ", () => {
cy.visit("/faq");
cy.get("h1").should(
"have.text",
"Information sur le dispositif MonParcoursPsy"
"Information sur le dispositif Mon soutien psy"
);

cy.get("h2").should("have.text", "PrésentationPatientPsychologueMédecin");
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/home.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ describe("Home & landing pages", () => {

cy.get("h1").should(
"have.text",
"Vous rencontrez une situation difficile ?Avec MonParcoursPsy, bénéficiez de 8 séances par an chez un ou une psychologue"
"Vous rencontrez une situation difficile ?Avec Mon soutien psy, bénéficiez de 8 séances par an chez un ou une psychologue"
);

cy.get("h2").first().should("have.text", "Pourquoi consulter ?");
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "monparcourspsy",
"name": "monsoutienpsy",
"version": "1.70.9",
"commitlint": {
"extends": [
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed public/documents/MonPsy_Fiche-Memo_Psy.pdf
Binary file not shown.
Binary file not shown.
Binary file removed public/documents/MonPsy_Flyer grand public.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed public/documents/MonPsy_Guide médecin_2022.pdf
Binary file not shown.
Binary file removed public/documents/MonPsy_Guide psychologue_2022.pdf
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion public/images/Video-Medecin.mp4.vtt
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ pourquoi je l'adresse.

29
00:01:21.400 --> 00:01:25.320
Le dispositif MonParcoursPsy
Le dispositif Mon soutien psy
représente un vrai progrès

30
Expand Down
2 changes: 1 addition & 1 deletion public/images/Video-Temoignage.mp4.vtt
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ pourquoi je l'adresse.

29
00:01:21.400 --> 00:01:25.320
Le dispositif MonParcoursPsy
Le dispositif Mon soutien psy
représente un vrai progrès

30
Expand Down
42 changes: 42 additions & 0 deletions public/images/msa.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions scripts/extract-emails-acceptes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import fs from "fs";
import _ from "lodash";

import {countAll, getAll} from "../src/services/psychologists";
import { countAll, getAll } from "../src/services/psychologists";

fs.createWriteStream("emails-monparcourspsy-acceptes.csv");
fs.createWriteStream("emails-monsoutienpsy-acceptes.csv");

let output = '"Email";"FirstName";"LastName"\n';
(async () => {
Expand All @@ -27,7 +27,7 @@ let output = '"Email";"FirstName";"LastName"\n';
console.log("!!!! some emails are not uniqs");
}

fs.writeFileSync("emails-monparcourspsy-acceptes.csv", output);
fs.writeFileSync("emails-monsoutienpsy-acceptes.csv", output);

console.log("Nombre total de dossier en accepté", accepte.length);

Expand Down
13 changes: 10 additions & 3 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,22 @@ const Footer = () => (
<a
className="fr-footer__brand-link"
href="/"
title="Page d'accueil MonParcoursPsy"
title="Page d'accueil Mon soutien psy"
>
<img
src="/images/cnam.png"
alt="Logo Caisse Nationale d'Assurance Maladie"
width="200"
height="66"
width="150"
height="50"
/>
</a>
<a
className="fr-footer__brand-link"
href="/"
title="Page d'accueil Mon soutien psy"
>
<img src="/images/msa.svg" alt="Logo MSA" width="100" height="46" />
</a>
</div>
<div className="fr-footer__content">
<p className="fr-footer__content-desc">
Expand Down
2 changes: 1 addition & 1 deletion src/components/HeadTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const HeadTag = ({ title, description, image }: HeadProps) => (
<meta property="og:type" content="website" />
<meta
property="og:image"
content={`https://monparcourspsy.sante.gouv.fr/images/${image}`}
content={`https://monsoutienpsy.sante.gouv.fr/images/${image}`}
/>
</Head>
);
Expand Down
25 changes: 17 additions & 8 deletions src/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Nav = () => {
const [modalMenuOpen, setModalMenuOpen] = useState(false);
const items = [
{ title: "Accueil", href: "/" },
{ title: "Annuaire MonParcoursPsy", href: "/annuaire" },
{ title: "Annuaire Mon soutien psy", href: "/annuaire" },
{ title: "Psychologue", href: "/psychologues" },
{ title: "Médecin", href: "/medecins" },
{ title: "Foire aux questions", href: "/faq" },
Expand All @@ -17,10 +17,10 @@ const Nav = () => {
<div className="fr-header__body-row">
<div className="fr-header__brand fr-enlarge-link">
<div className="fr-header__brand-top">
<div className="fr-header__logo">
<div className="fr-header__logo fr-mr-0">
<p className="fr-logo">
<Link href="/">
<a title="Page d'accueil MonParcoursPsy" target="_self">
<a title="Page d'accueil Mon soutien psy" target="_self">
République
<br />
Française
Expand All @@ -41,17 +41,26 @@ const Nav = () => {
Menu
</button>
</div>
<div className="fr-header__operator">

<div className="fr-header__operator fr-mr-0 align-center">
<img
src="/images/cnam.png"
alt="Logo Caisse Nationale d'Assurance Maladie"
width="200"
height="66"
width="150"
height="50"
/>

<img
className="fr-mt-2w"
src="/images/msa.svg"
alt="Logo MSA"
width="100"
height="46"
/>
</div>
</div>
<div className="fr-header__service">
<p className="fr-header__service-title">MonParcoursPsy</p>
<p className="fr-header__service-title">Mon soutien psy</p>
<p className="fr-header__service-tagline">
En parler, c’est déjà se soigner.
</p>
Expand All @@ -66,7 +75,7 @@ const Nav = () => {
<li>
<Link href="/annuaire">
<a className="fr-link fr-fi-attachment-line fr-link--icon-left fr-mt-1v">
Annuaire MonParcoursPsy
Annuaire Mon soutien psy
</a>
</Link>
</li>
Expand Down
2 changes: 1 addition & 1 deletion src/cron/cronUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function sendEmailWithAttachments({
});

const mail: SendMailOptions = {
from: `MonParcoursPsy <${config.supportMail}>`,
from: `Mon soutien psy <${config.supportMail}>`,
html: textSlices.join("<br />"),
subject: subject,
text: textSlices.join("\n"),
Expand Down
2 changes: 1 addition & 1 deletion src/pages/404.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useEffect } from "react";

export default function Custom404() {
useEffect(() => {
document.title = "Page non trouvée | MonParcoursPsy";
document.title = "Page non trouvée | Mon soutien psy";
}, []);

return (
Expand Down
Loading

0 comments on commit f288ad7

Please sign in to comment.