-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
717de10
commit 9158fb7
Showing
2 changed files
with
47 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,47 @@ | ||
{{ define "main" }} | ||
<div class="home"> | ||
<div class="container"> | ||
{{/* {{ partial components/hero.quotes.html }} */}} | ||
<div class="col-lg-9 m-auto py-5"> | ||
<h2 class="text-center py-3">{{i18n "recentPosts"}}</h2> | ||
<div class="row"> | ||
{{ partial "listitem.html" . }} | ||
</div> | ||
<div class="container"> | ||
<section class="container quotes banner"> | ||
<div class="row align-items-center justify-content-center"> | ||
<div class="col-lg-6"> | ||
<div class="ps-lg-5"> | ||
<img alt="উদ্ধৃতি ছবি" class="w-100" src="/uploads/Aishik_Rehman.svg" width="1412"> | ||
</div> | ||
</div> | ||
<div class="col-lg-6"> | ||
<div class="carousel carousel-dark slide" data-interval="5000" data-bs-ride="carousel" | ||
id="QuoteCarousel"> | ||
<div class="carousel-inner" style="min-height: 250px;"> | ||
{{ range $index, $quote := .Site.Data.quotes }} | ||
<div class="carousel-item{{ if eq $index 0 }} active{{ end }}"> | ||
<div class="row d-flex justify-content-center"> | ||
<div class="d-flex"> | ||
<div class="flex-grow-1 ms-4 ps-3"> | ||
<h4 class="mb-4">{{ $quote.q }}</h4> | ||
<h6>--ঐশিক রেহমান</h6> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{{ end }} | ||
</div> | ||
<div class="carousel-indicators"> | ||
{{ range $index, $quote := .Site.Data.quotes }} | ||
<button data-bs-slide-to="{{ $index }}" data-bs-target="#QuoteCarousel" | ||
class="{{ if eq $index 0 }}active{{ end }}"></button> | ||
{{ end }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
<div class="col-lg-9 m-auto py-5"> | ||
<h2 class="text-center py-3">{{i18n "recentPosts"}}</h2> | ||
<div class="row"> | ||
{{ partial "listitem.html" . }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters