release new website
This commit is contained in:
1 parent
ffb106808b
commit
d9bf6eeee8
21 files changed
+984
-442
No files matched your search
@@ -0,0 +1,5 @@
|
||||
(ns website.charting)
|
||||
|
||||
|
||||
(defn charting-page []
|
||||
[:h1 "hello world | charting page"])
|
||||
@@ -0,0 +1,7 @@
|
||||
// Compiled by ClojureScript 1.9.946 {:static-fns true, :optimize-constants true}
|
||||
goog.provide('website.charting');
|
||||
goog.require('cljs.core');
|
||||
goog.require('cljs.core.constants');
|
||||
website.charting.charting_page = (function website$charting$charting_page(){
|
||||
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$h1,"hello world | charting page"], null);
|
||||
});
|
||||
@@ -3,7 +3,9 @@
|
||||
[secretary.core :as secretary :include-macros true]
|
||||
[accountant.core :as accountant]
|
||||
[website.tobbar :refer [topbar]]
|
||||
[website.home :refer [home-page]]))
|
||||
[website.home :refer [home-page]]
|
||||
[website.install :refer [install-page]]
|
||||
[website.charting :refer [charting-page]]))
|
||||
|
||||
|
||||
;; -------------------------
|
||||
@@ -22,6 +24,11 @@
|
||||
(secretary/defroute "/" []
|
||||
(reset! page #'home-page))
|
||||
|
||||
(secretary/defroute "/charting" []
|
||||
(reset! page #'charting-page))
|
||||
|
||||
(secretary/defroute "/install" []
|
||||
(reset! page #'install-page))
|
||||
|
||||
;; -------------------------
|
||||
;; Initialize app
|
||||
|
||||
+42
-8
@@ -7,28 +7,62 @@ goog.require('secretary.core');
|
||||
goog.require('accountant.core');
|
||||
goog.require('website.tobbar');
|
||||
goog.require('website.home');
|
||||
goog.require('website.install');
|
||||
goog.require('website.charting');
|
||||
if(typeof website.core.page !== 'undefined'){
|
||||
} else {
|
||||
website.core.page = reagent.core.atom.cljs$core$IFn$_invoke$arity$1(new cljs.core.Var(function(){return website.home.home_page;},cljs.core.cst$sym$website$home_SLASH_home_DASH_page,cljs.core.PersistentHashMap.fromArrays([cljs.core.cst$kw$ns,cljs.core.cst$kw$name,cljs.core.cst$kw$file,cljs.core.cst$kw$end_DASH_column,cljs.core.cst$kw$column,cljs.core.cst$kw$line,cljs.core.cst$kw$end_DASH_line,cljs.core.cst$kw$arglists,cljs.core.cst$kw$doc,cljs.core.cst$kw$test],[cljs.core.cst$sym$website$home,cljs.core.cst$sym$home_DASH_page,"/home/didier/clojupyter/website/src/cljs/website/home.cljs",16,1,29,29,cljs.core.list(cljs.core.PersistentVector.EMPTY),null,(cljs.core.truth_(website.home.home_page)?website.home.home_page.cljs$lang$test:null)])));
|
||||
website.core.page = reagent.core.atom.cljs$core$IFn$_invoke$arity$1(new cljs.core.Var(function(){return website.home.home_page;},cljs.core.cst$sym$website$home_SLASH_home_DASH_page,cljs.core.PersistentHashMap.fromArrays([cljs.core.cst$kw$ns,cljs.core.cst$kw$name,cljs.core.cst$kw$file,cljs.core.cst$kw$end_DASH_column,cljs.core.cst$kw$column,cljs.core.cst$kw$line,cljs.core.cst$kw$end_DASH_line,cljs.core.cst$kw$arglists,cljs.core.cst$kw$doc,cljs.core.cst$kw$test],[cljs.core.cst$sym$website$home,cljs.core.cst$sym$home_DASH_page,"/home/didier/clojupyter/website/src/cljs/website/home.cljs",16,1,69,69,cljs.core.list(cljs.core.PersistentVector.EMPTY),null,(cljs.core.truth_(website.home.home_page)?website.home.home_page.cljs$lang$test:null)])));
|
||||
}
|
||||
website.core.current_page = (function website$core$current_page(){
|
||||
return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [website.tobbar.topbar], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$columns,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$column$is_DASH_offset_DASH_1$is_DASH_10,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$br], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.deref(website.core.page)], null)], null)], null)], null);
|
||||
});
|
||||
var action__15027__auto___15181 = (function (params__15028__auto__){
|
||||
var action__15027__auto___15192 = (function (params__15028__auto__){
|
||||
if(cljs.core.map_QMARK_(params__15028__auto__)){
|
||||
var map__15176 = params__15028__auto__;
|
||||
var map__15176__$1 = ((((!((map__15176 == null)))?((((map__15176.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__15176.cljs$core$ISeq$)))?true:false):false))?cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.hash_map,map__15176):map__15176);
|
||||
return cljs.core.reset_BANG_(website.core.page,new cljs.core.Var(function(){return website.home.home_page;},cljs.core.cst$sym$website$home_SLASH_home_DASH_page,cljs.core.PersistentHashMap.fromArrays([cljs.core.cst$kw$ns,cljs.core.cst$kw$name,cljs.core.cst$kw$file,cljs.core.cst$kw$end_DASH_column,cljs.core.cst$kw$column,cljs.core.cst$kw$line,cljs.core.cst$kw$end_DASH_line,cljs.core.cst$kw$arglists,cljs.core.cst$kw$doc,cljs.core.cst$kw$test],[cljs.core.cst$sym$website$home,cljs.core.cst$sym$home_DASH_page,"/home/didier/clojupyter/website/src/cljs/website/home.cljs",16,1,29,29,cljs.core.list(cljs.core.PersistentVector.EMPTY),null,(cljs.core.truth_(website.home.home_page)?website.home.home_page.cljs$lang$test:null)])));
|
||||
var map__15187 = params__15028__auto__;
|
||||
var map__15187__$1 = ((((!((map__15187 == null)))?((((map__15187.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__15187.cljs$core$ISeq$)))?true:false):false))?cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.hash_map,map__15187):map__15187);
|
||||
return cljs.core.reset_BANG_(website.core.page,new cljs.core.Var(function(){return website.home.home_page;},cljs.core.cst$sym$website$home_SLASH_home_DASH_page,cljs.core.PersistentHashMap.fromArrays([cljs.core.cst$kw$ns,cljs.core.cst$kw$name,cljs.core.cst$kw$file,cljs.core.cst$kw$end_DASH_column,cljs.core.cst$kw$column,cljs.core.cst$kw$line,cljs.core.cst$kw$end_DASH_line,cljs.core.cst$kw$arglists,cljs.core.cst$kw$doc,cljs.core.cst$kw$test],[cljs.core.cst$sym$website$home,cljs.core.cst$sym$home_DASH_page,"/home/didier/clojupyter/website/src/cljs/website/home.cljs",16,1,69,69,cljs.core.list(cljs.core.PersistentVector.EMPTY),null,(cljs.core.truth_(website.home.home_page)?website.home.home_page.cljs$lang$test:null)])));
|
||||
} else {
|
||||
if(cljs.core.vector_QMARK_(params__15028__auto__)){
|
||||
var vec__15178 = params__15028__auto__;
|
||||
return cljs.core.reset_BANG_(website.core.page,new cljs.core.Var(function(){return website.home.home_page;},cljs.core.cst$sym$website$home_SLASH_home_DASH_page,cljs.core.PersistentHashMap.fromArrays([cljs.core.cst$kw$ns,cljs.core.cst$kw$name,cljs.core.cst$kw$file,cljs.core.cst$kw$end_DASH_column,cljs.core.cst$kw$column,cljs.core.cst$kw$line,cljs.core.cst$kw$end_DASH_line,cljs.core.cst$kw$arglists,cljs.core.cst$kw$doc,cljs.core.cst$kw$test],[cljs.core.cst$sym$website$home,cljs.core.cst$sym$home_DASH_page,"/home/didier/clojupyter/website/src/cljs/website/home.cljs",16,1,29,29,cljs.core.list(cljs.core.PersistentVector.EMPTY),null,(cljs.core.truth_(website.home.home_page)?website.home.home_page.cljs$lang$test:null)])));
|
||||
var vec__15189 = params__15028__auto__;
|
||||
return cljs.core.reset_BANG_(website.core.page,new cljs.core.Var(function(){return website.home.home_page;},cljs.core.cst$sym$website$home_SLASH_home_DASH_page,cljs.core.PersistentHashMap.fromArrays([cljs.core.cst$kw$ns,cljs.core.cst$kw$name,cljs.core.cst$kw$file,cljs.core.cst$kw$end_DASH_column,cljs.core.cst$kw$column,cljs.core.cst$kw$line,cljs.core.cst$kw$end_DASH_line,cljs.core.cst$kw$arglists,cljs.core.cst$kw$doc,cljs.core.cst$kw$test],[cljs.core.cst$sym$website$home,cljs.core.cst$sym$home_DASH_page,"/home/didier/clojupyter/website/src/cljs/website/home.cljs",16,1,69,69,cljs.core.list(cljs.core.PersistentVector.EMPTY),null,(cljs.core.truth_(website.home.home_page)?website.home.home_page.cljs$lang$test:null)])));
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
});
|
||||
secretary.core.add_route_BANG_("/",action__15027__auto___15181);
|
||||
secretary.core.add_route_BANG_("/",action__15027__auto___15192);
|
||||
|
||||
var action__15027__auto___15198 = (function (params__15028__auto__){
|
||||
if(cljs.core.map_QMARK_(params__15028__auto__)){
|
||||
var map__15193 = params__15028__auto__;
|
||||
var map__15193__$1 = ((((!((map__15193 == null)))?((((map__15193.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__15193.cljs$core$ISeq$)))?true:false):false))?cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.hash_map,map__15193):map__15193);
|
||||
return cljs.core.reset_BANG_(website.core.page,new cljs.core.Var(function(){return website.charting.charting_page;},cljs.core.cst$sym$website$charting_SLASH_charting_DASH_page,cljs.core.PersistentHashMap.fromArrays([cljs.core.cst$kw$ns,cljs.core.cst$kw$name,cljs.core.cst$kw$file,cljs.core.cst$kw$end_DASH_column,cljs.core.cst$kw$column,cljs.core.cst$kw$line,cljs.core.cst$kw$end_DASH_line,cljs.core.cst$kw$arglists,cljs.core.cst$kw$doc,cljs.core.cst$kw$test],[cljs.core.cst$sym$website$charting,cljs.core.cst$sym$charting_DASH_page,"src/cljs/website/charting.cljs",20,1,4,4,cljs.core.list(cljs.core.PersistentVector.EMPTY),null,(cljs.core.truth_(website.charting.charting_page)?website.charting.charting_page.cljs$lang$test:null)])));
|
||||
} else {
|
||||
if(cljs.core.vector_QMARK_(params__15028__auto__)){
|
||||
var vec__15195 = params__15028__auto__;
|
||||
return cljs.core.reset_BANG_(website.core.page,new cljs.core.Var(function(){return website.charting.charting_page;},cljs.core.cst$sym$website$charting_SLASH_charting_DASH_page,cljs.core.PersistentHashMap.fromArrays([cljs.core.cst$kw$ns,cljs.core.cst$kw$name,cljs.core.cst$kw$file,cljs.core.cst$kw$end_DASH_column,cljs.core.cst$kw$column,cljs.core.cst$kw$line,cljs.core.cst$kw$end_DASH_line,cljs.core.cst$kw$arglists,cljs.core.cst$kw$doc,cljs.core.cst$kw$test],[cljs.core.cst$sym$website$charting,cljs.core.cst$sym$charting_DASH_page,"src/cljs/website/charting.cljs",20,1,4,4,cljs.core.list(cljs.core.PersistentVector.EMPTY),null,(cljs.core.truth_(website.charting.charting_page)?website.charting.charting_page.cljs$lang$test:null)])));
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
});
|
||||
secretary.core.add_route_BANG_("/charting",action__15027__auto___15198);
|
||||
|
||||
var action__15027__auto___15204 = (function (params__15028__auto__){
|
||||
if(cljs.core.map_QMARK_(params__15028__auto__)){
|
||||
var map__15199 = params__15028__auto__;
|
||||
var map__15199__$1 = ((((!((map__15199 == null)))?((((map__15199.cljs$lang$protocol_mask$partition0$ & (64))) || ((cljs.core.PROTOCOL_SENTINEL === map__15199.cljs$core$ISeq$)))?true:false):false))?cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.hash_map,map__15199):map__15199);
|
||||
return cljs.core.reset_BANG_(website.core.page,new cljs.core.Var(function(){return website.install.install_page;},cljs.core.cst$sym$website$install_SLASH_install_DASH_page,cljs.core.PersistentHashMap.fromArrays([cljs.core.cst$kw$ns,cljs.core.cst$kw$name,cljs.core.cst$kw$file,cljs.core.cst$kw$end_DASH_column,cljs.core.cst$kw$column,cljs.core.cst$kw$line,cljs.core.cst$kw$end_DASH_line,cljs.core.cst$kw$arglists,cljs.core.cst$kw$doc,cljs.core.cst$kw$test],[cljs.core.cst$sym$website$install,cljs.core.cst$sym$install_DASH_page,"src/cljs/website/install.cljs",19,1,3,3,cljs.core.list(cljs.core.PersistentVector.EMPTY),null,(cljs.core.truth_(website.install.install_page)?website.install.install_page.cljs$lang$test:null)])));
|
||||
} else {
|
||||
if(cljs.core.vector_QMARK_(params__15028__auto__)){
|
||||
var vec__15201 = params__15028__auto__;
|
||||
return cljs.core.reset_BANG_(website.core.page,new cljs.core.Var(function(){return website.install.install_page;},cljs.core.cst$sym$website$install_SLASH_install_DASH_page,cljs.core.PersistentHashMap.fromArrays([cljs.core.cst$kw$ns,cljs.core.cst$kw$name,cljs.core.cst$kw$file,cljs.core.cst$kw$end_DASH_column,cljs.core.cst$kw$column,cljs.core.cst$kw$line,cljs.core.cst$kw$end_DASH_line,cljs.core.cst$kw$arglists,cljs.core.cst$kw$doc,cljs.core.cst$kw$test],[cljs.core.cst$sym$website$install,cljs.core.cst$sym$install_DASH_page,"src/cljs/website/install.cljs",19,1,3,3,cljs.core.list(cljs.core.PersistentVector.EMPTY),null,(cljs.core.truth_(website.install.install_page)?website.install.install_page.cljs$lang$test:null)])));
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
});
|
||||
secretary.core.add_route_BANG_("/install",action__15027__auto___15204);
|
||||
|
||||
website.core.mount_root = (function website$core$mount_root(){
|
||||
return reagent.core.render.cljs$core$IFn$_invoke$arity$2(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [website.core.current_page], null),document.getElementById("app"));
|
||||
|
||||
+45
-16
@@ -21,27 +21,56 @@
|
||||
[:img {:src (image @timeouts)}]]
|
||||
[:div.has-text-centered {:style {:marginTop "0.5em"}}
|
||||
[:span
|
||||
[:i.fa-circle {:class (if (is-far @timeouts 0) "far" "fas")}] " "
|
||||
[:i.fa-circle {:class (if (is-far @timeouts 1) "far" "fas")}] " "
|
||||
[:i.fa-circle {:class (if (is-far @timeouts 2) "far" "fas")}]]]])))
|
||||
[:i.fa-circle.cj-orange-text {:class (if (is-far @timeouts 0) "fas" "far ")}] " "
|
||||
[:i.fa-circle.cj-orange-text {:class (if (is-far @timeouts 1) "fas" "far")}] " "
|
||||
[:i.fa-circle.cj-orange-text {:class (if (is-far @timeouts 2) "fas" "far")}]]]])))
|
||||
|
||||
(def description-block
|
||||
[:article.message
|
||||
[:div.message-body
|
||||
[:p.subtitle (important "Clojupyter") " brings " (important "clojure") " to the " (important "jupyter notebook") "."]
|
||||
[:article.content
|
||||
[:p "Enjoy the full Clojure repl experience with…"]
|
||||
[:ul
|
||||
[:li "Full jupyter notebook support"]
|
||||
[:li "Completions"]
|
||||
[:li "Charting"]
|
||||
[:li [notebook "geom.ipynb" "Latex, Markdown, HTML and Hiccup"]]
|
||||
[:li "parinfer"]
|
||||
[:li "Leiningen integration"]]]]])
|
||||
|
||||
(def lein-plugin-example "(defproject my-project\"0.1.0-SNAPSHOT\"
|
||||
:description \"FIXME: write description\"
|
||||
:url \"http://example.com/FIXME\"
|
||||
:license {:name \"Eclipse Public License\"
|
||||
:url \"http://www.eclipse.org/legal/epl-v10.html\"}
|
||||
:dependencies [[org.clojure/clojure \"1.9.0\"]]
|
||||
:main ^:skip-aot my-project.core
|
||||
:target-path \"target/%s\"
|
||||
:plugins [[lein-jupyter \"0.1.14\"]]
|
||||
:profiles {:uberjar {:aot :all}})")
|
||||
|
||||
(def installation-block
|
||||
[:article.message
|
||||
[:div.message-body
|
||||
[:p.subtitle (important "Getting Started") " | Leiningen plugin"]
|
||||
[:article.content
|
||||
[:p]
|
||||
[:ol
|
||||
[:li "Install the jupyter notebook globally following the " [:a {:href "http://jupyter.org/install"} "official instruction"]]
|
||||
[:li [:div
|
||||
[:p "Add lein-jupyter in your " [:p.is-italic {:style {:position "inline"}} "project.clj" [:code ":plugins"] "section."]]
|
||||
[:pre lein-plugin-example]]]
|
||||
[:li "install the jupyter kernel with lein jupyter install-kernel"]
|
||||
[:li "run jupyter from within your project using lein jupyter notebook"]]]]])
|
||||
|
||||
|
||||
|
||||
(defn home-page []
|
||||
[:div.columns.is-variable.is-8
|
||||
[:div.column
|
||||
[:article.message
|
||||
[:div.message-body
|
||||
[:p.subtitle (important "Clojupyter") " brings " (important "clojure") " to the " (important "jupyter notebook") "."]
|
||||
[:article.content
|
||||
[:p "Enjoy the full Clojure repl experience with…"]
|
||||
[:ul
|
||||
[:li "Full jupyter notebook support"]
|
||||
[:li "Completions"]
|
||||
[:li "Charting"]
|
||||
[:li [notebook "geom.ipynb" "Latex, Markdown, HTML and Hiccup"]]
|
||||
[:li "parinfer"]
|
||||
[:li "Leiningen integration"]]]]]]
|
||||
description-block
|
||||
[:div.is-hidden-mobile installation-block]]
|
||||
[:div.column
|
||||
[examples]]])
|
||||
|
||||
|
||||
@@ -31,10 +31,13 @@ setInterval(G__14991_14993,G__14992_14994);
|
||||
|
||||
return ((function (timeouts,is_far,image){
|
||||
return (function (){
|
||||
return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$box,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$figure$image$is_DASH_2by1,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$img,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$src,image(cljs.core.deref(timeouts))], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$has_DASH_text_DASH_centered,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$style,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$marginTop,"0.5em"], null)], null),new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$span,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$i$fa_DASH_circle,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$class,(cljs.core.truth_(is_far(cljs.core.deref(timeouts),(0)))?"far":"fas")], null)], null)," ",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$i$fa_DASH_circle,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$class,(cljs.core.truth_(is_far(cljs.core.deref(timeouts),(1)))?"far":"fas")], null)], null)," ",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$i$fa_DASH_circle,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$class,(cljs.core.truth_(is_far(cljs.core.deref(timeouts),(2)))?"far":"fas")], null)], null)], null)], null)], null);
|
||||
return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$box,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$figure$image$is_DASH_2by1,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$img,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$src,image(cljs.core.deref(timeouts))], null)], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$has_DASH_text_DASH_centered,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$style,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$marginTop,"0.5em"], null)], null),new cljs.core.PersistentVector(null, 6, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$span,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$i$fa_DASH_circle$cj_DASH_orange_DASH_text,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$class,(cljs.core.truth_(is_far(cljs.core.deref(timeouts),(0)))?"fas":"far ")], null)], null)," ",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$i$fa_DASH_circle$cj_DASH_orange_DASH_text,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$class,(cljs.core.truth_(is_far(cljs.core.deref(timeouts),(1)))?"fas":"far")], null)], null)," ",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$i$fa_DASH_circle$cj_DASH_orange_DASH_text,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$class,(cljs.core.truth_(is_far(cljs.core.deref(timeouts),(2)))?"fas":"far")], null)], null)], null)], null)], null);
|
||||
});
|
||||
;})(timeouts,is_far,image))
|
||||
});
|
||||
website.home.description_block = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$article$message,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$message_DASH_body,new cljs.core.PersistentVector(null, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$p$subtitle,website.home.important("Clojupyter")," brings ",website.home.important("clojure")," to the ",website.home.important("jupyter notebook"),"."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$article$content,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$p,"Enjoy the full Clojure repl experience with\u2026"], null),new cljs.core.PersistentVector(null, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$ul,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$li,"Full jupyter notebook support"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$li,"Completions"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$li,"Charting"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$li,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [website.notebook.notebook,"geom.ipynb","Latex, Markdown, HTML and Hiccup"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$li,"parinfer"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$li,"Leiningen integration"], null)], null)], null)], null)], null);
|
||||
website.home.lein_plugin_example = "(defproject my-project\"0.1.0-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"http://example.com/FIXME\"\n :license {:name \"Eclipse Public License\"\n :url \"http://www.eclipse.org/legal/epl-v10.html\"}\n :dependencies [[org.clojure/clojure \"1.9.0\"]]\n :main ^:skip-aot my-project.core\n :target-path \"target/%s\"\n :plugins [[lein-jupyter \"0.1.14\"]]\n :profiles {:uberjar {:aot :all}})";
|
||||
website.home.installation_block = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$article$message,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$message_DASH_body,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$p$subtitle,website.home.important("Getting Started")," | Leiningen plugin"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$article$content,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$p], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$ol,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$li,"Install the jupyter notebook globally following the ",new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$a,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$href,"http://jupyter.org/install"], null),"official instruction"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$li,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$p,"Add lein-jupyter in your ",new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$p$is_DASH_italic,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$style,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$position,"inline"], null)], null),"project.clj",new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$code,":plugins"], null),"section."], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$pre,website.home.lein_plugin_example], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$li,"install the jupyter kernel with lein jupyter install-kernel"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$li,"run jupyter from within your project using lein jupyter notebook"], null)], null)], null)], null)], null);
|
||||
website.home.home_page = (function website$home$home_page(){
|
||||
return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$columns$is_DASH_variable$is_DASH_8,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$column,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$article$message,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$message_DASH_body,new cljs.core.PersistentVector(null, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$p$subtitle,website.home.important("Clojupyter")," brings ",website.home.important("clojure")," to the ",website.home.important("jupyter notebook"),"."], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$article$content,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$p,"Enjoy the full Clojure repl experience with\u2026"], null),new cljs.core.PersistentVector(null, 7, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$ul,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$li,"Full jupyter notebook support"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$li,"Completions"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$li,"Charting"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$li,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [website.notebook.notebook,"geom.ipynb","Latex, Markdown, HTML and Hiccup"], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$li,"parinfer"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$li,"Leiningen integration"], null)], null)], null)], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$column,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [website.home.examples], null)], null)], null);
|
||||
return new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$columns$is_DASH_variable$is_DASH_8,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$column,website.home.description_block,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$is_DASH_hidden_DASH_mobile,website.home.installation_block], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$column,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [website.home.examples], null)], null)], null);
|
||||
});
|
||||
@@ -0,0 +1,4 @@
|
||||
(ns website.install)
|
||||
|
||||
(defn install-page []
|
||||
[:h1 "hello world | install page"])
|
||||
@@ -0,0 +1,7 @@
|
||||
// Compiled by ClojureScript 1.9.946 {:static-fns true, :optimize-constants true}
|
||||
goog.provide('website.install');
|
||||
goog.require('cljs.core');
|
||||
goog.require('cljs.core.constants');
|
||||
website.install.install_page = (function website$install$install_page(){
|
||||
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$h1,"hello world | install page"], null);
|
||||
});
|
||||
@@ -1,4 +1,4 @@
|
||||
(ns website.logo)
|
||||
|
||||
(defn logo [size]
|
||||
[:img {:src "images/clojupyter-logo.svg" :height size :width (* 3 size) :alt "clojure logo"}])
|
||||
[:img {:src "images/clojupyter-logo-alpha-1.svg" :height size :width (* 3 size) :alt "clojure logo"}])
|
||||
@@ -3,5 +3,5 @@ goog.provide('website.logo');
|
||||
goog.require('cljs.core');
|
||||
goog.require('cljs.core.constants');
|
||||
website.logo.logo = (function website$logo$logo(size){
|
||||
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$img,new cljs.core.PersistentArrayMap(null, 4, [cljs.core.cst$kw$src,"images/clojupyter-logo.svg",cljs.core.cst$kw$height,size,cljs.core.cst$kw$width,((3) * size),cljs.core.cst$kw$alt,"clojure logo"], null)], null);
|
||||
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$img,new cljs.core.PersistentArrayMap(null, 4, [cljs.core.cst$kw$src,"images/clojupyter-logo-alpha-1.svg",cljs.core.cst$kw$height,size,cljs.core.cst$kw$width,((3) * size),cljs.core.cst$kw$alt,"clojure logo"], null)], null);
|
||||
});
|
||||
+12
-12
@@ -4,24 +4,24 @@ goog.require('cljs.core');
|
||||
goog.require('cljs.core.constants');
|
||||
goog.require('website.core');
|
||||
cljs.core._STAR_print_fn_STAR_ = (function() {
|
||||
var G__15184__delegate = function (_){
|
||||
var G__15207__delegate = function (_){
|
||||
return null;
|
||||
};
|
||||
var G__15184 = function (var_args){
|
||||
var G__15207 = function (var_args){
|
||||
var _ = null;
|
||||
if (arguments.length > 0) {
|
||||
var G__15185__i = 0, G__15185__a = new Array(arguments.length - 0);
|
||||
while (G__15185__i < G__15185__a.length) {G__15185__a[G__15185__i] = arguments[G__15185__i + 0]; ++G__15185__i;}
|
||||
_ = new cljs.core.IndexedSeq(G__15185__a,0,null);
|
||||
var G__15208__i = 0, G__15208__a = new Array(arguments.length - 0);
|
||||
while (G__15208__i < G__15208__a.length) {G__15208__a[G__15208__i] = arguments[G__15208__i + 0]; ++G__15208__i;}
|
||||
_ = new cljs.core.IndexedSeq(G__15208__a,0,null);
|
||||
}
|
||||
return G__15184__delegate.call(this,_);};
|
||||
G__15184.cljs$lang$maxFixedArity = 0;
|
||||
G__15184.cljs$lang$applyTo = (function (arglist__15186){
|
||||
var _ = cljs.core.seq(arglist__15186);
|
||||
return G__15184__delegate(_);
|
||||
return G__15207__delegate.call(this,_);};
|
||||
G__15207.cljs$lang$maxFixedArity = 0;
|
||||
G__15207.cljs$lang$applyTo = (function (arglist__15209){
|
||||
var _ = cljs.core.seq(arglist__15209);
|
||||
return G__15207__delegate(_);
|
||||
});
|
||||
G__15184.cljs$core$IFn$_invoke$arity$variadic = G__15184__delegate;
|
||||
return G__15184;
|
||||
G__15207.cljs$core$IFn$_invoke$arity$variadic = G__15207__delegate;
|
||||
return G__15207;
|
||||
})()
|
||||
;
|
||||
website.core.init_BANG_();
|
||||
+30
-10
@@ -1,16 +1,36 @@
|
||||
(ns website.tobbar
|
||||
(:require [website.logo :refer [logo]]))
|
||||
(:require [website.logo :refer [logo]]
|
||||
[reagent.core :as r]))
|
||||
|
||||
(defmacro handler-fn
|
||||
([& body]
|
||||
`(fn [~'event] ~@body nil))) ; always return nil
|
||||
|
||||
(defn important [w] ;; to remove
|
||||
[:span.has-text-weight-semibold w])
|
||||
|
||||
(def github-link
|
||||
[:a.title.is-5 {:href "https://github.com/clojupyter"}
|
||||
[:span.title.is-5
|
||||
[:i.fab.fa-github]])
|
||||
|
||||
|
||||
(defn topbar []
|
||||
[:nav.navbar.is-primary.is-transparent {:role "navigation" :aria-label "main navigation"}
|
||||
[:div.navbar-brand
|
||||
[:a.navbar-item
|
||||
[logo 30]]]
|
||||
[:div.navbar-menu
|
||||
[:div.navbar-end
|
||||
[:a.navbar-item github-link]]]])
|
||||
(let [active? (r/atom true)]
|
||||
(fn []
|
||||
(let [text-color (if @active? "black" "white")]
|
||||
[:nav.navbar.is-primary.is-transparent {:role "navigation" :aria-label "main navigation"}
|
||||
[:div.navbar-brand
|
||||
[:a.navbar-item {:href "/"}
|
||||
[logo 30]]
|
||||
[:div.navbar-burger {:on-click #(swap! active? not)}
|
||||
[:span]
|
||||
[:span]
|
||||
[:span]]]
|
||||
[:div.navbar-menu {:class (if @active? "is-active")}
|
||||
[:div.navbar-start {:style {:color text-color}}
|
||||
[:a.navbar-item {:href "/charting"}
|
||||
(important [:p [:i.fas.fa-chart-bar ] " Charting"])]
|
||||
[:a.navbar-item {:href "/install"}
|
||||
(important [:p [:i.fas.fa-arrow-down ] " Install"])]]
|
||||
[:div.navbar-end
|
||||
[:a.navbar-item {:href "https://github.com/clojupyter"}
|
||||
(important [:span [:i.fab.fa-github] " GitHub"])]]]]))))
|
||||
@@ -3,7 +3,63 @@ goog.provide('website.tobbar');
|
||||
goog.require('cljs.core');
|
||||
goog.require('cljs.core.constants');
|
||||
goog.require('website.logo');
|
||||
website.tobbar.github_link = new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$a$title$is_DASH_5,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$href,"https://github.com/clojupyter"], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$i$fab$fa_DASH_github], null)], null);
|
||||
goog.require('reagent.core');
|
||||
var ret__10107__auto___15179 = (function (){
|
||||
website.tobbar.handler_fn = (function website$tobbar$handler_fn(var_args){
|
||||
var args__10068__auto__ = [];
|
||||
var len__10061__auto___15180 = arguments.length;
|
||||
var i__10062__auto___15181 = (0);
|
||||
while(true){
|
||||
if((i__10062__auto___15181 < len__10061__auto___15180)){
|
||||
args__10068__auto__.push((arguments[i__10062__auto___15181]));
|
||||
|
||||
var G__15182 = (i__10062__auto___15181 + (1));
|
||||
i__10062__auto___15181 = G__15182;
|
||||
continue;
|
||||
} else {
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
var argseq__10069__auto__ = ((((2) < args__10068__auto__.length))?(new cljs.core.IndexedSeq(args__10068__auto__.slice((2)),(0),null)):null);
|
||||
return website.tobbar.handler_fn.cljs$core$IFn$_invoke$arity$variadic((arguments[(0)]),(arguments[(1)]),argseq__10069__auto__);
|
||||
});
|
||||
|
||||
website.tobbar.handler_fn.cljs$core$IFn$_invoke$arity$variadic = (function (_AMPERSAND_form,_AMPERSAND_env,body){
|
||||
return cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$variadic(cljs.core._conj(cljs.core.List.EMPTY,cljs.core.cst$sym$cljs$core_SLASH_fn),(function (){var x__9736__auto__ = cljs.core.vec(cljs.core.sequence.cljs$core$IFn$_invoke$arity$1(cljs.core.seq(cljs.core.concat.cljs$core$IFn$_invoke$arity$1(cljs.core._conj(cljs.core.List.EMPTY,cljs.core.cst$sym$event)))));
|
||||
return cljs.core._conj(cljs.core.List.EMPTY,x__9736__auto__);
|
||||
})(),cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([body,cljs.core._conj(cljs.core.List.EMPTY,null)], 0))));
|
||||
});
|
||||
|
||||
website.tobbar.handler_fn.cljs$lang$maxFixedArity = (2);
|
||||
|
||||
website.tobbar.handler_fn.cljs$lang$applyTo = (function (seq15176){
|
||||
var G__15177 = cljs.core.first(seq15176);
|
||||
var seq15176__$1 = cljs.core.next(seq15176);
|
||||
var G__15178 = cljs.core.first(seq15176__$1);
|
||||
var seq15176__$2 = cljs.core.next(seq15176__$1);
|
||||
return website.tobbar.handler_fn.cljs$core$IFn$_invoke$arity$variadic(G__15177,G__15178,seq15176__$2);
|
||||
});
|
||||
|
||||
return null;
|
||||
})()
|
||||
;
|
||||
website.tobbar.handler_fn.cljs$lang$macro = true;
|
||||
|
||||
website.tobbar.important = (function website$tobbar$important(w){
|
||||
return new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$span$has_DASH_text_DASH_weight_DASH_semibold,w], null);
|
||||
});
|
||||
website.tobbar.github_link = new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$span$title$is_DASH_5,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$i$fab$fa_DASH_github], null)], null);
|
||||
website.tobbar.topbar = (function website$tobbar$topbar(){
|
||||
return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$nav$navbar$is_DASH_primary$is_DASH_transparent,new cljs.core.PersistentArrayMap(null, 2, [cljs.core.cst$kw$role,"navigation",cljs.core.cst$kw$aria_DASH_label,"main navigation"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$navbar_DASH_brand,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$a$navbar_DASH_item,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [website.logo.logo,(30)], null)], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$navbar_DASH_menu,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$navbar_DASH_end,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$a$navbar_DASH_item,website.tobbar.github_link], null)], null)], null)], null);
|
||||
var active_QMARK_ = reagent.core.atom.cljs$core$IFn$_invoke$arity$1(true);
|
||||
return ((function (active_QMARK_){
|
||||
return (function (){
|
||||
var text_color = (cljs.core.truth_(cljs.core.deref(active_QMARK_))?"black":"white");
|
||||
return new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$nav$navbar$is_DASH_primary$is_DASH_transparent,new cljs.core.PersistentArrayMap(null, 2, [cljs.core.cst$kw$role,"navigation",cljs.core.cst$kw$aria_DASH_label,"main navigation"], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$navbar_DASH_brand,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$a$navbar_DASH_item,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$href,"/"], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [website.logo.logo,(30)], null)], null),new cljs.core.PersistentVector(null, 5, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$navbar_DASH_burger,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$on_DASH_click,((function (text_color,active_QMARK_){
|
||||
return (function (){
|
||||
return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$2(active_QMARK_,cljs.core.not);
|
||||
});})(text_color,active_QMARK_))
|
||||
], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$span], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$span], null),new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$span], null)], null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$navbar_DASH_menu,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$class,(cljs.core.truth_(cljs.core.deref(active_QMARK_))?"is-active":null)], null),new cljs.core.PersistentVector(null, 4, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$navbar_DASH_start,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$style,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$color,text_color], null)], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$a$navbar_DASH_item,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$href,"/charting"], null),website.tobbar.important(new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$p,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$i$fas$fa_DASH_chart_DASH_bar], null)," Charting"], null))], null),new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$a$navbar_DASH_item,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$href,"/install"], null),website.tobbar.important(new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$p,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$i$fas$fa_DASH_arrow_DASH_down], null)," Install"], null))], null)], null),new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$div$navbar_DASH_end,new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$a$navbar_DASH_item,new cljs.core.PersistentArrayMap(null, 1, [cljs.core.cst$kw$href,"https://github.com/clojupyter"], null),website.tobbar.important(new cljs.core.PersistentVector(null, 3, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$span,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.cst$kw$i$fab$fa_DASH_github], null)," GitHub"], null))], null)], null)], null)], null);
|
||||
});
|
||||
;})(active_QMARK_))
|
||||
});
|
||||
Reference in new issue
Block a user