Skip to content

Commit

Permalink
chore: run phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
HardeepAsrani committed Dec 14, 2023
1 parent 70cb9d5 commit 47c7cb6
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion inc/patterns/content-columns-with-hero.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

$raft_strings = apply_filters( 'raft_strings', array() );
$images = array(
$images = array(
RAFT_URL . 'assets/img/shape-05.svg',
);

Expand Down
8 changes: 4 additions & 4 deletions inc/patterns/cover-background.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
$raft_strings = apply_filters( 'raft_strings', array() );

$images = array(
RAFT_URL . 'assets/img/raft-cover-bg.svg',
RAFT_URL . 'assets/img/raft-cover-bg.svg',
);

return array(
'title' => __( 'Cover with Background', 'raft' ),
'categories' => array( 'raft/heroes_page_titles' ),
'content' => '
'title' => __( 'Cover with Background', 'raft' ),
'categories' => array( 'raft/heroes_page_titles' ),
'content' => '
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"0","left":"0","top":"0","bottom":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0">
<!-- wp:cover {"url":"' . esc_url( $images[0] ) . '","dimRatio":60,"overlayColor":"black","minHeight":600,"minHeightUnit":"px","align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","right":"var:preset|spacing|40","bottom":"var:preset|spacing|80","left":"var:preset|spacing|40"},"blockGap":"var:preset|spacing|30"}}} -->
Expand Down
2 changes: 1 addition & 1 deletion inc/patterns/hero-with-columns.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

$raft_strings = apply_filters( 'raft_strings', array() );
$images = array(
$images = array(
RAFT_URL . 'assets/img/shape-05.svg',
RAFT_URL . 'assets/img/shape-06.svg',
RAFT_URL . 'assets/img/shape-07.svg',
Expand Down
8 changes: 4 additions & 4 deletions inc/patterns/hero.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
$raft_strings = apply_filters( 'raft_strings', array() );

$images = array(
RAFT_URL . 'assets/img/raft-illustration.svg',
RAFT_URL . 'assets/img/raft-illustration.svg',
);

return array(
'title' => __( 'Hero Section', 'raft' ),
'categories' => array( 'raft/heroes_page_titles' ),
'content' => '
'title' => __( 'Hero Section', 'raft' ),
'categories' => array( 'raft/heroes_page_titles' ),
'content' => '
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"blockGap":"var:preset|spacing|50","margin":{"top":"0","bottom":"0"}}},"backgroundColor":"raft-bg-alt","layout":{"inherit":true,"type":"constrained"}} -->
<div class="wp-block-group alignfull has-raft-bg-alt-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)">
<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"huge"} -->
Expand Down
10 changes: 5 additions & 5 deletions inc/patterns/horizontal-content-cards.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
$raft_strings = apply_filters( 'raft_strings', array() );

$images = array(
RAFT_URL . 'assets/img/shape-05.svg',
RAFT_URL . 'assets/img/shape-09.svg',
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' ),
'content' => '
'title' => __( 'Horizontal content cards', 'raft' ),
'categories' => array( 'raft/content' ),
'content' => '
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"0"}},"layout":{"inherit":true,"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)">
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"inherit":false}} -->
Expand Down
16 changes: 8 additions & 8 deletions inc/patterns/image-gallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
$raft_strings = apply_filters( 'raft_strings', array() );

$images = array(
RAFT_URL . 'assets/img/shape-01.svg',
RAFT_URL . 'assets/img/shape-05.svg',
RAFT_URL . 'assets/img/shape-04.svg',
RAFT_URL . 'assets/img/shape-03.svg',
RAFT_URL . 'assets/img/shape-02.svg',
RAFT_URL . 'assets/img/shape-01.svg',
RAFT_URL . 'assets/img/shape-05.svg',
RAFT_URL . 'assets/img/shape-04.svg',
RAFT_URL . 'assets/img/shape-03.svg',
RAFT_URL . 'assets/img/shape-02.svg',
);

return array(
'title' => __( 'Image Gallery with Title', 'raft' ),
'categories' => array( 'raft/content' ),
'content' => '
'title' => __( 'Image Gallery with Title', 'raft' ),
'categories' => array( 'raft/content' ),
'content' => '
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"},"blockGap":"var:preset|spacing|40"}},"layout":{"inherit":true,"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)"><!-- wp:heading {"textAlign":"center"} -->
<h2 class="wp-block-heading has-text-align-center">' . esc_html( $raft_strings['section_title'] ) . '</h2>
Expand Down
6 changes: 3 additions & 3 deletions inc/patterns/posts-query-loop-2.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
$raft_strings = apply_filters( 'raft_strings', array() );

return array(
'title' => __( 'Post Query Loop 2', 'raft' ),
'categories' => array( 'raft/post_loops' ),
'content' => '
'title' => __( 'Post Query Loop 2', 'raft' ),
'categories' => array( 'raft/post_loops' ),
'content' => '
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"},"blockGap":"0"}},"layout":{"inherit":true,"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)">
<!-- wp:query {"queryId":3,"query":{"perPage":"4","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide"} -->
Expand Down
6 changes: 3 additions & 3 deletions inc/patterns/posts-query-loop.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
$raft_strings = apply_filters( 'raft_strings', array() );

return array(
'title' => __( 'Post Query Loop', 'raft' ),
'categories' => array( 'raft/post_loops' ),
'content' => '
'title' => __( 'Post Query Loop', 'raft' ),
'categories' => array( 'raft/post_loops' ),
'content' => '
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}}},"layout":{"inherit":true,"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)">
<!-- wp:query {"queryId":2,"query":{"perPage":"1","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
Expand Down
12 changes: 6 additions & 6 deletions inc/patterns/three-columns-features.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
$raft_strings = apply_filters( 'raft_strings', array() );

$images = array(
RAFT_URL . 'assets/img/shape-05.svg',
RAFT_URL . 'assets/img/shape-06.svg',
RAFT_URL . 'assets/img/shape-04.svg',
RAFT_URL . 'assets/img/shape-05.svg',
RAFT_URL . 'assets/img/shape-06.svg',
RAFT_URL . 'assets/img/shape-04.svg',
);

return array(
'title' => __( 'Three Columns of Features', 'raft' ),
'categories' => array( 'raft/features' ),
'content' => '
'title' => __( 'Three Columns of Features', 'raft' ),
'categories' => array( 'raft/features' ),
'content' => '
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)">
<!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|40","left":"var:preset|spacing|40"}}}} -->
Expand Down
10 changes: 5 additions & 5 deletions inc/patterns/two-columns-features.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
$raft_strings = apply_filters( 'raft_strings', array() );

$images = array(
RAFT_URL . 'assets/img/shape-05.svg',
RAFT_URL . 'assets/img/shape-01.svg',
RAFT_URL . 'assets/img/shape-05.svg',
RAFT_URL . 'assets/img/shape-01.svg',
);

return array(
'title' => __( 'Two Columns of Features', 'raft' ),
'categories' => array( 'raft/features' ),
'content' => '
'title' => __( 'Two Columns of Features', 'raft' ),
'categories' => array( 'raft/features' ),
'content' => '
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"},"blockGap":"var:preset|spacing|60"}},"backgroundColor":"raft-bg-alt","layout":{"inherit":true,"type":"constrained"}} -->
<div class="wp-block-group alignfull has-raft-bg-alt-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)">
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
Expand Down

0 comments on commit 47c7cb6

Please sign in to comment.