Template Com Galeria De Fotos

Template com galeria de fotos, banner e search navbar

TEMPLATE

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</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <style>
        body {
            background-color: #1c1c1c;
            color: white;
            font-family: 'Arial', sans-serif;
        }
        .navbar {
            padding: 15px;
            background-color: #111;
        }
        .navbar-brand {
            font-size: 28px;
            font-weight: bold;
            color: white;
        }
        .banner {
            position: relative; 
            padding-top: 50px;
            background-image: url('https://via.placeholder.com/1920x600');
            background-size: cover;
            display: flex;
            align-items: center;
            color: white;
        }
        .banner h1 {
            font-size: 48px;
            font-weight: bold;
        }
        .banner p {
            font-size: 18px;
            margin-top: 10px;
        }
        .post-meta {
            margin-top: 15px;
        }
        .post-meta img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }
        .post-meta span {
            margin-left: 10px;
            font-size: 14px;
            color: #ddd;
        }
        .side-posts {
            background-color: #222;
            padding: 20px;
        }
        .side-post img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            border-radius: 8px;
        }
        .side-post-title {
            margin-top: 10px;
            font-size: 16px;
            color: white;
        }
        .grid-posts {
            padding: 20px;
        }
        .grid-post img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-radius: 10px;
        }
        .grid-post-title {
            margin-top: 15px;
            font-size: 18px;
            color: white;
            font-weight: bold;
        }
        .grid-post-desc {
            margin-top: 10px;
            font-size: 16px;
            color: #bbb;
        }
        .grid-post-date {
            margin-top: 5px;
            font-size: 14px;
            color: #888;
        }
        .search-bar {
            position: absolute;
            top: 20px;
            right: 20px;
        }
        .search-bar input {
            padding: 5px 15px;
            background-color: #333;
            border: none;
            border-radius: 25px;
            color: white;
        }
    </style>
</head>
<body>

<!-- Navbar -->
<div class="navbar">
    <a href="https://enepta.com" class="navbar-brand">Enepta</a>
    <div class="search-bar">
        <input type="text" placeholder="Search...">
    </div>
</div>

<!-- Banner Section -->
<div class="container-fluid banner">
    <div class="row">
        <div class="col-lg-8">
            <h1>Lorem Ipsum Dolor Sit Amet</h1>
            <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer gravida massa at justo bibendum.</p>
            <div class="post-meta">
                <img src="https://via.placeholder.com/40" alt="Author Image">
                <span>Douglas Chaves • September 21, 2024</span>
            </div>
        </div>
        <div class="col-lg-4 side-posts">
            <div class="side-post mb-3">
                <img src="https://via.placeholder.com/350x150" alt="Side Post Image">
                <p class="side-post-title">Sed ut perspiciatis unde omnis</p>
            </div>
            <div class="side-post mb-3">
                <img src="https://via.placeholder.com/350x150" alt="Side Post Image">
                <p class="side-post-title">At vero eos et accusamus</p>
            </div>
        </div>
    </div>
</div>

<!-- Post Grid Section -->
<div class="container grid-posts">
    <div class="row">
        <div class="col-md-4 grid-post mb-5">
            <img src="https://via.placeholder.com/350x250" alt="Post Image">
            <h2 class="grid-post-title">Lorem Ipsum Dolor Sit Amet</h2>
            <p class="grid-post-desc">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
            <p class="grid-post-date">December 15, 2021</p>
        </div>
        <div class="col-md-4 grid-post mb-5">
            <img src="https://via.placeholder.com/350x250" alt="Post Image">
            <h2 class="grid-post-title">Sed ut perspiciatis unde omnis</h2>
            <p class="grid-post-desc">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
            <p class="grid-post-date">December 15, 2021</p>
        </div>
        <div class="col-md-4 grid-post mb-5">
            <img src="https://via.placeholder.com/350x250" alt="Post Image">
            <h2 class="grid-post-title">At vero eos et accusamus</h2>
            <p class="grid-post-desc">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
            <p class="grid-post-date">December 15, 2021</p>
        </div>
    </div>
</div>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>