@everymatrix/casino-header-controller 0.0.156 → 0.0.160
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.html
CHANGED
|
@@ -24,10 +24,14 @@
|
|
|
24
24
|
<casino-header-controller
|
|
25
25
|
cmsendpoint="https://widgets.everymatrix.com/apijson"
|
|
26
26
|
lang="en"
|
|
27
|
-
session="
|
|
27
|
+
session="8910603d-1ff3-4127-9e09-7435b5a393b6"
|
|
28
28
|
userid="3685503"
|
|
29
29
|
profileurl='bla'
|
|
30
|
-
endpoint="https://demo-api.stage.norway.everymatrix.com/v1"
|
|
30
|
+
endpoint="https://demo-api.stage.norway.everymatrix.com/v1"
|
|
31
|
+
bannermatrix="https://bannermatrix-stage.everymatrix.com"
|
|
32
|
+
operatorid="2095"
|
|
33
|
+
pagetag="home-page"
|
|
34
|
+
positiontag="center-main-slider">
|
|
31
35
|
</casino-header-controller>
|
|
32
36
|
</div>
|
|
33
37
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-header-controller",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.160",
|
|
4
4
|
"main": "dist/casino-header-controller.js",
|
|
5
5
|
"svelte": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "ef0d20b327a832c6afb156f4c964240ed12b3ae9"
|
|
42
42
|
}
|
|
@@ -18,6 +18,12 @@
|
|
|
18
18
|
export let lang:string = '';
|
|
19
19
|
export let identity:string = '';
|
|
20
20
|
|
|
21
|
+
//BannerMatrix
|
|
22
|
+
export let bannermatrix:string = '';
|
|
23
|
+
export let operatorid:string = '';
|
|
24
|
+
export let pagetag:string = '';
|
|
25
|
+
export let positiontag:string = '';
|
|
26
|
+
|
|
21
27
|
const genericIcon = `<svg version="1.1" fill="#fff" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="width: 30px; color: #fff;" x="0px" y="0px"
|
|
22
28
|
viewBox="0 0 384.971 384.971" style="enable-background:new 0 0 384.971 384.971;" xml:space="preserve">
|
|
23
29
|
<path style="color: #fff" d="M180.455,360.91H24.061V24.061h156.394c6.641,0,12.03-5.39,12.03-12.03s-5.39-12.03-12.03-12.03H12.03
|
|
@@ -187,6 +193,13 @@
|
|
|
187
193
|
$: cmsendpoint && lang && initialLoad();
|
|
188
194
|
</script>
|
|
189
195
|
|
|
196
|
+
<svelte:head>
|
|
197
|
+
{#if bannermatrix}
|
|
198
|
+
<link rel="import" href="{bannermatrix}/assets/widgets/0.11.3/index.html">
|
|
199
|
+
<script src="{bannermatrix}/assets/widgets/0.11.3/bower_components/webcomponentsjs/webcomponents-lite.js"></script>
|
|
200
|
+
{/if}
|
|
201
|
+
</svelte:head>
|
|
202
|
+
|
|
190
203
|
{#if isLoggedIn}
|
|
191
204
|
{#if mobileView}
|
|
192
205
|
<header class="HeaderWrapper HeaderMobileWrapper">
|
|
@@ -313,9 +326,7 @@
|
|
|
313
326
|
{/if}
|
|
314
327
|
{/if}
|
|
315
328
|
|
|
316
|
-
{
|
|
317
|
-
<div class="HeaderSlider {mobileView ? 'HeaderSliderMobile' : ''}" style="background-image: url({sliderPlaceholderImage})"></div>
|
|
318
|
-
{/if}
|
|
329
|
+
<bannermatrix-banner operator-id={operatorid} page-tag={pagetag} position-tag={positiontag}></bannermatrix-banner>
|
|
319
330
|
|
|
320
331
|
<casino-hamburger-menu menuitemsurl={hamburgerURL} {language}></casino-hamburger-menu>
|
|
321
332
|
|