Skip to content

Commit

Permalink
feat: fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
ImenOuidou committed Nov 1, 2023
2 parents 4f86204 + 8290ad9 commit 7d8aa68
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 14 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# [27.85.0](https://github.com/SocialGouv/fce/compare/v27.84.0...v27.85.0) (2023-10-29)


### Features

* notify users about new design ([#300](https://github.com/SocialGouv/fce/issues/300)) ([c171806](https://github.com/SocialGouv/fce/commit/c1718069f0958068ecef8a9535b212fc812f75cb))

# [27.84.0](https://github.com/SocialGouv/fce/compare/v27.83.0...v27.84.0) (2023-10-18)


### Features

* corriger le lien egapro ([#299](https://github.com/SocialGouv/fce/issues/299)) ([d51c458](https://github.com/SocialGouv/fce/commit/d51c458ea3de23d947f5f6a44168d76fc33d300e))

# [27.83.0](https://github.com/SocialGouv/fce/compare/v27.82.2...v27.83.0) (2023-09-13)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fce",
"version": "27.83.0",
"version": "27.85.0",
"description": "",
"author": "commit42",
"private": true,
Expand Down
8 changes: 7 additions & 1 deletion src/client/src/components/App/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,17 @@ const App = () => {
<Maintenance />
) : (
<Switch>
<PrivateRoute exact path="/" component={Search} />
<PrivateRoute
exact
displayMessage
path="/"
component={Search}
/>
<PrivateRoute
exact
path="/search"
component={Search}
displayMessage
/>
<PrivateRoute
exact
Expand Down
22 changes: 11 additions & 11 deletions src/client/src/components/App/Header/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,26 +101,26 @@

.beta-message {
@extend %flex-center;
height: 40px;
font-size: 0.9rem;
font-weight: bold;
text-align: center;
font-size: 1rem;
letter-spacing: 0.04rem;
color: $black;
background-color: #ffe15b;
color: #0063cb;
background-color: #e8edff;
padding: 1rem;
box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.1);

&__nouveaute {
font-weight: bold;
}
&__feedback-link {
margin-left: $spacing-1;
padding: $spacing-1 $spacing-2;
color: $dark-grey;
background-color: $white;
color: #0063cb !important;
transition: background-size 0s;
background-color: #b9c7f3;
border-radius: $border-radius-1;
transition: color $duration-2, background-color $duration-2;

&:hover {
color: $white;
background-color: $primary;
background-color: #a9bfff;
}
}
}
1 change: 1 addition & 0 deletions src/client/src/components/App/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const Layout = ({

Layout.propTypes = {
children: PropTypes.node,
displayMessage: PropTypes.bool,
hasLandingHeader: PropTypes.bool,
hasSharedButton: PropTypes.bool,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const Egapro = ({ enterprise }) => (
</div>
<span className="text">
<a
href={`https://egapro.travail.gouv.fr/consulter-index/recherche?q=${enterprise.siren}`}
href={`https://egapro.travail.gouv.fr/index-egapro/recherche?query=${enterprise.siren}`}
rel="noreferrer noopener"
target="_blank"
>
Expand Down
1 change: 1 addition & 0 deletions src/client/src/services/PrivateRoute/PrivateRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ const PrivateRoute = ({

PrivateRoute.propTypes = {
component: PropTypes.elementType,
displayMessage: PropTypes.bool,
history: PropTypes.shape({
push: PropTypes.func,
}),
Expand Down

0 comments on commit 7d8aa68

Please sign in to comment.