Galeria De Cursos

galeriade cursos

GALERIA

Código

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Enepta - Cursos</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css">
    <style>
        body {
            background-color: #f8f9fa;
            font-family: 'Arial', sans-serif;
        }

        .section-title {
            text-align: center;
            font-size: 28px;
            font-weight: bold;
            margin-top: 20px;
            margin-bottom: 40px;
        }

        .course-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .course-card-title {
            font-size: 18px;
            font-weight: bold;
            margin-top: 10px;
        }

        .course-card-author {
            font-size: 14px;
            color: #6c757d;
        }

        .course-card-rating {
            color: #f4b400;
            font-size: 14px;
            font-weight: bold;
        }

        .course-card-rating span {
            font-size: 12px;
            color: #6c757d;
        }

        .course-card-price {
            font-size: 18px;
            font-weight: bold;
            margin-top: 10px;
            color: #343a40;
        }

        .course-card .btn-primary {
            background-color: #8400e9;
            border: none;
            padding: 5px 15px;
            margin-top: 10px;
            font-size: 14px;
        }

        .control-prev, .control-next {
            background-color: #8400e9;
            border-radius: 4%;
            padding: 2px 20px;
            top: 100%;
            border-color: transparent;
        }

        .control-prev:hover, .control-next:hover {
            background-color: #0080ff;
        }

    </style>
</head>
<body>

<div class="container">
    <h2 class="section-title">Galeria de Cursos</h2>
    
    <div id="coursesCarousel" class="carousel slide" data-bs-ride="carousel">
        <div class="carousel-inner">
            <div class="carousel-item active">
                <div class="row">
                    <!-- Course 1 -->
                    <div class="col-md-4">
                        <div class="card course-card">
                            <img src="https://via.placeholder.com/300x200" alt="Curso de Python">
                            <div class="card-body">
                                <h5 class="course-card-title">Curso de Python</h5>
                                <p class="course-card-author">Douglas Chaves</p>
                                <p class="course-card-rating">10,8 <i class="fas fa-star"></i> <span>(48.870)</span></p>
                                <p class="course-card-price">R$ 800, 00</p>
                                <a href="https://enepta.com" class="btn btn-primary">Mais vendidos</a>
                            </div>
                        </div>
                    </div>
                    <!-- Course 2 -->
                    <div class="col-md-4">
                        <div class="card course-card">
                            <img src="https://via.placeholder.com/300x200" alt="Curso de Python">
                            <div class="card-body">
                                <h5 class="course-card-title">Curso de Python</h5>
                                <p class="course-card-author">Douglas Chaves</p>
                                <p class="course-card-rating">10,8 <i class="fas fa-star"></i> <span>(48.870)</span></p>
                                <p class="course-card-price">R$ 800, 00</p>
                                <a href="https://enepta.com" class="btn btn-primary">Mais vendidos</a>
                            </div>
                        </div>
                    </div>
                    <!-- Course 3 -->
                    <div class="col-md-4">
                        <div class="card course-card">
                            <img src="https://via.placeholder.com/300x200" alt="Curso de Python">
                            <div class="card-body">
                                <h5 class="course-card-title">Curso de Python</h5>
                                <p class="course-card-author">Douglas Chaves</p>
                                <p class="course-card-rating">10,8 <i class="fas fa-star"></i> <span>(48.870)</span></p>
                                <p class="course-card-price">R$ 800, 00</p>
                                <a href="https://enepta.com" class="btn btn-primary">Mais vendidos</a>
                            </div>
                        </div>
                    </div>
                    <!-- Course 4 -->

                </div>
            </div>
            <!-- Second slide (more courses) -->
            <div class="carousel-item">
                <div class="row">
                    <!-- Course 5 -->
                    <div class="col-md-4">
                        <div class="card course-card">
                            <img src="https://via.placeholder.com/300x200" alt="Curso de Python">
                            <div class="card-body">
                                <h5 class="course-card-title">Curso de Python</h5>
                                <p class="course-card-author">Douglas Chaves</p>
                                <p class="course-card-rating">10,8 <i class="fas fa-star"></i> <span>(48.870)</span></p>
                                <p class="course-card-price">R$ 800, 00</p>
                                <a href="https://enepta.com" class="btn btn-primary">Mais vendidos</a>
                            </div>
                        </div>
                    </div>
                    <!-- Add more courses as needed -->
                    <div class="col-md-4">
                        <div class="card course-card">
                            <img src="https://via.placeholder.com/300x200" alt="Curso de Python">
                            <div class="card-body">
                                <h5 class="course-card-title">Curso de Python</h5>
                                <p class="course-card-author">Douglas Chaves</p>
                                <p class="course-card-rating">10,8 <i class="fas fa-star"></i> <span>(48.870)</span></p>
                                <p class="course-card-price">R$ 800, 00</p>
                                <a href="https://enepta.com" class="btn btn-primary">Mais vendidos</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Controls -->
         <div class="mt-5">
            <button class="control-prev" type="button" data-bs-target="#coursesCarousel" data-bs-slide="prev">
                <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                <span class="visually-hidden">Previous</span>
            </button>
            <button class="control-next" type="button" data-bs-target="#coursesCarousel" data-bs-slide="next">
                <span class="carousel-control-next-icon" aria-hidden="true"></span>
                <span class="visually-hidden">Next</span>
            </button>
         </div>

    </div>
</div>

<!-- FontAwesome Script -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/js/all.min.js"></script>
<!-- Bootstrap Script -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>

</body>
</html>