index.html 4.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta content="minimum-scale=1, initial-scale=1, maximum-scale=1, width=device-width, shrink-to-fit=no" name="viewport">
  6. <link rel="stylesheet" href="/static/css/tabler-icons.min.css">
  7. <link href="/static/css/style.css" rel="stylesheet" type="text/css">
  8. <link href="/static/img/logo.png" rel="shortcut icon" type="image/png">
  9. <link href="/static/img/logo.png" rel="shortcut icon" sizes="192x192">
  10. <link href="/static/img/logo.png" rel="apple-touch-icon">
  11. <meta content="Logseq" name="apple-mobile-web-app-title">
  12. <meta content="yes" name="apple-mobile-web-app-capable">
  13. <meta content="yes" name="apple-touch-fullscreen">
  14. <meta content="black-translucent" name="apple-mobile-web-app-status-bar-style">
  15. <meta content="yes" name="mobile-web-app-capable">
  16. <meta content="summary" name="twitter:card">
  17. <meta content="A privacy-first, open-source platform for knowledge management and collaboration." name="twitter:description">
  18. <meta content="@logseq" name="twitter:site">
  19. <meta content="A privacy-first, open-source platform for knowledge management and collaboration." name="twitter:title">
  20. <meta content="https://asset.logseq.com/static/img/logo.png" name="twitter:image:src">
  21. <meta content="A privacy-first, open-source platform for knowledge management and collaboration." name="twitter:image:alt">
  22. <meta content="A privacy-first, open-source platform for knowledge management and collaboration." property="og:title">
  23. <meta content="site" property="og:type">
  24. <meta content="https://logseq.com" property="og:url">
  25. <meta content="https://asset.logseq.com/static/img/logo.png" property="og:image">
  26. <meta content="A privacy-first, open-source platform for knowledge management and collaboration." property="og:description">
  27. <title>Logseq: "A privacy-first platform for knowledge management and collaboration."</title>
  28. <meta content="logseq" property="og:site_name">
  29. <meta content="A privacy-first, open-source platform for knowledge management and collaboration." name="description">
  30. </head>
  31. <body>
  32. <div id="root"></div>
  33. <script>window.user = null</script>
  34. <script>window.__LSP__HOST__ = true</script>
  35. <script src="/static/js/magic_portal.js"></script>
  36. <script>let worker = new Worker('/static/js/worker.js')
  37. const portal = new MagicPortal(worker);
  38. (async () => {
  39. const git = await portal.get('git')
  40. window.git = git
  41. const fs = await portal.get('fs')
  42. window.fs = fs
  43. const pfs = await portal.get('pfs')
  44. window.pfs = pfs
  45. const gitHttp = await portal.get('gitHttp')
  46. window.gitHttp = gitHttp
  47. const workerThread = await portal.get('workerThread')
  48. window.workerThread = workerThread
  49. })()
  50. </script>
  51. <script defer src="/static/js/highlight.min.js"></script>
  52. <script defer src="/static/js/interact.min.js"></script>
  53. <script defer src="/static/js/lsplugin.core.js"></script>
  54. <script defer src="/static/js/main.js"></script>
  55. <script defer src="/static/js/code-editor.js"></script>
  56. <script defer src="/static/js/age-encryption.js"></script>
  57. <script defer src="/static/js/excalidraw.js"></script>
  58. <script>
  59. /*!
  60. * swiped-events.js - v1.1.6
  61. * Pure JavaScript swipe events
  62. * https://github.com/john-doherty/swiped-events
  63. * @inspiration https://stackoverflow.com/questions/16348031/disable-scrolling-when-touch-moving-certain-element
  64. * @author John Doherty <www.johndoherty.info>
  65. * @license MIT
  66. */
  67. !function(t,e){"use strict";"function"!=typeof t.CustomEvent&&(t.CustomEvent=function(t,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var a=e.createEvent("CustomEvent");return a.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),a},t.CustomEvent.prototype=t.Event.prototype),e.addEventListener("touchstart",function(t){if("true"===t.target.getAttribute("data-swipe-ignore"))return;s=t.target,r=Date.now(),n=t.touches[0].clientX,a=t.touches[0].clientY,u=0,i=0},!1),e.addEventListener("touchmove",function(t){if(!n||!a)return;var e=t.touches[0].clientX,r=t.touches[0].clientY;u=n-e,i=a-r},!1),e.addEventListener("touchend",function(t){if(s!==t.target)return;var e=parseInt(l(s,"data-swipe-threshold","20"),10),o=parseInt(l(s,"data-swipe-timeout","500"),10),c=Date.now()-r,d="",p=t.changedTouches||t.touches||[];Math.abs(u)>Math.abs(i)?Math.abs(u)>e&&c<o&&(d=u>0?"swiped-left":"swiped-right"):Math.abs(i)>e&&c<o&&(d=i>0?"swiped-up":"swiped-down");if(""!==d){var b={dir:d.replace(/swiped-/,""),touchType:(p[0]||{}).touchType||"direct",xStart:parseInt(n,10),xEnd:parseInt((p[0]||{}).clientX||-1,10),yStart:parseInt(a,10),yEnd:parseInt((p[0]||{}).clientY||-1,10)};s.dispatchEvent(new CustomEvent("swiped",{bubbles:!0,cancelable:!0,detail:b})),s.dispatchEvent(new CustomEvent(d,{bubbles:!0,cancelable:!0,detail:b}))}n=null,a=null,r=null},!1);var n=null,a=null,u=null,i=null,r=null,s=null;function l(t,n,a){for(;t&&t!==e.documentElement;){var u=t.getAttribute(n);if(u)return u;t=t.parentNode}return a}}(window,document);
  68. </script>
  69. </body>
  70. </html>