Skip to content

Commit

Permalink
img background fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wcodersv committed Feb 13, 2024
1 parent 58408e2 commit 1119c24
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "beer-insiders",
"version": "0.1.0",
"private": true,
"homepage": "https://wcodersv.github.io/BeerInsiders-React-JS/",
"dependencies": {
"-": "^0.0.1",
"@testing-library/jest-dom": "^5.17.0",
Expand All @@ -21,7 +22,9 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"deploy": "gh-pages -d build",
"predeploy": "npm run build"
},
"eslintConfig": {
"extends": [
Expand Down
5 changes: 3 additions & 2 deletions src/layout/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ export const Header = () => {
<p className={styles.hero_description}>Владелец бара планирует закупки на сезон. Проверяет статистику продаж и спрашивает себя: как быстро выбрать напитки, которые будут продаваться?</p>
<p className={styles.hero_description}>На обновление барной карты хочется тратить пару дней вместо недель. В Beer Insiders мы проанализировали рынок и вот что выяснили.</p>
</div>
<div className={styles.shadow}></div>
</header>
<div className={styles.shadow}></div>

</>
)
}
}
2 changes: 1 addition & 1 deletion src/layout/Header/Header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

.shadow {
width: 100%;
height: 100dvh;
height: 100%;
background: linear-gradient(180deg, rgba(40, 40, 40, 0) 26%, rgba(40, 40, 40, 0.92) 70%, #282828 90%);
position: absolute;
top: 0;
Expand Down

0 comments on commit 1119c24

Please sign in to comment.