-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHome.py
117 lines (111 loc) · 3.81 KB
/
Home.py
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
import streamlit as st
st.set_page_config(page_title="Aruna", layout="wide")
st.markdown(
r"""
<style>
.stAppToolbar {
visibility: hidden;
}
</style>
""", unsafe_allow_html=True
)
def main():
st.markdown(
"""
<style>
.container {
max-width: 900px;
margin: 0 auto;
padding: 20px;
}
.header {
font-size: 36px;
font-weight: bold;
text-align: center;
margin-bottom: 20px;
}
.description {
font-size: 18px;
line-height: 1.6;
text-align: center;
margin-bottom: 30px;
}
.features {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-top: 40px;
}
.feature-card {
flex: 1 1 calc(33.333% - 20px);
background-color: #090909;
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
margin: 10px;
text-align: center;
transition: all 0.3s ease-in-out;
cursor: pointer;
text-decoration: none;
color: white;
}
.feature-title {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
text-decoration: none;
color: white;
}
.feature-description {
font-size: 16px;
text-decoration: none;
color: white;
}
.feature-card:hover {
background-color: #f1f1f1;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.feature-card:hover .feature-title,
.feature-card:hover .feature-description {
color: #000000;
}
.feature-link {C
}
</style>
""",
unsafe_allow_html=True,
)
st.markdown('<div class="container">', unsafe_allow_html=True)
st.markdown('<div class="header">Welcome to Aruna</div>', unsafe_allow_html=True)
st.markdown(
"""
<div class="description">
Explore cutting-edge tools for traders and investors, designed to empower your decision-making.
Aruna combines advanced AI with robust analytics to provide actionable insights, making your
trading journey more efficient and successful.
</div>
""",
unsafe_allow_html=True,
)
st.markdown('<div class="features">', unsafe_allow_html=True)
features = [
{"title": "Aruna AI", "description": "Leverage powerful AI for market analysis with precision.", "link": "Aruna_AI"},
{"title": "Aruna Charts", "description": "Analyze candlestick patterns with integrated EMA and Stochastic RSI indicators.", "link": "Aruna_Charts"},
{"title": "Aruna Screeners", "description": "Screen and filter cryptocurrencies based on technical signals and parameters.", "link": "Aruna_Screeners"},
]
for feature in features:
st.markdown(
f"""
<a href="{feature['link']}" target="_self" class="feature-link">
<div class="feature-card">
<div class="feature-title">{feature['title']}</div>
<div class="feature-description">{feature['description']}</div>
</div>
</a>
""",
unsafe_allow_html=True,
)
st.markdown('</div>', unsafe_allow_html=True)
st.markdown('</div>', unsafe_allow_html=True)
if __name__ == "__main__":
main()