From 67fa9b707926540c3bc984885aafedc899a32add Mon Sep 17 00:00:00 2001 From: Elinorre Date: Thu, 23 Jan 2020 13:21:14 +0300 Subject: [PATCH] dataforge --- src/components/dataforge/header.js | 62 +++++++------- src/components/dataforge/layout.js | 2 +- src/images/dataforge/sms_logo.png | Bin 0 -> 20051 bytes .../dataforge/docs/control/connections.md | 0 .../content/dataforge/docs/control/control.md | 23 ++++++ .../dataforge/docs/control/measurements.md | 0 .../dataforge/docs/data_flow/actions.md | 11 +++ .../dataforge/docs/data_flow/data_flow.md | 10 +++ .../content/dataforge/docs/data_flow/tasks.md | 11 +++ .../dataforge/docs/envelopes/binary_meta.md | 31 +++++++ .../docs/envelopes/default_format.md | 37 +++++++++ .../docs/envelopes/envelope_description.md | 18 +++++ .../dataforge/docs/envelopes/envelopes.md | 19 +++++ .../docs/envelopes/tagless_format.md | 25 ++++++ .../dataforge/docs/extensions/extensions.md | 9 +++ .../dataforge/docs/extensions/grind.md | 12 +++ .../dataforge/docs/extensions/kodex.md | 10 +++ .../content/dataforge/docs/how_to_read.md | 18 +++++ .../dataforge/docs/meta/configuration.md | 21 +++++ .../dataforge/docs/meta/hidden_values.md | 13 +++ .../content/dataforge/docs/meta/meta-data.md | 33 ++++++++ .../dataforge/docs/meta/meta-layers.md | 22 +++++ .../dataforge/docs/meta/meta_structure.md | 42 ++++++++++ src/pages/dataforge/apps.js | 7 +- src/pages/dataforge/misc.js | 76 ++++++++++++++++++ src/pages/dataforge/news.js | 33 ++++---- src/pages/dataforge/releases.js | 58 +++++++++++++ src/styles/dataforge/footer.css | 6 +- src/styles/dataforge/header.css | 61 +++++++------- src/styles/dataforge/layout.css | 36 +++++++-- 30 files changed, 611 insertions(+), 95 deletions(-) create mode 100644 src/images/dataforge/sms_logo.png create mode 100644 src/pages/content/dataforge/docs/control/connections.md create mode 100644 src/pages/content/dataforge/docs/control/control.md create mode 100644 src/pages/content/dataforge/docs/control/measurements.md create mode 100644 src/pages/content/dataforge/docs/data_flow/actions.md create mode 100644 src/pages/content/dataforge/docs/data_flow/data_flow.md create mode 100644 src/pages/content/dataforge/docs/data_flow/tasks.md create mode 100644 src/pages/content/dataforge/docs/envelopes/binary_meta.md create mode 100644 src/pages/content/dataforge/docs/envelopes/default_format.md create mode 100644 src/pages/content/dataforge/docs/envelopes/envelope_description.md create mode 100644 src/pages/content/dataforge/docs/envelopes/envelopes.md create mode 100644 src/pages/content/dataforge/docs/envelopes/tagless_format.md create mode 100644 src/pages/content/dataforge/docs/extensions/extensions.md create mode 100644 src/pages/content/dataforge/docs/extensions/grind.md create mode 100644 src/pages/content/dataforge/docs/extensions/kodex.md create mode 100644 src/pages/content/dataforge/docs/how_to_read.md create mode 100644 src/pages/content/dataforge/docs/meta/configuration.md create mode 100644 src/pages/content/dataforge/docs/meta/hidden_values.md create mode 100644 src/pages/content/dataforge/docs/meta/meta-data.md create mode 100644 src/pages/content/dataforge/docs/meta/meta-layers.md create mode 100644 src/pages/content/dataforge/docs/meta/meta_structure.md diff --git a/src/components/dataforge/header.js b/src/components/dataforge/header.js index f174d4b..1b7b319 100644 --- a/src/components/dataforge/header.js +++ b/src/components/dataforge/header.js @@ -4,40 +4,36 @@ import logo from "../../images/dataforge/df_logo.png" import "../../styles/dataforge/header.css" import "../../styles/bootstrap.min.css" +import {Navbar, Nav} from "react-bootstrap" -const Header = () => { - let curActive = [' ', ' ', ' ', ' ', ' ']; - if (window.location.pathname === '/dataforge/news'){curActive[0] = 'styled';} - if (window.location.pathname === '/dataforge/docs'){curActive[1] = 'styled';} - if (window.location.pathname === '/dataforge/modules'){curActive[2] = 'styled';} - if (window.location.pathname === '/dataforge/releases'){curActive[3] = 'styled';} - if (window.location.pathname === '/dataforge/apps'){curActive[4] = 'styled';} - return( -
- -
+const Header = () => { + let curActive = [' ', ' ', ' ', ' ', ' ', ' ']; + if (document.location.pathname === '/dataforge/news'){curActive[0] = 'active';} + if (document.location.pathname === '/dataforge/docs'){curActive[1] = 'active';} + if (document.location.pathname === '/dataforge/modules'){curActive[2] = 'active';} + if (document.location.pathname === '/dataforge/releases'){curActive[3] = 'active';} + if (document.location.pathname === '/dataforge/apps'){curActive[4] = 'active';} + if (document.location.pathname === '/dataforge/misc'){curActive[5] = 'active';} + + return( +
+ +
+ + + + +
+
+
)} export default Header \ No newline at end of file diff --git a/src/components/dataforge/layout.js b/src/components/dataforge/layout.js index b901402..c4fb0a9 100644 --- a/src/components/dataforge/layout.js +++ b/src/components/dataforge/layout.js @@ -8,7 +8,7 @@ import "../../styles/dataforge/layout.css" const Layout = ({children}) => ( <>
-
+
{children}