mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.git
synced 2025-01-15 21:36:42 +00:00
fix(bs): upgrade carousel
This commit is contained in:
parent
a6fcff6e75
commit
e31b2da345
|
@ -8,7 +8,7 @@ linkTitle = "SelfPrivacy"
|
||||||
<div class="flex-md-row flex-column-reverse d-flex justify-content-center align-content-center">
|
<div class="flex-md-row flex-column-reverse d-flex justify-content-center align-content-center">
|
||||||
<div class="col-xs-12 col-md-4">
|
<div class="col-xs-12 col-md-4">
|
||||||
<div class="container rounded">
|
<div class="container rounded">
|
||||||
<div id="screenshotsCarouselControls" class="carousel slide" data-ride="carousel">
|
<div id="screenshotsCarouselControls" class="carousel slide" data-bs-ride="carousel">
|
||||||
<div class="carousel-inner rounded">
|
<div class="carousel-inner rounded">
|
||||||
<div class="carousel-item">
|
<div class="carousel-item">
|
||||||
<img class="d-block w-100" src="/images/screenshots/1-en.png" alt="First slide">
|
<img class="d-block w-100" src="/images/screenshots/1-en.png" alt="First slide">
|
||||||
|
@ -33,23 +33,23 @@ linkTitle = "SelfPrivacy"
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ol class="carousel-indicators">
|
<ol class="carousel-indicators">
|
||||||
<li data-target="#screenshotsCarouselControls" data-slide-to="0" class="active"></li>
|
<li data-bs-target="#screenshotsCarouselControls" data-slide-to="0" class="active"></li>
|
||||||
<li data-target="#screenshotsCarouselControls" data-slide-to="1"></li>
|
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="1"></li>
|
||||||
<li data-target="#screenshotsCarouselControls" data-slide-to="2"></li>
|
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="2"></li>
|
||||||
<li data-target="#screenshotsCarouselControls" data-slide-to="3"></li>
|
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="3"></li>
|
||||||
<li data-target="#screenshotsCarouselControls" data-slide-to="4"></li>
|
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="4"></li>
|
||||||
<li data-target="#screenshotsCarouselControls" data-slide-to="5"></li>
|
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="5"></li>
|
||||||
<li data-target="#screenshotsCarouselControls" data-slide-to="6"></li>
|
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="6"></li>
|
||||||
</ol>
|
</ol>
|
||||||
<a class="carousel-control-prev" href="#screenshotsCarouselControls" role="button" data-slide="prev">
|
<button class="carousel-control-prev" type="button" data-bs-target="#screenshotsCarouselControls" data-bs-slide="prev">
|
||||||
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
||||||
<span class="sr-only">Previous</span>
|
<span class="visually-hidden">Previous</span>
|
||||||
</a>
|
</button>
|
||||||
<a class="carousel-control-next" href="#screenshotsCarouselControls" role="button" data-slide="next">
|
<button class="carousel-control-next" type="button" data-bs-target="#screenshotsCarouselControls" data-bs-slide="next">
|
||||||
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
||||||
<span class="sr-only">Next</span>
|
<span class="visually-hidden">Next</span>
|
||||||
</a>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-12 col-md-8 col-lg-6 my-auto">
|
<div class="col-xs-12 col-md-8 col-lg-6 my-auto">
|
||||||
|
|
|
@ -8,7 +8,7 @@ linkTitle = "SelfPrivacy"
|
||||||
<div class="flex-md-row flex-column-reverse d-flex justify-content-center align-content-center">
|
<div class="flex-md-row flex-column-reverse d-flex justify-content-center align-content-center">
|
||||||
<div class="col-xs-12 col-md-4">
|
<div class="col-xs-12 col-md-4">
|
||||||
<div class="container rounded">
|
<div class="container rounded">
|
||||||
<div id="screenshotsCarouselControls" class="carousel slide" data-ride="carousel">
|
<div id="screenshotsCarouselControls" class="carousel slide" data-bs-ride="carousel">
|
||||||
<div class="carousel-inner rounded">
|
<div class="carousel-inner rounded">
|
||||||
<div class="carousel-item">
|
<div class="carousel-item">
|
||||||
<img class="d-block w-100" src="/images/screenshots/1-ru.png" alt="Первый слайд">
|
<img class="d-block w-100" src="/images/screenshots/1-ru.png" alt="Первый слайд">
|
||||||
|
@ -33,24 +33,22 @@ linkTitle = "SelfPrivacy"
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ol class="carousel-indicators">
|
<ol class="carousel-indicators">
|
||||||
<li data-target="#screenshotsCarouselControls" data-slide-to="0" class="active"></li>
|
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="0" class="active"></li>
|
||||||
<li data-target="#screenshotsCarouselControls" data-slide-to="1"></li>
|
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="1"></li>
|
||||||
<li data-target="#screenshotsCarouselControls" data-slide-to="2"></li>
|
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="2"></li>
|
||||||
<li data-target="#screenshotsCarouselControls" data-slide-to="3"></li>
|
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="3"></li>
|
||||||
<li data-target="#screenshotsCarouselControls" data-slide-to="4"></li>
|
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="4"></li>
|
||||||
<li data-target="#screenshotsCarouselControls" data-slide-to="5"></li>
|
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="5"></li>
|
||||||
<li data-target="#screenshotsCarouselControls" data-slide-to="6"></li>
|
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="6"></li>
|
||||||
</ol>
|
</ol>
|
||||||
<a class="carousel-control-prev" href="#screenshotsCarouselControls" role="button"
|
<button class="carousel-control-prev" type="button" data-bs-target="#screenshotsCarouselControls" data-bs-slide="prev">
|
||||||
data-slide="prev">
|
|
||||||
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
||||||
<span class="sr-only">Previous</span>
|
<span class="visually-hidden">Назад</span>
|
||||||
</a>
|
</button>
|
||||||
<a class="carousel-control-next" href="#screenshotsCarouselControls" role="button"
|
<button class="carousel-control-next" type="button" data-bs-target="#screenshotsCarouselControls" data-bs-slide="next">
|
||||||
data-slide="next">
|
|
||||||
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
||||||
<span class="sr-only">Next</span>
|
<span class="visually-hidden">Далее</span>
|
||||||
</a>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue