Skip to content

Commit

Permalink
Merge pull request #70 from concord-consortium/add-codap-menu-icon
Browse files Browse the repository at this point in the history
Add codap menu icon
  • Loading branch information
eireland authored Mar 1, 2024
2 parents 6c7dac3 + 2232c6d commit 8ac60fd
Show file tree
Hide file tree
Showing 5 changed files with 259 additions and 7 deletions.
251 changes: 245 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"autoprefixer": "^10.4.14",
"caniuse-lite": "^1.0.30001489",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"cross-env": "^7.0.3",
"css-loader": "^6.8.1",
"csvjson": "^5.1.0",
Expand Down
7 changes: 7 additions & 0 deletions src/assets/images/icon-noaa-weather.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion src/components/attribute-filter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ const FilterModal = ({attr, position, targetFilterBottom, setShowFilterModal, se
document.removeEventListener("mousedown", handleClickOutside);
window.removeEventListener("resize", handleResize);
};
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

// Move modal to bottom of window if window is too short
Expand Down
6 changes: 6 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const ESLintPlugin = require('eslint-webpack-plugin');
const os = require('os');
const CopyPlugin = require('copy-webpack-plugin');

// DEPLOY_PATH is set by the s3-deploy-action its value will be:
// `branch/[branch-name]/` or `version/[tag-name]/`
Expand Down Expand Up @@ -148,6 +149,11 @@ module.exports = (env, argv) => {
publicPath: DEPLOY_PATH
})] : []),
new CleanWebpackPlugin(),
new CopyPlugin({
patterns: [
{ from: 'src/assets/images/icon-noaa-weather.svg', to: 'assets/images/icon-noaa-weather.svg' },
],
}),
]
};
};

0 comments on commit 8ac60fd

Please sign in to comment.