Spaces:
Running

File size: 2,974 Bytes
fab03ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
class CustomFooter extends HTMLElement {
    connectedCallback() {
        this.attachShadow({ mode: 'open' });
        this.shadowRoot.innerHTML = `
            <style>
                :host {
                    display: block;
                    margin-top: 2rem;
                }
                footer {
                    background: rgba(15, 23, 42, 0.8);
                    border-top: 1px solid rgba(99, 102, 241, 0.1);
                    padding: 2rem 1rem;
                }
                .container {
                    max-width: 80rem;
                    margin: 0 auto;
                    display: flex;
                    flex-direction: column;
                    md: flex-direction: row;
                    justify-content: space-between;
                    align-items: center;
                    gap: 1rem;
                }
                .text {
                    color: #64748b;
                    font-size: 0.875rem;
                }
                .links {
                    display: flex;
                    gap: 1.5rem;
                }
                a {
                    color: #94a3b8;
                    text-decoration: none;
                    font-size: 0.875rem;
                    transition: color 0.2s;
                }
                a:hover {
                    color: #6366f1;
                }
                .disclaimer {
                    margin-top: 1rem;
                    padding-top: 1rem;
                    border-top: 1px solid rgba(255, 255, 255, 0.05);
                    font-size: 0.75rem;
                    color: #475569;
                    text-align: center;
                    max-width: 48rem;
                    margin-left: auto;
                    margin-right: auto;
                }
            </style>
            <footer>
                <div class="container">
                    <div class="text">© 2024 VolatilityBot Pro. All rights reserved.</div>
                    <div class="links">
                        <a href="#">Privacy Policy</a>
                        <a href="#">Terms of Service</a>
                        <a href="#">Risk Disclosure</a>
                        <a href="#">Support</a>
                    </div>
                </div>
                <div class="disclaimer">
                    Trading synthetic indices carries a high level of risk and may not be suitable for all investors. 
                    The high degree of leverage can work against you as well as for you. Before deciding to trade, 
                    you should carefully consider your investment objectives, level of experience, and risk appetite. 
                    No representation is being made that any account will or is likely to achieve profits or losses 
                    similar to those discussed on this platform.
                </div>
            </footer>
        `;
    }
}

customElements.define('custom-footer', CustomFooter);