on master help sign in
Merge branch 'master' of github.com:urbit/urbit.org
20d26a0Matilde Park
content/understanding-urbit/your-last-computer.md+1−1
@@ -15,7 +15,7 @@ First, let’s talk about what it should feel like in the future.
15
15
16<img class="mv5 w-100" src="https://media.urbit.org/site/understanding-urbit/your-last-computer/your-last-computer-waves%402x.png">
16<img class="mv5 w-100" src="https://media.urbit.org/site/understanding-urbit/your-last-computer/your-last-computer-waves%402x.png">
17
17
18−Imagine that you can login from anywhere with one simple, memorable name and password. And when you do, an entire OS appears for you. Inside is your whole digital life. Every conversation you’ve ever had, all your biometric data — every step and heartbeat. Your personal mesh of devices: your doors, your car, your irrigation. All of your communities, every message you’ve shared with friends and family. Every connection you’ve made and every archival piece of data, in one place. Secure and private, forever.
18+Imagine that you can log in from anywhere with one simple, memorable name and password. And when you do, an entire OS appears for you. Inside is your whole digital life. Every conversation you’ve ever had, all your biometric data — every step and heartbeat. Your personal mesh of devices: your doors, your car, your irrigation. All of your communities, every message you’ve shared with friends and family. Every connection you’ve made and every archival piece of data, in one place. Secure and private, forever.
19
19
20You own and control this OS completely. Your system doesn’t live on someone else’s server, so there’s no risk of leaking it in a mass data breach or losing it when a service shuts down. Your Urbit is a sealed, secure, and durable system.
20You own and control this OS completely. Your system doesn’t live on someone else’s server, so there’s no risk of leaking it in a mass data breach or losing it when a service shuts down. Your Urbit is a sealed, secure, and durable system.
21
21
static/scripts.js+13
@@ -325,7 +325,16 @@ if (document.readyState === "complete" ||
325 });
325 });
326}
326}
327
327
328+// Scroll to current document in nav list.
329+let docsNavScroll = function() {
330+ let docsDetails = document.querySelectorAll("nav ul details")
331+ for (let details in docsDetails) {
332+ if (docsDetails[details].open) docsDetails[details].scrollIntoView()
333+ }
334+}
335+
328if (window.location.href.includes("docs")) {
336if (window.location.href.includes("docs")) {
337+ // tooltip behaviour for standard library page
329 tippy('.tooltip', {
338 tippy('.tooltip', {
330 content(reference) {
339 content(reference) {
331 const title = reference.getAttribute('title')
340 const title = reference.getAttribute('title')
@@ -336,6 +345,8 @@ if (window.location.href.includes("docs")) {
336 animation: 'fade'
345 animation: 'fade'
337 })
346 })
338
347
348+ // on mobile, dropdown selections go to the option
349+
339 let docsSelect = document.getElementById('docsSelect');
350 let docsSelect = document.getElementById('docsSelect');
340 let goTo = function() {
351 let goTo = function() {
341 let url = docsSelect.options[docsSelect.selectedIndex].value;
352 let url = docsSelect.options[docsSelect.selectedIndex].value;
@@ -345,6 +356,8 @@ if (window.location.href.includes("docs")) {
345 }
356 }
346
357
347 docsSelect.addEventListener('change', goTo);
358 docsSelect.addEventListener('change', goTo);
359+ // docs autoscroll to current page
360+ docsNavScroll();
348}
361}
349
362
350// same-page navigation on-scroll behaviour
363// same-page navigation on-scroll behaviour