Spaces:
Sleeping
Sleeping
File size: 12,641 Bytes
078d100 |
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 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 |
import streamlit as st
# Page Configuration
st.set_page_config(
page_title="Bloomsphere - Cognitive Learning Platform",
page_icon="π±",
layout="wide",
initial_sidebar_state="collapsed"
)
st.markdown("""
<style>
.stMainBlockContainer {
padding: 32px 50px;
}
.stAppHeader {
position: relative;
height: 0;
}
.st-emotion-cache-oj1fi {
display: flex
;
justify-content: center;
align-items: center;
margin-top: 0px;
}
</style>
""", unsafe_allow_html=True)
# Custom CSS with Enhanced Spacing and Animations
st.markdown("""
<style>
:root {
--primary: #2E7D32;
--secondary: #388E3C;
--accent: #81C784;
--light: #E8F5E9;
--dark: #1B5E20;
margin: 0;
padding: 0;
}
.main {
background: linear-gradient(135deg, var(--light) 0%, var(--accent) 100%);
font-family: 'Inter', sans-serif;
}
.header-container {
text-align: center;
padding: 4rem 0 8rem 0;
margin-bottom: 10rem;
}
.main-title {
color: var(--dark);
font-size: 3.5rem;
font-weight: 800;
margin-bottom: 1rem;
}
.tagline {
color: var(--secondary);
font-size: 1.5rem;
margin-bottom: 3rem;
}
.comparison-section {
background: rgba(255,255,255,0.9);
border-radius: 20px;
padding: 3rem;
margin: 2rem 0;
box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}
.bloom-card {
padding: 1rem;
margin: 1rem 0;
background: white;
border-radius: 20px;
box-shadow: 0 6px 20px rgba(0,0,0,0.05);
transition: all 0.3s ease;
}
.bloom-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.feature-card {
padding: 0.5rem;
background: white;
border-radius: 20px;
height: 100%;
box-shadow: 0 6px 20px rgba(0,0,0,0.05);
transition: all 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.footer {
background: var(--dark);
color: white;
padding: 2rem;
margin-top: 4rem;
margin-bottom: 0;
border-radius: 20px 20px 0 0;
}
.problem-column {
padding: 1.5rem;
border-right: 2px solid var(--light);
}
.solution-column {
padding: 1.5rem;
}
@media (max-width: 768px) {
.problem-column {
border-right: none;
border-bottom: 2px solid var(--light);
padding-bottom: 2rem;
margin-bottom: 2rem;
}
}
</style>
""", unsafe_allow_html=True)
# App Header
st.markdown("""
<div class="header-container">
<div class="main-title">πΏ Bloomsphere</div>
<div class="tagline">Next-Gen Cognitive Learning Platform</div>
</div>
""", unsafe_allow_html=True)
# Educational Landscape Comparison
with st.container():
st.markdown("""
<style>
.comparison-section {
text-align: center;
margin-bottom: 2rem;
}
.problem-column, .solution-column {
padding: 1rem;
border-radius: 8px;
}
.problem-column {
background-color: #ffe5e5;
}
.solution-column {
background-color: #e5f5e5;
}
h3 {
margin-bottom: 1.5rem;
text-align: center;
}
.problem-column p, .solution-column p {
color: #444;
line-height: 1.8;
}
</style>
<div class="comparison-section">
<h2 style="color: #333;">Transforming Educational Assessment</h2>
</div>
""", unsafe_allow_html=True)
col1, col2 = st.columns(2)
with col1:
st.markdown("""
<div class="problem-column">
<h3 style="color: #d32f2f;">β Current Challenges</h3>
<p>β’ One-size-fits-all assessments</p>
<p>β’ Subjective difficulty evaluation</p>
<p>β’ Limited cognitive level tracking</p>
<p>β’ Manual paper creation processes</p>
<p>β’ No standardized quality metrics</p>
</div>
""", unsafe_allow_html=True)
with col2:
st.markdown("""
<div class="solution-column">
<h3 style="color: #007BFF;">β
Bloomsphere Solution</h3>
<p>β’ AI-powered cognitive alignment</p>
<p>β’ Real-time Bloom's Taxonomy analysis</p>
<p>β’ Detailed skill matrix visualization</p>
<p>β’ Automated quality assurance</p>
<p>β’ Data-driven insights & reporting</p>
</div>
""", unsafe_allow_html=True)
# Bloom's Taxonomy Section
st.markdown("""
<h1 style="color: var(--dark); text-align: center; margin: 4rem 0 2rem 0;">
π§ Powered by Bloom's Taxonomy Framework
</h1>
""", unsafe_allow_html=True)
cols = st.columns(3, gap="large")
with cols[0]:
st.markdown("""
<div class="bloom-card">
<h3 style="color: var(--primary); margin-bottom: 1rem; font-size: 1.3rem;">π Remember</h3>
<p style="color: #666; font-size: 0.95rem; margin-bottom: 1rem;">Foundation of knowledge retention and recall</p>
<div style="color: #666; font-size: 0.9rem; line-height: 1.6;">
<div style="margin-bottom: 0.5rem;">β’ Fact retention</div>
<div style="margin-bottom: 0.5rem;">β’ Concept identification</div>
<div>β’ Basic comprehension</div>
</div>
</div>
<div class="bloom-card">
<h3 style="color: var(--primary); margin-bottom: 1rem; font-size: 1.3rem;">π Analyze</h3>
<p style="color: #666; font-size: 0.95rem; margin-bottom: 1rem;">Critical examination of information structures</p>
<div style="color: #666; font-size: 0.9rem; line-height: 1.6;">
<div style="margin-bottom: 0.5rem;">β’ Pattern recognition</div>
<div style="margin-bottom: 0.5rem;">β’ Relationship mapping</div>
<div>β’ Error detection</div>
</div>
</div>
""", unsafe_allow_html=True)
with cols[1]:
st.markdown("""
<div class="bloom-card">
<h3 style="color: var(--primary); margin-bottom: 1rem; font-size: 1.3rem;">π‘ Understand</h3>
<p style="color: #666; font-size: 0.95rem; margin-bottom: 1rem;">Meaning construction and interpretation</p>
<div style="color: #666; font-size: 0.9rem; line-height: 1.6;">
<div style="margin-bottom: 0.5rem;">β’ Concept explanation</div>
<div style="margin-bottom: 0.5rem;">β’ Information categorization</div>
<div>β’ Knowledge translation</div>
</div>
</div>
<div class="bloom-card">
<h3 style="color: var(--primary); margin-bottom: 1rem; font-size: 1.3rem;">π Evaluate</h3>
<p style="color: #666; font-size: 0.95rem; margin-bottom: 1rem;">Strategic judgment and decision making</p>
<div style="color: #666; font-size: 0.9rem; line-height: 1.6;">
<div style="margin-bottom: 0.5rem;">β’ Quality assessment</div>
<div style="margin-bottom: 0.5rem;">β’ Argument validation</div>
<div>β’ Solution critique</div>
</div>
</div>
""", unsafe_allow_html=True)
with cols[2]:
st.markdown("""
<div class="bloom-card">
<h3 style="color: var(--primary); margin-bottom: 1rem; font-size: 1.3rem;">π οΈ Apply</h3>
<p style="color: #666; font-size: 0.95rem; margin-bottom: 1rem;">Practical implementation of knowledge</p>
<div style="color: #666; font-size: 0.9rem; line-height: 1.6;">
<div style="margin-bottom: 0.5rem;">β’ Problem solving</div>
<div style="margin-bottom: 0.5rem;">β’ Procedure execution</div>
<div>β’ Scenario simulation</div>
</div>
</div>
<div class="bloom-card">
<h3 style="color: var(--primary); margin-bottom: 1rem; font-size: 1.3rem;">π Create</h3>
<p style="color: #666; font-size: 0.95rem; margin-bottom: 1rem;">Original synthesis and innovation</p>
<div style="color: #666; font-size: 0.9rem; line-height: 1.6;">
<div style="margin-bottom: 0.5rem;">β’ Conceptual design</div>
<div style="margin-bottom: 0.5rem;">β’ Hypothesis formulation</div>
<div>β’ System development</div>
</div>
</div>
""", unsafe_allow_html=True)
# Features Section
st.markdown("""
<h1 style="color: var(--dark); text-align: center; margin: 4rem 0 3rem 0;">
β¨ Key Features
</h1>
""", unsafe_allow_html=True)
# Feature Cards
feat_col1, feat_col2, feat_col3 = st.columns(3, gap="large")
with feat_col1:
st.markdown("""
<div class="feature-card">
<div style="font-size: 2rem; margin-bottom: 1rem; color: var(--primary);">π</div>
<h3 style="color: var(--primary); margin-bottom: 1rem; font-size: 1.2rem;">
Smart Paper Generation
</h3>
<p style="color: #666; font-size: 0.95rem; line-height: 1.6;display:flex; text-align: center;">
Create Bloom's-aligned question papers with defined difficulty balancing
and cognitive levels.
</p>
</div>
""", unsafe_allow_html=True)
with feat_col2:
st.markdown("""
<div class="feature-card">
<div style="font-size: 2rem; margin-bottom: 1rem; color: var(--primary);">π</div>
<h3 style="color: var(--primary); margin-bottom: 1rem; font-size: 1.2rem;">
Cognitive Analysis
</h3>
<p style="color: #666; font-size: 0.95rem; line-height: 1.6; display:flex; text-align: center;">
Get instant Bloom's Taxonomy breakdowns with complexity scores.
</p>
</div>
""", unsafe_allow_html=True)
with feat_col3:
st.markdown("""
<div class="feature-card">
<div style="font-size: 2rem; margin-bottom: 1rem; color: var(--primary);">π</div>
<h3 style="color: var(--primary); margin-bottom: 1rem; font-size: 1.2rem;">
Learning Analytics
</h3>
<p style="color: #666; font-size: 0.95rem; line-height: 1.6; display:flex; text-align: center;">
Track performance by comparing answers with standard rubrics.
</p>
</div>
""", unsafe_allow_html=True)
# Action Buttons
st.markdown("<div style='height: 2rem'></div>", unsafe_allow_html=True)
btn_col1, btn_col2, btn_col3 = st.columns(3, gap="large")
with btn_col1:
if st.button("Try Question Generator β", key="generator",
help="Create customized question papers using AI"):
st.switch_page("pages/question_paper.py")
with btn_col2:
if st.button("Analyze Papers Now β", key="analyzer",
help="Get detailed paper quality analysis"):
st.switch_page("pages/judge_paper.py")
with btn_col3:
if st.button("View Analytics β", key="analytics",
help="Explore learning analytics dashboard"):
st.switch_page("pages/learning_analytics.py")
# Footer
st.markdown("""
<div class='footer'>
<div style='text-align: center;'>
<h3 style='color: white; margin-bottom: 1rem;'>π Bloomsphere Ecosystem</h3>
<p style='color: var(--light); margin-bottom: 0.5rem;'>Β© 2025 Bloomsphere</p>
<small style='color: var(--accent);'>Cultivating Growth Through Cognitive Science</small>
</div>
</div>
""", unsafe_allow_html=True) |