0
0

styles and sripts edit

This commit is contained in:
Sergey Chebotar 2023-02-08 07:58:46 +03:00
parent 0105789fa3
commit 2aba547539
4 changed files with 48 additions and 64 deletions

View File

@ -1,29 +1,12 @@
@model MyDarling.Models.UnderwearBundle;
@{
Layout = "_Layout";
}
<nav class="navbar navbar-expand-lg navbar-dark fixed-top bg-black" id="mainNav">
<div class="container px-4 px-lg-5">
<a class="navbar-brand" href="/"><img height="40" src="/assets/img/logo.svg"></a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false"
aria-label="Toggle navigation">
Menu
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ms-auto">
<li class="nav-item"><a class="nav-link" href="/Home/Index#about">About</a></li>
<li class="nav-item"><a class="nav-link" href="/Home/Index#projects">Projects</a></li>
<li class="nav-item"><a class="nav-link" href="/Home/Index#signup">Contact</a></li>
</ul>
</div>
</div>
</nav>
<section class="projects-section bg-light">
<div class="container px-3 px-lg-4 mt-4">
<div class="row gx-4 gx-lg-5 justify-content-center ">
<div class="col-md">
<!DOCTYPE html>
<html lang="ru-RU">
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css">
</head>
<body>
<div id="carouselIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselIndicators" data-slide-to="0" class="active"></li>
@ -36,6 +19,10 @@
<div class="carousel-item active">
<img class="d-block w-100" src="@Model?.Figures[0].FilePath" alt="...">
</div>
<div class="carousel-caption d-none d-md-block">
<h5>@Model?.Name</h5>
<p>@Model?.Description</p>
</div>
@for (int i = 1; i < @Model?.Figures.Count(); i++)
{
<div class="carousel-item">
@ -52,11 +39,9 @@
<span class="sr-only">Next</span>
</a>
</div>
</div>
<div class="col-md">
<h1 class="mb-4">@Model?.Name</h1>
<p class="projects-section">@Model?.Description</p>
</div>
</div>
</div>
</section>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js"></script>
</body>
</html>

View File

@ -27,8 +27,8 @@
<div class="container px-4 px-lg-5 d-flex h-100 align-items-center justify-content-center">
<div class="d-flex justify-content-center">
<div class="text-center">
<img class="mx-auto my-0" height="140" src="assets/img/logo.svg"/>
<h2 class="text-white-50 mx-auto mt-2 mb-5">>Нижнее бельё ручной работы по индивидуальным меркам</h2>
<img class="mx-auto my-0" height="140" src="/assets/img/logo.svg"/>
<h2 class="text-white-50 mx-auto mt-2 mb-5">Нижнее бельё ручной работы по индивидуальным меркам</h2>
<a class="btn btn-primary" href="#about">Узнать больше</a>
</div>
</div>

View File

@ -17,10 +17,9 @@
<footer class="footer bg-black small text-center text-white-50">
<div class="container px-4 px-lg-5">&copy; My Darling underwear 2023</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bs5-lightbox@1.8.3/dist/index.bundle.min.js"></script>
<script src="/js/scripts.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.14.7/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/js/bootstrap.min.js"></script>
</body>
</html>

View File

@ -600,7 +600,7 @@ progress {
color: #6c757d;
}
.blockquote-footer::before {
content: "— ";
content: "— ";
}
.img-fluid {