PIbd-21_Valitov_D.F_IP/index.html

112 lines
5.4 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 Store</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 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" id="book-search" 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="html/book-list.html">Каталог</a>
</li>
<li class="nav-item">
<a class="nav-link" href="html/about.html">О нас</a>
</li>
<li class="nav-item">
<a class="nav-link" href="html/cart.html" style="display: inline-block;">Корзина</a>
<!-- <img src="/src/icons/cart.svg" width="30px"> -->
</li>
<li class="nav-item">
<a class="nav-link" href="html/admin.html" style="display: inline-block;">Админ</a>
<!-- <img src="/src/icons/cart.svg" width="30px"> -->
</li>
</ul>
</div>
</div>
</nav>
</header>
<main>
<section class="hero py-5">
<div class="container">
<h1 class="display-4 mb-4">Приветствуем на Book Store!</h1>
<p class="lead mb-4">На нашем сайте вы найдете множество книг на любой вкус :)</p>
<a href="/html/book-list.html" class="btn btn-primary btn-lg">Перейти в каталог</a>
</div>
</section>
<section class="featured-books py-5">
<div class="container">
<h2 class="mb-4">Хиты этого месяца</h2>
<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>
<a href="html/book-details.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>
<a href="html/book-details.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>
<a href="html/book-details.html" class="btn btn-primary">Карточка товара</a>
</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>