Skip to content

Commit

Permalink
Rework NavMenu.tsx and Layout.tsx components (#48)
Browse files Browse the repository at this point in the history
* moved files

`Layout.tsx`, `NavMenu.tsx` and `nav-menu.styl` are moved to `/src/components/layout/`

Signed-off-by: Oleksii Kurinnyi <[email protected]>

* added stylelint and support of css modules

Signed-off-by: Oleksii Kurinnyi <[email protected]>

* reworked NavMenu.tsx and Layout.tsx components

Signed-off-by: Oleksii Kurinnyi <[email protected]>

* fixup! added stylelint and support of css modules

* removed unused dependencies

Signed-off-by: Oleksii Kurinnyi <[email protected]>

* fixes

Signed-off-by: Oleksii Kurinnyi <[email protected]>

* fixed incorrect paths for tabs on Get Started page

Signed-off-by: Oleksii Kurinnyi <[email protected]>
  • Loading branch information
akurinnoy authored Jul 24, 2020
1 parent 1b0138f commit 989c388
Show file tree
Hide file tree
Showing 40 changed files with 3,351 additions and 586 deletions.
147 changes: 127 additions & 20 deletions .deps/dev.md

Large diffs are not rendered by default.

9 changes: 0 additions & 9 deletions .deps/prod.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
| Packages | License | Resolved CQs |
| --- | --- | --- |
| [`@babel/[email protected]`](https://github.com/babel/babel.git) | MIT | clearlydefined |
| [`@eclipse-che/[email protected]`](Unknown) | EPL-2.0 | |
| [`@eclipse-che/[email protected]`](https://github.com/eclipse/che-workspace-client) | EPL-2.0 | |
| [`@patternfly/[email protected]`](https://github.com/patternfly/patternfly.git) | MIT | |
| [`@patternfly/[email protected]`](https://github.com/patternfly/patternfly-react.git) | MIT | |
| [`@patternfly/[email protected]`](https://github.com/patternfly/patternfly-react.git) | MIT | clearlydefined |
Expand Down Expand Up @@ -53,12 +51,10 @@
| [`[email protected]`](https://github.com/Kukkimonsuta/inversify-react.git) | Apache-2.0 | clearlydefined |
| [`[email protected]`](https://github.com/inversify/InversifyJS.git) | MIT | clearlydefined |
| [`[email protected]`](git://github.com/ljharb/is-arguments.git) | MIT | clearlydefined |
| [`[email protected]`](git://github.com/feross/is-buffer.git) | MIT | [CQ17757](https://dev.eclipse.org/ipzilla/show_bug.cgi?id=17757) |
| [`[email protected]`](git://github.com/ljharb/is-callable.git) | MIT | clearlydefined |
| [`[email protected]`](git://github.com/ljharb/is-date-object.git) | MIT | clearlydefined |
| [`[email protected]`](git://github.com/ljharb/is-regex.git) | MIT | clearlydefined |
| [`[email protected]`](git://github.com/inspect-js/is-symbol.git) | MIT | clearlydefined |
| [`[email protected]`](git://github.com/hughsk/is-typedarray.git) | MIT | [CQ16925](https://dev.eclipse.org/ipzilla/show_bug.cgi?id=16925) |
| [`[email protected]`](git://github.com/juliangruber/isarray.git) | MIT | [CQ16925](https://dev.eclipse.org/ipzilla/show_bug.cgi?id=16925) |
| [`[email protected]`](https://github.com/jquery/jquery.git) | MIT | clearlydefined |
| [`[email protected]`](https://github.com/lydell/js-tokens.git) | MIT | [CQ18717](https://dev.eclipse.org/ipzilla/show_bug.cgi?id=18717) |
Expand All @@ -76,7 +72,6 @@
| [`[email protected]`](https://github.com/TypeFox/monaco-languageclient.git) | MIT | clearlydefined |
| [`[email protected]`](https://github.com/Microsoft/monaco-languages) | MIT | clearlydefined |
| [`[email protected]`](https://github.com/zeit/ms.git) | MIT | [CQ16925](https://dev.eclipse.org/ipzilla/show_bug.cgi?id=16925) |
| [`[email protected]`](git://github.com/nodejs/nan.git) | MIT | |
| [`[email protected]`](https://github.com/sindresorhus/object-assign.git) | MIT | [CQ16925](https://dev.eclipse.org/ipzilla/show_bug.cgi?id=16925) |
| [`[email protected]`](git://github.com/substack/object-inspect.git) | MIT | clearlydefined |
| [`[email protected]`](git://github.com/es-shims/object-is.git) | MIT | clearlydefined |
Expand Down Expand Up @@ -129,10 +124,8 @@
| [`[email protected]`](https://github.com/alexreardon/tiny-warning.git) | MIT | clearlydefined |
| [`[email protected]`](git+https://github.com/atomiks/tippyjs.git) | MIT | clearlydefined |
| [`[email protected]`](https://github.com/Microsoft/tslib.git) | 0BSD | |
| [`[email protected]`](https://github.com/koichik/node-tunnel.git) | MIT | clearlydefined |
| [`[email protected]`](https://github.com/sindresorhus/type-fest.git) | (MIT OR CC0-1.0) | clearlydefined |
| [`[email protected]`](Unknown) | MIT | clearlydefined |
| [`[email protected]`](git://github.com/feross/typedarray-to-buffer.git) | MIT | clearlydefined |
| [`[email protected]`](http://github.com/matt-gadd/umd-compat-loader.git) | BSD | [CQ18717](https://dev.eclipse.org/ipzilla/show_bug.cgi?id=18717) |
| [`[email protected]`](https://github.com/unshiftio/url-parse.git) | MIT | clearlydefined |
| [`[email protected]`](https://github.com/mjackson/value-equal.git) | MIT | clearlydefined |
Expand All @@ -148,8 +141,6 @@
| [`[email protected]`](https://github.com/BerkeleyTrue/warning.git) | MIT | |
| [`[email protected]`](git://github.com/faye/websocket-driver-node.git) | Apache-2.0 | clearlydefined |
| [`[email protected]`](git://github.com/faye/websocket-extensions-node.git) | MIT | clearlydefined |
| [`[email protected]`](https://github.com/theturtle32/WebSocket-Node.git) | Apache-2.0 | |
| [`[email protected]`](git://github.com/Raynos/xtend.git) | MIT | [CQ16925](https://dev.eclipse.org/ipzilla/show_bug.cgi?id=16925) |
| [`[email protected]`](https://github.com/ibc/yaeti.git) | MIT | clearlydefined |
| [`[email protected]`](https://github.com/jpinkney/yaml-ast-parser.git) | Apache-2.0 | clearlydefined |
| [`[email protected]`](https://github.com/redhat-developer/yaml-language-server.git) | MIT | clearlydefined |
10 changes: 8 additions & 2 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,11 @@
*/

module.exports = {
'*.{js,ts,tsx}': ['eslint --fix', 'yarn format']
}
'*.{js,ts,tsx}': [
'eslint --fix',
'yarn format',
],
'*.css': [
'stylelint --fix',
]
};
18 changes: 18 additions & 0 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* Copyright (c) 2018-2020 Red Hat, Inc.
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Red Hat, Inc. - initial API and implementation
*/

module.exports = {
'extends': [
'stylelint-config-standard',
'stylelint-config-rational-order',
]
}
Loading

0 comments on commit 989c388

Please sign in to comment.