-
Notifications
You must be signed in to change notification settings - Fork 17
/
story.js
60 lines (58 loc) · 1.35 KB
/
story.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import { html } from 'lit';
import { args, argTypes } from './story.args';
import changelog from './CHANGELOG.md';
import readme from './README.md';
import './index';
export default {
title: 'Components/Footer Small',
parameters: {
readme,
usage: {
innerHTML: '...children',
},
changelog,
layout: 'fullscreen',
},
args,
argTypes,
};
export const FooterSmall = ({
firstLanguage,
secondLanguage,
thirdLanguage,
fourthLanguage,
termOfUse,
dataProtection,
}) => html`
<axa-footer-small>
<a
slot="language-item"
href="https://axa.ch/de/privatkunden.html"
class="m-footer-small__link--active"
>
${firstLanguage}
</a>
<a slot="language-item" href="https://axa.ch/fr/particuliers.html">
${secondLanguage}
</a>
<a slot="language-item" href="https://axa.ch/it/clienti-privati.html">
${thirdLanguage}
</a>
<a slot="language-item" href="https://axa.ch/en/private-customers.html">
${fourthLanguage}
</a>
<a
slot="disclaimer-item"
href="https://axa.ch/en/information/terms-of-use.html"
>
${termOfUse}
</a>
<a
slot="disclaimer-item"
href="https://axa.ch/en/information/data-protection.html"
>
${dataProtection}
</a>
<span slot="copyright">© 2019 AXA Insurance Ltd.</span>
</axa-footer-small>
`;