Skip to content

Commit

Permalink
fixed broken backgroundimage css url that points to the wrong directo…
Browse files Browse the repository at this point in the history
…ry './assets/css/assets...' instead of '/../assets/images/<image.ext>'.
  • Loading branch information
Deeokafor committed Aug 8, 2023
1 parent f317812 commit c63a514
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions assets/css/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,22 @@ video {
background-image: url('/assets/images/illustration-sign-up-desktop.svg');
}

.tw-bg-\[url\(\'\.\/assets\/images\/illustration-sign-up-desktop\.svg\'\)\] {
background-image: url('./assets/images/illustration-sign-up-desktop.svg');
}

.tw-bg-\[url\(\'\/\.\.\/\.\/assets\/images\/illustration-sign-up-desktop\.svg\'\)\] {
background-image: url('/.././assets/images/illustration-sign-up-desktop.svg');
}

.tw-bg-\[url\(\'\/\.\.\/\.\.\/assets\/images\/illustration-sign-up-desktop\.svg\'\)\] {
background-image: url('/../../assets/images/illustration-sign-up-desktop.svg');
}

.tw-bg-\[url\(\'\/\.\.\/assets\/images\/illustration-sign-up-desktop\.svg\'\)\] {
background-image: url('/../assets/images/illustration-sign-up-desktop.svg');
}

.tw-bg-cover {
background-size: cover;
}
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<!-- hero start -->
<div class="tw-h-1/3 md:tw-order-2 md:tw-h-[32rem] md:tw-w-1/2 md:tw-p-5">
<div id="mobile_hero" class=""><img src="./assets/images/illustration-sign-up-mobile.svg" alt="" srcset="" class="tw-w-full md:tw-hidden"></div>
<div id="desktop_hero" class="tw-hidden md:tw-flex tw-flex-row tw-items-center tw-justify-end tw-bg-white tw-h-full tw-w-full tw-rounded-2xl tw-bg-[url('/assets/images/illustration-sign-up-desktop.svg')] tw-bg-cover tw-bg-no-repeat"></div>
<div id="desktop_hero" class="tw-hidden md:tw-flex tw-flex-row tw-items-center tw-justify-end tw-bg-white tw-h-full tw-w-full tw-rounded-2xl tw-bg-[url('/../assets/images/illustration-sign-up-desktop.svg')] tw-bg-cover tw-bg-no-repeat"></div>
</div>
<!-- hero end -->

Expand Down

0 comments on commit c63a514

Please sign in to comment.