PIbd-21_Valitov_D.F_IP/html/book-list.html

169 lines
9.2 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Book Catalog</title>
<link rel="stylesheet" href="/node_modules/bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" href="../css/custom.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<div class="container">
<a class="navbar-brand" href="../index.html">Book Store</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" id="navbarNav">
<form class="d-flex mx-auto w-50">
<input class="form-control me-2" type="search" placeholder="Какая Ваша любимая книга? :)" aria-label="Search" width="100px">
<button class="btn btn-outline-light" type="submit">Поиск</button>
</form>
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link" href="catalog.html">Каталог</a>
</li>
<li class="nav-item">
<a class="nav-link" href="checkout.html">О нас</a>
</li>
<li class="nav-item">
<a class="nav-link" href="cart.html" style="display: inline-block;">Корзина</a>
<!-- <img src="/src/icons/cart.svg" width="30px"> -->
</li>
</ul>
</div>
</div>
</nav>
</header>
<main>
<section class="catalog-page py-5">
<div class="container">
<h1 class="display-4 mb-4">Каталог</h1>
<div class="row">
<div class="col-md-3">
<h2 class="mb-4">Фильтры</h2>
<form>
<div class="mb-3">
<label for="category" class="form-label">Категория</label>
<select class="form-select" id="category">
<option value="all">Все</option>
<option value="sci-fiction">Научная фантастика</option>
<option value="detective">Детективы</option>
<option value="biography">Биография</option>
</select>
</div>
<div class="mb-3">
<label for="price-range" class="form-label">Диапазон цены</label>
<input type="range" class="form-range" id="price-range" min="0" max="100" step="10">
от <input type="number" class="" id="price-range" min="0" step="10">
\n до <input type="number" class="" id="price-range" min="0" step="10">
</div>
<button type="submit" class="btn btn-primary">Сохранить фильтры</button>
</form>
</div>
<div class="col-md-9">
<div class="row">
<div class="col-md-4 mb-4">
<div class="card">
<img src="https://via.placeholder.com/300x200" class="card-img-top"
alt="Book Cover">
<div class="card-body">
<h5 class="card-title">Название Книги</h5>
<p class="card-text">Имя Автора</p>
<p class="card-text">$10.99</p>
<a href="book.html" class="btn btn-primary">Карточка товара</a>
</div>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card">
<img src="https://via.placeholder.com/300x200" class="card-img-top"
alt="Book Cover">
<div class="card-body">
<h5 class="card-title">Название Книги</h5>
<p class="card-text">Имя Автора</p>
<p class="card-text">$10.99</p>
<a href="book.html" class="btn btn-primary">Карточка товара</a>
</div>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card">
<img src="https://via.placeholder.com/300x200" class="card-img-top"
alt="Book Cover">
<div class="card-body">
<h5 class="card-title">Название Книги</h5>
<p class="card-text">Имя Автора</p>
<p class="card-text">$10.99</p>
<a href="book.html" class="btn btn-primary">Карточка товара</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4 mb-4">
<div class="card">
<img src="https://via.placeholder.com/300x200" class="card-img-top"
alt="Book Cover">
<div class="card-body">
<h5 class="card-title">Название Книги</h5>
<p class="card-text">Имя Автора</p>
<p class="card-text">$10.99</p>
<a href="book.html" class="btn btn-primary">Карточка товара</a>
</div>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card">
<img src="https://via.placeholder.com/300x200" class="card-img-top"
alt="Book Cover">
<div class="card-body">
<h5 class="card-title">Название Книги</h5>
<p class="card-text">Имя Автора</p>
<p class="card-text">$10.99</p>
<a href="book.html" class="btn btn-primary">Карточка товара</a>
</div>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card">
<img src="https://via.placeholder.com/300x200" class="card-img-top"
alt="Book Cover">
<div class="card-body">
<h5 class="card-title">Название Книги</h5>
<p class="card-text">Имя Автора</p>
<p class="card-text">$10.99</p>
<a href="book.html" class="btn btn-primary">Карточка товара</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<footer class="bg-dark text-white py-4">
<div class="container">
<div class="row">
<div class="col-md-6">
<p>&copy; 2024 Book Store. All rights reserved.</p>
</div>
<div class="col-md-6 text-md-end">
<a href="#" class="text-white mr-3">Privacy Policy</a>
<a href="#" class="text-white">Terms of Service</a>
</div>
</div>
</div>
</footer>
<script src="../js/script.js"></script>
</body>
</html>