forked from 40Q/acf-gutenberg
-
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
5 changed files
with
50 additions
and
31 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<section class="g-py-100"> | ||
|
||
<div class="container"> | ||
<div class="row no-gutters"> | ||
<?php if ($block->columns): foreach ($block->columns as $column): ?> | ||
<div class="col-lg-4 g-px-40 g-mb-50 g-mb-0--lg"> | ||
<!-- Icon Blocks --> | ||
<div class="text-center"> | ||
<span class="d-inline-block u-icon-v3 u-icon-size--xl g-bg-primary g-color-white rounded-circle g-mb-30"> | ||
<i class="<?php echo e($column['icon']); ?> u-line-icon-pro"></i> | ||
</span> | ||
<h3 class="h5 g-color-gray-dark-v2 g-font-weight-600 text-uppercase mb-3"><?php echo e($column['title']); ?></h3> | ||
<p class="mb-0"><?php echo $column['content']; ?></p> | ||
</div> | ||
<!-- End Icon Blocks --> | ||
</div> | ||
<?php endforeach; endif; ?> | ||
</div> | ||
</div> | ||
</section> |
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,25 @@ | ||
<section class="g-pos-rel"> | ||
<div class="dzsparallaxer auto-init height-is-based-on-content use-loading mode-scroll loaded dzsprx-readyall" data-options="{direction: 'reverse', settings_mode_oneelement_max_offset: '150'}"> | ||
<div class="divimage dzsparallaxer--target w-100 g-bg-cover g-bg-pos-top-center g-bg-img-hero g-bg-bluegray-opacity-0_2--after" style="height: 130%; background-image: url(<?= $block->image['url']; ?>); transform: translate3d(0px, -60.1227px, 0px);"></div> | ||
|
||
<div class="container g-bg-cover__inner g-py-100"> | ||
<div class="row align-items-center"> | ||
<div class="col-lg-6 g-mb-30 g-mb-0--lg"> | ||
<h2 class="h1 text-uppercase g-color-white g-mb-30"> | ||
<?= $block->heading; ?> | ||
</h2> | ||
<h3 class="h4 g-color-white"> | ||
<?= get_field('intro'); ?> | ||
</h3> | ||
</div> | ||
<div class="col-lg-6"> | ||
<!-- Vimeo Example --> | ||
<div class="embed-responsive embed-responsive-16by9"> | ||
<iframe src="<?= $block->video_url; ?>" width="530" height="300" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe> | ||
</div> | ||
<!-- End Vimeo Example --> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> |
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