Template Para Homepage
template de homepage
Código
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Outdoor Adventure</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<style>
body {
font-family: Arial, sans-serif;
}
.hero-section {
background: url('https://via.placeholder.com/1600x600') no-repeat center center;
background-size: cover;
height: 80vh;
color: white;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
position: relative;
}
.hero-section h1 {
font-size: 3.5rem;
font-weight: bold;
}
.hero-section .btn {
margin-top: 20px;
padding: 10px 20px;
}
.info-bar {
background-color: #dc3545;
color: white;
padding: 10px;
text-align: center;
}
.icon-bar {
position: absolute;
top: 10px;
right: 10px;
}
.section-title {
text-align: center;
margin: 50px 0;
}
.card-deck .card {
border: none;
background-color: #f8f9fa;
padding: 20px;
text-align: center;
}
.card img {
max-width: 100%;
}
.cta-section {
background: url('https://via.placeholder.com/1600x400') no-repeat center center;
background-size: cover;
padding: 100px 0;
color: white;
text-align: center;
}
footer {
background-color: #f8f9fa;
padding: 40px 0;
text-align: center;
}
</style>
</head>
<body>
<!-- Info Bar -->
<div class="info-bar">
<p>Check our latest response to COVID-19 and how it impacts our operations.</p>
</div>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top">
<div class="container">
<a class="navbar-brand" href="#">Adventure</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Shop</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Donate</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Gift Cards</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="hero-section">
<div class="container">
<h1>Explore the Outdoors Since 1990</h1>
<p>Your partner in outdoor adventures. Discover the latest gear and tips to enhance your experience.</p>
<a href="#" class="btn btn-primary">Learn More</a>
</div>
</section>
<!-- Features Section -->
<section class="container">
<div class="section-title">
<h2>Support Our Adventure Community</h2>
<p>Help us keep the spirit of adventure alive with your support and contributions.</p>
</div>
<div class="row">
<div class="col-md-4">
<div class="card">
<img src="https://via.placeholder.com/100" class="card-img-top" alt="Shop Products">
<div class="card-body">
<h5 class="card-title">01. Shop Products</h5>
<p class="card-text">Find top-quality gear for all your outdoor needs.</p>
<a href="#" class="btn btn-outline-dark">Shop Now</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="https://via.placeholder.com/100" class="card-img-top" alt="Donate">
<div class="card-body">
<h5 class="card-title">02. Donate</h5>
<p class="card-text">Contribute to our mission of making outdoor experiences accessible to everyone.</p>
<a href="#" class="btn btn-outline-dark">Donate Now</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="https://via.placeholder.com/100" class="card-img-top" alt="Buy Gift Cards">
<div class="card-body">
<h5 class="card-title">03. Buy Gift Cards</h5>
<p class="card-text">Give the gift of adventure with a gift card to our shop.</p>
<a href="#" class="btn btn-outline-dark">Buy Now</a>
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="cta-section">
<div class="container">
<h2>Stay Safe During Your Outdoor Adventures</h2>
<p>We’re committed to ensuring a safe experience for all our customers during these challenging times.</p>
<a href="#" class="btn btn-light">Read More</a>
</div>
</section>
<!-- Footer -->
<footer>
<p>Open 24/7/365 | © 2024 Outdoor Adventure. All Rights Reserved.</p>
</footer>
<!-- Bootstrap JS and Popper.js -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
</body>
</html>