Skip to content

Commit e7647b8

Browse files
committed
fix: correct image paths in home.scss for deployment
1 parent 5c9f2f3 commit e7647b8

5 files changed

Lines changed: 20 additions & 20 deletions

File tree

src/styles/main.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ main {
479479
max-width: 29rem;
480480
}
481481
.slider__img {
482-
background: url(../../../assets/img/coffee-slider-1.png) 50%/cover no-repeat;
482+
background: url(../../assets/img/coffee-slider-1.png) 50%/cover no-repeat;
483483
width: 100%;
484484
min-height: 30rem;
485485
}
@@ -593,7 +593,7 @@ main {
593593
}
594594
}
595595
.about__img1 {
596-
background: url(../../../assets/img/about-1.jpg) 50%/cover no-repeat;
596+
background: url(../../assets/img/about-1.jpg) 50%/cover no-repeat;
597597
height: 41.2rem;
598598
margin: -2.1rem -2.3rem;
599599
}
@@ -604,7 +604,7 @@ main {
604604
}
605605
}
606606
.about__img2 {
607-
background: url(../../../assets/img/about-2.jpg) 50%/cover no-repeat;
607+
background: url(../../assets/img/about-2.jpg) 50%/cover no-repeat;
608608
height: 30rem;
609609
margin: -1.5rem -2.3rem;
610610
}
@@ -614,7 +614,7 @@ main {
614614
}
615615
}
616616
.about__img3 {
617-
background: url(../../../assets/img/about-3.jpg) 50%/cover no-repeat;
617+
background: url(../../assets/img/about-3.jpg) 50%/cover no-repeat;
618618
height: 30rem;
619619
margin: -1.5rem -2.3rem;
620620
}
@@ -624,7 +624,7 @@ main {
624624
}
625625
}
626626
.about__img4 {
627-
background: url(../../../assets/img/about-4.jpg) 50%/cover no-repeat;
627+
background: url(../../assets/img/about-4.jpg) 50%/cover no-repeat;
628628
height: 41.2rem;
629629
margin: -2.1rem -2.3rem;
630630
}
@@ -712,7 +712,7 @@ main {
712712
fill: #403F3D;
713713
}
714714
.mobile-app__img {
715-
background: url(../../../assets/img/mobile-screens.png) no-repeat;
715+
background: url(../../assets/img/mobile-screens.png) no-repeat;
716716
width: 50%;
717717
height: 39.375rem;
718718
background-size: contain;

src/styles/main.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/styles/pages/home.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ main {
158158
max-width: 29rem;
159159
}
160160
.slider__img {
161-
background: url(../../../assets/img/coffee-slider-1.png) 50%/cover no-repeat;
161+
background: url(../../assets/img/coffee-slider-1.png) 50%/cover no-repeat;
162162
width: 100%;
163163
min-height: 30rem;
164164
}
@@ -272,7 +272,7 @@ main {
272272
}
273273
}
274274
.about__img1 {
275-
background: url(../../../assets/img/about-1.jpg) 50%/cover no-repeat;
275+
background: url(../../assets/img/about-1.jpg) 50%/cover no-repeat;
276276
height: 41.2rem;
277277
margin: -2.1rem -2.3rem;
278278
}
@@ -283,7 +283,7 @@ main {
283283
}
284284
}
285285
.about__img2 {
286-
background: url(../../../assets/img/about-2.jpg) 50%/cover no-repeat;
286+
background: url(../../assets/img/about-2.jpg) 50%/cover no-repeat;
287287
height: 30rem;
288288
margin: -1.5rem -2.3rem;
289289
}
@@ -293,7 +293,7 @@ main {
293293
}
294294
}
295295
.about__img3 {
296-
background: url(../../../assets/img/about-3.jpg) 50%/cover no-repeat;
296+
background: url(../../assets/img/about-3.jpg) 50%/cover no-repeat;
297297
height: 30rem;
298298
margin: -1.5rem -2.3rem;
299299
}
@@ -303,7 +303,7 @@ main {
303303
}
304304
}
305305
.about__img4 {
306-
background: url(../../../assets/img/about-4.jpg) 50%/cover no-repeat;
306+
background: url(../../assets/img/about-4.jpg) 50%/cover no-repeat;
307307
height: 41.2rem;
308308
margin: -2.1rem -2.3rem;
309309
}
@@ -391,7 +391,7 @@ main {
391391
fill: #403F3D;
392392
}
393393
.mobile-app__img {
394-
background: url(../../../assets/img/mobile-screens.png) no-repeat;
394+
background: url(../../assets/img/mobile-screens.png) no-repeat;
395395
width: 50%;
396396
height: 39.375rem;
397397
background-size: contain;

0 commit comments

Comments
 (0)