@worksafevictoria/wcl7.5 1.17.0-beta.1 → 1.17.0-beta.11

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.
Files changed (62) hide show
  1. package/package.json +1 -1
  2. package/src/assets/icons/chevron-right-icon.svg +14 -0
  3. package/src/assets/icons/notepad.svg +93 -0
  4. package/src/assets/icons/question.svg +7 -0
  5. package/src/components/Common/CardGrid/index.vue +83 -74
  6. package/src/components/Common/CardGridItem/index.vue +31 -4
  7. package/src/components/Containers/Carousel/index.vue +6 -0
  8. package/src/components/Containers/SectionGroup/index.stories.js +28 -27
  9. package/src/components/Containers/SectionGroup/index.vue +6 -0
  10. package/src/components/Global/AppHeaderNew/index.vue +9 -1
  11. package/src/components/Global/AppHeaderNew/mobile.scss +5 -2
  12. package/src/components/Global/AppHeaderNew/styles.scss +6 -5
  13. package/src/components/Global/HeroHeader/index.vue +74 -57
  14. package/src/components/Paragraphs/Calculator/CardContainer/index.vue +68 -60
  15. package/src/components/Paragraphs/Calculator/index.vue +24 -22
  16. package/src/components/Paragraphs/RTWPlanner/CardContainer/index.vue +133 -0
  17. package/src/components/Paragraphs/RTWPlanner/Constants.js +433 -0
  18. package/src/components/Paragraphs/RTWPlanner/Footer/index.vue +32 -0
  19. package/src/components/Paragraphs/RTWPlanner/{NavBar → Header}/index.vue +20 -9
  20. package/src/components/Paragraphs/RTWPlanner/HomePage/index.vue +72 -0
  21. package/src/components/Paragraphs/RTWPlanner/Injuries/index.vue +220 -0
  22. package/src/components/Paragraphs/RTWPlanner/index.stories.js +79 -15
  23. package/src/components/Paragraphs/RTWPlanner/index.vue +99 -31
  24. package/src/components/Paragraphs/SelectableCards/Control/index.stories.js +31 -11
  25. package/src/components/Paragraphs/SelectableCards/cardbody.vue +9 -10
  26. package/src/components/Paragraphs/SelectableCards/cardtop.vue +23 -16
  27. package/src/components/Paragraphs/SelectableCards/index.stories.js +29 -8
  28. package/src/components/Paragraphs/SelectableCards/index.vue +124 -50
  29. package/src/components/Paragraphs/TextMedia/index.vue +4 -0
  30. package/src/components/Paragraphs/VideoPlayer/index.vue +1 -1
  31. package/src/components/SubComponents/Breadcrumb/index.vue +40 -7
  32. package/src/components/SubComponents/FormInstance/models/base-form-element.js +4 -3
  33. package/src/components/SubComponents/FormInstance/services/form-render-parser.js +51 -16
  34. package/src/components/SubComponents/FormInstance/services/logic-parser.js +122 -18
  35. package/src/components/SubComponents/FormInstance/services/registry-factory.js +52 -50
  36. package/src/components/SubComponents/FormInstance/stories/mocks/checkboxesother.json +1 -10
  37. package/src/components/SubComponents/FormInstance/stories/mocks/emailconfirm.json +1 -10
  38. package/src/components/SubComponents/FormInstance/stories/mocks/jahd.json +1 -5
  39. package/src/components/SubComponents/FormInstance/stories/mocks/quad.json +1 -5
  40. package/src/components/SubComponents/FormInstance/stories/mocks/radiosother.json +1 -9
  41. package/src/components/SubComponents/FormInstance/stories/mocks/sameas.json +1 -5
  42. package/src/components/SubComponents/FormInstance/stories/mocks/selectother.json +1 -10
  43. package/src/components/SubComponents/FormInstance/stories/mocks/styles.json +1 -5
  44. package/src/components/SubComponents/FormInstance/stories/mocks/table-select.json +1 -15
  45. package/src/components/SubComponents/FormInstance/stories/mocks/token.json +1 -5
  46. package/src/components/SubComponents/FormInstance/stories/mocks/twig.json +1 -13
  47. package/src/components/SubComponents/FormInstance/stories/mocks/wizard.json +1 -13
  48. package/src/components/SubComponents/FormInstance/tests/form-test-utils.js +3 -0
  49. package/src/components/SubComponents/FormInstance/tests/form.test.js +2 -1
  50. package/src/components/SubComponents/FormInstance/tests/radiosother.test.js +12 -11
  51. package/src/components/SubComponents/FormInstance/tests/rule-disabled.test.js +13 -45
  52. package/src/components/SubComponents/FormInstance/tests/rule-enabled-value.test.js +8 -24
  53. package/src/components/SubComponents/FormInstance/tests/rule-hidden.test.js +13 -45
  54. package/src/components/SubComponents/FormInstance/tests/rule-required-value.test.js +15 -55
  55. package/src/components/SubComponents/FormInstance/tests/rule-visible.test.js +0 -413
  56. package/src/components/SubComponents/FormInstance/tests/sameas.test.js +9 -25
  57. package/src/components/SubComponents/FormInstance/tests/twig.test.js +7 -5
  58. package/src/components/SubComponents/ResourceGroup/index.vue +1 -1
  59. package/src/includes/scss/vars/src/colors.module.scss +3 -0
  60. package/src/includes/scss/vars/src/colors.scss +3 -0
  61. package/src/mock/control-selectable-cards.js +68 -25
  62. package/src/components/Paragraphs/RTWPlanner/Home/index.vue +0 -83
@@ -0,0 +1,433 @@
1
+ export const textMedia = {
2
+ title: 'Return to Work Planner',
3
+ content:
4
+ '<p>An easy-to-use online guide that steps employers through the return to work process and meeting legal obligations for non major injuries.</p>',
5
+ image: {
6
+ url:
7
+ process.env.CONTENT_API_URL +
8
+ '/sites/default/files/2020-04/Topic-Coronavirus-COVID-19.jpg',
9
+ alt: 'Some alt text',
10
+ },
11
+ rtl: true,
12
+ titleTag: 'h1',
13
+ }
14
+
15
+ export const selectInjuries = {
16
+ physical: {
17
+ title: 'Physical injuries',
18
+ content: `<p>
19
+ Physical injuries include anything that occurs to an employee’s body.
20
+ This tool supports employers to manage the return to work process
21
+ for non-complex physical injuries only.
22
+ </p><p><a href='/return-work-physical' class='cta-button'>Continue to planner</a></p>`,
23
+ image: {
24
+ url:
25
+ process.env.CONTENT_API_URL +
26
+ '/sites/default/files/2020-04/Topic-Coronavirus-COVID-19.jpg',
27
+ alt: 'Some alt text',
28
+ },
29
+ rtl: true,
30
+ titleTag: 'h2',
31
+ },
32
+ mental: {
33
+ title: 'Mental injuries',
34
+ content: `<p>
35
+ Mental injuries are complex and require tailored information for
36
+ employers to support injured workers with their return to work. This
37
+ tool does not currently give guidance for mental injuries.
38
+ </p><p><a href='/return-work-mental-injuries' class='cta-button white'>More information</a></p>`,
39
+ image: {
40
+ url:
41
+ process.env.CONTENT_API_URL +
42
+ '/sites/default/files/2020-04/Topic-Coronavirus-COVID-19.jpg',
43
+ alt: 'Some alt text',
44
+ },
45
+ rtl: true,
46
+ titleTag: 'h2',
47
+ },
48
+ other: {
49
+ title: 'Other',
50
+ content: `<p>
51
+ If you’re unsure about the injury type, reach out to your agent to
52
+ get more information.
53
+ </p><p><a href='/return-work-other' class='cta-button white'>More information</a></p>`,
54
+
55
+ image: {
56
+ url:
57
+ process.env.CONTENT_API_URL +
58
+ '/sites/default/files/2020-04/Topic-Coronavirus-COVID-19.jpg',
59
+ alt: 'Some alt text',
60
+ },
61
+ rtl: true,
62
+ titleTag: 'h2',
63
+ },
64
+ }
65
+
66
+ export const heroHeader = {
67
+ title: 'What kind of Physical Injury?',
68
+ description:
69
+ '<p>The tool is designed to provide guidance for non-complex physical injuries only. If you have multiple condition apply, please select the most severe condition. Inf noe of the complex coniditions apply. please progress to the planner.</p>',
70
+ }
71
+
72
+ export const cardTitles = {
73
+ physical: {
74
+ heading: 'The following physical injury types are not supported',
75
+ subHeading:
76
+ '<p>If you have multiple conditions apply, please select the most severe condition.</p>',
77
+ },
78
+ rtwCards: {
79
+ heading:
80
+ 'WorkSafe links to help and support you with your hearing loss injury',
81
+ subHeading: '',
82
+ },
83
+ cardContactInformaton: {
84
+ heading: 'Agent contact information',
85
+ subHeading: '',
86
+ },
87
+ }
88
+
89
+ export const cardPhysicalBreakout = {
90
+ title: 'Progress to planer',
91
+ body: `<p class="intro">Guidance for non-complex physical injuries only.</p>
92
+ <p><a class="cta-button" href="www.google.com">Progress</a></p>`,
93
+ }
94
+
95
+ export const cardPhysical = [
96
+ {
97
+ name: 'Acquired brain injury',
98
+ icon: 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%201%20object.svg',
99
+ value: 'The return to work planner is not suitable for this injury type',
100
+ description: `<p>Includes mild, moderate, severe and profound acquired brain injury (ABI), brain damage and brain injury</p>
101
+ <p>Exludes concussion and fractured skull alone.</p> <p>Please click for more information and how you can get support</p>
102
+ <p><a href='/return-work-mental-injuries' class='cta-button white'>More information</a></p>`,
103
+ },
104
+ {
105
+ name: 'Hearing loss',
106
+ icon: 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%201%20object.svg',
107
+ value: 'The return to work planner is not suitable for this injury type',
108
+ description: `<p>Includes mild, moderate, severe and profound acquired brain injury (ABI), brain damage and brain injury</p>
109
+ <p>Exludes concussion and fractured skull alone.</p> <p>Please click for more information and how you can get support</p>
110
+ <p><a href='/return-work-mental-injuries' class='cta-button white'>More information</a></p>`,
111
+ },
112
+ {
113
+ name: 'Respiratory condition',
114
+ icon: 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%201%20object.svg',
115
+ value: 'The return to work planner is not suitable for this injury type',
116
+ description: `<p>Includes mild, moderate, severe and profound acquired brain injury (ABI), brain damage and brain injury</p>
117
+ <p>Exludes concussion and fractured skull alone.</p> <p>Please click for more information and how you can get support</p>
118
+ <p><a href='/return-work-mental-injuries' class='cta-button white'>More information</a></p>`,
119
+ },
120
+ {
121
+ name: 'Severe injury',
122
+ icon: 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%201%20object.svg',
123
+ value: 'The return to work planner is not suitable for this injury type',
124
+ description: `<p>Includes mild, moderate, severe and profound acquired brain injury (ABI), brain damage and brain injury</p>
125
+ <p>Exludes concussion and fractured skull alone.</p> <p>Please click for more information and how you can get support</p>
126
+ <p><a href='/return-work-mental-injuries' class='cta-button white'>More information</a></p>`,
127
+ },
128
+ {
129
+ name: 'Serious injury',
130
+ icon: 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%201%20object.svg',
131
+ value: 'The return to work planner is not suitable for this injury type',
132
+ description: `<p>Includes mild, moderate, severe and profound acquired brain injury (ABI), brain damage and brain injury</p>
133
+ <p>Exludes concussion and fractured skull alone.</p> <p>Please click for more information and how you can get support</p>
134
+ <p><a href='/return-work-mental-injuries' class='cta-button white'>More information</a></p>`,
135
+ },
136
+ {
137
+ name: 'Mental injury',
138
+ icon: 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%201%20object.svg',
139
+ value: 'The return to work planner is not suitable for this injury type',
140
+ description: `<p>Includes mild, moderate, severe and profound acquired brain injury (ABI), brain damage and brain injury</p>
141
+ <p>Exludes concussion and fractured skull alone.</p> <p>Please click for more information and how you can get support</p>
142
+ <p><a href='/return-work-mental-injuries' class='cta-button white'>More information</a></p>`,
143
+ },
144
+ ]
145
+
146
+ export const cardRTWCards = [
147
+ {
148
+ title: 'Hearning protection',
149
+ imageSrc: '',
150
+ imageAlt: '',
151
+ description:
152
+ 'This guidance explains hw to select, use and fit hearing protectors in the workplace.',
153
+ link: '/news/2021-08/news-kitchen-sink-11',
154
+ pillText: 'Noise',
155
+ colour: 'yellow',
156
+ date: '',
157
+ location: '',
158
+ rtl: false,
159
+ },
160
+ {
161
+ title: 'Hearning loss injury lik',
162
+ imageSrc: '',
163
+ imageAlt: '',
164
+ description:
165
+ 'Crd description field. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.',
166
+ link: '/news/2021-08/news-kitchen-sink-11',
167
+ pillText: 'Tag',
168
+ colour: 'yellow',
169
+ date: '',
170
+ location: '',
171
+ rtl: false,
172
+ },
173
+ {
174
+ title: 'Hearning protection',
175
+ imageSrc: '',
176
+ imageAlt: '',
177
+ description:
178
+ 'This guidance explains hw to select, use and fit hearing protectors in the workplace.',
179
+ link: '/news/2021-08/news-kitchen-sink-11',
180
+ pillText: 'Noise',
181
+ colour: 'yellow',
182
+ date: '',
183
+ location: '',
184
+ rtl: false,
185
+ },
186
+ {
187
+ title: 'Hearning loss injury lik',
188
+ imageSrc: '',
189
+ imageAlt: '',
190
+ description:
191
+ 'Crd description field. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.',
192
+ link: '/news/2021-08/news-kitchen-sink-11',
193
+ pillText: 'Tag',
194
+ colour: 'yellow',
195
+ date: '',
196
+ location: '',
197
+ rtl: false,
198
+ },
199
+ {
200
+ title: 'Hearning protection',
201
+ imageSrc: '',
202
+ imageAlt: '',
203
+ description:
204
+ 'This guidance explains hw to select, use and fit hearing protectors in the workplace.',
205
+ link: '/news/2021-08/news-kitchen-sink-11',
206
+ pillText: 'Noise',
207
+ colour: 'yellow',
208
+ date: '',
209
+ location: '',
210
+ rtl: false,
211
+ },
212
+ {
213
+ title: 'Hearning loss injury lik',
214
+ imageSrc: '',
215
+ imageAlt: '',
216
+ description:
217
+ 'Crd description field. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.',
218
+ link: '/news/2021-08/news-kitchen-sink-11',
219
+ pillText: 'Tag',
220
+ colour: 'yellow',
221
+ date: '',
222
+ location: '',
223
+ rtl: false,
224
+ },
225
+ ]
226
+
227
+ export const cardContactInformaton = [
228
+ {
229
+ name: 'Allianz Australia Workers Compensation',
230
+ icon: 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%201%20object.svg',
231
+ value: '1800 343 453',
232
+ },
233
+ {
234
+ name: 'EML (Employers Mutual Limited)',
235
+ icon: 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%201%20object.svg',
236
+ value: '1800 343 453',
237
+ },
238
+ {
239
+ name: 'Gallagher Bassett Services Workers',
240
+ icon: 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%201%20object.svg',
241
+ value: '1800 343 453',
242
+ },
243
+ {
244
+ name: 'Xchanging',
245
+ icon: 'https://content-dev-v2.api.worksafe.vic.gov.au/sites/default/files/icons/icon%201%20object.svg',
246
+ value: '1800 343 453',
247
+ },
248
+ ]
249
+
250
+ export const cardRTWMentalCards = [
251
+ {
252
+ title: 'Mental injury support',
253
+ imageSrc: '',
254
+ imageAlt: '',
255
+ description:
256
+ 'Your mental health is important and we want to make sure you get the support you need.',
257
+ link: '/news/2021-08/news-kitchen-sink-11',
258
+ pillText: 'Claims',
259
+ colour: 'yellow',
260
+ date: '',
261
+ location: '',
262
+ rtl: false,
263
+ },
264
+ {
265
+ title: 'Mental injury support',
266
+ imageSrc: '',
267
+ imageAlt: '',
268
+ description:
269
+ 'Crd description field. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.',
270
+ link: '/news/2021-08/news-kitchen-sink-11',
271
+ pillText: 'Tag',
272
+ colour: 'yellow',
273
+ date: '',
274
+ location: '',
275
+ rtl: false,
276
+ },
277
+ {
278
+ title: 'Mental injury support',
279
+ imageSrc: '',
280
+ imageAlt: '',
281
+ description:
282
+ 'This guidance explains hw to select, use and fit hearing protectors in the workplace.',
283
+ link: '/news/2021-08/news-kitchen-sink-11',
284
+ pillText: 'Tag',
285
+ colour: 'yellow',
286
+ date: '',
287
+ location: '',
288
+ rtl: false,
289
+ },
290
+ {
291
+ title: 'Mental injury support',
292
+ imageSrc: '',
293
+ imageAlt: '',
294
+ description:
295
+ 'Crd description field. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.',
296
+ link: '/news/2021-08/news-kitchen-sink-11',
297
+ pillText: 'Tag',
298
+ colour: 'yellow',
299
+ date: '',
300
+ location: '',
301
+ rtl: false,
302
+ },
303
+ {
304
+ title: 'Mental injury support',
305
+ imageSrc: '',
306
+ imageAlt: '',
307
+ description:
308
+ 'This guidance explains hw to select, use and fit hearing protectors in the workplace.',
309
+ link: '/news/2021-08/news-kitchen-sink-11',
310
+ pillText: 'Tag',
311
+ colour: 'yellow',
312
+ date: '',
313
+ location: '',
314
+ rtl: false,
315
+ },
316
+ {
317
+ title: 'Hearning loss injury lik',
318
+ imageSrc: '',
319
+ imageAlt: '',
320
+ description:
321
+ 'Crd description field. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.',
322
+ link: '/news/2021-08/news-kitchen-sink-11',
323
+ pillText: 'Tag',
324
+ colour: 'yellow',
325
+ date: '',
326
+ location: '',
327
+ rtl: false,
328
+ },
329
+ ]
330
+
331
+ export const cardRTWOtherCards = [
332
+ {
333
+ title: 'Standard card',
334
+ imageSrc: '',
335
+ imageAlt: '',
336
+ description:
337
+ 'Card description field. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.',
338
+ link: '/news/2021-08/news-kitchen-sink-11',
339
+ pillText: 'Claims',
340
+ colour: 'yellow',
341
+ date: '',
342
+ location: '',
343
+ rtl: false,
344
+ },
345
+ {
346
+ title: 'Standard card',
347
+ imageSrc: '',
348
+ imageAlt: '',
349
+ description:
350
+ 'Card description field. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.',
351
+ link: '/news/2021-08/news-kitchen-sink-11',
352
+ pillText: 'Tag',
353
+ colour: 'yellow',
354
+ date: '',
355
+ location: '',
356
+ rtl: false,
357
+ },
358
+ {
359
+ title: 'Standard card',
360
+ imageSrc: '',
361
+ imageAlt: '',
362
+ description:
363
+ 'This guidance explains hw to select, use and fit hearing protectors in the workplace.',
364
+ link: '/news/2021-08/news-kitchen-sink-11',
365
+ pillText: 'Tag',
366
+ colour: 'yellow',
367
+ date: '',
368
+ location: '',
369
+ rtl: false,
370
+ },
371
+ {
372
+ title: 'Standard card',
373
+ imageSrc: '',
374
+ imageAlt: '',
375
+ description:
376
+ 'Card description field. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.',
377
+ link: '/news/2021-08/news-kitchen-sink-11',
378
+ pillText: 'Tag',
379
+ colour: 'yellow',
380
+ date: '',
381
+ location: '',
382
+ rtl: false,
383
+ },
384
+ {
385
+ title: 'Standard card',
386
+ imageSrc: '',
387
+ imageAlt: '',
388
+ description:
389
+ 'This guidance explains how to select, use and fit hearing protectors in the workplace.',
390
+ link: '/news/2021-08/news-kitchen-sink-11',
391
+ pillText: 'Tag',
392
+ colour: 'yellow',
393
+ date: '',
394
+ location: '',
395
+ rtl: false,
396
+ },
397
+ {
398
+ title: 'Standard card',
399
+ imageSrc: '',
400
+ imageAlt: '',
401
+ description:
402
+ 'Card description field. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.',
403
+ link: '/news/2021-08/news-kitchen-sink-11',
404
+ pillText: 'Tag',
405
+ colour: 'yellow',
406
+ date: '',
407
+ location: '',
408
+ rtl: false,
409
+ },
410
+ ]
411
+
412
+ export const cardAgentContactInformaton = [
413
+ {
414
+ name: 'Allianz Australia Workers Compensation',
415
+ icon: '',
416
+ value: '',
417
+ },
418
+ {
419
+ name: 'EML (Employers Mutual Limited)',
420
+ icon: '',
421
+ value: '',
422
+ },
423
+ {
424
+ name: 'Gallagher Bassett Services Workers',
425
+ icon: '',
426
+ value: '',
427
+ },
428
+ {
429
+ name: 'Xchanging',
430
+ icon: '',
431
+ value: '',
432
+ },
433
+ ]
@@ -0,0 +1,32 @@
1
+ <template>
2
+ <div
3
+ class="rtw-app__footer d-flex justify-content-end gap-3 my-4 small fw-bold"
4
+ >
5
+ <a href="/return-work-help">Help</a>
6
+ <a href="/return-work-faq">FAQs</a>
7
+ <a href="/return-work-privacy">Privacy Policy</a>
8
+ </div>
9
+ </template>
10
+
11
+ <style lang="scss" scoped>
12
+ .rtw-app {
13
+ &__footer {
14
+ border-top: 1px solid #bababa;
15
+ padding: 20px 0;
16
+
17
+ a {
18
+ color: black;
19
+ font-size: 16px;
20
+ font-style: normal;
21
+ font-weight: 600;
22
+ line-height: 20px;
23
+ letter-spacing: 0px;
24
+ margin-left: 20px;
25
+ }
26
+ }
27
+
28
+ :deep(.wcl-media-text__content) {
29
+ padding-left: 20px;
30
+ }
31
+ }
32
+ </style>
@@ -1,15 +1,12 @@
1
1
  <template>
2
2
  <BNavbar variant="light" class="border-bottom bg-white pb-0">
3
- <BNavbarBrand>
4
- <ChevRightIcon
5
- class="ws-yellow"
6
- style="width: 32px; height: 32px"
7
- ></ChevRightIcon>
3
+ <BNavbarBrand tag="h3">
4
+ <ChevRightIcon class="ws-yellow"></ChevRightIcon>
8
5
  <strong>Return to Work Planner</strong>
9
6
  </BNavbarBrand>
10
7
  <BNavbarToggle target="nav-collapse" />
11
8
  <BNavbarNav class="ms-auto align-items-center">
12
- <BNavItem href="/return-work-home">
9
+ <BNavItem class="active" href="/return-work-home">
13
10
  <strong>Home</strong>
14
11
  </BNavItem>
15
12
  <BNavItem href="/return-work-poc">
@@ -34,11 +31,25 @@ import {
34
31
 
35
32
  <style lang="scss" scoped>
36
33
  @import './../../../../includes/scss/all.scss';
37
- .active {
38
- color: black !important;
39
- border-bottom: 5px solid $yellow;
34
+ .rtw-app {
35
+ .navbar-brand {
36
+ font-size: 18px;
37
+ }
38
+ .navbar-nav {
39
+ .nav-item {
40
+ &.active {
41
+ border-bottom: 5px solid $yellow;
42
+ :deep(.nav-link) {
43
+ color: black !important;
44
+ }
45
+ }
46
+ }
47
+ }
40
48
  }
49
+
41
50
  .ws-yellow {
42
51
  color: $yellow;
52
+ width: 25px;
53
+ height: 25px;
43
54
  }
44
55
  </style>
@@ -0,0 +1,72 @@
1
+ <script setup>
2
+ import Container from './../../../Containers/Container/index.vue'
3
+ import TextMedia from './../../TextMedia/index.vue'
4
+
5
+ const props = defineProps({
6
+ textMedia: {
7
+ type: Object,
8
+ required: true,
9
+ },
10
+ selectInjuries: {
11
+ type: Object,
12
+ required: true,
13
+ },
14
+ })
15
+ </script>
16
+
17
+ <template>
18
+ <div>
19
+ <TextMedia
20
+ :media-type="'image'"
21
+ :title-text="textMedia.title"
22
+ :title-tag="textMedia.titleTag"
23
+ :content="textMedia.content"
24
+ :image="textMedia.image"
25
+ :rtl="textMedia.rtl"
26
+ />
27
+
28
+ <Container fluid class="my-4">
29
+ <h2>Select your injury</h2>
30
+
31
+ <div>
32
+ <TextMedia
33
+ :media-type="'icon'"
34
+ :title-text="selectInjuries.physical.title"
35
+ :content="selectInjuries.physical.content"
36
+ :glyph="selectInjuries.physical.image.url"
37
+ :icon-alt="selectInjuries.physical.image.alt"
38
+ :glyph-height="60"
39
+ :glyph-width="60"
40
+ />
41
+
42
+ <TextMedia
43
+ :media-type="'icon'"
44
+ :title-text="selectInjuries.mental.title"
45
+ :content="selectInjuries.mental.content"
46
+ :glyph="selectInjuries.mental.image.url"
47
+ :icon-alt="selectInjuries.mental.image.alt"
48
+ :glyph-height="60"
49
+ :glyph-width="60"
50
+ />
51
+
52
+ <TextMedia
53
+ :media-type="'icon'"
54
+ :title-text="selectInjuries.other.title"
55
+ :content="selectInjuries.other.content"
56
+ :glyph="selectInjuries.other.image.url"
57
+ :icon-alt="selectInjuries.other.image.alt"
58
+ :glyph-height="60"
59
+ :glyph-width="60"
60
+ />
61
+ </div>
62
+ </Container>
63
+ </div>
64
+ </template>
65
+
66
+ <style scoped>
67
+ .lightgrey-bg {
68
+ border-radius: 12px;
69
+ border: 4px solid #727272;
70
+ background: #f5f5f5;
71
+ }
72
+ </style>