Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +102 -16
src/streamlit_app.py
CHANGED
|
@@ -15,13 +15,10 @@ st.markdown("""
|
|
| 15 |
html, body, [class*="css"] {
|
| 16 |
font-family: 'Cairo', sans-serif;
|
| 17 |
background-color: #0f1117;
|
| 18 |
-
margin: 0;
|
| 19 |
-
padding: 0;
|
| 20 |
-
overflow-x: hidden;
|
| 21 |
}
|
| 22 |
|
| 23 |
.full-screen {
|
| 24 |
-
height:
|
| 25 |
width: 100%;
|
| 26 |
background: linear-gradient(-45deg, #2193b0, #6dd5ed, #1e3c72, #2a5298);
|
| 27 |
background-size: 400% 400%;
|
|
@@ -35,27 +32,41 @@ st.markdown("""
|
|
| 35 |
padding: 30px 15px;
|
| 36 |
border-radius: 0 0 40px 40px;
|
| 37 |
margin-bottom: 40px;
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
.logo-container img {
|
| 41 |
width: 120px;
|
| 42 |
height: 120px;
|
| 43 |
border-radius: 50%;
|
| 44 |
-
border:
|
| 45 |
-
box-shadow: 0 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
}
|
| 47 |
|
| 48 |
h1 {
|
| 49 |
font-size: 2.8rem;
|
| 50 |
-
|
| 51 |
-
|
|
|
|
| 52 |
}
|
| 53 |
|
| 54 |
p {
|
| 55 |
font-size: 1.1rem;
|
| 56 |
-
max-width:
|
| 57 |
-
margin:
|
| 58 |
-
|
|
|
|
| 59 |
}
|
| 60 |
|
| 61 |
.cta-buttons {
|
|
@@ -65,23 +76,98 @@ st.markdown("""
|
|
| 65 |
.cta-buttons a {
|
| 66 |
background: #00bcd4;
|
| 67 |
color: white;
|
| 68 |
-
font-size:
|
| 69 |
font-weight: bold;
|
| 70 |
text-decoration: none;
|
| 71 |
padding: 10px 25px;
|
| 72 |
-
border-radius:
|
| 73 |
transition: 0.3s;
|
|
|
|
| 74 |
}
|
| 75 |
|
| 76 |
.cta-buttons a:hover {
|
| 77 |
background: #0097a7;
|
| 78 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
}
|
| 80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
</style>
|
| 82 |
""", unsafe_allow_html=True)
|
| 83 |
|
| 84 |
-
|
| 85 |
# ูุงุฌูุฉ ุงููููู ุงูุตูุชู
|
| 86 |
st.markdown("""
|
| 87 |
<div class="full-screen">
|
|
|
|
| 15 |
html, body, [class*="css"] {
|
| 16 |
font-family: 'Cairo', sans-serif;
|
| 17 |
background-color: #0f1117;
|
|
|
|
|
|
|
|
|
|
| 18 |
}
|
| 19 |
|
| 20 |
.full-screen {
|
| 21 |
+
min-height: 70vh;
|
| 22 |
width: 100%;
|
| 23 |
background: linear-gradient(-45deg, #2193b0, #6dd5ed, #1e3c72, #2a5298);
|
| 24 |
background-size: 400% 400%;
|
|
|
|
| 32 |
padding: 30px 15px;
|
| 33 |
border-radius: 0 0 40px 40px;
|
| 34 |
margin-bottom: 40px;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
@keyframes gradientBG {
|
| 38 |
+
0% { background-position: 0% 50%; }
|
| 39 |
+
50% { background-position: 100% 50%; }
|
| 40 |
+
100% { background-position: 0% 50%; }
|
| 41 |
+
}
|
| 42 |
|
| 43 |
.logo-container img {
|
| 44 |
width: 120px;
|
| 45 |
height: 120px;
|
| 46 |
border-radius: 50%;
|
| 47 |
+
border: 5px solid white;
|
| 48 |
+
box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
|
| 49 |
+
animation: glow 3s infinite alternate;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
@keyframes glow {
|
| 53 |
+
0% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.6); }
|
| 54 |
+
100% { box-shadow: 0 0 40px rgba(255, 255, 255, 0.9); }
|
| 55 |
}
|
| 56 |
|
| 57 |
h1 {
|
| 58 |
font-size: 2.8rem;
|
| 59 |
+
font-weight: 700;
|
| 60 |
+
margin: 20px 0;
|
| 61 |
+
color: #ffffff;
|
| 62 |
}
|
| 63 |
|
| 64 |
p {
|
| 65 |
font-size: 1.1rem;
|
| 66 |
+
max-width: 600px;
|
| 67 |
+
margin: 15px auto;
|
| 68 |
+
opacity: 0.9;
|
| 69 |
+
color: rgba(255, 255, 255, 0.95);
|
| 70 |
}
|
| 71 |
|
| 72 |
.cta-buttons {
|
|
|
|
| 76 |
.cta-buttons a {
|
| 77 |
background: #00bcd4;
|
| 78 |
color: white;
|
| 79 |
+
font-size: 1.05rem;
|
| 80 |
font-weight: bold;
|
| 81 |
text-decoration: none;
|
| 82 |
padding: 10px 25px;
|
| 83 |
+
border-radius: 30px;
|
| 84 |
transition: 0.3s;
|
| 85 |
+
box-shadow: 0 4px 12px rgba(0, 188, 212, 0.4);
|
| 86 |
}
|
| 87 |
|
| 88 |
.cta-buttons a:hover {
|
| 89 |
background: #0097a7;
|
| 90 |
+
box-shadow: 0 6px 20px rgba(0, 188, 212, 0.6);
|
| 91 |
+
transform: translateY(-3px);
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
.about-section {
|
| 95 |
+
background-color: #ffffff;
|
| 96 |
+
color: #222;
|
| 97 |
+
border-radius: 30px;
|
| 98 |
+
padding: 60px 30px;
|
| 99 |
+
max-width: 1000px;
|
| 100 |
+
margin: 60px auto;
|
| 101 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
| 102 |
+
text-align: center;
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
.about-section h2 {
|
| 106 |
+
font-size: 2.5rem;
|
| 107 |
+
color: #0f1117;
|
| 108 |
+
margin-bottom: 20px;
|
| 109 |
+
font-weight: 800;
|
| 110 |
+
}
|
| 111 |
+
|
| 112 |
+
.about-section p {
|
| 113 |
+
font-size: 1.2rem;
|
| 114 |
+
color: #555;
|
| 115 |
+
margin: 0 auto 40px;
|
| 116 |
+
max-width: 700px;
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
.features {
|
| 120 |
+
display: flex;
|
| 121 |
+
flex-wrap: wrap;
|
| 122 |
+
justify-content: center;
|
| 123 |
+
gap: 30px;
|
| 124 |
}
|
| 125 |
|
| 126 |
+
.feature {
|
| 127 |
+
background: linear-gradient(135deg, #ffffff, #f7f7f7);
|
| 128 |
+
border-radius: 25px;
|
| 129 |
+
padding: 30px 20px;
|
| 130 |
+
width: 260px;
|
| 131 |
+
text-align: center;
|
| 132 |
+
box-shadow: 0 6px 18px rgba(0,0,0,0.1);
|
| 133 |
+
transition: transform 0.4s ease, box-shadow 0.4s ease;
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
.feature:hover {
|
| 137 |
+
transform: scale(1.05);
|
| 138 |
+
box-shadow: 0 10px 24px rgba(0,0,0,0.15);
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
.feature img {
|
| 142 |
+
width: 60px;
|
| 143 |
+
height: 60px;
|
| 144 |
+
margin-bottom: 15px;
|
| 145 |
+
transition: transform 0.3s ease;
|
| 146 |
+
}
|
| 147 |
+
|
| 148 |
+
.feature:hover img {
|
| 149 |
+
transform: rotate(6deg) scale(1.1);
|
| 150 |
+
}
|
| 151 |
+
|
| 152 |
+
.feature h4 {
|
| 153 |
+
font-size: 1.3rem;
|
| 154 |
+
color: #0077b6;
|
| 155 |
+
margin-bottom: 10px;
|
| 156 |
+
font-weight: 700;
|
| 157 |
+
}
|
| 158 |
+
|
| 159 |
+
.feature p {
|
| 160 |
+
font-size: 1rem;
|
| 161 |
+
color: #444;
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.feature:nth-child(1) { background: #fef6f0; }
|
| 165 |
+
.feature:nth-child(2) { background: #f0f8ff; }
|
| 166 |
+
.feature:nth-child(3) { background: #f4f4fe; }
|
| 167 |
+
|
| 168 |
</style>
|
| 169 |
""", unsafe_allow_html=True)
|
| 170 |
|
|
|
|
| 171 |
# ูุงุฌูุฉ ุงููููู ุงูุตูุชู
|
| 172 |
st.markdown("""
|
| 173 |
<div class="full-screen">
|