four col thing
This commit is contained in:
4
assets/arrow-counterclockwise.svg
Normal file
4
assets/arrow-counterclockwise.svg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-counterclockwise" viewBox="0 0 16 16">
|
||||||
|
<path fill-rule="evenodd" d="M8 3a5 5 0 1 1-4.546 2.914.5.5 0 0 0-.908-.417A6 6 0 1 0 8 2z"/>
|
||||||
|
<path d="M8 4.466V.534a.25.25 0 0 0-.41-.192L5.23 2.308a.25.25 0 0 0 0 .384l2.36 1.966A.25.25 0 0 0 8 4.466"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 356 B |
3
assets/chat-dots-fill.svg
Normal file
3
assets/chat-dots-fill.svg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chat-dots-fill" viewBox="0 0 16 16">
|
||||||
|
<path d="M16 8c0 3.866-3.582 7-8 7a9 9 0 0 1-2.347-.306c-.584.296-1.925.864-4.181 1.234-.2.032-.352-.176-.273-.362.354-.836.674-1.95.77-2.966C.744 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7M5 8a1 1 0 1 0-2 0 1 1 0 0 0 2 0m4 0a1 1 0 1 0-2 0 1 1 0 0 0 2 0m3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 436 B |
4
assets/credit-card.svg
Normal file
4
assets/credit-card.svg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-credit-card" viewBox="0 0 16 16">
|
||||||
|
<path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v1h14V4a1 1 0 0 0-1-1zm13 4H1v5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1z"/>
|
||||||
|
<path d="M2 10a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1z"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 383 B |
3
assets/truck.svg
Normal file
3
assets/truck.svg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-truck" viewBox="0 0 16 16">
|
||||||
|
<path d="M0 3.5A1.5 1.5 0 0 1 1.5 2h9A1.5 1.5 0 0 1 12 3.5V5h1.02a1.5 1.5 0 0 1 1.17.563l1.481 1.85a1.5 1.5 0 0 1 .329.938V10.5a1.5 1.5 0 0 1-1.5 1.5H14a2 2 0 1 1-4 0H5a2 2 0 1 1-3.998-.085A1.5 1.5 0 0 1 0 10.5zm1.294 7.456A2 2 0 0 1 4.732 11h5.536a2 2 0 0 1 .732-.732V3.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .294.456M12 10a2 2 0 0 1 1.732 1h.768a.5.5 0 0 0 .5-.5V8.35a.5.5 0 0 0-.11-.312l-1.48-1.85A.5.5 0 0 0 13.02 6H12zm-9 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2m9 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 636 B |
7
tpl/flex_4_column_business_blocks.tpl
Normal file
7
tpl/flex_4_column_business_blocks.tpl
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<section class="four-column-blocks">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
{{#acfOption flex_four_column_content}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
@@ -103,6 +103,13 @@ class RadThemeEngine
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function acfOption()
|
||||||
|
{
|
||||||
|
return function ($template, $context, $args, $source) {
|
||||||
|
return get_field($args, "options");
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
public static function count()
|
public static function count()
|
||||||
{
|
{
|
||||||
return function ($template, $context, $args, $source) {
|
return function ($template, $context, $args, $source) {
|
||||||
|
|||||||
@@ -692,6 +692,7 @@ class Site
|
|||||||
"length" => \ofc\RadThemeEngine::count(),
|
"length" => \ofc\RadThemeEngine::count(),
|
||||||
"paginationLinks" => \ofc\RadThemeEngine::pagination(),
|
"paginationLinks" => \ofc\RadThemeEngine::pagination(),
|
||||||
"queryCount" => \ofc\RadThemeEngine::queryCount(),
|
"queryCount" => \ofc\RadThemeEngine::queryCount(),
|
||||||
|
"acfOption" => \ofc\RadThemeEngine::acfOption(),
|
||||||
];
|
];
|
||||||
foreach ($helpers as $name => $callback) {
|
foreach ($helpers as $name => $callback) {
|
||||||
$this->hb->addHelper($name, $callback);
|
$this->hb->addHelper($name, $callback);
|
||||||
|
|||||||
Reference in New Issue
Block a user