mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
345f51bedb
* Defer script loading * Only mount IdePage once everything has connected GitOrigin-RevId: 32f16214f26ac6a6d71a9dd332b3c35b8b82deae
29 lines
858 B
Text
29 lines
858 B
Text
extends ../layout
|
|
|
|
block vars
|
|
- var suppressNavbar = true
|
|
- var suppressFooter = true
|
|
- var suppressSkipToContent = true
|
|
- var deferScripts = true
|
|
- metadata.robotsNoindexNofollow = true
|
|
|
|
block entrypointVar
|
|
- entrypoint = 'pages/ide'
|
|
|
|
block content
|
|
main#ide-root
|
|
.loading-screen
|
|
.loading-screen-brand-container
|
|
.loading-screen-brand(style="height: 20%;")
|
|
h3.loading-screen-label #{translate("loading")}
|
|
span.loading-screen-ellip .
|
|
span.loading-screen-ellip .
|
|
span.loading-screen-ellip .
|
|
|
|
block append meta
|
|
include ./editor/meta
|
|
|
|
block prepend foot-scripts
|
|
each file in (useOpenTelemetry ? entrypointScripts("tracing") : [])
|
|
script(type="text/javascript", nonce=scriptNonce, src=file, defer=deferScripts)
|
|
script(type="text/javascript", nonce=scriptNonce, src=(wsUrl || '/socket.io') + '/socket.io.js', defer=deferScripts)
|