diff --git a/src/styles/components/landing.styl b/src/styles/components/landing.styl index ae8d3328..3a0e9cd2 100644 --- a/src/styles/components/landing.styl +++ b/src/styles/components/landing.styl @@ -1,6 +1,6 @@ .landing align-items: center - background: url('https://static.zooniverse.org/lab.zooniverse.org/28a16ad6ccf0a2dd941d.jpg') center center no-repeat + background: url('../images/builder-landing.jpg') center center no-repeat background-size: cover color: white display: flex diff --git a/webpack.config.js b/webpack.config.js index ed1d1a25..95afa5f6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -73,7 +73,11 @@ module.exports = { }, { test: /\.(jpg|png|gif|otf|eot|svg|ttf|woff\d?)$/, - type: 'asset/resource' + type: 'asset/resource', + generator: { + filename: '[name][ext]', + publicPath: '../', + } }, { test: /\.(ico\d?)$/, diff --git a/webpack.production.config.js b/webpack.production.config.js index 7e7cc27d..706c9147 100644 --- a/webpack.production.config.js +++ b/webpack.production.config.js @@ -121,7 +121,11 @@ module.exports = { }, { test: /\.(jpg|png|gif|otf|eot|svg|ttf|woff\d?)$/, - type: 'asset/resource' + type: 'asset/resource', + generator: { + filename: '[name][ext]', + publicPath: '../', + } }, { test: /\.(ico\d?)$/,