diff --git a/src/app/(both)/layout.tsx b/src/app/(both)/layout.tsx index a8733ee..74144bd 100644 --- a/src/app/(both)/layout.tsx +++ b/src/app/(both)/layout.tsx @@ -1,9 +1,9 @@ import { PropsWithChildren, ReactElement } from 'react' import { getProfilAtih } from '../../authentification' -import AccesRapide from '../../components/commun/AccesRapide' -import EnTete from '../../components/commun/EnTete' -import PiedDePage from '../../components/commun/PiedDePage' +import AccesRapide from '../../components/sharedComponents/AccesRapide' +import EnTete from '../../components/sharedComponents/EnTete' +import PiedDePage from '../../components/sharedComponents/PiedDePage' export default async function Layout({ children }: PropsWithChildren): Promise { return ( diff --git a/src/app/(connecte)/creer-un-inventaire/page.tsx b/src/app/(connecte)/creer-un-inventaire/page.tsx index 888d6fa..09ddacb 100644 --- a/src/app/(connecte)/creer-un-inventaire/page.tsx +++ b/src/app/(connecte)/creer-un-inventaire/page.tsx @@ -3,8 +3,8 @@ import { notFound } from 'next/navigation' import { ReactElement } from 'react' import { getProfilAtih } from '../../../authentification' -import Breadcrumb from '../../../components/commun/Breadcrumb' import CreerUnInventaire from '../../../components/CreerUnInventaire/CreerUnInventaire' +import Breadcrumb from '../../../components/sharedComponents/Breadcrumb' const title = 'Créer un inventaire' export const metadata: Metadata = { diff --git a/src/app/(connecte)/creer-une-simulation/page.tsx b/src/app/(connecte)/creer-une-simulation/page.tsx index 79a9e5a..fc6d5a6 100644 --- a/src/app/(connecte)/creer-une-simulation/page.tsx +++ b/src/app/(connecte)/creer-une-simulation/page.tsx @@ -3,8 +3,8 @@ import { notFound } from 'next/navigation' import { ReactElement } from 'react' import { getProfilAtih } from '../../../authentification' -import Breadcrumb from '../../../components/commun/Breadcrumb' import CreerUneSimulation from '../../../components/CreerUneSimulation/CreerUneSimulation' +import Breadcrumb from '../../../components/sharedComponents/Breadcrumb' const title = 'Créer une simulation' export const metadata: Metadata = { diff --git a/src/app/(connecte)/indicateurs-cles/page.tsx b/src/app/(connecte)/indicateurs-cles/page.tsx index ea37755..25ee387 100644 --- a/src/app/(connecte)/indicateurs-cles/page.tsx +++ b/src/app/(connecte)/indicateurs-cles/page.tsx @@ -3,8 +3,8 @@ import { notFound } from 'next/navigation' import { ReactElement } from 'react' import { getProfilAtih } from '../../../authentification' -import Breadcrumb from '../../../components/commun/Breadcrumb' import IndicateursCles from '../../../components/IndicateursCles/IndicateursCles' +import Breadcrumb from '../../../components/sharedComponents/Breadcrumb' import { recupererLesIndicateursImpactsEquipementsRepository, recupererLesIndicateursImpactsEquipementsSommesRepository } from '../../../gateways/indicateursRepository' import { recupererLesReferentielsTypesEquipementsRepository } from '../../../gateways/typesEquipementsRepository' import { indicateursClesPresenter } from '../../../presenters/indicateursClesPresenter' diff --git a/src/app/(connecte)/inventaire/page.tsx b/src/app/(connecte)/inventaire/page.tsx index 383ecbf..6645d21 100644 --- a/src/app/(connecte)/inventaire/page.tsx +++ b/src/app/(connecte)/inventaire/page.tsx @@ -3,8 +3,8 @@ import { notFound } from 'next/navigation' import { ReactElement } from 'react' import { getProfilAtih } from '../../../authentification' -import Breadcrumb from '../../../components/commun/Breadcrumb' import Inventaire from '../../../components/Inventaire/Inventaire' +import Breadcrumb from '../../../components/sharedComponents/Breadcrumb' import { recupererLesModelesRepository } from '../../../gateways/modelesRepository' import { recupererLesReferentielsTypesEquipementsRepository } from '../../../gateways/typesEquipementsRepository' import { inventairePresenter } from '../../../presenters/inventairePresenter' diff --git a/src/app/(connecte)/layout.tsx b/src/app/(connecte)/layout.tsx index 137f2da..4230f19 100644 --- a/src/app/(connecte)/layout.tsx +++ b/src/app/(connecte)/layout.tsx @@ -1,9 +1,9 @@ import { PropsWithChildren, ReactElement } from 'react' import { getProfilAtih, checkIfNotConnected } from '../../authentification' -import AccesRapide from '../../components/commun/AccesRapide' -import EnTete from '../../components/commun/EnTete' -import PiedDePage from '../../components/commun/PiedDePage' +import AccesRapide from '../../components/sharedComponents/AccesRapide' +import EnTete from '../../components/sharedComponents/EnTete' +import PiedDePage from '../../components/sharedComponents/PiedDePage' export default async function Layout({ children }: PropsWithChildren): Promise { await checkIfNotConnected() diff --git a/src/app/(connecte)/liste-equipements/page.tsx b/src/app/(connecte)/liste-equipements/page.tsx index f5319b7..47bdbc3 100644 --- a/src/app/(connecte)/liste-equipements/page.tsx +++ b/src/app/(connecte)/liste-equipements/page.tsx @@ -3,8 +3,8 @@ import { notFound } from 'next/navigation' import { ReactElement } from 'react' import { getProfilAtih } from '../../../authentification' -import Breadcrumb from '../../../components/commun/Breadcrumb' import ListeEquipements from '../../../components/ListeEquipements/ListeEquipements' +import Breadcrumb from '../../../components/sharedComponents/Breadcrumb' import { recupererLesModelesRepository } from '../../../gateways/modelesRepository' import { recupererLesReferentielsTypesEquipementsRepository } from '../../../gateways/typesEquipementsRepository' import { listeEquipementsPresenter } from '../../../presenters/listeEquipementsPresenter' diff --git a/src/app/(connecte)/modifier-le-nom-inventaire/page.tsx b/src/app/(connecte)/modifier-le-nom-inventaire/page.tsx index 888b6aa..82f11de 100644 --- a/src/app/(connecte)/modifier-le-nom-inventaire/page.tsx +++ b/src/app/(connecte)/modifier-le-nom-inventaire/page.tsx @@ -2,8 +2,8 @@ import { Metadata } from 'next' import { notFound } from 'next/navigation' import { ReactElement } from 'react' -import Breadcrumb from '../../../components/commun/Breadcrumb' import ModifierLeNomInventaire from '../../../components/ModifierLeNomInventaire/ModifierLeNomInventaire' +import Breadcrumb from '../../../components/sharedComponents/Breadcrumb' const title = 'Modifier le nom de l’inventaire' export const metadata: Metadata = { diff --git a/src/app/(deconnecte)/layout.tsx b/src/app/(deconnecte)/layout.tsx index a8733ee..74144bd 100644 --- a/src/app/(deconnecte)/layout.tsx +++ b/src/app/(deconnecte)/layout.tsx @@ -1,9 +1,9 @@ import { PropsWithChildren, ReactElement } from 'react' import { getProfilAtih } from '../../authentification' -import AccesRapide from '../../components/commun/AccesRapide' -import EnTete from '../../components/commun/EnTete' -import PiedDePage from '../../components/commun/PiedDePage' +import AccesRapide from '../../components/sharedComponents/AccesRapide' +import EnTete from '../../components/sharedComponents/EnTete' +import PiedDePage from '../../components/sharedComponents/PiedDePage' export default async function Layout({ children }: PropsWithChildren): Promise { return ( diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index 5b7bda9..9edf2fb 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -3,9 +3,9 @@ import Link from 'next/link' import { ReactElement } from 'react' import { getProfilAtih } from '../authentification' -import AccesRapide from '../components/commun/AccesRapide' -import EnTete from '../components/commun/EnTete' -import PiedDePage from '../components/commun/PiedDePage' +import AccesRapide from '../components/sharedComponents/AccesRapide' +import EnTete from '../components/sharedComponents/EnTete' +import PiedDePage from '../components/sharedComponents/PiedDePage' export const metadata: Metadata = { title: 'Page non trouvée', diff --git a/src/components/CreerUnInventaire/CreerUnInventaire.tsx b/src/components/CreerUnInventaire/CreerUnInventaire.tsx index c94c47f..4204c69 100644 --- a/src/components/CreerUnInventaire/CreerUnInventaire.tsx +++ b/src/components/CreerUnInventaire/CreerUnInventaire.tsx @@ -4,7 +4,7 @@ import { ReactElement } from 'react' import { useCreerUnInventaire } from './useCreerUnInventaire' import { formaterLeNomEtablissement } from '../../presenters/sharedPresenter' -import InfoBulle from '../commun/Infobulle' +import InfoBulle from '../sharedComponents/Infobulle' type CreerUnInventaireProps = Readonly<{ nomEtablissement: string diff --git a/src/components/CreerUnInventaire/useCreerUnInventaire.ts b/src/components/CreerUnInventaire/useCreerUnInventaire.ts index 933fdb7..3be0602 100644 --- a/src/components/CreerUnInventaire/useCreerUnInventaire.ts +++ b/src/components/CreerUnInventaire/useCreerUnInventaire.ts @@ -1,8 +1,8 @@ import { useRouter } from 'next/navigation' import { FormEvent } from 'react' -import { isLeNomInventaireExisteAction } from '../commun/action' -import { useModifierNouveauNomInventaire } from '../commun/useModifierNouveauNomInventaire' +import { isLeNomInventaireExisteAction } from '../sharedComponents/action' +import { useModifierNouveauNomInventaire } from '../sharedComponents/useModifierNouveauNomInventaire' type UseCreerUnInventaire = Readonly<{ creerInventaire: (event: FormEvent) => Promise diff --git a/src/components/CreerUneSimulation/CreerUneSimulation.tsx b/src/components/CreerUneSimulation/CreerUneSimulation.tsx index 57b6f34..ed91b89 100644 --- a/src/components/CreerUneSimulation/CreerUneSimulation.tsx +++ b/src/components/CreerUneSimulation/CreerUneSimulation.tsx @@ -8,7 +8,7 @@ import HeureUtilisation from './HeureUtilisation' import NombreEquipement from './NombreEquipement' import { useCreerUneSimulation } from './useCreerUneSimulation' import { formaterLeNomEtablissement } from '../../presenters/sharedPresenter' -import InfoBulle from '../commun/Infobulle' +import InfoBulle from '../sharedComponents/Infobulle' type CreerUneSimulationProps = Readonly<{ ancienNomInventaire: string diff --git a/src/components/CreerUneSimulation/DureeDeVie.tsx b/src/components/CreerUneSimulation/DureeDeVie.tsx index c274997..4deeaff 100644 --- a/src/components/CreerUneSimulation/DureeDeVie.tsx +++ b/src/components/CreerUneSimulation/DureeDeVie.tsx @@ -1,6 +1,6 @@ import { FormEvent, ReactElement, useState } from 'react' -import InfoBulle from '../commun/Infobulle' +import InfoBulle from '../sharedComponents/Infobulle' export default function DureeDeVie(): ReactElement { const [dureeDeVie, setDureeDeVie] = useState('0') diff --git a/src/components/CreerUneSimulation/HeureUtilisation.tsx b/src/components/CreerUneSimulation/HeureUtilisation.tsx index 160bab0..758dc3e 100644 --- a/src/components/CreerUneSimulation/HeureUtilisation.tsx +++ b/src/components/CreerUneSimulation/HeureUtilisation.tsx @@ -1,6 +1,6 @@ import { FormEvent, ReactElement, useState } from 'react' -import InfoBulle from '../commun/Infobulle' +import InfoBulle from '../sharedComponents/Infobulle' export default function HeureUtilisation(): ReactElement { const [heureUtilisation, setHeureUtilisation] = useState('0') diff --git a/src/components/CreerUneSimulation/NombreEquipement.tsx b/src/components/CreerUneSimulation/NombreEquipement.tsx index 400263c..e537680 100644 --- a/src/components/CreerUneSimulation/NombreEquipement.tsx +++ b/src/components/CreerUneSimulation/NombreEquipement.tsx @@ -1,6 +1,6 @@ import { FormEvent, ReactElement, useState } from 'react' -import InfoBulle from '../commun/Infobulle' +import InfoBulle from '../sharedComponents/Infobulle' export default function NombreEquipement(): ReactElement { const [nombreEquipement, setNombreEquipement] = useState('0') diff --git a/src/components/CreerUneSimulation/useCreerUneSimulation.ts b/src/components/CreerUneSimulation/useCreerUneSimulation.ts index f82fb64..65a6179 100644 --- a/src/components/CreerUneSimulation/useCreerUneSimulation.ts +++ b/src/components/CreerUneSimulation/useCreerUneSimulation.ts @@ -2,8 +2,8 @@ import { useRouter } from 'next/navigation' import { FormEvent } from 'react' import { StatutsInventaire } from '../../presenters/sharedPresenter' -import { isLeNomInventaireExisteAction } from '../commun/action' -import { useModifierNouveauNomInventaire } from '../commun/useModifierNouveauNomInventaire' +import { isLeNomInventaireExisteAction } from '../sharedComponents/action' +import { useModifierNouveauNomInventaire } from '../sharedComponents/useModifierNouveauNomInventaire' type UseCreerUneSimulation = Readonly<{ creerUneSimulation: (event: FormEvent) => Promise diff --git a/src/components/Faq/Faq.tsx b/src/components/Faq/Faq.tsx index 9826322..05f4414 100644 --- a/src/components/Faq/Faq.tsx +++ b/src/components/Faq/Faq.tsx @@ -1,6 +1,6 @@ import { ReactElement } from 'react' -import Accordeon from '../commun/Accordeon' +import Accordeon from '../sharedComponents/Accordeon' export default function Faq(): ReactElement { return ( diff --git a/src/components/IndicateursCles/Indicateur.tsx b/src/components/IndicateursCles/Indicateur.tsx index ef25e87..5332979 100644 --- a/src/components/IndicateursCles/Indicateur.tsx +++ b/src/components/IndicateursCles/Indicateur.tsx @@ -1,6 +1,6 @@ import { ReactElement } from 'react' -import InfoBulle from '../commun/Infobulle' +import InfoBulle from '../sharedComponents/Infobulle' type IndicateurProps = Readonly<{ coin: 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right' diff --git a/src/components/IndicateursCles/IndicateursCles.tsx b/src/components/IndicateursCles/IndicateursCles.tsx index e9cc75d..0028905 100644 --- a/src/components/IndicateursCles/IndicateursCles.tsx +++ b/src/components/IndicateursCles/IndicateursCles.tsx @@ -9,10 +9,10 @@ import { donneesParCycleDeVie, donneesParTypeEquipement, donneesRepartitionParTy import Indicateur from './Indicateur' import Transcription from './Transcription' import { EtapesAcv, IndicateursClesPresenter } from '../../presenters/indicateursClesPresenter' -import Accordeon from '../commun/Accordeon' -import Actions from '../commun/Actions' -import InfoBulle from '../commun/Infobulle' -import Onglets from '../commun/Onglets' +import Accordeon from '../sharedComponents/Accordeon' +import Actions from '../sharedComponents/Actions' +import InfoBulle from '../sharedComponents/Infobulle' +import Onglets from '../sharedComponents/Onglets' type IndicateursClesProps = Readonly<{ nomEtablissement: string diff --git a/src/components/Inventaire/Inventaire.tsx b/src/components/Inventaire/Inventaire.tsx index 3e4af4d..cec9460 100644 --- a/src/components/Inventaire/Inventaire.tsx +++ b/src/components/Inventaire/Inventaire.tsx @@ -7,7 +7,7 @@ import Equipement from './Equipement' import { useInventaire } from './useInventaire' import { InventairePresenter } from '../../presenters/inventairePresenter' import { formaterEnIdentifiant, formaterLeNomEtablissement } from '../../presenters/sharedPresenter' -import AlerteSucces from '../commun/AlerteSucces' +import AlerteSucces from '../sharedComponents/AlerteSucces' type InventaireProps = Readonly<{ nomEtablissement: string diff --git a/src/components/Inventaire/Modele.tsx b/src/components/Inventaire/Modele.tsx index 0e8108e..1208acd 100644 --- a/src/components/Inventaire/Modele.tsx +++ b/src/components/Inventaire/Modele.tsx @@ -1,7 +1,7 @@ import { FormEvent, ReactElement } from 'react' import { ModeleReducer } from './useEquipement' -import InfoBulle from '../commun/Infobulle' +import InfoBulle from '../sharedComponents/Infobulle' type ModeleProps = Readonly<{ id: string diff --git a/src/components/Inventaires/ActionSupprimer.tsx b/src/components/Inventaires/ActionSupprimer.tsx index c19d501..4061426 100644 --- a/src/components/Inventaires/ActionSupprimer.tsx +++ b/src/components/Inventaires/ActionSupprimer.tsx @@ -3,8 +3,8 @@ import React, { ReactElement } from 'react' import { InventairePresenter } from '../../presenters/inventairesPresenter' -import SupprimerUnInventaire from '../commun/SupprimerUnInventaire' -import { useModale } from '../commun/useModale' +import SupprimerUnInventaire from '../sharedComponents/SupprimerUnInventaire' +import { useModale } from '../sharedComponents/useModale' type InventairesProps = Readonly<{ inventaire: InventairePresenter diff --git a/src/components/Inventaires/InventairesLayout.tsx b/src/components/Inventaires/InventairesLayout.tsx index 6615e15..b2b6a04 100644 --- a/src/components/Inventaires/InventairesLayout.tsx +++ b/src/components/Inventaires/InventairesLayout.tsx @@ -4,7 +4,7 @@ import { ReactElement } from 'react' import Inventaires from './Inventaires' import InventairesVide from './InventairesVide' import { InventairesPresenter } from '../../presenters/inventairesPresenter' -import InfoBulle from '../commun/Infobulle' +import InfoBulle from '../sharedComponents/Infobulle' type InventairesLayoutProps = Readonly<{ presenter: InventairesPresenter diff --git a/src/components/ListeEquipements/ListeEquipements.tsx b/src/components/ListeEquipements/ListeEquipements.tsx index 539a757..d3278b9 100644 --- a/src/components/ListeEquipements/ListeEquipements.tsx +++ b/src/components/ListeEquipements/ListeEquipements.tsx @@ -3,9 +3,9 @@ import { ReactElement } from 'react' import Equipement from './Equipement' import { ListeEquipementsPresenter } from '../../presenters/listeEquipementsPresenter' import { formaterEnIdentifiant } from '../../presenters/sharedPresenter' -import Accordeon from '../commun/Accordeon' -import Actions from '../commun/Actions' -import Onglets from '../commun/Onglets' +import Accordeon from '../sharedComponents/Accordeon' +import Actions from '../sharedComponents/Actions' +import Onglets from '../sharedComponents/Onglets' type ListeEquipementsProps = Readonly<{ nomEtablissement: string diff --git a/src/components/ModifierLeNomInventaire/ModifierLeNomInventaire.tsx b/src/components/ModifierLeNomInventaire/ModifierLeNomInventaire.tsx index c8034af..4755670 100644 --- a/src/components/ModifierLeNomInventaire/ModifierLeNomInventaire.tsx +++ b/src/components/ModifierLeNomInventaire/ModifierLeNomInventaire.tsx @@ -4,7 +4,7 @@ import { ReactElement } from 'react' import { useModifierLeNomInventaire } from './useModifierLeNomInventaire' import { formaterLeNomEtablissement } from '../../presenters/sharedPresenter' -import InfoBulle from '../commun/Infobulle' +import InfoBulle from '../sharedComponents/Infobulle' type ModifierLeNomInventaireProps = Readonly<{ nomEtablissement: string diff --git a/src/components/ModifierLeNomInventaire/useModifierLeNomInventaire.ts b/src/components/ModifierLeNomInventaire/useModifierLeNomInventaire.ts index d06f1d6..aec9ed1 100644 --- a/src/components/ModifierLeNomInventaire/useModifierLeNomInventaire.ts +++ b/src/components/ModifierLeNomInventaire/useModifierLeNomInventaire.ts @@ -2,8 +2,8 @@ import { useRouter } from 'next/navigation' import { FormEvent } from 'react' import { modifierLeNomInventaireAction } from './action' -import { isLeNomInventaireExisteAction } from '../commun/action' -import { useModifierNouveauNomInventaire } from '../commun/useModifierNouveauNomInventaire' +import { isLeNomInventaireExisteAction } from '../sharedComponents/action' +import { useModifierNouveauNomInventaire } from '../sharedComponents/useModifierNouveauNomInventaire' type UseModifierLeNomInventaire = Readonly<{ isDisabled: boolean diff --git a/src/components/ModifierUnReferentiel/ModifierUnReferentiel.tsx b/src/components/ModifierUnReferentiel/ModifierUnReferentiel.tsx index bb7ec8f..5e030bd 100644 --- a/src/components/ModifierUnReferentiel/ModifierUnReferentiel.tsx +++ b/src/components/ModifierUnReferentiel/ModifierUnReferentiel.tsx @@ -4,8 +4,8 @@ import { ReactElement } from 'react' import SoumettreUnReferentiel from './SoumettreUnReferentiel' import { useModifierUnReferentiel } from './useModifierUnReferentiel' -import AlerteErreur from '../commun/AlerteErreur' -import AlerteSucces from '../commun/AlerteSucces' +import AlerteErreur from '../sharedComponents/AlerteErreur' +import AlerteSucces from '../sharedComponents/AlerteSucces' export default function ModifierUnReferentiel(): ReactElement { const { diff --git a/src/components/ModifierUnReferentiel/SoumettreUnReferentiel.tsx b/src/components/ModifierUnReferentiel/SoumettreUnReferentiel.tsx index d9f548c..aa1f2a2 100644 --- a/src/components/ModifierUnReferentiel/SoumettreUnReferentiel.tsx +++ b/src/components/ModifierUnReferentiel/SoumettreUnReferentiel.tsx @@ -1,7 +1,7 @@ import React, { ReactElement } from 'react' -import Modale from '../commun/Modale' -import { useModale } from '../commun/useModale' +import Modale from '../sharedComponents/Modale' +import { useModale } from '../sharedComponents/useModale' type ModaleModifierUnReferentielProps = Readonly<{ isDisabled: boolean diff --git a/src/components/commun/AccesRapide.tsx b/src/components/sharedComponents/AccesRapide.tsx similarity index 100% rename from src/components/commun/AccesRapide.tsx rename to src/components/sharedComponents/AccesRapide.tsx diff --git a/src/components/commun/Accordeon.tsx b/src/components/sharedComponents/Accordeon.tsx similarity index 100% rename from src/components/commun/Accordeon.tsx rename to src/components/sharedComponents/Accordeon.tsx diff --git a/src/components/commun/Action.module.css b/src/components/sharedComponents/Action.module.css similarity index 100% rename from src/components/commun/Action.module.css rename to src/components/sharedComponents/Action.module.css diff --git a/src/components/commun/Actions.tsx b/src/components/sharedComponents/Actions.tsx similarity index 100% rename from src/components/commun/Actions.tsx rename to src/components/sharedComponents/Actions.tsx diff --git a/src/components/commun/AlerteErreur.tsx b/src/components/sharedComponents/AlerteErreur.tsx similarity index 100% rename from src/components/commun/AlerteErreur.tsx rename to src/components/sharedComponents/AlerteErreur.tsx diff --git a/src/components/commun/AlerteSucces.tsx b/src/components/sharedComponents/AlerteSucces.tsx similarity index 100% rename from src/components/commun/AlerteSucces.tsx rename to src/components/sharedComponents/AlerteSucces.tsx diff --git a/src/components/commun/Breadcrumb.tsx b/src/components/sharedComponents/Breadcrumb.tsx similarity index 100% rename from src/components/commun/Breadcrumb.tsx rename to src/components/sharedComponents/Breadcrumb.tsx diff --git a/src/components/commun/Deconnexion.tsx b/src/components/sharedComponents/Deconnexion.tsx similarity index 100% rename from src/components/commun/Deconnexion.tsx rename to src/components/sharedComponents/Deconnexion.tsx diff --git a/src/components/commun/EnTete.test.tsx b/src/components/sharedComponents/EnTete.test.tsx similarity index 100% rename from src/components/commun/EnTete.test.tsx rename to src/components/sharedComponents/EnTete.test.tsx diff --git a/src/components/commun/EnTete.tsx b/src/components/sharedComponents/EnTete.tsx similarity index 100% rename from src/components/commun/EnTete.tsx rename to src/components/sharedComponents/EnTete.tsx diff --git a/src/components/commun/Infobulle.tsx b/src/components/sharedComponents/Infobulle.tsx similarity index 100% rename from src/components/commun/Infobulle.tsx rename to src/components/sharedComponents/Infobulle.tsx diff --git a/src/components/commun/Modale.tsx b/src/components/sharedComponents/Modale.tsx similarity index 100% rename from src/components/commun/Modale.tsx rename to src/components/sharedComponents/Modale.tsx diff --git a/src/components/commun/Onglets.tsx b/src/components/sharedComponents/Onglets.tsx similarity index 100% rename from src/components/commun/Onglets.tsx rename to src/components/sharedComponents/Onglets.tsx diff --git a/src/components/commun/PiedDePage.tsx b/src/components/sharedComponents/PiedDePage.tsx similarity index 100% rename from src/components/commun/PiedDePage.tsx rename to src/components/sharedComponents/PiedDePage.tsx diff --git a/src/components/commun/SupprimerUnInventaire.tsx b/src/components/sharedComponents/SupprimerUnInventaire.tsx similarity index 89% rename from src/components/commun/SupprimerUnInventaire.tsx rename to src/components/sharedComponents/SupprimerUnInventaire.tsx index 66ef13d..4d06245 100644 --- a/src/components/commun/SupprimerUnInventaire.tsx +++ b/src/components/sharedComponents/SupprimerUnInventaire.tsx @@ -3,8 +3,8 @@ import { useRouter } from 'next/navigation' import React, { ReactElement } from 'react' -import { supprimerInventaireAction } from '../commun/action' -import Modale from '../commun/Modale' +import { supprimerInventaireAction } from '../sharedComponents/action' +import Modale from '../sharedComponents/Modale' type SupprimerUnInventaireProps = Readonly<{ fermerLaModale: () => void diff --git a/src/components/commun/action.ts b/src/components/sharedComponents/action.ts similarity index 100% rename from src/components/commun/action.ts rename to src/components/sharedComponents/action.ts diff --git a/src/components/commun/useModale.ts b/src/components/sharedComponents/useModale.ts similarity index 100% rename from src/components/commun/useModale.ts rename to src/components/sharedComponents/useModale.ts diff --git a/src/components/commun/useModifierNouveauNomInventaire.ts b/src/components/sharedComponents/useModifierNouveauNomInventaire.ts similarity index 100% rename from src/components/commun/useModifierNouveauNomInventaire.ts rename to src/components/sharedComponents/useModifierNouveauNomInventaire.ts