diff --git a/src/app/__tests__/__snapshots__/App.tsx.snap b/src/app/__tests__/__snapshots__/App.tsx.snap index 64b5982..90c3d5a 100644 --- a/src/app/__tests__/__snapshots__/App.tsx.snap +++ b/src/app/__tests__/__snapshots__/App.tsx.snap @@ -2,7 +2,7 @@ exports[` renders 1`] = `
( -
+
Logo diff --git a/src/app/styles.module.scss b/src/app/styles.module.scss index 0315e6b..725e368 100755 --- a/src/app/styles.module.scss +++ b/src/app/styles.module.scss @@ -5,21 +5,13 @@ body { font-family: "Helvetica-Light", Helvetica, Arial, sans-serif; } -.App { +.app { color: $color-white; - .header { - color: inherit; - display: block; - overflow: auto; - padding: 15px; - text-decoration: none; - - img { - float: left; - height: 70px; - margin-right: 1em; - } + img { + float: left; + height: 70px; + margin-right: 1em; } hr { @@ -28,3 +20,11 @@ body { opacity: 0.15; } } + +.header { + color: inherit; + display: block; + overflow: auto; + padding: 15px; + text-decoration: none; +} diff --git a/src/components/AddEnvie/styles.module.scss b/src/components/AddEnvie/styles.module.scss index ee7f04a..e03c513 100644 --- a/src/components/AddEnvie/styles.module.scss +++ b/src/components/AddEnvie/styles.module.scss @@ -5,10 +5,10 @@ ul { padding-left: 17px; + } - li { - margin-bottom: 0.5em; - } + li { + margin-bottom: 0.5em; } a { diff --git a/src/components/JeuJavList/styles.module.scss b/src/components/JeuJavList/styles.module.scss index ee7f04a..e03c513 100644 --- a/src/components/JeuJavList/styles.module.scss +++ b/src/components/JeuJavList/styles.module.scss @@ -5,10 +5,10 @@ ul { padding-left: 17px; + } - li { - margin-bottom: 0.5em; - } + li { + margin-bottom: 0.5em; } a { diff --git a/src/components/Loading/__tests__/__snapshots__/Loading.tsx.snap b/src/components/Loading/__tests__/__snapshots__/Loading.tsx.snap index e10a78e..e4399dc 100644 --- a/src/components/Loading/__tests__/__snapshots__/Loading.tsx.snap +++ b/src/components/Loading/__tests__/__snapshots__/Loading.tsx.snap @@ -2,7 +2,7 @@ exports[` renders 1`] = `

Loading... diff --git a/src/components/Loading/index.tsx b/src/components/Loading/index.tsx index e4b9fa6..8577986 100755 --- a/src/components/Loading/index.tsx +++ b/src/components/Loading/index.tsx @@ -1,7 +1,7 @@ import styles from "./styles.module.scss" const Loading = (): JSX.Element => ( -

+

Loading...

) diff --git a/src/components/Loading/styles.module.scss b/src/components/Loading/styles.module.scss index b398772..dad6478 100755 --- a/src/components/Loading/styles.module.scss +++ b/src/components/Loading/styles.module.scss @@ -1,3 +1,3 @@ -.Loading { +.loading { padding: 0 15px; } diff --git a/src/components/MembreInfo/styles.module.scss b/src/components/MembreInfo/styles.module.scss index d3a8829..015aa11 100755 --- a/src/components/MembreInfo/styles.module.scss +++ b/src/components/MembreInfo/styles.module.scss @@ -1,9 +1,9 @@ .membre-card { ul { padding-left: 17px; + } - li { - margin-bottom: 0.5em; - } + li { + margin-bottom: 0.5em; } } diff --git a/src/components/MembreList/__tests__/__snapshots__/MembreList.tsx.snap b/src/components/MembreList/__tests__/__snapshots__/MembreList.tsx.snap index 20010c7..b48b05f 100644 --- a/src/components/MembreList/__tests__/__snapshots__/MembreList.tsx.snap +++ b/src/components/MembreList/__tests__/__snapshots__/MembreList.tsx.snap @@ -2,7 +2,7 @@ exports[` renders 1`] = `

Membre List diff --git a/src/components/MembreList/index.tsx b/src/components/MembreList/index.tsx index ab6376a..130f043 100755 --- a/src/components/MembreList/index.tsx +++ b/src/components/MembreList/index.tsx @@ -9,7 +9,7 @@ interface Props { } const MembreList = ({ items }: Props) => ( -
+

Membre List

    {items.map(({ id, nom, prenom }) => ( diff --git a/src/components/MembreList/styles.module.scss b/src/components/MembreList/styles.module.scss index 916be1d..7fbac1c 100755 --- a/src/components/MembreList/styles.module.scss +++ b/src/components/MembreList/styles.module.scss @@ -1,14 +1,14 @@ @import "../../theme/variables"; -.UserList { +.user-list { color: $color-white; ul { padding-left: 17px; + } - li { - margin-bottom: 0.5em; - } + li { + margin-bottom: 0.5em; } a { diff --git a/src/components/MembreSet/styles.module.scss b/src/components/MembreSet/styles.module.scss index ee7f04a..e03c513 100644 --- a/src/components/MembreSet/styles.module.scss +++ b/src/components/MembreSet/styles.module.scss @@ -5,10 +5,10 @@ ul { padding-left: 17px; + } - li { - margin-bottom: 0.5em; - } + li { + margin-bottom: 0.5em; } a { diff --git a/src/pages/Home/Home.tsx b/src/pages/Home/Home.tsx index 2e10a43..310eb97 100755 --- a/src/pages/Home/Home.tsx +++ b/src/pages/Home/Home.tsx @@ -37,7 +37,7 @@ function useList( const Home: FC = (): JSX.Element => { const dispatch = useDispatch() return ( -
    +
    {/* {useList((state: AppState) => state.envieList, fetchEnvieListifNeed)()} */} diff --git a/src/pages/Home/__tests__/__snapshots__/Home.tsx.snap b/src/pages/Home/__tests__/__snapshots__/Home.tsx.snap index 6a2e376..688463e 100644 --- a/src/pages/Home/__tests__/__snapshots__/Home.tsx.snap +++ b/src/pages/Home/__tests__/__snapshots__/Home.tsx.snap @@ -2,7 +2,7 @@ exports[` renders an error if loading failed 1`] = `
    renders an error if loading failed 1`] = ` exports[` renders the if loading was successful 1`] = `
    renders the if loading was successful 1`] = ` exports[` renders the loading status if data invalid 1`] = `
    renders the loading status if data invalid 1`] = ` exports[` renders the loading status if requesting data 1`] = `
    { } return ( -
    +
    {renderInfo()}
    diff --git a/src/pages/MembrePage/__tests__/__snapshots__/MembrePage.tsx.snap b/src/pages/MembrePage/__tests__/__snapshots__/MembrePage.tsx.snap index 2a37f8c..9b5121d 100644 --- a/src/pages/MembrePage/__tests__/__snapshots__/MembrePage.tsx.snap +++ b/src/pages/MembrePage/__tests__/__snapshots__/MembrePage.tsx.snap @@ -2,7 +2,7 @@ exports[` renders an error if loading failed 1`] = `

    Oops! Failed to load data. @@ -12,7 +12,7 @@ exports[` renders an error if loading failed 1`] = ` exports[` renders the if loading was successful 1`] = `

    renders the if loading was successful 1`] = ` exports[` renders the loading status if data invalid 1`] = `

    Oops! Failed to load data. @@ -95,7 +95,7 @@ exports[` renders the loading status if data invalid 1`] = ` exports[` renders the loading status if requesting data 1`] = `

    Loading... diff --git a/src/pages/MembrePage/styles.module.scss b/src/pages/MembrePage/styles.module.scss index dee30cc..0dbe1be 100755 --- a/src/pages/MembrePage/styles.module.scss +++ b/src/pages/MembrePage/styles.module.scss @@ -1,3 +1,3 @@ -.Membre { +.membre { padding: 0 15px; } diff --git a/src/pages/NotFound/__tests__/__snapshots__/NotFound.tsx.snap b/src/pages/NotFound/__tests__/__snapshots__/NotFound.tsx.snap index e0c5951..7cf9370 100644 --- a/src/pages/NotFound/__tests__/__snapshots__/NotFound.tsx.snap +++ b/src/pages/NotFound/__tests__/__snapshots__/NotFound.tsx.snap @@ -2,7 +2,7 @@ exports[` renders 1`] = `

    Oops, Page was not found! diff --git a/src/pages/NotFound/index.tsx b/src/pages/NotFound/index.tsx index 70ce81b..73b09e3 100755 --- a/src/pages/NotFound/index.tsx +++ b/src/pages/NotFound/index.tsx @@ -13,7 +13,7 @@ const NotFound = ({ staticContext }: Props) => { if (staticContext) staticContext.statusCode = 404 return ( -

    +

    Oops, Page was not found!

    diff --git a/src/pages/NotFound/styles.module.scss b/src/pages/NotFound/styles.module.scss index d850c6c..6eba38d 100755 --- a/src/pages/NotFound/styles.module.scss +++ b/src/pages/NotFound/styles.module.scss @@ -1,3 +1,3 @@ -.NotFound { +.not-found { padding: 0 15px; }