@worksafevictoria/wcl7.5 1.1.0-beta.30 → 1.1.0-beta.32
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/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<hero-header
|
|
3
3
|
:breadcrumb-items="heroHeader.breadcrumbs"
|
|
4
|
-
:show-breadcrumb=
|
|
4
|
+
:show-breadcrumb=false
|
|
5
5
|
:image="null"
|
|
6
6
|
:title="heroHeader.title"
|
|
7
7
|
:description="null"
|
|
8
|
-
:bg-color=
|
|
8
|
+
:bg-color=false
|
|
9
9
|
:type="'collection'"
|
|
10
|
-
:rtl=
|
|
10
|
+
:rtl=false
|
|
11
11
|
:cta="null"
|
|
12
|
-
:show-social=
|
|
13
|
-
:show-mask=
|
|
12
|
+
:show-social=false
|
|
13
|
+
:show-mask=false
|
|
14
14
|
class="homepage-header"
|
|
15
15
|
>
|
|
16
16
|
<template v-slot:top>
|
|
17
|
-
<slot
|
|
17
|
+
<slot></slot>
|
|
18
18
|
</template>
|
|
19
19
|
|
|
20
20
|
<template v-slot:description>
|
|
@@ -42,8 +42,7 @@ export default {
|
|
|
42
42
|
title: 'HeroHeader default example',
|
|
43
43
|
description: '<p class="intro">The page subtitle goes in here... The page subtitle goes in here... The page subtitle goes in here...</p><p><a href="#" class="cta-button">class cta-button</a></p>',
|
|
44
44
|
image: {
|
|
45
|
-
url:
|
|
46
|
-
'https://content-v2.api.worksafe.vic.gov.au/sites/default/files/2020-04/Topic-Coronavirus-COVID-19.jpg',
|
|
45
|
+
url: 'https://content-v2.api.worksafe.vic.gov.au/sites/default/files/2020-04/Topic-Coronavirus-COVID-19.jpg',
|
|
47
46
|
alt: 'Some alt text'
|
|
48
47
|
},
|
|
49
48
|
cta: cta_content,
|
|
@@ -98,7 +98,9 @@
|
|
|
98
98
|
>
|
|
99
99
|
</column>
|
|
100
100
|
</row>
|
|
101
|
-
<
|
|
101
|
+
<template v-if="showSocial && type !== 'hero'">
|
|
102
|
+
<social-share :rtl="rtl" />
|
|
103
|
+
</template>
|
|
102
104
|
</container>
|
|
103
105
|
</div>
|
|
104
106
|
<!-- Type Default -->
|
|
@@ -150,7 +152,7 @@
|
|
|
150
152
|
</column>
|
|
151
153
|
<!-- No Col needed for type Hero -->
|
|
152
154
|
</row>
|
|
153
|
-
<social-share v-
|
|
155
|
+
<social-share v-if="showSocial && type === 'hero'" :rtl="rtl" />
|
|
154
156
|
</container>
|
|
155
157
|
</template>
|
|
156
158
|
<script>
|