LMS_Demo / src /modules /intro.py
raymondEDS
demo complete
a7c26a1
import streamlit as st
from datetime import datetime, timedelta
import calendar
import pandas as pd
def show():
# Main Header
st.title("Your Personalized 12-Week Learning Journey")
# Introduction
st.info("""
Welcome to your personalized learning experience! We've designed a comprehensive 12-week program that combines
expert instruction, customized content, and dedicated support to ensure your success. Your journey will be
guided by a team of professionals committed to your learning goals.
""")
# Your Learning Team
st.subheader("Your Dedicated Learning Team")
col1, col2, col3 = st.columns(3)
with col1:
st.markdown("### πŸ‘¨β€πŸ« Personal Instructor")
st.markdown("""
- One-on-one guidance
- Regular check-ins
- Personalized feedback
- Progress monitoring
""")
with col2:
st.markdown("### 🎨 Learning Designer")
st.markdown("""
- Customized curriculum
- Adaptive content
- Learning path optimization
- Resource development
""")
with col3:
st.markdown("### πŸ’» LMS Support")
st.markdown("""
- Technical assistance
- Platform navigation
- Resource access
- Progress tracking
""")
# 12-Week Program Schedule
st.subheader("12-Week Program Schedule")
# Get current date
today = datetime.now()
# Find the next Monday
days_until_monday = (7 - today.weekday()) % 7
start_date = today + timedelta(days=days_until_monday)
# Define the program schedule
program_schedule = [
{
"Week": "Week 1",
"Session": "Initial Assessment & Goal Setting",
"Instructor": "Dr. Sarah Chen",
"Content": "Learning style assessment, goal setting, program overview",
"Deliverables": "Learning style report, personalized goals document",
"Support": "One-on-one session, LMS orientation"
},
{
"Week": "Week 2",
"Session": "Foundation Building",
"Instructor": "Dr. Sarah Chen",
"Content": "Core concepts, fundamental principles, basic skills",
"Deliverables": "Concept map, skill assessment",
"Support": "Weekly check-in, resource access"
},
{
"Week": "Week 3",
"Session": "Advanced Concepts I",
"Instructor": "Prof. James Wilson",
"Content": "Intermediate topics, case studies, practical examples",
"Deliverables": "Case study analysis, concept application",
"Support": "Group discussion, peer review"
},
{
"Week": "Week 4",
"Session": "Advanced Concepts II",
"Instructor": "Prof. James Wilson",
"Content": "Advanced techniques, real-world applications",
"Deliverables": "Technical documentation, application examples",
"Support": "Technical support, code review"
},
{
"Week": "Week 5",
"Session": "Practical Workshop I",
"Instructor": "Dr. Maria Rodriguez",
"Content": "Hands-on exercises, group activities, peer learning",
"Deliverables": "Workshop outcomes, peer feedback",
"Support": "Workshop materials, group collaboration"
},
{
"Week": "Week 6",
"Session": "Practical Workshop II",
"Instructor": "Dr. Maria Rodriguez",
"Content": "Advanced exercises, problem-solving scenarios",
"Deliverables": "Problem solutions, implementation plan",
"Support": "Technical guidance, resource access"
},
{
"Week": "Week 7",
"Session": "Specialized Topics I",
"Instructor": "Dr. Sarah Chen",
"Content": "Industry-specific knowledge, current trends",
"Deliverables": "Industry analysis, trend report",
"Support": "Industry expert session, research resources"
},
{
"Week": "Week 8",
"Session": "Specialized Topics II",
"Instructor": "Prof. James Wilson",
"Content": "Advanced industry applications, emerging technologies",
"Deliverables": "Technology assessment, application proposal",
"Support": "Technical consultation, resource access"
},
{
"Week": "Week 9",
"Session": "Project Planning",
"Instructor": "Dr. Maria Rodriguez",
"Content": "Project scope definition, resource planning",
"Deliverables": "Project plan, resource allocation",
"Support": "Planning tools, template access"
},
{
"Week": "Week 10",
"Session": "Project Development",
"Instructor": "Dr. Sarah Chen",
"Content": "Project implementation, progress review",
"Deliverables": "Project milestones, progress report",
"Support": "Development resources, technical support"
},
{
"Week": "Week 11",
"Session": "Project Refinement",
"Instructor": "Prof. James Wilson",
"Content": "Project optimization, feedback integration",
"Deliverables": "Refined project, feedback report",
"Support": "Review session, optimization tools"
},
{
"Week": "Week 12",
"Session": "Final Presentation & Review",
"Instructor": "All Instructors",
"Content": "Project presentation, program review, future planning",
"Deliverables": "Final project, presentation, program evaluation",
"Support": "Presentation tools, feedback session"
}
]
# Convert to DataFrame and display
df = pd.DataFrame(program_schedule)
st.dataframe(
df,
use_container_width=True,
hide_index=True,
column_config={
"Week": st.column_config.TextColumn("Week", width="small"),
"Session": st.column_config.TextColumn("Session", width="medium"),
"Instructor": st.column_config.TextColumn("Instructor", width="small"),
"Content": st.column_config.TextColumn("Content", width="large"),
"Deliverables": st.column_config.TextColumn("Deliverables", width="medium"),
"Support": st.column_config.TextColumn("Support", width="medium")
}
)
# Call to Action
st.info("""
### Ready to Begin Your Journey?
Complete the form below to get started with your personalized learning experience.
""")
# Registration Form
with st.form("registration_form"):
st.markdown("### Registration Form")
name = st.text_input("Full Name")
email = st.text_input("Email Address")
phone = st.text_input("Phone Number")
goals = st.text_area("What are your learning goals?")
experience = st.selectbox("Current Experience Level",
["Beginner", "Intermediate", "Advanced"])
preferred_time = st.selectbox("Preferred Learning Time",
["Morning", "Afternoon", "Evening"])
submitted = st.form_submit_button("Start My Learning Journey")
if submitted:
st.success("Thank you for registering! Our team will contact you within 24 hours to begin your personalized learning journey.")