Documento
Documento
DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/
bootstrap.min.css" rel="stylesheet">
<style>
html, body {
height: 100%;
margin: 0;
.wrapper {
min-height: 100vh;
display: flex;
flex-direction: column;
.content {
flex: 1;
margin-bottom: 20px;
.navbar-custom {
background-color: #262626;
.navbar-brand, .nav-link {
}
.hero {
background-color: #7441F9;
color: white;
text-align: center;
.carousel-inner img {
width: 100%;
height: auto;
.news-section {
margin-top: 40px;
.news-card {
border-radius: 8px;
overflow: hidden;
.news-card:hover {
transform: scale(1.05);
.news-card img {
width: 100%;
height: 200px;
object-fit: cover;
.news-card .card-body {
padding: 15px;
}
footer {
background-color: #262626;
color: white;
text-align: center;
padding: 20px;
</style>
</head>
<body>
<div class="wrapper">
<div class="container-fluid">
<span class="navbar-toggler-icon"></span>
</button>
</ul>
</div>
</div>
</nav>
<h1>Bem-vindo ao Pllin</h1>
</section>
<div class="carousel-inner"></div>
<span class="visually-hidden">Previous</span>
</button>
<span class="visually-hidden">Next</span>
</button>
</div>
</section>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<footer>
</div>
</footer>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/boots
trap.bundle.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
const carouselInner =
document.querySelector("#newsCarousel .carousel-inner");
const images = [
];
<h5>${img.title}</h5>
<p>${img.desc}</p>
</div>
</div>`;
carouselInner.innerHTML += item;
});
});
</script>
</body>
</html>