-
Benoit Alessandroni authoredBenoit Alessandroni authored
head.pug 3.14 KiB
head
title CoopStarter
meta(charset="utf-8")
//- script(type="module" src="/scripts/sib-core/dist/polyfill.js")
//- script(type="module" src="/scripts/sib-core/dist/index.js")
script(type="module" src="https://unpkg.com/@startinblox/core@0.11")
script(type="module" src="https://unpkg.com/@startinblox/router@0.8")
//- script(type="module" src="/scripts/sib-auth/index.js")
script(type="module" src="https://unpkg.com/@startinblox/oidc@0.8")
//- script(type="module" src="https://unpkg.com/@startinblox/component-conversation@0.5")
script(src="https://kit.fontawesome.com/48014d2af3.js")
script(src="https://unpkg.com/dialog-polyfill")
script(src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous")
script(src="https://cdn.jsdelivr.net/npm/sweetalert2@9")
link(href="https://fonts.googleapis.com/css2?family=Cabin:wght@400;500&display=swap" rel="stylesheet")
script.
document.addEventListener("DOMContentLoaded", event => {
if ((window.navigator.userAgent.indexOf("MSIE ") > -1 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) ||
window.navigator.userAgent.indexOf("Edge/") > -1) {
Swal.fire({
title: 'Please update your browser.',
html:
'Please either update your Edge browser to the last version' +
'(you will find the last update here: <a href="https://www.microsoft.com/en-us/edge" target="_blank">https://www.microsoft.com/en-us/edge</a>)' +
' or switch to another browser (Chrome / Safari / Firefox)',
showCloseButton: true,
showCancelButton: true,
focusConfirm: false,
icon: 'warning',
confirmButtonText: 'Close now'
})
}
});
script.
uploadPreviewImageLabel = "#{data.UploadPreviewImage}";
uploadProfilePictureLabel = "#{data.UploadProfilePictureLabel}";
script(src="/scripts/coopstarter.js")
script(async src="https://platform.twitter.com/widgets.js" charset="utf-8")
script(src="https://browser.sentry-cdn.com/5.15.5/bundle.min.js" integrity="sha384-wF7Jc4ZlWVxe/L8Ji3hOIBeTgo/HwFuaeEfjGmS3EXAG7Y+7Kjjr91gJpJtr+PAT" crossorigin="anonymous")
link(rel="stylesheet" href="/styles/index.css")
solid-analytics(
type="matomo"
url="https://sib.matomo.cloud/"
id="1"
)
script(type="module" src="/scripts/kb-reactivity.js" defer)
script(data-default-context, type="application/ld+json").
{
"searcherProfile": "http://happy-dev.fr/owl/#searcher_profile",
"contributorProfile": "http://happy-dev.fr/owl/#contributor_profile",
"inbox": "http://happy-dev.fr/owl/#inbox",
"object": "http://happy-dev.fr/owl/#object",
"author": "http://happy-dev.fr/owl/#author_user",
"account": "http://happy-dev.fr/owl/#account",
"jabberID": "foaf:jabberID",
"picture": "foaf:depiction"
}