Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] modify backgroundImage paths in tailwind.config.js #869

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

will0684
Copy link
Member

Splash image is not displaying

This PR fixes an issue that arose where the splash image was not being properly webpack bundled as part of the CSS. The problem was including "../public/" in the image paths inside the tailwind.config.js. Nextjs assumes "/public/" as the root path of assets when bundling so it was looking in the wrong place.

This wasn't an issue before, strangely enough, but this is how things should have worked previously. Likely due to a recent dependency change.

Test Instructions

  1. yarn build
  2. yarn start
  3. navigate to splash page and see that background image is rendering

@will0684 will0684 requested a review from a team September 12, 2023 17:06
@github-actions
Copy link

@github-actions
Copy link

@will0684 will0684 merged commit 3a60e67 into main Sep 13, 2023
5 of 6 checks passed
@will0684 will0684 deleted the fix-splash-image branch September 13, 2023 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants