=a)return"es2020";break}}return"legacy"}(navigator.userAgent))?(s.type="module",s.src=a.USERFLOWJS_ES2020_URL||t+"es2020/userflow.js"):s.src=a.USERFLOWJS_LEGACY_URL||t+"legacy/userflow.js",s.onload=function(){r()},s.onerror=function(){document.head.removeChild(s),n=null;var e=new Error("Could not load Userflow.js");console.error(e.message),o(e)},document.head.appendChild(s)}))),n}};var o=e.USERFLOWJS_QUEUE=e.USERFLOWJS_QUEUE||[],s=function(e){r[e]=function(){var t=Array.prototype.slice.call(arguments);r.load(),o.push([e,null,t])}},a=function(e){r[e]=function(){var t,n=Array.prototype.slice.call(arguments);r.load();var s=new Promise((function(e,r){t={resolve:e,reject:r}}));return o.push([e,t,n]),s}},u=function(e,t){r[e]=function(){return t}};s("_setTargetEnv"),s("closeResourceCenter"),s("init"),s("off"),s("on"),s("prepareAudio"),s("registerCustomInput"),s("remount"),s("reset"),s("setBaseZIndex"),s("setCustomInputSelector"),s("setCustomNavigate"),s("setCustomScrollIntoView"),s("setInferenceAttributeFilter"),s("setInferenceAttributeNames"),s("setInferenceClassNameFilter"),s("setResourceCenterLauncherHidden"),s("setScrollPadding"),s("setShadowDomEnabled"),s("setPageTrackingDisabled"),s("setUrlFilter"),s("openResourceCenter"),s("toggleResourceCenter"),a("endAll"),a("endAllFlows"),a("endChecklist"),a("group"),a("identify"),a("identifyAnonymous"),a("start"),a("startFlow"),a("startWalk"),a("track"),a("updateGroup"),a("updateUser"),u("getResourceCenterState",null),u("isIdentified",!1)}}();
-
-userflow.init("ct_dybdwc2fkna4lmih2zyqb6eune");
-userflow.identifyAnonymous({
- website_lead: false,
-});
\ No newline at end of file
diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss
index ab843de809..ba1057fd73 100644
--- a/assets/scss/_styles_project.scss
+++ b/assets/scss/_styles_project.scss
@@ -67,6 +67,10 @@ h2, .h2 {
clear: both;
}
+.td-content {
+ min-height: 92%;
+}
+
.td-content > h2.frontpage-headers {
margin-top: 1.5rem;
}
@@ -854,18 +858,36 @@ td > ul, td > ol {
color: black;
border-radius: 0;
background-color: whitesmoke;
- margin: 0;
+ margin: 0.5rem;
padding: 1rem 1.25rem;
i {
color: black;
}
}
-#scrollButton {
+#scrollButton, #chatButton {
position: sticky;
left: 100%;
bottom: 1rem;
border-radius: 0;
+ height: 60px;
+ width: 60px;
+ opacity: 1;
+ transition: opacity 0.5s;
+ background-color: #000000;
+ color: white;
+}
+
+#scrollButton > i, #chatButton > i {
+ color: white;
+}
+
+#scrollButton {
+ margin-right: 76px;
+}
+
+#chatButton {
+ padding: 6px;
}
#edit-on-github, #rss-feed {
@@ -1493,7 +1515,7 @@ a.ais-Pagination-link:hover {
// ensure tutorials page is 100% of height
.row.flex-xl-nowrap {
- min-height: 100%;
+ min-height: 90%;
}
// Helper to allow search to link to tabs
diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html
index 2641a905f4..ff2e114207 100644
--- a/layouts/docs/baseof.html
+++ b/layouts/docs/baseof.html
@@ -26,12 +26,17 @@
{{ partial "edit-on-github.html" . }}
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
{{ block "main" . }}{{ end }}
-
-
-
+
+
+ {{ $img := resources.GetMatch "/icons/learn-viam-robot-icon-ai.svg" }}
+
+
+
{{ partial "footer.html" . }}
{{ partial "scripts.html" . }}
diff --git a/layouts/docs/glossary.html b/layouts/docs/glossary.html
index b862e95156..3bf5220fb8 100644
--- a/layouts/docs/glossary.html
+++ b/layouts/docs/glossary.html
@@ -39,11 +39,15 @@ {{ .Title }}
{{ end }}
{{ end }}
-
+ {{ $img := resources.GetMatch "/icons/learn-viam-robot-icon-ai.svg" }}
+
+
{{ partial "footer.html" . }}
diff --git a/layouts/docs/tutorials.html b/layouts/docs/tutorials.html
index 1e4a025b66..efb8fec4d6 100644
--- a/layouts/docs/tutorials.html
+++ b/layouts/docs/tutorials.html
@@ -80,7 +80,11 @@ Javascript
Find more examples of how Viam is being used in the world by reviewing Customer Stories, tutorials, or blog posts.
-
+ {{ $img := resources.GetMatch "/icons/learn-viam-robot-icon-ai.svg" }}
+
+
{{ partial "footer.html" . }}
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 183f1c54b7..0b469334fa 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -80,7 +80,6 @@
{{ $jsIndex := resources.Get "js/index.js" }}
-{{ $jsUserflow := resources.Get "js/userflow.js" }}
{{ $jsPrismViam := resources.Get "js/prism.js" }}
{{ $jsBase := resources.Get "js/base.js" }}
{{ $jsAnchor := resources.Get "js/anchor.js" }}
@@ -99,7 +98,7 @@
{{ $js := (slice $jsIndex $jsBase $jsAnchor $jsSearch $jsMermaid $jsPlantuml $jsMarkmap $jsDrawio $jsPrismViam) | resources.Concat "js/main.js" }}
{{ else }}
-{{ $js := (slice $jsUserflow $jsIndex $jsBase $jsAnchor $jsSearch $jsMermaid $jsPlantuml $jsMarkmap $jsDrawio $jsPrismViam) | resources.Concat "js/main.js" }}
+{{ $js := (slice $jsIndex $jsBase $jsAnchor $jsSearch $jsMermaid $jsPlantuml $jsMarkmap $jsDrawio $jsPrismViam) | resources.Concat "js/main.js" }}
{{ $js := $js | minify | fingerprint }}
{{ $jsSentry := $jsSentry | minify }}