Spaces:
Sleeping
Sleeping
| {% extends "base.html" %} | |
| {% block content %} | |
| <div class="container py-5"> | |
| <!-- Hero Section --> | |
| <div class="hero-section text-center mb-5"> | |
| <h1 class="display-4 fw-bold mb-3">Master Dify AI</h1> | |
| <p class="lead mb-4">Learn to build powerful AI applications with our comprehensive, step-by-step tutorials designed for beginners</p> | |
| <div class="hero-stats row justify-content-center"> | |
| <div class="col-md-2 col-4"> | |
| <div class="stat-item"> | |
| <h3 class="stat-number">{{ tutorials|length }}</h3> | |
| <p class="stat-label">Tutorials</p> | |
| </div> | |
| </div> | |
| <div class="col-md-2 col-4"> | |
| <div class="stat-item"> | |
| <h3 class="stat-number">{{ projects|length }}</h3> | |
| <p class="stat-label">Projects</p> | |
| </div> | |
| </div> | |
| <div class="col-md-2 col-4"> | |
| <div class="stat-item"> | |
| <h3 class="stat-number">0</h3> | |
| <p class="stat-label">Coding Req.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Learning Path --> | |
| <section class="mb-5"> | |
| <h2 class="section-title"> | |
| <i data-feather="map" class="me-2"></i> | |
| Learning Path | |
| </h2> | |
| <p class="section-subtitle">Follow our structured learning path to master Dify AI from basics to advanced topics</p> | |
| <div class="learning-path"> | |
| {% for tutorial in tutorials %} | |
| <div class="path-item"> | |
| <div class="path-number">{{ loop.index }}</div> | |
| <div class="path-content"> | |
| <div class="card tutorial-card"> | |
| <div class="card-body"> | |
| <div class="d-flex justify-content-between align-items-start"> | |
| <div> | |
| <h5 class="card-title">{{ tutorial.title }}</h5> | |
| <p class="card-text">{{ tutorial.description }}</p> | |
| <div class="tutorial-meta"> | |
| <span class="badge bg-{{ tutorial.difficulty_color }}">{{ tutorial.difficulty }}</span> | |
| <span class="text-muted ms-2"> | |
| <i data-feather="clock" class="small me-1"></i> | |
| {{ tutorial.estimated_time }} min | |
| </span> | |
| </div> | |
| </div> | |
| <div class="tutorial-progress"> | |
| <div class="progress-circle not-started"> | |
| <i data-feather="play"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-3"> | |
| <a href="{{ url_for('tutorial', slug=tutorial.slug) }}" class="btn btn-primary"> | |
| Start Tutorial | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| {% endfor %} | |
| </div> | |
| </section> | |
| <!-- Hands-on Projects --> | |
| <section class="mb-5"> | |
| <h2 class="section-title"> | |
| <i data-feather="code" class="me-2"></i> | |
| Hands-on Projects | |
| </h2> | |
| <p class="section-subtitle">Apply your knowledge with real-world projects</p> | |
| <div class="row"> | |
| {% for project in projects %} | |
| <div class="col-md-6 col-lg-4 mb-4"> | |
| <div class="card project-card h-100"> | |
| <div class="card-body"> | |
| <div class="project-icon mb-3"> | |
| <i data-feather="{{ project.icon }}"></i> | |
| </div> | |
| <h5 class="card-title">{{ project.title }}</h5> | |
| <p class="card-text">{{ project.description }}</p> | |
| <div class="project-meta mb-3"> | |
| <span class="badge bg-{{ project.difficulty_color }}">{{ project.difficulty }}</span> | |
| <span class="text-muted ms-2"> | |
| <i data-feather="clock" class="small me-1"></i> | |
| {{ project.estimated_time }} min | |
| </span> | |
| </div> | |
| <a href="{{ url_for('project', slug=project.slug) }}" class="btn btn-outline-primary"> | |
| Start Project | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| {% endfor %} | |
| </div> | |
| </section> | |
| <!-- Features --> | |
| <section class="features-section"> | |
| <h2 class="section-title text-center"> | |
| <i data-feather="star" class="me-2"></i> | |
| Why Choose Our Platform? | |
| </h2> | |
| <div class="row mt-4"> | |
| <div class="col-md-4 mb-4"> | |
| <div class="feature-item text-center"> | |
| <div class="feature-icon"> | |
| <i data-feather="users"></i> | |
| </div> | |
| <h4>Beginner Friendly</h4> | |
| <p>No coding experience required. Learn Dify AI with visual, step-by-step tutorials.</p> | |
| </div> | |
| </div> | |
| <div class="col-md-4 mb-4"> | |
| <div class="feature-item text-center"> | |
| <div class="feature-icon"> | |
| <i data-feather="trending-up"></i> | |
| </div> | |
| <h4>Progress Tracking</h4> | |
| <p>Track your learning progress and see how far you've come in your AI journey.</p> | |
| </div> | |
| </div> | |
| <div class="col-md-4 mb-4"> | |
| <div class="feature-item text-center"> | |
| <div class="feature-icon"> | |
| <i data-feather="play-circle"></i> | |
| </div> | |
| <h4>Interactive Learning</h4> | |
| <p>Learn by doing with interactive tutorials and real-world project examples.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| </div> | |
| {% endblock %} | |