hubl/src/dependencies.pug

54 lines
2.7 KiB
Plaintext
Raw Normal View History

2021-03-16 14:27:30 +00:00
script(type="module" src="https://cdn.skypack.dev/@startinblox/core@0.16" defer)
2020-05-08 13:27:44 +00:00
//- script(type="module" src="/lib/sib-core/dist/index.js" defer)
2020-11-13 12:34:17 +00:00
script(type="module" src="https://cdn.skypack.dev/@startinblox/router@0.11" defer)
2020-09-14 13:41:10 +00:00
//- script(type="module" src="/lib/sib-router/src/index.js" defer)
2020-05-08 13:27:44 +00:00
- const componentSet = new Set(components.map(c=>c.type));
if componentSet.has("autoLogin") || componentSet.has("registering")
2021-03-16 14:27:30 +00:00
script(type="module" src="https://cdn.skypack.dev/@startinblox/oidc@0.14" defer)
//- script(type="module" src="/lib/sib-auth/index.js" defer)
if componentSet.has("chat") || componentSet.has("circles") || componentSet.has("projects")
2021-03-22 18:58:12 +00:00
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-chat@5.2" defer)
//- script(type="module" src="/lib/solid-xmpp-chat/dist/index.js" defer)
2020-05-08 13:27:44 +00:00
if componentSet.has("dashboard")
2021-03-16 14:27:30 +00:00
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-dashboard@4.0" defer)
//- script(type="module" src="/lib/solid-dashboard/dist/index.js" defer)
if componentSet.has("events")
script(type="module", src="https://cdn.skypack.dev/@startinblox/component-event@3.0", defer)
//- script(type="module", src="/lib/solid-event/solid-event.js", defer)
2020-11-26 22:21:55 +00:00
2021-03-16 14:27:30 +00:00
//- Disabled - Not in core@0.16
//- if componentSet.has("events") || componentSet.has("polls") || componentSet.has("resources")
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-conversation@0.9" defer)
2020-11-26 22:21:55 +00:00
if componentSet.has("jobBoard")
2021-03-16 14:27:30 +00:00
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-job-board@5.0" defer)
//- script(type="module" src="/lib/solid-job-board/dist/index.js" defer)
2020-11-26 22:21:55 +00:00
if componentSet.has("notification")
2021-03-16 14:27:30 +00:00
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-notifications@0.12" defer)
//- script(type="module" src="/lib/sib-notifications/index.js" defer)
2020-11-26 22:21:55 +00:00
2021-03-16 14:27:30 +00:00
//- Disabled - Not in core@0.16
//- if componentSet.has("polls")
//- script(type="module" src="https://cdn.skypack.dev/@startinblox/component-poll@1.2" defer)
//- //- script(type="module" src="/lib/sib-polls-component/index.js" defer)
2020-11-26 22:21:55 +00:00
2021-03-16 14:27:30 +00:00
if componentSet.has("profileDirectory")
2021-03-25 10:49:16 +00:00
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-directory@5.1" defer)
2021-03-16 14:27:30 +00:00
//- script(type="module" src="/lib/solid-directory/dist/index.js" defer)
//- Disabled - Not in core@0.16
//- if componentSet.has("resources")
script(type="module", src="https://cdn.skypack.dev/@startinblox/component-resource@2.0", defer)
//- script(type="module" src="/lib/solid-resource/solid-resource.js" defer)
2020-11-26 22:21:55 +00:00
if componentSet.has("themeChecker")
script(src="https://cdn.jsdelivr.net/npm/@simonwep/pickr/dist/pickr.min.js" defer)
link(rel='stylesheet', href='https://cdn.jsdelivr.net/npm/@simonwep/pickr/dist/themes/nano.min.css')