From cea681d2352fdf29d67faac7d0df57a4baa9ece1 Mon Sep 17 00:00:00 2001 From: raulraja Date: Sat, 6 Feb 2021 19:19:00 +0100 Subject: [PATCH 01/10] site menu changes and removal of pages containing items no longer supported such as kinds --- docs/_data/commons.yml | 2 +- docs/_data/features.yml | 43 ++---- docs/_data/sidebar-core.yml | 270 +++------------------------------- docs/_data/sidebar-fx.yml | 41 +----- docs/_data/sidebar-optics.yml | 19 +-- docs/_includes/_main.html | 25 +--- docs/js/animations.js | 53 ------- docs/js/main-hovers.js | 92 +----------- docs/js/main.js | 20 --- 9 files changed, 51 insertions(+), 514 deletions(-) diff --git a/docs/_data/commons.yml b/docs/_data/commons.yml index 57e1609a..efd40f6e 100644 --- a/docs/_data/commons.yml +++ b/docs/_data/commons.yml @@ -1,7 +1,7 @@ name: "Arrow" title: "Λrrow" description: "Functional companion to Kotlin's Standard Library" -keywords: "functional-programming, kotlin-library, monads, monad-transformers, functional-data-structure, kotlin, fp-types, adt, free-monads, tagless-final, mtl, for-comprehension, category-theory" +keywords: "functional-programming, kotlin-library, monads, monad-transformers, functional-data-structure, kotlin, fp-types, adt, effects handlers, continuations, coroutines, for-comprehension, category-theory" google_analytics: "UA-18433785-18" github_repository: "https://github.com/arrow-kt/arrow" stable_version: "https://arrow-kt.io/" diff --git a/docs/_data/features.yml b/docs/_data/features.yml index ec1bd6c3..216207da 100644 --- a/docs/_data/features.yml +++ b/docs/_data/features.yml @@ -1,46 +1,25 @@ content: - - title: Arrow Core - description: Arrow is the functional companion to Kotlin's Standard Library + - title: Core + description: Functional companion to Kotlin's Standard Library icon: img/home/arrow-core-lines - url: /docs/core/ + url: /core/ id: core - - title: Arrow FX - description: Arrow FX is a next-generation Typed FP Effects Library built to tame side effectful APIs + - title: FX + description: Functional Effects Framework companion to KotlinX Coroutines. icon: img/home/arrow-fx-lines - url: /docs/fx/ + url: /fx/ id: fx - - title: Arrow Optics - description: Arrow Optics helps by transforming and computing over immutable data models in Kotlin + - title: Optics + description: Deep access and transformations over immutable data icon: img/home/arrow-optics-lines - url: /docs/optics/dsl/ + url: /optics/dsl/ id: optics - - title: Arrow Meta - description: Arrow Meta is the functional companion to the Kotlin Compiler and its plugin ecosystem + - title: Meta + description: Metaprogramming library for Kotlin compiler plugins icon: img/home/arrow-meta-lines url: https://meta.arrow-kt.io/ id: meta - - title: Arrow Incubator - description: - icon: - url: /docs/aql/intro/ - id: incubator - -incubator: - - title: Arrow Query Language - url: /docs/aql/intro/ - - - title: Arrow Generic - url: /docs/generic/product/ - - - title: Arrow Free - url: /docs/free/free/ - - - title: Recursion Schemes - url: /docs/recursion/intro/ - - - title: MTL - url: /docs/apidocs/arrow-mtl/ diff --git a/docs/_data/sidebar-core.yml b/docs/_data/sidebar-core.yml index 2fe72210..d2e8934c 100644 --- a/docs/_data/sidebar-core.yml +++ b/docs/_data/sidebar-core.yml @@ -3,139 +3,62 @@ options: nested_options: - - title: Index - url: /core/ - - title: Setup url: /quickstart/setup/ - - title: Linting - url: /quickstart/linting/ - - - title: Libraries - url: /quickstart/libraries/ - - title: Media - url: https://media.arrow-kt.io + url: https://media.arrow-kt.io/tags/optics/ - title: Projects & Examples url: /quickstart/projects/ - - title: Patterns + - title: Tutorials nested_options: - - title: Glossary - url: /patterns/glossary/ - - title: Error Handling url: /patterns/error_handling/ - - title: Dependency Injection - url: /patterns/dependency_injection/ - - title: The Monad Tutorial url: /patterns/monads/ - title: Monad Comprehensions url: /patterns/monad_comprehensions/ - - title: Polymorphic Programs - url: /patterns/polymorphic_programs/ - - - title: Free Algebras - url: /patterns/free_algebras/ - - - title: Data Types + - title: Types nested_options: - - title: Intro - url: /datatypes/intro/ - - - title: Basic Types - url: /datatypes/basic/ - - - title: Option - url: /apidocs/arrow-core-data/arrow.core/-option/ - - title: Either url: /apidocs/arrow-core-data/arrow.core/-either/ - title: Validated url: /apidocs/arrow-core-data/arrow.core/-validated/ + - title: Iterable + url: /apidocs/arrow-core-data/arrow.core/kotlin.collections.-iterable/ + - title: NonEmptyList url: /arrow/core/nonemptylist/ - - title: ListK - url: /arrow/core/listk/ - - - title: SequenceK - url: /arrow/core/sequencek/ + - title: List + url: /apidocs/arrow-core-data/arrow.core/kotlin.collections.-list/ - - title: SetK - url: /arrow/core/setk/ + - title: Sequence + url: /apidocs/arrow-core-data/arrow.core/kotlin.collections.-sequence/ - - title: MapK - url: /arrow/core/mapk/ + - title: Set + url: /apidocs/arrow-core-data/arrow.core/kotlin.collections.-set/ - - title: SortedMapK - url: /arrow/core/sortedmapk/ + - title: Map + url: /apidocs/arrow-core-data/arrow.core/kotlin.collections.-map/ - title: Ior url: /apidocs/arrow-core-data/arrow.core/-ior/ - - title: Id - url: /apidocs/arrow-core-data/arrow.core/-id/ - - title: Eval url: /apidocs/arrow-core-data/arrow.core/-eval/ - - title: Function0 - url: /apidocs/arrow-core-data/arrow.core/-function0/ - - - title: Function1 - url: /apidocs/arrow-core-data/arrow.core/-function1/ - - - title: Store - url: /arrow/ui/store/ - - - title: Moore - url: /arrow/ui/moore/ - - - title: Sum - url: /arrow/ui/sum/ - - - title: Day - url: /arrow/ui/day/ - - - - title: Type Classes - - nested_options: - - - title: Intro - url: /typeclasses/intro/ - - - title: Show - url: /arrow/typeclasses/show/ - - - title: Eq - url: /arrow/typeclasses/eq/ - - - title: EqK - url: /arrow/typeclasses/eqk/ - - - title: EqK2 - url: /arrow/typeclasses/eqk2/ - - - title: Hash - url: /arrow/typeclasses/hash/ - - - title: Order - url: /arrow/typeclasses/order/ - - title: Semigroup url: /arrow/typeclasses/semigroup/ @@ -151,164 +74,11 @@ options: - title: Semiring url: /apidocs/arrow-core-data/arrow.typeclasses/-semiring/ - - title: Foldable - url: /arrow/typeclasses/foldable/ - - - title: Bifoldable - url: /arrow/typeclasses/bifoldable/ - - - title: Bitraverse - url: /apidocs/arrow-core-data/arrow.typeclasses/-bitraverse/ - - - title: Traverse - url: /apidocs/arrow-core-data/arrow.typeclasses/-traverse/ - - - title: Reducible - url: /arrow/typeclasses/reducible/ - - - title: TraverseFilter - url: /arrow/typeclasses/traversefilter/ - - - title: Functor - url: /arrow/typeclasses/functor/ - - - title: FunctorFilter - url: /arrow/typeclasses/functorfilter/ - - - title: Applicative - url: /arrow/typeclasses/applicative/ - - - title: ApplicativeError - url: /arrow/typeclasses/applicativeerror/ - - - title: Selective - url: /arrow/typeclasses/selective/ - - - title: Monad - url: /arrow/typeclasses/monad/ - - - title: MonadError - url: /arrow/typeclasses/monaderror/ - - - title: MonadFilter - url: /arrow/typeclasses/monadfilter/ - - - title: MonadCombine - url: /arrow/typeclasses/monadcombine/ - - - title: Comonad - url: /arrow/typeclasses/comonad/ - - - title: Bimonad - url: /arrow/typeclasses/bimonad/ - - - title: Bifunctor - url: /arrow/typeclasses/bifunctor/ - - - title: Profunctor - url: /arrow/typeclasses/profunctor/ - - - title: SemigroupK - url: /arrow/typeclasses/semigroupk/ - - - title: MonoidK - url: /arrow/typeclasses/monoidk/ - - - title: Inject - url: /apidocs/arrow-core-data/arrow.typeclasses/-inject/ - - - title: Alternative - url: /arrow/typeclasses/alternative/ - - - title: Divide - url: /arrow/typeclasses/divide/ - - - title: Divisible - url: /arrow/typeclasses/divisible/ - - - title: Decidable - url: /arrow/typeclasses/decidable/ - - - title: Const - url: /arrow/typeclasses/const/ - - - title: Semialign - url: /arrow/typeclasses/semialign/ - - - title: Align - url: /arrow/typeclasses/align/ - - - title: Unalign - url: /arrow/typeclasses/unalign/ - - - title: Zip - url: /arrow/typeclasses/zip/ - - - title: Repeat - url: /arrow/typeclasses/repeat/ - - - title: Crosswalk - url: /arrow/typeclasses/crosswalk/ - - - title: Bicrosswalk - url: /arrow/typeclasses/bicrosswalk/ - - - title: Integrations - - nested_options: - - - title: Retrofit - url: /integrations/retrofit/ - - - title: KindedJ - url: /integrations/kindedj/ - - - title: API Docs - - nested_options: - - - title: Ank - url: /apidocs/arrow-ank/ - - - title: Core - url: /apidocs/arrow-core/ - - - title: Core Extensions - url: /apidocs/arrow-core-data/ - - - title: Core Retrofit - url: /apidocs/arrow-core-retrofit/ - - - title: Integrations Retrofit Adapter - url: /apidocs/arrow-integrations-retrofit-adapter/ - - - title: Kindedj - url: /apidocs/arrow-kindedj/ - - - title: Reflect - url: /apidocs/arrow-reflect/ - - - title: Streams - url: /apidocs/arrow-streams/ - - - title: Syntax - url: /apidocs/arrow-syntax/ - - - title: UI - url: /apidocs/arrow-ui/ - - - title: UI Extensions - url: /apidocs/arrow-ui-data/ - - - title: Validation - url: /apidocs/arrow-validation/ - - - title: Legal - - nested_options: + - title: Option + url: /apidocs/arrow-core-data/arrow.core/-option/ - - title: Credits - url: https://github.com/arrow-kt/arrow/graphs/contributors + - title: Docs + url: /apidocs/arrow-core/ - - title: Licenses - url: https://github.com/arrow-kt/arrow/blob/master/LICENSE + - title: License + url: https://github.com/arrow-kt/arrow/blob/master/LICENSE diff --git a/docs/_data/sidebar-fx.yml b/docs/_data/sidebar-fx.yml index 102e6ac8..ba771021 100644 --- a/docs/_data/sidebar-fx.yml +++ b/docs/_data/sidebar-fx.yml @@ -7,17 +7,13 @@ options: url: /fx/ - title: Coroutines - url: /fx/coroutines/ - - - title: Asynchronous & Concurrent Programming url: /fx/async/ - - title: Polymorphism. One Program multiple runtimes - url: /fx/polymorphism/ - - - title: Data types + - title: Types nested_options: + - title: suspend () -> A + url: /effects/io/ - title: Atomic url: /apidocs/arrow-fx-coroutines/arrow.fx.coroutines/-atomic/ @@ -40,27 +36,7 @@ options: - title: Semaphore url: /apidocs/arrow-fx-coroutines/arrow.fx.coroutines/-semaphore/ - - title: Coroutines Integrations - - nested_options: - - - title: kotlinx.coroutines - url: /integrations/kotlinxcoroutines/ - - - title: IO Integrations - - nested_options: - - - title: RxJava2 - url: /io-integrations/rx2/ - - - title: Reactor - url: /io-integrations/reactor/ - - - title: kotlinx.coroutines - url: /io-integrations/kotlinxcoroutines/ - - - title: API Docs + - title: Reference nested_options: @@ -72,12 +48,3 @@ options: - title: Arrow Fx STM url: /apidocs/arrow-fx-stm/ - - - title: Arrow Fx MTL - url: /apidocs/arrow-fx-mtl/ - - - title: Arrow Fx Reactor - url: /apidocs/arrow-fx-reactor/ - - - title: Arrow Fx Rx2 - url: /apidocs/arrow-fx-rx2/ diff --git a/docs/_data/sidebar-optics.yml b/docs/_data/sidebar-optics.yml index 9313a6bc..725b5de0 100644 --- a/docs/_data/sidebar-optics.yml +++ b/docs/_data/sidebar-optics.yml @@ -1,10 +1,10 @@ options: - - title: Optics + - title: Quick Start + url: /optics/dsl/ - nested_options: + - title: Types - - title: Optics DSL - url: /optics/dsl/ + nested_options: - title: Iso url: /optics/iso/ @@ -48,12 +48,5 @@ options: - title: Each url: /optics/each/ - - title: API Docs - - nested_options: - - - title: Optics - url: /apidocs/arrow-optics/ - - - title: Optics MTL - url: /apidocs/arrow-optics-mtl/ + - title: Docs + url: /apidocs/arrow-optics/ diff --git a/docs/_includes/_main.html b/docs/_includes/_main.html index aba69bb7..b7a0007d 100644 --- a/docs/_includes/_main.html +++ b/docs/_includes/_main.html @@ -21,28 +21,5 @@

{{ item.title }}

{% include _header.html %} -
-
-
-

Λrrow Incubator

-
    - {% for item in site.data.features.incubator %} - {% if item.title == 'Arrow Query Language' %} - {% assign aqlUrl = item.url %} - {% endif %} -
  • - {{ item.title }} -
  • - {% endfor %} -
-
- -
-
-
-
-
-
-
-
+
diff --git a/docs/js/animations.js b/docs/js/animations.js index 52145ae5..f75348e8 100644 --- a/docs/js/animations.js +++ b/docs/js/animations.js @@ -44,56 +44,3 @@ const arrowMetaAnimation = lottie.loadAnimation({ path: 'js/json/arrow-meta.json' }); -// incubator base animation -const incubatorBaseAnimation = lottie.loadAnimation({ - container: document.getElementById('incubator-base-animation'), - renderer: 'svg' / 'canvas' / 'html', - loop: true, - autoplay: false, - path: 'js/json/incubator-base.json' -}); - -// incubator core animation -const incubatorCoreAnimation = lottie.loadAnimation({ - container: document.getElementById('incubator-core-animation'), - renderer: 'svg' / 'canvas' / 'html', - loop: true, - autoplay: false, - path: 'js/json/incubator-core.json' -}); - -// incubator fx animation -const incubatorFxAnimation = lottie.loadAnimation({ - container: document.getElementById('incubator-fx-animation'), - renderer: 'svg' / 'canvas' / 'html', - loop: true, - autoplay: false, - path: 'js/json/incubator-fx.json' -}); - -// incubator optics animation -const incubatorOpticsAnimation = lottie.loadAnimation({ - container: document.getElementById('incubator-optics-animation'), - renderer: 'svg' / 'canvas' / 'html', - loop: true, - autoplay: false, - path: 'js/json/incubator-optics.json' -}); - -// incubator meta animation -const incubatorMetaAnimation = lottie.loadAnimation({ - container: document.getElementById('incubator-meta-animation'), - renderer: 'svg' / 'canvas' / 'html', - loop: true, - autoplay: false, - path: 'js/json/incubator-meta.json' -}); - -// incubator hover animation -const incubatorHoverAnimation = lottie.loadAnimation({ - container: document.getElementById('incubator-hover-animation'), - renderer: 'svg' / 'canvas' / 'html', - loop: true, - autoplay: false, - path: 'js/json/incubator-hover.json' -}); diff --git a/docs/js/main-hovers.js b/docs/js/main-hovers.js index 0acdb5c3..1c0b4f45 100644 --- a/docs/js/main-hovers.js +++ b/docs/js/main-hovers.js @@ -16,32 +16,18 @@ const arrayNavMenuLinks = Array.from(navMenuLinks); // animations containers const headerAnimation = document.querySelectorAll('.header-image div'); const arrayHeaderAnimation = Array.from(headerAnimation); -const incubatorAnimation = document.querySelectorAll('.incubator-image div'); -const arrayIncubatorAnimation = Array.from(incubatorAnimation); // core elements const coreArrowLogo = document.getElementById('core-arrow-animation'); -const incubatorCoreLogo = document.getElementById('incubator-core-animation'); // fx elements const fxArrowLogo = document.getElementById('fx-arrow-animation'); -const incubatorFxLogo = document.getElementById('incubator-fx-animation'); // optics elements const opticsArrowLogo = document.getElementById('optics-arrow-animation'); -const incubatorOpticsLogo = document.getElementById('incubator-optics-animation'); // meta elements const metaArrowLogo = document.getElementById('meta-arrow-animation'); -const incubatorMetaLogo = document.getElementById('incubator-meta-animation'); - -// incubator elements -const incubatorBaseLogo = document.getElementById('incubator-base-animation'); -const incubatorArrowLogo = document.getElementById('logo-white-lines'); -const incubatorLinks = document.querySelectorAll('.incubator-items a'); -const arrayIncubatorLinks = Array.from(incubatorLinks); -const incubatorHoverLogo = document.getElementById('incubator-hover-animation'); -const incubatorList = document.getElementById('incubator-list'); // Features elements const headerCategoryRow = document.querySelectorAll('.item-header > p, .item-header > h2'); @@ -81,10 +67,6 @@ function checkActiveFeature(arrowFeature) { commonHoverStyle(current_id); metaHoverStyle(); break; - case 'incubator': - commonHoverStyle(current_id, true); - incubatorHoverStyle(); - break; default: baseHoverStyle(); } @@ -119,24 +101,11 @@ function hideCodeBlock(elements) { elements.map(el => el.style.visibility = 'hidden'); } -function animationHoverControl(arrayHeaderAnimation, arrayIncubatorAnimation, id) { +function animationHoverControl(arrayHeaderAnimation, id) { arrayHeaderAnimation.map(function(obj) { return (obj.id.includes(id) ? obj.style.opacity = 1 : obj.style.opacity = 0); }); - - if(id != 'incubator') { - incubatorArrowLogo.style.opacity = 0; - arrayIncubatorAnimation.map(function(obj) { - return (obj.id.includes(id) ? - obj.style.opacity = 1 : obj.style.opacity = 0); - }); - } else { - arrayIncubatorAnimation.map(function(obj) { - return (obj.id.includes('hover') ? - obj.style.opacity = 1 : obj.style.opacity = 0); - }); - } } function addClassName(el, name) { @@ -167,7 +136,7 @@ function animateCodeCSS(elements, animationName, id, callback) { }); } -function commonHoverStyle(id, incubatorHover) { +function commonHoverStyle(id) { body.style.setProperty('--color-primary', '#F5F7F8'); headerText.style.opacity = 0; arrayNavLinks.map(obj => addClassName(obj, 'hover-mode')); @@ -176,23 +145,13 @@ function commonHoverStyle(id, incubatorHover) { navBrandDark.style.opacity = 0; navBrandWhite.style.opacity = 1; baseArrowLogo.style.opacity = 0; - incubatorBaseLogo.style.opacity = 0; - incubatorHover = incubatorHover || false; - siteNav.classList.remove('core', 'fx', 'meta', 'optics', 'incubator'); + siteNav.classList.remove('core', 'fx', 'meta', 'optics'); arrayCategoryIconDark.map(obj => obj.style.opacity = 0); - if (incubatorHover == false) { - setOpacity(arrayCategoryIconWhite, id, 0.5); - setOpacity(arrayHeaderCategoryRow, id, 0.5); - setCodeBlockHidden(arrayHomeCodeBlock, id); - - } else { - setOpacity(arrayCategoryIconWhite, id, 1); - setOpacity(arrayHeaderCategoryRow, id, 1); - headerText.style.opacity = 1; - hideCodeBlock(arrayHomeCodeBlock); - } + setOpacity(arrayCategoryIconWhite, id, 0.5); + setOpacity(arrayHeaderCategoryRow, id, 0.5); + setCodeBlockHidden(arrayHomeCodeBlock, id); setOpacity(arrayCategoryIconColor, id, 0); - animationHoverControl(arrayHeaderAnimation, arrayIncubatorAnimation, id); + animationHoverControl(arrayHeaderAnimation, id); siteFooter.style.background = "url('img/home/hover-lines-footer.svg') repeat-x"; } @@ -200,8 +159,6 @@ function commonHoverStyle(id, incubatorHover) { function coreHoverStyle() { body.style.background = "#354755 url('img/home/hover-lines-header.svg') repeat-x"; coreArrowLogo.style.opacity = 1; - incubatorList.style.listStyleImage = "url('img/core/core-bullet.svg')"; - incubatorCoreLogo.style.opacity = 1; if (siteNav.className.includes('nav-scroll')) { addClassName(siteNav, 'core'); } @@ -213,8 +170,6 @@ function coreHoverStyle() { function fxHoverStyle() { body.style.background = "#33393f url('img/home/hover-lines-header.svg') repeat-x"; fxArrowLogo.style.opacity = 1; - incubatorList.style.listStyleImage = "url('img/fx/fx-bullet.svg')"; - incubatorFxLogo.style.opacity = 1; if (siteNav.className.includes('nav-scroll')) { addClassName(siteNav, 'fx'); } @@ -226,8 +181,6 @@ function fxHoverStyle() { function opticsHoverStyle() { body.style.background = "#35565F url('img/home/hover-lines-header.svg') repeat-x"; opticsArrowLogo.style.opacity = 1; - incubatorList.style.listStyleImage = "url('img/optics/optics-bullet.svg')"; - incubatorOpticsLogo.style.opacity = 1; if (siteNav.className.includes('nav-scroll')) { addClassName(siteNav, 'optics'); } @@ -239,8 +192,6 @@ function opticsHoverStyle() { function metaHoverStyle() { body.style.background = "#2E3B44 url('img/home/hover-lines-header.svg') repeat-x"; metaArrowLogo.style.opacity = 1; - incubatorList.style.listStyleImage = "url('img/meta/meta-bullet.svg')"; - incubatorMetaLogo.style.opacity = 1; if (siteNav.className.includes('nav-scroll')) { addClassName(siteNav, 'meta'); } @@ -249,17 +200,6 @@ function metaHoverStyle() { arrowOpticsAnimation.stop(); } -function incubatorHoverStyle() { - body.style.background = "#354755 url('img/home/hover-lines-header.svg') repeat-x"; - incubatorArrowLogo.style.opacity = 1; - incubatorList.style.listStyleImage = "url('img/incubator/incubator-bullet.svg')"; - incubatorHoverLogo.style.opacity = 1; - if (siteNav.className.includes('nav-scroll')) { - addClassName(siteNav, 'incubator'); - } - arrayIncubatorLinks.map(obj => addClassName(obj, 'hover-mode')); -} - // find the way to do it just the first time it comes from mobile function resetHovers() { let activeFeature = false; @@ -279,17 +219,12 @@ function resetHovers() { arrayCategoryIconDark.map(el => el.style.opacity = 1); arrayCategoryIconWhite.map(el => el.style.opacity = 0); arrayCategoryIconColor.map(el => el.style.opacity = 0); - arrayIncubatorAnimation.map(el => el.id.includes('incubator-base-animation') ? el.style.opacity = 1 : el.style.opacity = 0); arrayHomeCodeBlock.map(el => el.style.visibility = 'hidden'); arrayNavLinks.map(obj => obj.classList.remove('hover-mode')); arrayFooterLinks.map(obj => obj.classList.remove('hover-mode')); - arrayIncubatorLinks.map(obj => obj.classList.remove('hover-mode')); - incubatorList.style.listStyleImage = "url('img/home/bullet.svg')"; - incubatorArrowLogo.style.opacity = 0; siteNav.classList.remove('core'); arrayHeaderAnimation.map(el => el.id.includes('base-arrow-animation') ? el.style.opacity = 1 : el.style.opacity = 0); arrowBaseAnimation.play(); - incubatorBaseAnimation.play(); } } @@ -297,30 +232,19 @@ function mobileMode() { body.style.setProperty('--color-primary', '#F5F7F8'); body.style.background = "#354755 url('img/home/hover-lines-header.svg') repeat-x"; siteFooter.style.background = "url('img/home/hover-lines-footer.svg') repeat-x"; - incubatorList.style.listStyleImage = "url('img/incubator/incubator-bullet.svg')"; headerText.style.opacity = 1; navBrandWhite.style.opacity = 1; navBrandDark.style.opacity = 0; - incubatorBaseLogo.style.opacity = 0; - incubatorHoverLogo.style.opacity = 1; arrayArrowFeatures.map(el => el.classList.remove('active')); - arrayIncubatorLinks.map(obj => addClassName(obj, 'hover-mode')); arrayNavLinks.map(obj => addClassName(obj, 'hover-mode')); arrayFooterLinks.map(obj => addClassName(obj, 'hover-mode')); arrayHeaderCategoryRow.map(el => el.style.opacity = 1); arrayCategoryIconColor.map(el => el.style.opacity = 1); arrayCategoryIconWhite.map(el => el.style.opacity = 0); arrayCategoryIconDark.map(el => el.style.opacity = 0); - incubatorHoverAnimation.play(); arrowBaseAnimation.stop(); - incubatorBaseAnimation.stop(); - incubatorCoreAnimation.stop(); - incubatorFxAnimation.stop(); - incubatorOpticsAnimation.stop(); - incubatorMetaAnimation.stop(); - siteNav.classList.remove('fx', 'meta', 'optics', 'incubator'); + siteNav.classList.remove('fx', 'meta', 'optics'); if (siteNav.className.includes('nav-scroll')) { addClassName(siteNav, 'core'); } - arrayIncubatorAnimation.map(el => el.id.includes('incubator-hover-animation') ? el.style.opacity = 1 : el.style.opacity = 0); } diff --git a/docs/js/main.js b/docs/js/main.js index 4bc6541d..6caadede 100644 --- a/docs/js/main.js +++ b/docs/js/main.js @@ -85,16 +85,12 @@ function loadEvent() { function baseAnimation() { arrowBaseAnimation.play(); - incubatorBaseAnimation.play(); } // base elements const baseArrowLogo = document.getElementById('base-arrow-animation'); baseArrowLogo.addEventListener('load', baseAnimation()); - const incubatorBaseLogo = document.getElementById('incubator-base-animation'); - incubatorBaseLogo.addEventListener('load', baseAnimation()); - // core elements const corePlayHover = document.getElementById('core'); @@ -104,7 +100,6 @@ function loadEvent() { corePlayHover.classList.add('active'); checkActiveFeature(arrayArrowFeatures); arrowCoreAnimation.play(); - incubatorCoreAnimation.play(); arrowBaseAnimation.stop(); } }); @@ -118,7 +113,6 @@ function loadEvent() { fxPlayHover.classList.add('active'); checkActiveFeature(arrayArrowFeatures); arrowFxAnimation.play(); - incubatorFxAnimation.play(); arrowBaseAnimation.stop(); } }); @@ -132,7 +126,6 @@ function loadEvent() { metaPlayHover.classList.add('active'); checkActiveFeature(arrayArrowFeatures); arrowMetaAnimation.play(); - incubatorMetaAnimation.play(); arrowBaseAnimation.stop(); } }); @@ -146,23 +139,10 @@ function loadEvent() { opticsPlayHover.classList.add('active'); checkActiveFeature(arrayArrowFeatures); arrowOpticsAnimation.play(); - incubatorOpticsAnimation.play(); arrowBaseAnimation.stop(); } }); - // incubator elements - const incubatorPlayHover = document.getElementById('incubator'); - - incubatorPlayHover.addEventListener('mouseenter', () => { - if (screenSize() > mobileModeBreakPoint) { - arrayArrowFeatures.map(obj => obj.classList.remove('active')); - incubatorPlayHover.classList.add('active'); - checkActiveFeature(arrayArrowFeatures); - incubatorHoverAnimation.play(); - arrowBaseAnimation.stop(); - } - }); } // Attach the functions to each event they are interested in From 7408a06fa93150d2dc60ca2d7fb5953edaa08705 Mon Sep 17 00:00:00 2001 From: raulraja Date: Sat, 6 Feb 2021 19:47:43 +0100 Subject: [PATCH 02/10] training and support links pointing to 47 site fir training and commercial support --- docs/_data/menu.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/_data/menu.yml b/docs/_data/menu.yml index 4839241b..4e80e8ec 100644 --- a/docs/_data/menu.yml +++ b/docs/_data/menu.yml @@ -2,6 +2,12 @@ nav: - title: Media url: https://media.arrow-kt.io + - title: Training + url: https://www.47deg.com/trainings/ + + - title: Support + url: https://www.47deg.com/services/ + - title: Github url: https://github.com/arrow-kt/arrow From 7d13e14228c365feda20f6ff3716876a5093eda2 Mon Sep 17 00:00:00 2001 From: raulraja Date: Sat, 6 Feb 2021 21:30:34 +0100 Subject: [PATCH 03/10] change arrow meta example --- docs/landscape/meta-home-code.md | 38 +++++++++++--------------------- 1 file changed, 13 insertions(+), 25 deletions(-) diff --git a/docs/landscape/meta-home-code.md b/docs/landscape/meta-home-code.md index bac8c0c1..f960810d 100644 --- a/docs/landscape/meta-home-code.md +++ b/docs/landscape/meta-home-code.md @@ -1,29 +1,17 @@ ```kotlin -val Meta.comprehensions: Plugin - get() = - "comprehensions" { - meta( - quote(KtDotQualifiedExpression::containsFxBlock) { fxExpression -> - Transform.replace( - replacing = fxExpression, - newDeclaration = toFlatMap(fxExpression).expression - ) - } - ) - } //sampleStart - - -+ service1().flatMap { result1 -> -+ service2(result1).flatMap { result2 -> -+ service3(result2).map { result3 -> -+ Result(result3) -+ } -+ } -+ } -- val result1 by service1() -- val result2 by service2(result1) -- val result3 by service3(result2) -- Result(result3) +val Meta.helloWorld: CliPlugin get() = + "Hello World" { + meta( + namedFunction(this, { name == "helloWorld" }) { c -> // <-- namedFunction(...) {...} + Transform.replace( + replacing = c, + newDeclaration = """|fun helloWorld(): Unit = + | println("Hello ΛRROW Meta!") + |""".function + ) + } + ) + } //sampleEnd ``` From 115904d32dd61966ab4f94338550afb85b735f0d Mon Sep 17 00:00:00 2001 From: raulraja Date: Mon, 8 Feb 2021 10:01:10 +0100 Subject: [PATCH 04/10] Media entry for each library --- docs/_data/sidebar-core.yml | 6 +++--- docs/_data/sidebar-fx.yml | 5 ++++- docs/_data/sidebar-optics.yml | 3 +++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/_data/sidebar-core.yml b/docs/_data/sidebar-core.yml index d2e8934c..fe1233dd 100644 --- a/docs/_data/sidebar-core.yml +++ b/docs/_data/sidebar-core.yml @@ -6,9 +6,6 @@ options: - title: Setup url: /quickstart/setup/ - - title: Media - url: https://media.arrow-kt.io/tags/optics/ - - title: Projects & Examples url: /quickstart/projects/ @@ -77,6 +74,9 @@ options: - title: Option url: /apidocs/arrow-core-data/arrow.core/-option/ + - title: Media + url: https://media.arrow-kt.io/tags/core/ + - title: Docs url: /apidocs/arrow-core/ diff --git a/docs/_data/sidebar-fx.yml b/docs/_data/sidebar-fx.yml index ba771021..f20a82e9 100644 --- a/docs/_data/sidebar-fx.yml +++ b/docs/_data/sidebar-fx.yml @@ -36,7 +36,10 @@ options: - title: Semaphore url: /apidocs/arrow-fx-coroutines/arrow.fx.coroutines/-semaphore/ - - title: Reference + - title: Media + url: https://media.arrow-kt.io/tags/fx/ + + - title: Docs nested_options: diff --git a/docs/_data/sidebar-optics.yml b/docs/_data/sidebar-optics.yml index 725b5de0..c191dc2d 100644 --- a/docs/_data/sidebar-optics.yml +++ b/docs/_data/sidebar-optics.yml @@ -48,5 +48,8 @@ options: - title: Each url: /optics/each/ + - title: Media + url: https://media.arrow-kt.io/tags/optics/ + - title: Docs url: /apidocs/arrow-optics/ From ad67404244eeb0e8b36cf61106f7493f9f14c619 Mon Sep 17 00:00:00 2001 From: "Rachel M. Carmena" Date: Tue, 9 Feb 2021 11:47:55 +0100 Subject: [PATCH 05/10] Undo local change --- docs/_data/features.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/_data/features.yml b/docs/_data/features.yml index 216207da..4c3a9351 100644 --- a/docs/_data/features.yml +++ b/docs/_data/features.yml @@ -2,19 +2,19 @@ content: - title: Core description: Functional companion to Kotlin's Standard Library icon: img/home/arrow-core-lines - url: /core/ + url: /docs/core/ id: core - title: FX description: Functional Effects Framework companion to KotlinX Coroutines. icon: img/home/arrow-fx-lines - url: /fx/ + url: /docs/fx/ id: fx - title: Optics description: Deep access and transformations over immutable data icon: img/home/arrow-optics-lines - url: /optics/dsl/ + url: /docs/optics/dsl/ id: optics - title: Meta From f63eb0c3adad056c1e5694a7762ceb4482284e26 Mon Sep 17 00:00:00 2001 From: "Rachel M. Carmena" Date: Tue, 9 Feb 2021 13:06:20 +0100 Subject: [PATCH 06/10] Remove unused content --- docs/_data/sidebar-incubator.yml | 165 ------------------ .../components/docs/_sidebar-incubator.scss | 102 ----------- docs/css/docs-styles.scss | 1 - 3 files changed, 268 deletions(-) delete mode 100644 docs/_data/sidebar-incubator.yml delete mode 100644 docs/_sass/components/docs/_sidebar-incubator.scss diff --git a/docs/_data/sidebar-incubator.yml b/docs/_data/sidebar-incubator.yml deleted file mode 100644 index 585c21f6..00000000 --- a/docs/_data/sidebar-incubator.yml +++ /dev/null @@ -1,165 +0,0 @@ -options: - - title: Λrrow Query Language - - nested_options: - - - title: Λrrow Query Language - url: /aql/intro/ - - - title: select - url: /aql/select/ - - - title: from - url: /aql/from/ - - - title: where - url: /aql/where/ - - - title: groupBy - url: /aql/groupby/ - - - title: orderBy - url: /aql/orderby/ - - - title: sum - url: /aql/sum/ - - - title: union - url: /aql/union/ - - - title: Custom Data Types - url: /aql/custom/ - - - title: Generic - nested_options: - - - title: Product - url: /generic/product/ - - - title: Free - - nested_options: - - - title: Free - url: /free/free/ - - - title: FreeApplicative - url: /free/freeapplicative/ - - - title: Cofree - url: /free/cofree/ - - - title: Yoneda - url: /free/yoneda/ - - - title: Coyoneda - url: /free/coyoneda/ - - - title: Trampoline - url: /free/trampoline/ - - - title: Recursion Schemes - - nested_options: - - - title: Intro - url: /recursion/intro/ - - - title: Recursive - url: /recursion/recursive/ - - - title: Corecursive - url: /recursion/corecursive/ - - - title: Birecursive - url: /recursion/birecursive/ - - - title: Mu - url: /recursion/mu/ - - - title: Nu - url: /recursion/nu/ - - - title: Fix - url: /recursion/fix/ - - - title: Data Types - - nested_options: - - - title: Reader - url: /arrow/mtl/reader/ - - - title: Kleisli - url: /arrow/mtl/kleisli/ - - - title: State - url: /arrow/mtl/state/ - - - title: StateT - url: /arrow/mtl/statet/ - - - title: WriterT - url: /arrow/mtl/writert/ - - - title: OptionT - url: /arrow/mtl/optiont/ - - - title: EitherT - url: /arrow/mtl/eithert/ - - - title: Accum - url: /arrow/mtl/accum/ - - - title: AccumT - url: /arrow/mtl/accumt/ - - - title: Type Classes - - nested_options: - - - title: MonadReader - url: /arrow/mtl/typeclasses/monadreader/ - - - title: MonadWriter - url: /arrow/mtl/typeclasses/monadwriter/ - - - title: MonadState - url: /arrow/mtl/typeclasses/monadstate/ - - - title: MonadTrans - url: /arrow/mtl/typeclasses/monadtrans/ - - - title: API Docs - - nested_options: - - - title: AQL - url: /apidocs/arrow-aql/ - - - title: MTL - url: /apidocs/arrow-mtl/ - - - title: MTL Extensions - url: /apidocs/arrow-mtl-data/ - - - title: Recursion - url: /apidocs/arrow-recursion/ - - - title: Recursion Extensions - url: /apidocs/arrow-recursion-data/ - - - title: Generic - url: /apidocs/arrow-generic/ - - - title: Free - url: /apidocs/arrow-free/ - - - title: Free Extensions - url: /apidocs/arrow-free-data/ - - - title: Check - url: /apidocs/arrow-check/ - - - title: Check KotlinTest - url: /apidocs/arrow-check-kotlintest/ diff --git a/docs/_sass/components/docs/_sidebar-incubator.scss b/docs/_sass/components/docs/_sidebar-incubator.scss deleted file mode 100644 index 78798ff9..00000000 --- a/docs/_sass/components/docs/_sidebar-incubator.scss +++ /dev/null @@ -1,102 +0,0 @@ -.incubator { - background: $incubator-background; - - .sidebar-menu { - .sidebar-menu-item { - &.active { - - & > button { - border-left: 4px solid $incubator-color; - } - } - - &.open { - a { - background: $incubator-hover; - } - - & > button { - background: $incubator-hover; - } - } - } - } -} - -#cat-incubator-dropdown { - min-width: 164px; - - .sidebar-nav { - .sidebar-nav-item { - > a { - transition: background $base-duration $base-timing; - &:hover { - background: $incubator-hover; - box-shadow: $sidebar-cat-dropdow; - } - } - - &.active { - > a { - background: $incubator-hover; - box-shadow: $sidebar-cat-dropdow; - } - } - - ul { - width: 100%; - z-index: 1; - box-shadow: $sidebar-cat-dropdow; - background: $incubator-hover; - - a { - color: $white; - transition: all $base-duration $base-timing; - - &:hover { - background: rgba($white, 0.05); - color: rgba($white, 0.8); - } - } - } - } - } -} - -#doc-incubator-version-button { - .sidebar-doc-versions { - .sidebar-nav-item { - background: $incubator-background; - > a { - transition: background $base-duration $base-timing; - &:hover { - background: $incubator-hover; - box-shadow: $sidebar-cat-dropdow; - } - } - - &.active { - > a { - background: $incubator-hover; - box-shadow: $sidebar-cat-dropdow; - } - } - - ul { - width: 100%; - z-index: 1; - box-shadow: $sidebar-cat-dropdow; - background: $incubator-hover; - - a { - color: $white; - padding-left: 10px; - - &:hover { - @include links($white, $white, rgba($white, 0.5), rgba($white, 0.5)); - } - } - } - } - } -} diff --git a/docs/css/docs-styles.scss b/docs/css/docs-styles.scss index 7e518b5f..3fe50389 100644 --- a/docs/css/docs-styles.scss +++ b/docs/css/docs-styles.scss @@ -28,7 +28,6 @@ @import "components/docs/media-content"; @import "components/docs/sidebar-fx"; @import "components/docs/sidebar-optics"; -@import "components/docs/sidebar-incubator"; @import "components/docs/sidebar-menu"; @import "components/docs/sidebar"; @import "components/docs/sidebar-core"; From 6b9222d5f7b78784d456b74d90dfa94b30a78c87 Mon Sep 17 00:00:00 2001 From: "Rachel M. Carmena" Date: Tue, 9 Feb 2021 13:06:45 +0100 Subject: [PATCH 07/10] Fix dropdown menu --- docs/_includes/_sidebar-wrapper.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_includes/_sidebar-wrapper.html b/docs/_includes/_sidebar-wrapper.html index 2e1e3e78..75872f6c 100644 --- a/docs/_includes/_sidebar-wrapper.html +++ b/docs/_includes/_sidebar-wrapper.html @@ -9,7 +9,7 @@ {% assign img_url = '/img/' | append: cat_id | append: '/arrow-' | append: cat_id | append: '-brand-sidebar.svg' %} Arrow {{ cat_id }} - {% assign cat_title = "arrow " | append: cat_id %} + {% assign cat_title = cat_id %} {% include _sidebar-cat-dropdown.html %}
From b0ffded9a08645f8057905ebc22f96b673d36fa7 Mon Sep 17 00:00:00 2001 From: "Rachel M. Carmena" Date: Tue, 9 Feb 2021 14:05:22 +0100 Subject: [PATCH 08/10] Remove deprecated entries --- docs/_data/sidebar-fx.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/docs/_data/sidebar-fx.yml b/docs/_data/sidebar-fx.yml index f20a82e9..837df536 100644 --- a/docs/_data/sidebar-fx.yml +++ b/docs/_data/sidebar-fx.yml @@ -18,9 +18,6 @@ options: - title: Atomic url: /apidocs/arrow-fx-coroutines/arrow.fx.coroutines/-atomic/ - - title: ConcurrentVar - url: /apidocs/arrow-fx-coroutines/arrow.fx.coroutines/-concurrent-var/ - - title: Resource url: /apidocs/arrow-fx-coroutines/arrow.fx.coroutines/-resource/ @@ -30,12 +27,6 @@ options: - title: CircuitBreaker url: /apidocs/arrow-fx-coroutines/arrow.fx.coroutines/-circuit-breaker/ - - title: Promise - url: /apidocs/arrow-fx-coroutines/arrow.fx.coroutines/-promise/ - - - title: Semaphore - url: /apidocs/arrow-fx-coroutines/arrow.fx.coroutines/-semaphore/ - - title: Media url: https://media.arrow-kt.io/tags/fx/ From adec387300bff575d3f4ae17b016e29ce48f45ba Mon Sep 17 00:00:00 2001 From: "Rachel M. Carmena" Date: Tue, 9 Feb 2021 14:32:36 +0100 Subject: [PATCH 09/10] Remove unused layout --- docs/_config.yml | 50 ------------------------------- docs/_layouts/docs-incubator.html | 19 ------------ 2 files changed, 69 deletions(-) delete mode 100644 docs/_layouts/docs-incubator.html diff --git a/docs/_config.yml b/docs/_config.yml index 8faf7864..2a6f217b 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -36,56 +36,6 @@ defaults: type: "pages" values: layout: "docs-fx" - - scope: - path: "apidocs/arrow-aql" - type: "pages" - values: - layout: "docs-incubator" - - scope: - path: "apidocs/arrow-mtl" - type: "pages" - values: - layout: "docs-incubator" - - scope: - path: "apidocs/arrow-mtl-data" - type: "pages" - values: - layout: "docs-incubator" - - scope: - path: "apidocs/arrow-recursion" - type: "pages" - values: - layout: "docs-incubator" - - scope: - path: "apidocs/arrow-recursion-data" - type: "pages" - values: - layout: "docs-incubator" - - scope: - path: "apidocs/arrow-generic" - type: "pages" - values: - layout: "docs-incubator" - - scope: - path: "apidocs/arrow-free" - type: "pages" - values: - layout: "docs-incubator" - - scope: - path: "apidocs/arrow-free-data" - type: "pages" - values: - layout: "docs-incubator" - - scope: - path: "apidocs/arrow-check" - type: "pages" - values: - layout: "docs-incubator" - - scope: - path: "apidocs/arrow-check-kotlintest" - type: "pages" - values: - layout: "docs-incubator" - scope: path: "apidocs" type: "pages" diff --git a/docs/_layouts/docs-incubator.html b/docs/_layouts/docs-incubator.html deleted file mode 100644 index abb2dfd7..00000000 --- a/docs/_layouts/docs-incubator.html +++ /dev/null @@ -1,19 +0,0 @@ - - -{% assign cat_id = "incubator" %} -{% assign cat_id_cap = cat_id | capitalize %} -{% include _head-docs.html %} - - -
- {% include _sidebar-wrapper.html %} -
- {% include _doc-wrapper.html %} -
-
- {% include _github-modal.html %} - {% include _slack-link.html %} - {% include _js-bottom-docs.html %} - - - From 6ccf68bcf01af0d5e1f5e7580370f288252231f5 Mon Sep 17 00:00:00 2001 From: "Rachel M. Carmena" Date: Tue, 9 Feb 2021 14:49:52 +0100 Subject: [PATCH 10/10] Remove unused content --- docs/_includes/_main.html | 2 - docs/_includes/_sidebar-doc-versions.html | 4 +- .../docs/_doc-content-incubator.scss | 44 --------- docs/_sass/components/home/_main.scss | 90 ------------------- docs/_sass/components/home/_nav.scss | 4 - docs/_sass/utils/_variables.scss | 4 - docs/css/docs-styles.scss | 1 - 7 files changed, 1 insertion(+), 148 deletions(-) delete mode 100644 docs/_sass/components/docs/_doc-content-incubator.scss diff --git a/docs/_includes/_main.html b/docs/_includes/_main.html index b7a0007d..36e297ec 100644 --- a/docs/_includes/_main.html +++ b/docs/_includes/_main.html @@ -3,7 +3,6 @@
{% for item in site.data.features.content %} {% assign title = item.title | downcase %} - {% if title != "arrow incubator" %}
@@ -16,7 +15,6 @@

{{ item.title }}

{{ item.description }}

- {% endif %} {% endfor %}
diff --git a/docs/_includes/_sidebar-doc-versions.html b/docs/_includes/_sidebar-doc-versions.html index 1075492e..1f5af1dc 100644 --- a/docs/_includes/_sidebar-doc-versions.html +++ b/docs/_includes/_sidebar-doc-versions.html @@ -1,7 +1,5 @@ {% assign doc-link = 'core/' %} -{% if cat_id == 'incubator' %} -{% assign doc-link = 'aql/intro/' %} -{% elsif cat_id == 'fx' %} +{% if cat_id == 'fx' %} {% assign doc-link = 'fx/' %} {% elsif cat_id == 'optics' %} {% assign doc-link = 'optics/dsl/' %} diff --git a/docs/_sass/components/docs/_doc-content-incubator.scss b/docs/_sass/components/docs/_doc-content-incubator.scss deleted file mode 100644 index 262ff751..00000000 --- a/docs/_sass/components/docs/_doc-content-incubator.scss +++ /dev/null @@ -1,44 +0,0 @@ -// DOC CONTENT INCUBATOR -// ----------------------------------------------- -// ----------------------------------------------- - -.doc-content-incubator { - .doc-content { - a { - color: $incubator-color; - } - - p, - ul { - code { - background: rgba($incubator-background, 0.08); - } - } - - .cm-s-arrow span.cm-keyword { - color: $incubator-color; - } - - .hljs-variable, - .hljs-template-variable, - .hljs-tag, - .hljs-name, - .hljs-selector-id, - .hljs-selector-class, - .hljs-regexp, - .hljs-deletion { - color: $incubator-color; - } - - .button-video { - background: $white; - border: 2px solid $incubator-color; - transition: background $base-duration; - - &:hover { - background: $incubator-color; - color: $white; - } - } - } -} diff --git a/docs/_sass/components/home/_main.scss b/docs/_sass/components/home/_main.scss index 91c5bf7a..507d44e8 100644 --- a/docs/_sass/components/home/_main.scss +++ b/docs/_sass/components/home/_main.scss @@ -68,74 +68,6 @@ } } } - - .incubator-container { - display: flex; - justify-content: space-evenly; - padding: ($base-point-grid * 3) 0; - - .incubator-text { - h2 { - font-size: 1.429rem; - text-transform: uppercase; - padding-bottom: 12px; - transition: color $base-duration $base-timing; - } - } - - .incubator-link { - &.hover-mode { - &:hover { - color: $white; - } - } - } - - .incubator-image { - position: relative; - width: 684px; - - #incubator-base-animation { - position: absolute; - opacity: 1; - transition: $opacity-transition; - } - - #incubator-core-animation { - position: absolute; - opacity: 0; - transition: $opacity-transition; - } - - #incubator-fx-animation { - position: absolute; - opacity: 0; - transition: $opacity-transition; - } - - #incubator-optics-animation { - position: absolute; - opacity: 0; - transition: $opacity-transition; - } - - #incubator-meta-animation { - position: absolute; - opacity: 0; - transition: $opacity-transition; - } - - #incubator-hover-animation { - opacity: 0; - transition: $opacity-transition; - } - } - } - - .incubator-list { - list-style-image: url("../img/home/bullet.svg"); - line-height: ($base-point-grid * 4); - } } // Responsive // ----------------------------------------------- @@ -162,27 +94,5 @@ } } } - - .incubator-container { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - - .incubator-image { - width: 100%; - } - - .incubator-text { - text-align: center; - - ul { - li { - list-style: none; - } - } - margin-bottom: ($base-point-grid * 5); - } - } } } diff --git a/docs/_sass/components/home/_nav.scss b/docs/_sass/components/home/_nav.scss index 98216489..2e76c19f 100644 --- a/docs/_sass/components/home/_nav.scss +++ b/docs/_sass/components/home/_nav.scss @@ -26,10 +26,6 @@ background: rgba($optics-background, 0.95); } - &.incubator { - background: rgba($core-background, 0.95); - } - &.meta { background: rgba($meta-background, 0.95); } diff --git a/docs/_sass/utils/_variables.scss b/docs/_sass/utils/_variables.scss index f0b33e6c..477669d7 100644 --- a/docs/_sass/utils/_variables.scss +++ b/docs/_sass/utils/_variables.scss @@ -24,10 +24,6 @@ $fx-hover: #44494f; $optics-color: #00C9AA; $optics-background: #35565F; $optics-hover: #3f5b63; -// incubator -$incubator-color: #FF9B00; -$incubator-background: #354755; -$incubator-hover: #465764; // meta $meta-color: #CD151D; $meta-background: #2E3B44; diff --git a/docs/css/docs-styles.scss b/docs/css/docs-styles.scss index 3fe50389..e93914ea 100644 --- a/docs/css/docs-styles.scss +++ b/docs/css/docs-styles.scss @@ -22,7 +22,6 @@ @import "components/docs/doc-content-core"; @import "components/docs/doc-content-fx"; @import "components/docs/doc-content-optics"; -@import "components/docs/doc-content-incubator"; @import "components/docs/doc-content"; @import "components/docs/doc-header"; @import "components/docs/media-content";