-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#97) Update app module architecture with NCIDS components
* Update header and footer within index.html * Update webpack config sass-loader * Add ncids-application-page.scss * Add reference to cancer.gov ncids-minimal.css stylesheet within index.html * Connect toggle / dropdown select to translation * Add `ncids-application-page.scss` and updated `webpack.config` file to configure sass-loader with added load paths * Update `css-loader` from `3.4.2` to `5.2.7`, `postcss-loader` from `3.0.0` to `4.3.0` * Downgrade `sass-loader` from `10.4.1` t0 `10.2.0` * Update `webpack.config` * Remove reference to cancer.gov ncids-minimal.css stylesheet within index.html * Create entrypoint in `webpack.config` that adds `ncids-minimal.css` and `ncids-application-page.css` to app * Update current template to use ncids grid * Add mobile menu * Add tests for SideNav and ItemDetail view * Added `svg-loader` config to webpack * Fixed typo and pathing in `getSampleCallResults` which was causing api call failure * Updated `PageNotFound` error page * Removed all previous postcss related packages and replaced with `postcss`, postcss-loader` and `autoprefixer` * Added fonts to `index.html` * Reverted changes in `PageNotFound`. To be reconstructed in line with NCIDS layout/styling * Added back `postcss-safe-parser` and `postcss-prefix-selector` * Removed `generate-cgdp-legacy.js` file along with references in `package.json` to run build script, and `postcss-prefix-selector` which was used in the file. * Removed `HomeNoSideNav` component and all references * Updated `PageNotFound` component to conform with NCIDS styling * Updated unit tests for `PageNotFound` Closes #97
- Loading branch information
1 parent
0d4f8af
commit 72a2320
Showing
10 changed files
with
33 additions
and
292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,9 @@ | ||
.error-container { | ||
.error-searchbar { | ||
display: block; | ||
div.searchString { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
.rap-error-searchbar { | ||
display: block; | ||
|
||
.button { | ||
display: inline-block; | ||
width: 20%; | ||
margin-right: 1em; | ||
margin-left: 1em; | ||
top: -1px; | ||
|
||
@media screen and (max-width: 414px) { | ||
font-size: 14px; | ||
width: 24%; | ||
} | ||
} | ||
.usa-input--inline { | ||
display: inline-block; | ||
margin-right: 5px; | ||
margin-bottom: 5px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
src/views/HomeNoSideNav/__tests__/HomeNoSideNav.en.test.js
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
export { ErrorBoundary, ErrorPage, PageNotFound } from './ErrorBoundary'; | ||
export { default as Home } from './Home'; | ||
export { default as ItemDetails } from './ItemDetails'; | ||
export { default as HomeNoSideNav } from './HomeNoSideNav'; |