Skip to content

Commit

Permalink
improve home
Browse files Browse the repository at this point in the history
  • Loading branch information
robindemourat committed Jul 29, 2024
1 parent 571b023 commit 16a043f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ function App() {
}
}
/>
<img className="welcome-image"
src={`${process.env.PUBLIC_URL}/images/accueil-dessin-des-abords-V2-web.jpg`}
alt="accueil"
/>
{
menuData
.slice(1)
Expand Down
11 changes: 11 additions & 0 deletions src/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ main .section {
// z-index: -1;
// opacity: .1;
// }
@media screen and (max-width: $main-width) {
width: calc(100vw - 2rem);
}
.home-contents {
max-width: $main-width;
width: $main-width;
Expand Down Expand Up @@ -292,6 +295,14 @@ main .section {
}
}

.welcome-image{
max-width: $main-width;
@media screen and (max-width: $main-width) {
max-width: calc(100% - 2rem);
}

}

.section.voyageurs {
$part-height: calc(100vh - 3rem);
display: flex;
Expand Down

0 comments on commit 16a043f

Please sign in to comment.