-
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
Showing
20 changed files
with
156 additions
and
259 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
File renamed without changes
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
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
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
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
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
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 |
---|---|---|
|
@@ -4,9 +4,5 @@ | |
<body> | ||
{{- partial "header.html" . -}} | ||
{{- block "main" . }}{{- end }} | ||
|
||
<!-- Loead bootstrap js script --> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-IDwe1+LCz02ROU9k972gdyvl+AESN10+x7tBKgc9I5HFtuNz0wWnPclzo6p9vxnk" crossorigin="anonymous"></script> | ||
</body> | ||
</html> |
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
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
15 changes: 15 additions & 0 deletions
15
themes/business/layouts/partials/components/accordion.html
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<div id='{{ partial "utils/anchor.html" . }}-accordion' class="accordion accordion-flush pt-3 px-2 px-xl-0"> | ||
{{ range $index, $element := .Pages }} | ||
<div class="accordion-item"> | ||
<div id='{{ partial "utils/anchor.html" . }}-heading' class="accordion-header"> | ||
<button class="accordion-button collapsed px-0" type="button" data-bs-toggle="collapse" data-bs-target='#{{ partial "utils/anchor.html" . }}-content' aria-expanded="false" aria-controls='{{ partial "utils/anchor.html" . }}-content'>{{ .Title }}</button> | ||
</div> | ||
<div id='{{ partial "utils/anchor.html" . }}-content' class="py-4 accordion-collapse collapse" aria-labelledby='{{ partial "utils/anchor.html" . }}-heading'> | ||
{{ .Content }} | ||
{{ range .Pages }} | ||
{{ .Content }} | ||
{{ end }} | ||
</div> | ||
</div> | ||
{{ end }} | ||
</div> |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col"> | ||
{{ range $index, $element := .Pages }} | ||
{{ if modBool $index 2 }} | ||
<div class="card d-flex my-4 p-4"> | ||
{{ .Content }} | ||
</div> | ||
{{ end }} | ||
{{ end }} | ||
</div> | ||
<div class="col"> | ||
{{ range $index, $element := .Pages }} | ||
{{ if eq (modBool $index 2) false }} | ||
<div class="card d-flex my-4 p-4"> | ||
{{ .Content }} | ||
</div> | ||
{{ end }} | ||
{{ end }} | ||
</div> | ||
</div> | ||
</div> |
29 changes: 11 additions & 18 deletions
29
themes/business/layouts/partials/components/carousel.html
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,20 +1,13 @@ | ||
<article id='{{ partial "utils/anchor.html" . }}' class="pt-2 px-0 pt-md-4 px-md-2 px-xl-3 pb-xl-5"> | ||
<header class="p-4 pb-2 px-md-0 post-header"> | ||
<h2 class="post-title">{{ .Title }}</h2> | ||
</header> | ||
<section class="post-content"> | ||
<div class="row"> | ||
<div class="carousel-inner container-fluid pb-4"> | ||
{{ range $index, $element := .Pages }} | ||
<div class="carousel-item {{ if (eq $index 0) }}active{{ end }}"> | ||
<div class="d-flex shadow my-auto"> | ||
<div class="carousel-item-text ms-0 px-4 p-md-4 blockqoute"> | ||
{{ .Content }} | ||
</div> | ||
</div> | ||
<div class="carsousel slide" data-bs-ride="carousel" data-bs-interval="6000" data-bs-touch="false" data-bs-keyboard="false"> | ||
<div class="carousel-inner container-fluid p-3 pb-4"> | ||
{{ range $index, $element := .Pages }} | ||
<div class="carousel-item {{ if (eq $index 0) }}active{{ end }}"> | ||
<div class="d-flex shadow"> | ||
<div class="carousel-item-text ms-0 px-4 p-md-4 blockqoute"> | ||
{{ .Content }} | ||
</div> | ||
{{ end }} | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</article> | ||
{{ end }} | ||
</div> | ||
</div> |
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,10 +1,5 @@ | ||
<article id='{{ partial "utils/anchor.html" . }}' class="pt-2 px-0 pt-md-4 px-md-2 px-xl-3 pb-xl-5"> | ||
<header class="post-header"> | ||
<h2 class="post-title">{{ .Title }}</h2> | ||
</header> | ||
<section class="post-content"> | ||
<div class="container-fluid d-flex p-0 mt-md-4"> | ||
{{ .Content }} | ||
</div> | ||
</section> | ||
</article> | ||
{{ range $index, $element := .Pages }} | ||
<div class="container-fluid p-0 mt-md-4"> | ||
{{ .Content }} | ||
</div> | ||
{{ end }} |
24 changes: 0 additions & 24 deletions
24
themes/business/layouts/partials/components/mobilenav.html
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -3,6 +3,9 @@ | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="description" content="{{ .Site.Params.description }}"> | ||
|
||
<!-- Loead bootstrap js script --> | ||
<script defer="defer" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-IDwe1+LCz02ROU9k972gdyvl+AESN10+x7tBKgc9I5HFtuNz0wWnPclzo6p9vxnk" crossorigin="anonymous"></script> | ||
|
||
{{/* css */}} | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/fork-awesome.min.css" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous"> | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.