first commit
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.5
|
||||
*
|
||||
* Hero Section
|
||||
*
|
||||
* slug: alternating-feature-columns
|
||||
* title: Alternating feature columns
|
||||
* categories: raft
|
||||
* keywords: hero, section, features, columns
|
||||
*/
|
||||
|
||||
$strings = array(
|
||||
'learn_more' => __( 'Learn More', 'raft' ),
|
||||
);
|
||||
|
||||
$images = array(
|
||||
RAFT_URL . 'assets/img/shape-010.svg',
|
||||
RAFT_URL . 'assets/img/shape-011.svg',
|
||||
);
|
||||
|
||||
return array(
|
||||
'title' => __( 'Alternating feature columns', 'raft' ),
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","right":"0px","left":"0px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"0px"}},"layout":{"inherit":false}} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:columns {"verticalAlignment":"center","style":{"spacing":{"blockGap":"0px"}}} -->
|
||||
<div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","style":{"spacing":{"padding":{"top":"32px","right":"32px","bottom":"32px","left":"32px"}}}} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center" style="padding-top:32px;padding-right:32px;padding-bottom:32px;padding-left:32px"><!-- wp:group {"layout":{"inherit":false,"contentSize":"600px","type":"constrained"},"otterConditions":[]} -->
|
||||
<div class="wp-block-group"><!-- wp:heading -->
|
||||
<h2>Lorem ipsum</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"className":"is-style-primary","otterConditions":[]} -->
|
||||
<div class="wp-block-button is-style-primary"><a class="wp-block-button__link wp-element-button">' . esc_html( $strings['learn_more'] ) . '</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"verticalAlignment":"center","style":{"spacing":{"padding":{"top":"32px","right":"32px","bottom":"32px","left":"32px"}}},"backgroundColor":"raft-bg-alt"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center has-raft-bg-alt-background-color has-background" style="padding-top:32px;padding-right:32px;padding-bottom:32px;padding-left:32px"><!-- wp:image {"align":"center","sizeSlug":"full","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image aligncenter size-full"><img src="' . esc_url( $images[0] ) . '" alt=""/></figure>
|
||||
<!-- /wp:image --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns -->
|
||||
|
||||
<!-- wp:columns {"verticalAlignment":"center","style":{"spacing":{"blockGap":"0px"}}} -->
|
||||
<div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","style":{"spacing":{"padding":{"top":"32px","right":"32px","bottom":"32px","left":"32px"}}},"backgroundColor":"raft-bg-alt"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center has-raft-bg-alt-background-color has-background" style="padding-top:32px;padding-right:32px;padding-bottom:32px;padding-left:32px"><!-- wp:image {"align":"center","sizeSlug":"full","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image aligncenter size-full"><img src="' . esc_url( $images[1] ) . '" alt=""/></figure>
|
||||
<!-- /wp:image --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"verticalAlignment":"center","style":{"spacing":{"padding":{"top":"32px","right":"32px","bottom":"32px","left":"32px"}}}} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center" style="padding-top:32px;padding-right:32px;padding-bottom:32px;padding-left:32px"><!-- wp:group {"layout":{"inherit":false,"contentSize":"600px","type":"constrained"},"otterConditions":[]} -->
|
||||
<div class="wp-block-group"><!-- wp:heading -->
|
||||
<h2>Lorem ipsum</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"className":"is-style-primary","otterConditions":[]} -->
|
||||
<div class="wp-block-button is-style-primary"><a class="wp-block-button__link wp-element-button">' . esc_html( $strings['learn_more'] ) . '</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns --></div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.5
|
||||
*
|
||||
* slug: call-to-action-2
|
||||
* title: Call to action 2
|
||||
* categories: raft
|
||||
* keywords: section, cta, button
|
||||
*/
|
||||
|
||||
return array(
|
||||
'title' => __( 'Call to action', 'raft' ) . ' 2',
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"inherit":true,"type":"constrained"},"otterConditions":[]} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:group {"align":"wide","layout":{"inherit":false}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:columns -->
|
||||
<div class="wp-block-columns"><!-- wp:column {"width":"50%"} -->
|
||||
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:heading {"fontSize":"huge"} -->
|
||||
<h2 class="has-huge-font-size">Lorem ipsum sit dolor</h2>
|
||||
<!-- /wp:heading --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"width":"50%"} -->
|
||||
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:paragraph {"align":"left","fontSize":"large"} -->
|
||||
<p class="has-text-align-left has-large-font-size">Ed ut perspiciatis unde omnis iste natus error sit voluptatem.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons {"layout":{"type":"flex"}} -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"className":"is-style-primary is-style-fill","otterConditions":[]} -->
|
||||
<div class="wp-block-button is-style-primary is-style-fill"><a class="wp-block-button__link wp-element-button">' . esc_html__( 'Learn More', 'raft' ) . '</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: call-to-action
|
||||
* title: Call to action
|
||||
* categories: raft
|
||||
* keywords: section, cta, button
|
||||
*/
|
||||
|
||||
return array(
|
||||
'title' => __( 'Call to action', 'raft' ),
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"blockGap":"40px","margin":{"top":"0px","bottom":"0px"}}},"backgroundColor":"raft-accent","textColor":"raft-fg-alt","layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group alignfull has-raft-fg-alt-color has-raft-accent-background-color has-text-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px">
|
||||
<!-- wp:heading {"textAlign":"center","textColor":"raft-fg-alt"} -->
|
||||
<h2 class="has-text-align-center has-raft-fg-alt-color has-text-color">Lorem ipsum sit dolor!</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
|
||||
<div class="wp-block-buttons">
|
||||
<!-- wp:button {"textColor":"raft-fg-alt","className":"is-style-outline"} -->
|
||||
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link has-raft-fg-alt-color has-text-color">Lorem ipsum</a></div>
|
||||
<!-- /wp:button -->
|
||||
</div>
|
||||
<!-- /wp:buttons -->
|
||||
</div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
@@ -0,0 +1,62 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.5
|
||||
*
|
||||
* slug: content-columns-with-hero
|
||||
* title: Content columns with hero
|
||||
* categories: raft
|
||||
* keywords: section, content, columns, hero
|
||||
*/
|
||||
|
||||
return array(
|
||||
'title' => __( 'Content columns with hero', 'raft' ),
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"backgroundColor":"raft-bg-alt","layout":{"inherit":true,"type":"constrained"},"otterConditions":[]} -->
|
||||
<div class="wp-block-group alignfull has-raft-bg-alt-background-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:group {"layout":{"inherit":false}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","fontSize":"huge"} -->
|
||||
<h2 class="has-text-align-center has-huge-font-size">Lorem ipsum sit dolor</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"large"} -->
|
||||
<p class="has-text-align-center has-large-font-size">Ed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:spacer {"height":"40px"} -->
|
||||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"wide","layout":{"inherit":false}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:columns -->
|
||||
<div class="wp-block-columns"><!-- wp:column {"verticalAlignment":"center"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:heading {"level":3} -->
|
||||
<h3>Lorem ipsum</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Ed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3>Dolor si amet</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Ed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column"><!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-full"><img src="' . esc_url( RAFT_URL . 'assets/img/shape-05.svg' ) . '" alt=""/></figure>
|
||||
<!-- /wp:image --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: cover-background
|
||||
* title: Cover title with background
|
||||
* categories: raft
|
||||
* keywords: cover, section, header, hero
|
||||
*/
|
||||
|
||||
$hero_illustration = RAFT_URL . 'assets/img/raft-cover-bg.svg';
|
||||
|
||||
$strings = array(
|
||||
'title' => __( 'This is a cover with a background image', 'raft' ),
|
||||
'byline' => 'Lorem ipsum dolor',
|
||||
'button' => __( 'This is a button', 'raft' ),
|
||||
);
|
||||
|
||||
return array(
|
||||
'title' => __( 'Cover title with background', 'raft' ),
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:cover {"url":"' . esc_url( $hero_illustration ) . '","dimRatio":60,"overlayColor":"black","minHeight":60,"minHeightUnit":"vh","align":"full","style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"}}}} -->
|
||||
<div class="wp-block-cover alignfull" style="padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px;min-height:60vh">
|
||||
<span aria-hidden="true" class="wp-block-cover__background has-black-background-color has-background-dim-60 has-background-dim"></span>
|
||||
<img class="wp-block-cover__image-background" alt="" src="' . esc_url( $hero_illustration ) . '" data-object-fit="cover"/>
|
||||
<div class="wp-block-cover__inner-container">
|
||||
|
||||
<!-- wp:group {"textColor":"raft-fg-alt","layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group has-raft-fg-alt-color has-text-color">
|
||||
|
||||
<!-- wp:heading {"fontSize":"huge"} -->
|
||||
<h2 class="has-huge-font-size">' . esc_html( $strings['title'] ) . '</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">' . esc_html( $strings['byline'] ) . '</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons">
|
||||
<!-- wp:button -->
|
||||
<div class="wp-block-button"><a class="wp-block-button__link">' . esc_html( $strings['button'] ) . '</a></div>
|
||||
<!-- /wp:button -->
|
||||
</div>
|
||||
|
||||
<!-- /wp:buttons -->
|
||||
</div>
|
||||
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- /wp:cover -->',
|
||||
);
|
||||
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: faq-section
|
||||
* title: Frequently asked questions
|
||||
* categories: raft
|
||||
* keywords: section, faq, frequently, asked, boxes
|
||||
*/
|
||||
|
||||
$column_markup = '
|
||||
<!-- wp:column {"style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"}}},"backgroundColor":"raft-bg-alt"} -->
|
||||
<div class="wp-block-column has-raft-bg-alt-background-color has-background" style="padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px">
|
||||
|
||||
<!-- wp:heading {"level":3,"fontSize":"medium"} -->
|
||||
<h3 class="has-medium-font-size">Lorem ipsum sit dolor</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Ed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
';
|
||||
|
||||
$strings = array(
|
||||
'title' => __( 'Frequently asked questions', 'raft' ),
|
||||
'byline' => __( 'Have questions? We have the answers!', 'raft' ),
|
||||
'button' => __( 'See More FAQs', 'raft' ),
|
||||
);
|
||||
|
||||
return array(
|
||||
'title' => $strings['title'],
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px">
|
||||
<!-- wp:heading {"textAlign":"center","className":"is-style-default"} -->
|
||||
<h2 class="has-text-align-center is-style-default">' . esc_html( $strings['title'] ) . '</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"normal"} -->
|
||||
<p class="has-text-align-center has-normal-font-size">' . esc_html( $strings['byline'] ) . '</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
|
||||
<div class="wp-block-buttons">
|
||||
<!-- wp:button {"textColor":"raft-fg-alt"} -->
|
||||
<div class="wp-block-button">
|
||||
<a class="wp-block-button__link has-raft-fg-alt-color has-text-color">' . esc_html( $strings['button'] ) . '</a>
|
||||
</div>
|
||||
<!-- /wp:button -->
|
||||
</div>
|
||||
<!-- /wp:buttons -->
|
||||
|
||||
<!-- wp:spacer {"height":"40px"} -->
|
||||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:group {"align":"wide"} -->
|
||||
<div class="wp-block-group alignwide">
|
||||
|
||||
<!-- wp:columns -->
|
||||
<div class="wp-block-columns">' . wp_kses_post( $column_markup . $column_markup ) . '</div>
|
||||
<!-- /wp:columns -->
|
||||
|
||||
<!-- wp:columns -->
|
||||
<div class="wp-block-columns">' . wp_kses_post( $column_markup . $column_markup ) . '</div>
|
||||
<!-- /wp:columns -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.5
|
||||
*
|
||||
* slug: hero-with-columns
|
||||
* title: Hero section with columns
|
||||
* categories: raft
|
||||
* keywords: section, hero, columns
|
||||
*/
|
||||
|
||||
$strings = array(
|
||||
'title' => __( 'Hero section with columns', 'raft' ),
|
||||
'learn_more' => __( 'Learn More', 'raft' ),
|
||||
);
|
||||
|
||||
$image = RAFT_URL . 'assets/img/shape-05.svg';
|
||||
|
||||
|
||||
return array(
|
||||
'title' => $strings['title'],
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"blockGap":"32px","margin":{"top":"0px","bottom":"0px"}}},"layout":{"inherit":true,"type":"constrained"},"otterConditions":[]} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"32px"}},"otterConditions":[]} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:spacer {"height":"64px"} -->
|
||||
<div style="height:64px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"xxl"} -->
|
||||
<h1 class="has-text-align-center has-xxl-font-size">' . esc_html( $strings['title'] ) . '</h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
|
||||
<p class="has-text-align-center has-medium-font-size">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"backgroundColor":"raft-accent"} -->
|
||||
<hr class="wp-block-separator has-text-color has-raft-accent-color has-alpha-channel-opacity has-raft-accent-background-color has-background"/>
|
||||
<!-- /wp:separator -->
|
||||
|
||||
<!-- wp:columns -->
|
||||
<div class="wp-block-columns"><!-- wp:column {"verticalAlignment":"top","style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"}}},"backgroundColor":"raft-bg-alt"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-top has-raft-bg-alt-background-color has-background" style="padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px">
|
||||
<!-- wp:image {"width":150,"height":150,"sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->
|
||||
<figure class="wp-block-image size-full is-resized is-style-rounded"><img src="' . esc_url( $image ) . '" alt="" width="150" height="150"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:heading {"fontSize":"medium"} -->
|
||||
<h2 class="has-medium-font-size">Lorem ipsum</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"style":{"spacing":{"padding":{"top":"8px","right":"16px","bottom":"8px","left":"16px"}}},"className":"is-style-fill","otterConditions":[]} -->
|
||||
<div class="wp-block-button is-style-fill"><a class="wp-block-button__link wp-element-button" style="padding-top:8px;padding-right:16px;padding-bottom:8px;padding-left:16px">' . esc_html( $strings['learn_more'] ) . '</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"verticalAlignment":"top","style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"}}},"backgroundColor":"raft-bg-alt"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-top has-raft-bg-alt-background-color has-background" style="padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px">
|
||||
<!-- wp:image {"width":150,"height":150,"sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->
|
||||
<figure class="wp-block-image size-full is-resized is-style-rounded"><img src="' . esc_url( $image ) . '" alt="" width="150" height="150"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:heading {"fontSize":"medium"} -->
|
||||
<h2 class="has-medium-font-size">Lorem ipsum</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing. sed do eiusmod tempor incididunt ut labore et dolore.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"style":{"spacing":{"padding":{"top":"8px","right":"16px","bottom":"8px","left":"16px"}}},"className":"is-style-fill","otterConditions":[]} -->
|
||||
<div class="wp-block-button is-style-fill"><a class="wp-block-button__link wp-element-button" style="padding-top:8px;padding-right:16px;padding-bottom:8px;padding-left:16px">' . esc_html( $strings['learn_more'] ) . '</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"verticalAlignment":"top","style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"}}},"backgroundColor":"raft-bg-alt"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-top has-raft-bg-alt-background-color has-background" style="padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px">
|
||||
<!-- wp:image {"width":150,"height":150,"sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->
|
||||
<figure class="wp-block-image size-full is-resized is-style-rounded"><img src="' . esc_url( $image ) . '" alt="" width="150" height="150"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:heading {"fontSize":"medium"} -->
|
||||
<h2 class="has-medium-font-size">Lorem ipsum</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"style":{"spacing":{"padding":{"top":"8px","right":"16px","bottom":"8px","left":"16px"}}},"className":"is-style-fill","otterConditions":[]} -->
|
||||
<div class="wp-block-button is-style-fill"><a class="wp-block-button__link wp-element-button" style="padding-top:8px;padding-right:16px;padding-bottom:8px;padding-left:16px">' . esc_html( $strings['learn_more'] ) . '</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns -->
|
||||
|
||||
<!-- wp:spacer {"height":"64px"} -->
|
||||
<div style="height:64px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.0
|
||||
*
|
||||
* Hero Section
|
||||
*
|
||||
* slug: hero
|
||||
* title: Hero Section
|
||||
* categories: raft
|
||||
* keywords: hero, section, header, hero section, hero header, hero section header, hero header section, hero header section
|
||||
*/
|
||||
|
||||
$hero_illustration = RAFT_URL . 'assets/img/raft-illustration.svg';
|
||||
|
||||
$strings = array(
|
||||
'title' => __( 'Block-based websites made simple.', 'raft' ),
|
||||
'subtitle' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor ut labore et dolore magna aliqua.',
|
||||
'button' => __( 'Learn More', 'raft' ),
|
||||
);
|
||||
|
||||
return array(
|
||||
'title' => __( 'Hero section', 'raft' ),
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"blockGap":"24px","margin":{"top":"0px","bottom":"0px"}}},"backgroundColor":"raft-bg-alt","layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group has-raft-bg-alt-background-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px">
|
||||
|
||||
<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"huge"} -->
|
||||
<h1 class="has-text-align-center has-huge-font-size">' . esc_html( $strings['title'] ) . '</h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
|
||||
<p class="has-text-align-center has-medium-font-size">' . esc_html( $strings['subtitle'] ) . '</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
|
||||
<div class="wp-block-buttons">
|
||||
|
||||
<!-- wp:button {"textColor":"raft-fg-alt"} -->
|
||||
<div class="wp-block-button">
|
||||
<a class="wp-block-button__link has-raft-fg-alt-color has-text-color">' . esc_html( $strings['button'] ) . '</a>
|
||||
</div>
|
||||
<!-- /wp:button -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:buttons -->
|
||||
|
||||
<!-- wp:spacer {"height":"3vw"} -->
|
||||
<div style="height:3vw" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:image {"align":"center","sizeSlug":"large","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image aligncenter size-large">
|
||||
<img src="' . esc_url( $hero_illustration ) . '" alt="Hero Illustration"/>
|
||||
</figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,82 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.5
|
||||
*
|
||||
* slug: horizontal-content-cards
|
||||
* title: Horizontal content cards
|
||||
* categories: raft
|
||||
* keywords: section, content, card, image, text
|
||||
*/
|
||||
|
||||
$strings = array(
|
||||
'learn_more' => __( 'Learn More', 'raft' ),
|
||||
);
|
||||
|
||||
|
||||
$images = array(
|
||||
RAFT_URL . 'assets/img/shape-05.svg',
|
||||
RAFT_URL . 'assets/img/shape-09.svg',
|
||||
);
|
||||
|
||||
return array(
|
||||
'title' => __( 'Horizontal content cards', 'raft' ),
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"inherit":true,"type":"constrained"},"otterConditions":[]} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:group {"align":"wide","layout":{"inherit":false}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:columns {"verticalAlignment":"center","style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"blockGap":"0px"}},"backgroundColor":"raft-bg-alt"} -->
|
||||
<div class="wp-block-columns are-vertically-aligned-center has-raft-bg-alt-background-color has-background" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:column {"verticalAlignment":"center","width":"33%"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:33%">
|
||||
<!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-full"><img src="' . esc_url( $images[0] ) . '" alt=""/></figure>
|
||||
<!-- /wp:image --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"verticalAlignment":"center","style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"}}}} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center" style="padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px"><!-- wp:heading {"level":3} -->
|
||||
<h3>Lorem ipsum</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"className":"is-style-primary","otterConditions":[]} -->
|
||||
<div class="wp-block-button is-style-primary"><a class="wp-block-button__link wp-element-button">' . esc_html( $strings['learn_more'] ) . '</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns -->
|
||||
|
||||
<!-- wp:columns {"verticalAlignment":"center","style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"blockGap":"0px"}},"backgroundColor":"raft-bg-alt"} -->
|
||||
<div class="wp-block-columns are-vertically-aligned-center has-raft-bg-alt-background-color has-background" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:column {"verticalAlignment":"center","width":"33%"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:33%">
|
||||
<!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-full"><img src="' . esc_url( $images[1] ) . '" alt=""/></figure>
|
||||
<!-- /wp:image --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"verticalAlignment":"center","style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"}}}} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center" style="padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px"><!-- wp:heading {"level":3} -->
|
||||
<h3>Lorem ipsum</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"className":"is-style-primary","otterConditions":[]} -->
|
||||
<div class="wp-block-button is-style-primary"><a class="wp-block-button__link wp-element-button">' . esc_html( $strings['learn_more'] ) . '</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
@@ -0,0 +1,88 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: img-gallery
|
||||
* title: Image Gallery with title
|
||||
* categories: raft
|
||||
* keywords: gallery, images
|
||||
*/
|
||||
|
||||
$illustrations = array(
|
||||
'shape-01.svg',
|
||||
'shape-05.svg',
|
||||
'shape-04.svg',
|
||||
|
||||
'shape-03.svg',
|
||||
'shape-02.svg',
|
||||
);
|
||||
|
||||
$illustrations_markup = '';
|
||||
|
||||
$strings = array(
|
||||
'title' => __( 'Image Gallery with title', 'raft' ),
|
||||
'byline' => __( 'Add your text, and replace with your images', 'raft' ),
|
||||
'button' => __( 'View more photos', 'raft' ),
|
||||
);
|
||||
|
||||
foreach ( $illustrations as $illustration ) {
|
||||
$illustrations_markup .= '<!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->';
|
||||
$illustrations_markup .= '<figure class="wp-block-image size-full">';
|
||||
$illustrations_markup .= '<img src="' . esc_url( RAFT_URL . 'assets/img/' . $illustration ) . '" alt="Illustration"/>';
|
||||
$illustrations_markup .= '</figure>';
|
||||
$illustrations_markup .= '<!-- /wp:image -->';
|
||||
}
|
||||
|
||||
|
||||
return array(
|
||||
'title' => $strings['title'],
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px">
|
||||
<!-- wp:heading {"textAlign":"center"} -->
|
||||
<h2 class="has-text-align-center">' . esc_html( $strings['title'] ) . '</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center"} -->
|
||||
<p class="has-text-align-center">' . esc_html( $strings['byline'] ) . '</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"align":"wide"} -->
|
||||
<div class="wp-block-group alignwide">
|
||||
<!-- wp:columns -->
|
||||
<div class="wp-block-columns">
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column">
|
||||
|
||||
<!-- wp:gallery {"imageCrop":false,"linkTo":"none","sizeSlug":"full","align":"center"} -->
|
||||
<figure class="wp-block-gallery aligncenter has-nested-images columns-default">' . wp_kses_post( $illustrations_markup ) . '</figure>
|
||||
<!-- /wp:gallery -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
|
||||
<div class="wp-block-buttons">
|
||||
<!-- wp:button {"textColor":"raft-fg-alt"} -->
|
||||
<div class="wp-block-button">
|
||||
<a class="wp-block-button__link has-raft-fg-alt-color has-text-color">' . esc_html( $strings['button'] ) . '</a>
|
||||
</div>
|
||||
<!-- /wp:button -->
|
||||
</div>
|
||||
<!-- /wp:buttons -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,98 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: inverted-background
|
||||
* title: Inverted background
|
||||
* categories: raft
|
||||
* keywords: section, background, inverted, image, features
|
||||
*/
|
||||
|
||||
$illustrations = array(
|
||||
'shape-01.svg',
|
||||
'shape-04.svg',
|
||||
);
|
||||
|
||||
$strings = array(
|
||||
'title' => __( 'Inverted background', 'raft' ),
|
||||
);
|
||||
|
||||
return array(
|
||||
'title' => $strings['title'],
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"backgroundColor":"raft-fg","textColor":"raft-bg","layout":{"inherit":false,"wideSize":"960px"}} -->
|
||||
<div class="wp-block-group alignfull has-raft-bg-color has-raft-fg-background-color has-text-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px">
|
||||
|
||||
<!-- wp:group -->
|
||||
<div class="wp-block-group">
|
||||
|
||||
<!-- wp:columns -->
|
||||
<div class="wp-block-columns">
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column">
|
||||
|
||||
<!-- wp:heading -->
|
||||
<h2>' . esc_html( $strings['title'] ) . '</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Lorem ipsum dolor sit amet.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column">
|
||||
|
||||
<!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-full">
|
||||
<img src="' . esc_url( RAFT_URL . 'assets/img/' . $illustrations[0] ) . '" alt="Illustration"/>
|
||||
</figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3>Lorem ipsum</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Ed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column">
|
||||
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3>Lorem ipsum</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-full">
|
||||
<img src="' . esc_url( RAFT_URL . 'assets/img/' . $illustrations[1] ) . '" alt="Illustration"/>
|
||||
</figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:columns -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.5
|
||||
*
|
||||
* slug: inverted-gallery-with-title
|
||||
* title: Inverted gallery with title
|
||||
* categories: raft
|
||||
* keywords: section, gallery, image, title, images
|
||||
*/
|
||||
|
||||
$strings = array(
|
||||
'title' => __( 'Inverted gallery with title', 'raft' ),
|
||||
);
|
||||
|
||||
$images = array(
|
||||
RAFT_URL . 'assets/img/shape-01.svg',
|
||||
RAFT_URL . 'assets/img/shape-07.svg',
|
||||
RAFT_URL . 'assets/img/shape-06.svg',
|
||||
RAFT_URL . 'assets/img/shape-05.svg',
|
||||
RAFT_URL . 'assets/img/shape-08.svg',
|
||||
|
||||
);
|
||||
|
||||
return array(
|
||||
'title' => $strings['title'],
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"backgroundColor":"raft-fg","textColor":"raft-bg","layout":{"inherit":true,"type":"constrained"},"otterConditions":[]} -->
|
||||
<div class="wp-block-group alignfull has-raft-bg-color has-raft-fg-background-color has-text-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:group {"align":"wide","layout":{"inherit":false}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:columns -->
|
||||
<div class="wp-block-columns"><!-- wp:column {"width":"30%"} -->
|
||||
<div class="wp-block-column" style="flex-basis:30%"><!-- wp:heading -->
|
||||
<h2>' . esc_html( $strings['title'] ) . '</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Ed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"width":"70%"} -->
|
||||
<div class="wp-block-column" style="flex-basis:70%"><!-- wp:gallery {"linkTo":"none"} -->
|
||||
<figure class="wp-block-gallery has-nested-images columns-default is-cropped"><!-- wp:image {"sizeSlug":"large","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-large"><img src="' . $images[0] . '" alt=""/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:image {"sizeSlug":"large","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-large"><img src="' . $images[1] . '" alt=""/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:image {"sizeSlug":"large","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-large"><img src="' . $images[2] . '" alt=""/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:image {"sizeSlug":"large","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-large"><img src="' . $images[3] . '" alt=""/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:image {"sizeSlug":"large","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-large"><img src="' . $images[4] . '" alt=""/></figure>
|
||||
<!-- /wp:image --></figure>
|
||||
<!-- /wp:gallery --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.5
|
||||
*
|
||||
* slug: posts-query-loop-2
|
||||
* title: Posts Query loop 2
|
||||
* categories: raft
|
||||
* keywords: section, blog, posts, latest
|
||||
*/
|
||||
|
||||
$strings = array(
|
||||
'title' => __( 'Posts Query loop', 'raft' ) . ' 2',
|
||||
'no_posts' => __( 'Unfortunately no posts were found', 'raft' ),
|
||||
);
|
||||
|
||||
return array(
|
||||
'title' => $strings['title'],
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"inherit":true,"type":"constrained"},"otterConditions":[]} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:query {"queryId":3,"query":{"perPage":"4","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"displayLayout":{"type":"flex","columns":2},"align":"wide"} -->
|
||||
<div class="wp-block-query alignwide"><!-- wp:post-template -->
|
||||
<!-- wp:post-featured-image {"height":"","align":"center"} /-->
|
||||
|
||||
<!-- wp:post-date {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"small"} /-->
|
||||
|
||||
<!-- wp:post-title /-->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:spacer {"height":"80px"} -->
|
||||
<div style="height:80px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination -->
|
||||
|
||||
<!-- wp:query-no-results -->
|
||||
<!-- wp:paragraph {"backgroundColor":"raft-bg-alt"} -->
|
||||
<p class="has-raft-bg-alt-background-color has-background">' . esc_html( $strings['no_posts'] ) . '</p>
|
||||
<!-- /wp:paragraph -->
|
||||
<!-- /wp:query-no-results --></div>
|
||||
<!-- /wp:query --></div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
@@ -0,0 +1,69 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: posts-query-loop
|
||||
* title: Posts Query loop
|
||||
* categories: raft
|
||||
* keywords: section, blog, posts, latest
|
||||
*/
|
||||
|
||||
$strings = array(
|
||||
'button' => __( 'Go to post', 'raft' ),
|
||||
'title' => __( 'Posts Query loop', 'raft' ),
|
||||
'no_posts' => __( 'Unfortunately no posts were found', 'raft' ),
|
||||
);
|
||||
|
||||
return array(
|
||||
'title' => $strings['title'],
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px">
|
||||
<!-- wp:heading -->
|
||||
<h2>' . esc_html( $strings['title'] ) . '</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:spacer {"height":"40px"} -->
|
||||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:query {"query":{"perPage":"1","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
|
||||
<div class="wp-block-query">
|
||||
|
||||
<!-- wp:post-template -->
|
||||
|
||||
<!-- wp:post-featured-image {"align":"center"} /-->
|
||||
<!-- wp:post-date {"fontSize":"small"} /-->
|
||||
<!-- wp:post-title /-->
|
||||
<!-- wp:post-terms {"term":"category","fontSize":"small"} /-->
|
||||
<!-- wp:post-excerpt {"moreText":"\u003cstrong\u003e' . esc_html( $strings['button'] ) . '\u003c/strong\u003e","style":{"elements":{"link":{"color":{"text":"var:preset|color|raft-accent"}}}}} /-->
|
||||
|
||||
<!-- wp:spacer {"height":"64px"} -->
|
||||
<div style="height:64px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
<!-- wp:query-pagination-numbers /-->
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination -->
|
||||
|
||||
<!-- wp:query-no-results -->
|
||||
<!-- wp:paragraph {"backgroundColor":"raft-bg-alt"} -->
|
||||
<p class="has-raft-bg-alt-background-color has-background">Unfortuna' . esc_html( $strings['no_posts'] ) . 'd</p>
|
||||
<!-- /wp:paragraph -->
|
||||
<!-- /wp:query-no-results -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:query -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
@@ -0,0 +1,130 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.5
|
||||
*
|
||||
* slug: pricing-plans-inline-title
|
||||
* title: Pricing Plans inline title
|
||||
* categories: raft
|
||||
* keywords: section, pricing, columns
|
||||
*/
|
||||
|
||||
$strings = array(
|
||||
'title' => __( 'Pricing Plans', 'raft' ),
|
||||
);
|
||||
|
||||
return array(
|
||||
'title' => $strings['title'] . ' 2',
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"inherit":true,"type":"constrained"},"otterConditions":[]} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:group {"align":"wide","layout":{"inherit":false}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:columns -->
|
||||
<div class="wp-block-columns"><!-- wp:column {"width":"25%"} -->
|
||||
<div class="wp-block-column" style="flex-basis:25%"><!-- wp:heading {"className":"is-style-default"} -->
|
||||
<h2 class="is-style-default">' . esc_html( $strings['title'] ) . '</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"normal"} -->
|
||||
<p class="has-normal-font-size">Choose the plan that works best for you!</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">All plans come with a 14-day refund period</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"},"blockGap":"16px"}},"backgroundColor":"raft-bg-alt"} -->
|
||||
<div class="wp-block-column has-raft-bg-alt-background-color has-background" style="padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px"><!-- wp:heading {"level":3,"fontSize":"medium"} -->
|
||||
<h3 class="has-medium-font-size">Agency</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"huge"} -->
|
||||
<p class="has-huge-font-size">39.99$</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">Ideal for agencies</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
|
||||
<!-- /wp:separator -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">100 activations</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
|
||||
<!-- /wp:separator -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">1 year of updates</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
|
||||
<!-- /wp:separator -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">1 year of support</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"width":100,"className":"is-style-outline","otterConditions":[]} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100 is-style-outline"><a class="wp-block-button__link wp-element-button">Buy Plan</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"},"blockGap":"16px"}},"backgroundColor":"raft-bg-alt"} -->
|
||||
<div class="wp-block-column has-raft-bg-alt-background-color has-background" style="padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px"><!-- wp:heading {"level":3,"fontSize":"medium"} -->
|
||||
<h3 class="has-medium-font-size">Enterprise</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"huge"} -->
|
||||
<p class="has-huge-font-size">99.99$</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">Ideal for companies</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
|
||||
<!-- /wp:separator -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">Unlimited activations</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
|
||||
<!-- /wp:separator -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">1 year of updates</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
|
||||
<!-- /wp:separator -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">1 year of support</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"width":100,"className":"is-style-outline","otterConditions":[]} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100 is-style-outline"><a class="wp-block-button__link wp-element-button">Buy Plan</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
@@ -0,0 +1,179 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.5
|
||||
*
|
||||
* slug: pricing-plans
|
||||
* title: Pricing Plans
|
||||
* categories: raft
|
||||
* keywords: section, pricing, columns
|
||||
*/
|
||||
|
||||
$strings = array(
|
||||
'title' => __( 'Pricing Plans', 'raft' ),
|
||||
);
|
||||
|
||||
return array(
|
||||
'title' => $strings['title'],
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"inherit":true,"type":"constrained"},"otterConditions":[]} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:heading {"textAlign":"center","className":"is-style-default"} -->
|
||||
<h2 class="has-text-align-center is-style-default">' . esc_html( $strings['title'] ) . '</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"normal"} -->
|
||||
<p class="has-text-align-center has-normal-font-size">Choose the plan that works best for you!</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:spacer {"height":"40px"} -->
|
||||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:group {"align":"wide","layout":{"inherit":false}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:columns -->
|
||||
<div class="wp-block-columns"><!-- wp:column {"style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"},"blockGap":"16px"}},"backgroundColor":"raft-bg-alt"} -->
|
||||
<div class="wp-block-column has-raft-bg-alt-background-color has-background" style="padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px"><!-- wp:heading {"level":3,"fontSize":"medium"} -->
|
||||
<h3 class="has-medium-font-size">Starter</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"huge"} -->
|
||||
<p class="has-huge-font-size">19.99$</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">Ideal for freelancers</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
|
||||
<!-- /wp:separator -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">10 activations</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
|
||||
<!-- /wp:separator -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">1 year of updates</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
|
||||
<!-- /wp:separator -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">1 year of support</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"textColor":"raft-fg-alt","width":100,"otterConditions":[]} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-raft-fg-alt-color has-text-color wp-element-button">Buy Plan</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"},"blockGap":"16px"}},"backgroundColor":"raft-bg-alt"} -->
|
||||
<div class="wp-block-column has-raft-bg-alt-background-color has-background" style="padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px"><!-- wp:heading {"level":3,"fontSize":"medium"} -->
|
||||
<h3 class="has-medium-font-size">Agency</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"huge"} -->
|
||||
<p class="has-huge-font-size">39.99$</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">Ideal for agencies</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
|
||||
<!-- /wp:separator -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">100 activations</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
|
||||
<!-- /wp:separator -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">1 year of updates</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
|
||||
<!-- /wp:separator -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">1 year of support</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"textColor":"raft-fg-alt","width":100,"otterConditions":[]} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-raft-fg-alt-color has-text-color wp-element-button">Buy Plan</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"style":{"spacing":{"padding":{"top":"24px","right":"24px","bottom":"24px","left":"24px"},"blockGap":"16px"}},"backgroundColor":"raft-bg-alt"} -->
|
||||
<div class="wp-block-column has-raft-bg-alt-background-color has-background" style="padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px"><!-- wp:heading {"level":3,"fontSize":"medium"} -->
|
||||
<h3 class="has-medium-font-size">Enterprise</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"huge"} -->
|
||||
<p class="has-huge-font-size">99.99$</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">Ideal for companies</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
|
||||
<!-- /wp:separator -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">Unlimited activations</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
|
||||
<!-- /wp:separator -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">1 year of updates</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
|
||||
<!-- /wp:separator -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">1 year of support</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"textColor":"raft-fg-alt","width":100,"otterConditions":[]} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-raft-fg-alt-color has-text-color wp-element-button">Buy Plan</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns -->
|
||||
|
||||
<!-- wp:columns -->
|
||||
<div class="wp-block-columns"><!-- wp:column -->
|
||||
<div class="wp-block-column"><!-- wp:paragraph {"align":"center","fontSize":"small"} -->
|
||||
<p class="has-text-align-center has-small-font-size">All plans come with a 14-day refund period</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
@@ -0,0 +1,100 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.5
|
||||
*
|
||||
* slug: team
|
||||
* title: Team Section
|
||||
* categories: raft
|
||||
* keywords: section, team, members, columns
|
||||
*/
|
||||
|
||||
$strings = array(
|
||||
'title' => __( 'Team Section', 'raft' ),
|
||||
);
|
||||
|
||||
$image = RAFT_URL . 'assets/img/shape-02.svg';
|
||||
|
||||
return array(
|
||||
'title' => $strings['title'],
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"backgroundColor":"raft-bg-alt","layout":{"inherit":true,"type":"constrained"},"otterConditions":[]} -->
|
||||
<div class="wp-block-group alignfull has-raft-bg-alt-background-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:group {"align":"wide","otterConditions":[]} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:heading {"fontSize":"x-large"} -->
|
||||
<h2 class="has-x-large-font-size">' . esc_html( $strings['title'] ) . '</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">Lorem ipsum dolor sit amet</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"wide","layout":{"inherit":false}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:columns -->
|
||||
<div class="wp-block-columns"><!-- wp:column -->
|
||||
<div class="wp-block-column"><!-- wp:image {"sizeSlug":"full","linkDestination":"none","className":"is-style-default"} -->
|
||||
<figure class="wp-block-image size-full is-style-default"><img src="' . esc_url( $image ) . '" alt=""/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3>George Cruise</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"small"} -->
|
||||
<p class="has-small-font-size" style="text-transform:uppercase">CEO / Co-founder</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:social-links {"iconColor":"raft-accent","iconColorValue":"#C26148","openInNewTab":true,"style":{"spacing":{"blockGap":{"top":"8px","left":"8px"}}},"className":"is-style-logos-only"} -->
|
||||
<ul class="wp-block-social-links has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"#","service":"twitter"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"#","service":"linkedin"} /--></ul>
|
||||
<!-- /wp:social-links --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column"><!-- wp:image {"sizeSlug":"full","linkDestination":"none","className":"is-style-default"} -->
|
||||
<figure class="wp-block-image size-full is-style-default"><img src="' . esc_url( $image ) . '" alt=""/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3>Arnold Stevens</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"small"} -->
|
||||
<p class="has-small-font-size" style="text-transform:uppercase">CFO / Co-founder</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:social-links {"iconColor":"raft-accent","iconColorValue":"#C26148","openInNewTab":true,"style":{"spacing":{"blockGap":{"top":"8px","left":"8px"}}},"className":"is-style-logos-only"} -->
|
||||
<ul class="wp-block-social-links has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"#","service":"twitter"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"#","service":"linkedin"} /--></ul>
|
||||
<!-- /wp:social-links --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column"><!-- wp:image {"sizeSlug":"full","linkDestination":"none","className":"is-style-default"} -->
|
||||
<figure class="wp-block-image size-full is-style-default"><img src="' . esc_url( $image ) . '" alt=""/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3>Jessica Barrows</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"small"} -->
|
||||
<p class="has-small-font-size" style="text-transform:uppercase">CTO / Co-founder</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:social-links {"iconColor":"raft-accent","iconColorValue":"#C26148","openInNewTab":true,"style":{"spacing":{"blockGap":{"top":"8px","left":"8px"}}},"className":"is-style-logos-only"} -->
|
||||
<ul class="wp-block-social-links has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"#","service":"twitter"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"#","service":"linkedin"} /--></ul>
|
||||
<!-- /wp:social-links --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.5
|
||||
*
|
||||
* slug: testimonial-columns
|
||||
* title: Testimonial Columns
|
||||
* categories: raft
|
||||
* keywords: section, testimonial, columns, users
|
||||
*/
|
||||
|
||||
$image = RAFT_URL . 'assets/img/shape-07.svg';
|
||||
|
||||
return array(
|
||||
'title' => __( 'Testimonial Columns', 'raft' ),
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"backgroundColor":"raft-bg-alt","layout":{"inherit":true,"type":"constrained"},"otterConditions":[]} -->
|
||||
<div class="wp-block-group alignfull has-raft-bg-alt-background-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:group {"align":"wide","layout":{"inherit":false}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:columns -->
|
||||
<div class="wp-block-columns"><!-- wp:column -->
|
||||
<div class="wp-block-column"><!-- wp:image {"align":"center","width":150,"height":150,"sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->
|
||||
<figure class="wp-block-image aligncenter size-full is-resized is-style-rounded"><img src="' . esc_url( $image ) . '" alt="" width="150" height="150"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"normal"} -->
|
||||
<p class="has-text-align-center has-normal-font-size">"...Ed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium..."</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:heading {"textAlign":"center","level":3,"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"small"} -->
|
||||
<h3 class="has-text-align-center has-small-font-size" style="text-transform:uppercase">Smith Williamson</h3>
|
||||
<!-- /wp:heading --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column -->
|
||||
<div class="wp-block-column"><!-- wp:image {"align":"center","width":150,"height":150,"sizeSlug":"full","linkDestination":"none","className":"is-style-rounded"} -->
|
||||
<figure class="wp-block-image aligncenter size-full is-resized is-style-rounded"><img src="' . esc_url( $image ) . '" alt="" width="150" height="150"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"normal"} -->
|
||||
<p class="has-text-align-center has-normal-font-size">"...Ed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium..."</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:heading {"textAlign":"center","level":3,"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"small"} -->
|
||||
<h3 class="has-text-align-center has-small-font-size" style="text-transform:uppercase">Smith Williamson</h3>
|
||||
<!-- /wp:heading --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: images-text-columns
|
||||
* title: Two columns of features
|
||||
* categories: raft
|
||||
* keywords: section, image, text, columns, title
|
||||
*/
|
||||
|
||||
$columns = array(
|
||||
array(
|
||||
'image' => 'shape-05.svg',
|
||||
'title' => __( 'Style Variations', 'raft' ),
|
||||
),
|
||||
array(
|
||||
'image' => 'shape-06.svg',
|
||||
'title' => __( 'Built-in Patterns', 'raft' ),
|
||||
),
|
||||
array(
|
||||
'image' => 'shape-04.svg',
|
||||
'title' => __( 'Powered by blocks', 'raft' ),
|
||||
),
|
||||
);
|
||||
|
||||
$strings = array(
|
||||
'title' => __( 'Three columns of features', 'raft' ),
|
||||
);
|
||||
|
||||
$columns_markup = '';
|
||||
|
||||
foreach ( $columns as $column ) {
|
||||
$columns_markup .= '<!-- wp:column -->';
|
||||
$columns_markup .= '<div class="wp-block-column">';
|
||||
|
||||
$columns_markup .= '<!-- wp:image {"sizeSlug":"large","linkDestination":"none"} -->';
|
||||
$columns_markup .= '<figure class="wp-block-image size-full">';
|
||||
$columns_markup .= '<img src="' . esc_url( RAFT_URL . 'assets/img/' . $column['image'] ) . '" alt="Illustration"/>';
|
||||
$columns_markup .= '</figure>';
|
||||
$columns_markup .= '<!-- /wp:image -->';
|
||||
|
||||
$columns_markup .= '<!-- wp:heading {"level":3} -->';
|
||||
$columns_markup .= '<h3>' . esc_html( $column['title'] ) . '</h3>';
|
||||
$columns_markup .= '<!-- /wp:heading -->';
|
||||
|
||||
$columns_markup .= '<!-- wp:paragraph -->';
|
||||
$columns_markup .= '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor.</p>';
|
||||
$columns_markup .= '<!-- /wp:paragraph -->';
|
||||
|
||||
$columns_markup .= '</div>';
|
||||
$columns_markup .= '<!-- /wp:column -->';
|
||||
}
|
||||
|
||||
return array(
|
||||
'title' => $strings['title'],
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px">
|
||||
|
||||
<!-- wp:columns {"align":"wide"} -->
|
||||
<div class="wp-block-columns alignwide">' . wp_kses_post( $columns_markup ) . '</div>
|
||||
<!-- /wp:columns -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,78 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package raft
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: images-text-columns
|
||||
* title: Two columns of features
|
||||
* categories: raft
|
||||
* keywords: section, image, text, columns, title
|
||||
*/
|
||||
|
||||
$illustrations = array(
|
||||
'shape-05.svg',
|
||||
'shape-01.svg',
|
||||
);
|
||||
|
||||
$strings = array(
|
||||
'title' => __( 'Two columns of features', 'raft' ),
|
||||
'byline' => 'Lorem ipsum dolor sit amet',
|
||||
'feature_title' => 'Lorem ipsum',
|
||||
'feature_content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.',
|
||||
);
|
||||
|
||||
$columns_markup = '';
|
||||
|
||||
foreach ( $illustrations as $illustration ) {
|
||||
$columns_markup .= '<!-- wp:column -->';
|
||||
$columns_markup .= '<div class="wp-block-column">';
|
||||
|
||||
$columns_markup .= '<!-- wp:image {"sizeSlug":"full","linkDestination":"none"} -->';
|
||||
$columns_markup .= '<figure class="wp-block-image size-full">';
|
||||
$columns_markup .= '<img src="' . esc_url( RAFT_URL . 'assets/img/' . $illustration ) . '" alt="Illustration"/>';
|
||||
$columns_markup .= '</figure>';
|
||||
$columns_markup .= '<!-- /wp:image -->';
|
||||
|
||||
$columns_markup .= '<!-- wp:heading {"level":3} -->';
|
||||
$columns_markup .= '<h3>' . esc_html( $strings['feature_title'] ) . '</h3>';
|
||||
$columns_markup .= '<!-- /wp:heading -->';
|
||||
|
||||
$columns_markup .= '<!-- wp:paragraph -->';
|
||||
$columns_markup .= '<p>' . esc_html( $strings['feature_content'] ) . '</p>';
|
||||
$columns_markup .= '<!-- /wp:paragraph -->';
|
||||
|
||||
$columns_markup .= '</div>';
|
||||
$columns_markup .= '<!-- /wp:column -->';
|
||||
}
|
||||
|
||||
return array(
|
||||
'title' => $strings['title'],
|
||||
'categories' => array( 'raft' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"backgroundColor":"raft-bg-alt","layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group alignfull has-raft-bg-alt-background-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px">
|
||||
|
||||
<!-- wp:heading -->
|
||||
<h2>' . esc_html( $strings['title'] ) . '</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">' . esc_html( $strings['byline'] ) . '</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group -->
|
||||
<div class="wp-block-group">
|
||||
|
||||
<!-- wp:columns -->
|
||||
<div class="wp-block-columns">' . wp_kses_post( $columns_markup ) . '</div>
|
||||
<!-- /wp:columns -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group -->',
|
||||
);
|
||||
Reference in New Issue
Block a user