Skip to content

Commit

Permalink
docs: fix relative path for css images
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Apr 7, 2020
1 parent 337824a commit 483828a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions projects/ngrx.io/src/styles/1-layouts/_homepage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ aio-shell.page-home {
}

header {
background-image: url('/assets/images/header.svg');
background-image: url('~/assets/images/header.svg');
background-size: cover;
background-position: center center;
height: 80vh;
Expand Down Expand Up @@ -163,7 +163,7 @@ aio-shell.page-home {
}

.final-ngrx-callout {
background-image: url('/assets/images/header.svg');
background-image: url('~/assets/images/header.svg');
background-size: cover;
background-position: bottom center;
height: 180px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}

.homepage-header {
background: url('assets/images/banner.svg');
background: url('~/assets/images/banner.svg');
background-size: 100%;
}

Expand Down
4 changes: 2 additions & 2 deletions projects/ngrx.io/src/styles/2-modules/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ a.button.mat-button {
&.button-shield,
&.button-shield.mat-button {
background-color: $purple;
background: $purple url('assets/images/logos/angular/angular_whiteTransparent.svg') 24px 13px no-repeat;
background: $purple url('~/assets/images/logos/angular/angular_whiteTransparent.svg') 24px 13px no-repeat;
color: rgba($white, .87);
padding-left: 54px;
background-size: 22px 22px;

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
background: $purple url('assets/images/logos/angular/angular_whiteTransparent.svg') 24px 13px no-repeat;
background: $purple url('~/assets/images/logos/angular/angular_whiteTransparent.svg') 24px 13px no-repeat;
background-size: 22px 22px;

}
Expand Down

0 comments on commit 483828a

Please sign in to comment.