mirror of
https://github.com/ivabus/www
synced 2024-11-26 18:55:06 +03:00
Made package grid section into a partial
This commit is contained in:
parent
2dbe0ba2f6
commit
60c38250c8
3 changed files with 51 additions and 42 deletions
|
@ -98,7 +98,7 @@
|
||||||
<div class="container package_before">
|
<div class="container package_before">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h2>a place for packages</h2>
|
<h2>Something about tea.</h2>
|
||||||
<p class="lead">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud.</p>
|
<p class="lead">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud.</p>
|
||||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -110,46 +110,7 @@
|
||||||
|
|
||||||
<!-- Package Grid -->
|
<!-- Package Grid -->
|
||||||
|
|
||||||
<section>
|
{{- partial "package-grid.html" . -}}
|
||||||
|
|
||||||
<!-- Package Grid Header -->
|
|
||||||
<hr>
|
|
||||||
<div class="container">
|
|
||||||
<h2 style="margin-bottom:-20px;">package center</h2>
|
|
||||||
</div>
|
|
||||||
<hr>
|
|
||||||
<div class="container package-grid">
|
|
||||||
|
|
||||||
<!-- Start Package Grid -->
|
|
||||||
|
|
||||||
<div class="row package-row black-bg g-0">
|
|
||||||
<div class="col-lg-3 col-md-4 col-sm-12 col-12">
|
|
||||||
{{- partial "package-thumbnail.html" . -}}
|
|
||||||
{{- partial "package-thumbnail.html" . -}}
|
|
||||||
{{- partial "package-thumbnail.html" . -}}
|
|
||||||
{{- partial "package-thumbnail.html" . -}}
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-3 col-md-4 col-sm-12 col-12">
|
|
||||||
{{- partial "package-thumbnail.html" . -}}
|
|
||||||
{{- partial "package-thumbnail.html" . -}}
|
|
||||||
{{- partial "package-thumbnail.html" . -}}
|
|
||||||
{{- partial "package-thumbnail.html" . -}}
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-3 col-md-4 col-sm-12 col-12">
|
|
||||||
{{- partial "package-thumbnail.html" . -}}
|
|
||||||
{{- partial "package-thumbnail.html" . -}}
|
|
||||||
{{- partial "package-thumbnail.html" . -}}
|
|
||||||
{{- partial "package-thumbnail.html" . -}}
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-3 col-md-4 col-sm-12 col-12">
|
|
||||||
{{- partial "package-thumbnail.html" . -}}
|
|
||||||
{{- partial "package-thumbnail.html" . -}}
|
|
||||||
{{- partial "package-thumbnail.html" . -}}
|
|
||||||
{{- partial "package-thumbnail.html" . -}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- Package CTA Section -->
|
<!-- Package CTA Section -->
|
||||||
|
|
||||||
|
|
42
src/layouts/partials/package-grid.html
Normal file
42
src/layouts/partials/package-grid.html
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
<!-- Package Grid -->
|
||||||
|
|
||||||
|
<section>
|
||||||
|
|
||||||
|
<!-- Package Grid Header -->
|
||||||
|
<hr>
|
||||||
|
<div class="container package-grid-header">
|
||||||
|
<h3 style="margin-bottom:-20px;">package center</h3>
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<div class="container package-grid">
|
||||||
|
|
||||||
|
<!-- Start Package Grid -->
|
||||||
|
|
||||||
|
<div class="row package-row black-bg g-0">
|
||||||
|
<div class="col-lg-3 col-md-4 col-sm-12 col-12">
|
||||||
|
{{- partial "package-thumbnail.html" . -}}
|
||||||
|
{{- partial "package-thumbnail.html" . -}}
|
||||||
|
{{- partial "package-thumbnail.html" . -}}
|
||||||
|
{{- partial "package-thumbnail.html" . -}}
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-3 col-md-4 col-sm-12 col-12">
|
||||||
|
{{- partial "package-thumbnail.html" . -}}
|
||||||
|
{{- partial "package-thumbnail.html" . -}}
|
||||||
|
{{- partial "package-thumbnail.html" . -}}
|
||||||
|
{{- partial "package-thumbnail.html" . -}}
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-3 col-md-4 col-sm-12 col-12">
|
||||||
|
{{- partial "package-thumbnail.html" . -}}
|
||||||
|
{{- partial "package-thumbnail.html" . -}}
|
||||||
|
{{- partial "package-thumbnail.html" . -}}
|
||||||
|
{{- partial "package-thumbnail.html" . -}}
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-3 col-md-4 col-sm-12 col-12">
|
||||||
|
{{- partial "package-thumbnail.html" . -}}
|
||||||
|
{{- partial "package-thumbnail.html" . -}}
|
||||||
|
{{- partial "package-thumbnail.html" . -}}
|
||||||
|
{{- partial "package-thumbnail.html" . -}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
|
@ -292,8 +292,9 @@ hr{
|
||||||
|
|
||||||
.impact-section{
|
.impact-section{
|
||||||
background-image: url("/Images/impact-section-grid.svg");
|
background-image: url("/Images/impact-section-grid.svg");
|
||||||
|
background-attachment: fixed;
|
||||||
background-repeat: repeat-y;
|
background-repeat: repeat-y;
|
||||||
background-size: cover;
|
background-size: contain;
|
||||||
padding-top: 3.5vw;
|
padding-top: 3.5vw;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
@ -307,6 +308,11 @@ hr{
|
||||||
padding-bottom: 12.556vw;
|
padding-bottom: 12.556vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.package-grid-header{
|
||||||
|
padding-top:0.5vw;
|
||||||
|
padding-bottom: 2.9vw;
|
||||||
|
}
|
||||||
|
|
||||||
.package-cta{
|
.package-cta{
|
||||||
background-image: url("/Images/x-large-grid.svg");
|
background-image: url("/Images/x-large-grid.svg");
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
|
|
Loading…
Reference in a new issue