Internet_Programming_PIbd-2.../product_card.html
2023-11-13 19:15:21 +04:00

224 lines
12 KiB
HTML
Raw 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="ru">
<head>
<meta charset="utf-8">
<title>Карточка товара</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,800;0,900;1,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./style.css">
</head>
<body class="d-flex flex-column min-vh-100 bg-white">
<header class="w-100 position-sticky top-0">
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container-md">
<a class="navbar-brand me-lg-5 d-flex align-items-center" href="/" id="logo">
<img src="icons/logo.png" alt="logo" class="me-2">
Читай-комната
</a>
<button class="navbar-toggler ms-auto" 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="navbar-collapse collapse" id="navbarNav">
<ul class="navbar-nav align-items-lg-center justify-content-lg-start w-100">
<li class="header-link nav-item ms-lg-2 me-lg-3">
<a class="nav-link" href="./index.html">Главная</a>
</li>
<li class="header-link nav-item me-lg-3">
<a class="nav-link" href="./catalog.html">Каталог</a>
</li>
<li class="header-link nav-item me-lg-5" id="header-contacts">
<a class="nav-link" href="./contacts.html">Контакты</a>
</li>
<div class="flex-grow-1 me-lg-4" id="header-search">
<input class="form-control h-25" type="search" placeholder="Я ищу..." aria-label="Search" id="search-bar">
</div>
<li class="nav-item">
<a class="nav-link" href="./login.html">
Вход
</a>
</li>
<p class="d-none d-lg-block">
/
</p>
<li class="nav-item me-lg-3">
<a class="nav-link" href="./registration.html">
Регистрация
</a>
</li>
<li class="nav-item">
<a class="nav-link pe-lg-0" href="./cart.html">
<img src="icons/card.png" alt="card" width="30" height="35" id="cart-icon">
</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main class="container-md d-flex flex-column justify-content-center flex-grow-1">
<div class="row gy-3">
<div class="col-md-6 col-lg-3 mt-0 px-0">
<div class="block d-flex justify-content-center justify-content-md-start">
<img src="book_covers/product_card/cover13d__w410.png" class="img-fluid" alt="book-cover-product-card" width="270" height="416">
</div>
</div>
<div class="col-md-6 col-lg-5 mt-5 mt-md-0 px-0">
<div class="block d-flex flex-column align-items-center align-items-md-start ms-md-4">
<div class="d-flex align-self-center align-self-md-end align-self-lg-start mb-4">
<img src="icons/novelty.png" class="me-5" alt="novelty" width="95" height="32" id="novelty-icon">
<img src="icons/discont.png" alt="discont" width="63" height="32" id="discont-icon">
</div>
<p class="mb-2" id="product-card-book-name">
Форсайт
</p>
<p class="mb-4" id="product-card-author">
Сергей Лукьяненко
</p>
<dl class="row gx-5 gy-2 text-center text-md-start" id="product-card-characteristics">
<dt class="col-md-6 mt-0">ID товара</dt>
<dd class="col-md-6 mt-0">3001249</dd>
<dt class="col-md-6">Издательство</dt>
<dd class="col-md-6">АСТ</dd>
<dt class="col-md-6">Серия</dt>
<dd class="col-md-6">Книги Сергея Лукьяненко</dd>
<dt class="col-md-6">Год издания</dt>
<dd class="col-md-6">2023</dd>
<dt class="col-md-6">Количество страниц</dt>
<dd class="col-md-6">352</dd>
<dt class="col-md-6">Размер</dt>
<dd class="col-md-6">20.5x13x2</dd>
<dt class="col-md-6">Тип обложки</dt>
<dd class="col-md-6">Твердый переплёт</dd>
<dt class="col-md-6">Тираж</dt>
<dd class="col-md-6">20000</dd>
<dt class="col-md-6">Вес, г</dt>
<dd class="col-md-6">350</dd>
</dl>
</div>
</div>
<div class="col-lg-4 mt-0 px-0 d-none d-lg-block">
<div class="block d-flex flex-column align-items-center align-items-lg-end">
<div class="border border-secondary-subtle rounded-1 p-3" id="product-card-order-container">
<div class="d-flex align-items-center mb-3">
<img src="icons/check.png" class="me-4" alt="check" width="24" height="24">
<p id="product-card-text-available">
В наличии
</p>
</div>
<p class="mb-3" id="product-card-price">
775 ₽
</p>
<div>
<button type="button" class="btn rounded-1 p-3" id="product-card-button-add">
Добавить в корзину
</button>
</div>
</div>
</div>
</div>
</div>
<div class="row mt-4 mt-md-0 mb-4">
<div class="col px-0">
<div class="block">
<p class="product-card-book-description-h mb-2">
О товаре
</p>
<p class="product-card-book-description-text">
Новый долгожданный роман от автора бестселлеров «Ночной дозор» и «Черновик».
Увлекательная история о Мире После и мире настоящего, где 5 процентов людей знают о надвигающемся апокалипсисе больше,
чем кто-либо может представить.
</p>
</div>
</div>
</div>
<div class="row gy-3">
<div class="col-12 px-0 mb-4 mb-lg-0">
<div class="block">
<p class="product-card-book-description-h mb-2">
Аннотация
</p>
<p class="product-card-book-description-text">
Людям порой снится прошлое. Иногда хорошее, иногда не очень.
Но что делать, если тебе начинает сниться будущее? И в нём ничего хорошего нет совсем.
</p>
</div>
</div>
<div class="col px-0 d-lg-none">
<div class="block d-flex flex-column align-items-center border border-secondary-subtle rounded-1 p-3">
<div class="d-flex align-items-center mb-3">
<img src="icons/check.png" class="me-4" alt="check" width="24" height="24">
<p id="product-card-text-available">
В наличии
</p>
</div>
<p class="mb-3" id="product-card-price">
775 ₽
</p>
<div>
<button type="button" class="btn rounded-1 p-3" id="product-card-button-add">
Добавить в корзину
</button>
</div>
</div>
</div>
</div>
</main>
<footer class="footer flex-shrink-0">
<div class="container-md" id="footer-container">
<div class="row d-flex align-items-center gy-3 gy-lg-0 gx-0" id="footer-row">
<div class="col-md-6 col-lg-4">
<div class="block d-flex justify-content-center justify-content-md-start" id="footer-copyright">
© И. А. Родионов, 2023.
</div>
</div>
<div class="col-md-6 col-lg-3">
<div class="block d-flex align-items-center justify-content-center justify-content-md-end">
<img src="icons/telephone-call.png" class="me-2" alt="telephone-call" width="32" height="32">
<p id="footer-phone-number-text">
+7 927 818-61-60
</p>
</div>
</div>
<div class="col-md-12 col-lg-5 mb-3 mb-lg-0">
<div class="block d-flex align-items-center justify-content-center justify-content-lg-end">
<p class="me-3" id="footer-social-media-text">
Мы в соцсетях:
</p>
<a class="me-3" href="/">
<img src="icons/vk.png" alt="vk" width="32" height="32">
</a>
<a class="me-3" href="/">
<img src="icons/youtube.png" alt="youtube" width="32" height="32">
</a>
<a class="me-3" href="/">
<img src="icons/telegram.png" alt="telegram" width="32" height="32">
</a>
<a href="/">
<img src="icons/odnoklassniki.png" alt="odnoklassniki" width="32" height="32">
</a>
</div>
</div>
</div>
</div>
</footer>
</body>
</html>