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

Core Organism Component: Header #75

Merged
merged 15 commits into from
Dec 13, 2018
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
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ module.exports = {
},
settings: {
"import/resolver": {
jest: {
jestConfigFile: resolve(__dirname, "jest.config.js")
},
node: {
/* Resolve Webpack alias imports */
paths: [resolve(__dirname, "src"), resolve(__dirname, "src/components")]
Expand Down
8 changes: 5 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ module.exports = {
*/
moduleNameMapper: {
/* Reflect Webpack's `resolve.alias` configuration. */
"^assets(.*)$": "<rootDir>/src/assets$1",
"^atoms(.*)$": "<rootDir>/src/components/atoms$1",
"^config(.*)$": "<rootDir>/src/config$1",
"^containers(.*)$": "<rootDir>/src/components/containers$1",
"^data(.*)$": "<rootDir>/src/data$1",
"^layouts(.*)$": "<rootDir>/src/components/layouts$1",
"^molecules(.*)$": "<rootDir>/src/components/molecules$1",
"^nord-docs-test-utils(.*)$": "<rootDir>/test/__utils__$1",
"^organisms(.*)$": "<rootDir>/src/components/organisms$1",
"^pages(.*)$": "<rootDir>/src/pages$1",
"^stores(.*)$": "<rootDir>/src/stores$1",
Expand All @@ -61,8 +61,10 @@ module.exports = {
"^utils(.*)$": "<rootDir>/src/utils$1",
/* Map all import stylesheets to the "identity object proxy" module. */
".+\\.(css|styl|less|sass|scss)$": "identity-obj-proxy",
".+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
"<rootDir>/test/__mocks__/file.js"
".+\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
"<rootDir>/test/__mocks__/file.js",
/* Ensure React components loaded from SVG files are mocked correctly. */
".+\\.svg$": "<rootDir>/test/__mocks__/svgr.js"
},

/*
Expand Down
160 changes: 160 additions & 0 deletions package-lock.json

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

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"del-cli": "1.1.0",
"eslint": "5.9.0",
"eslint-config-arcticicestudio": ">=0.4.0 <1.0.0",
"eslint-import-resolver-jest": "2.1.1",
"eslint-plugin-babel": "5.3.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jsx-a11y": "6.1.2",
Expand All @@ -81,6 +82,7 @@
"webpack-bundle-analyzer": "3.0.3"
},
"dependencies": {
"body-scroll-lock": "2.6.1",
"gatsby": "2.0.55",
"gatsby-plugin-canonical-urls": "2.0.7",
"gatsby-plugin-catch-links": "2.0.8",
Expand All @@ -98,9 +100,11 @@
"react": "16.6.3",
"react-dom": "16.6.3",
"react-helmet": "5.2.0",
"react-pose": "4.0.4",
"styled-components": "4.1.2",
"styled-modern-normalize": ">=0.2.0 <1.0.0",
"styled-theming": "2.2.0",
"subscribe-ui-event": "2.0.5",
"typeface-rubik": "0.0.54",
"typeface-source-code-pro": "0.0.54"
}
Expand Down
1 change: 0 additions & 1 deletion src/assets/images/.gitkeep

This file was deleted.

5 changes: 5 additions & 0 deletions src/assets/images/icons/eva-icons/menu-outline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/images/icons/eva-icons/moon-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/images/icons/eva-icons/moon-outline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/images/icons/eva-icons/sun-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/images/icons/eva-icons/sun-outline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/images/logos/nord.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading