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

Add codap menu icon #70

Merged
merged 5 commits into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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' },
],
}),
]
};
};
Loading