From eac1f86d9ce3407cd087466c7f36c394c092002a Mon Sep 17 00:00:00 2001 From: John Fraskos Date: Thu, 14 Dec 2023 14:19:04 +0200 Subject: [PATCH] Update hero-with-columns.php --- inc/patterns/hero-with-columns.php | 156 ++++++++++------------------- 1 file changed, 55 insertions(+), 101 deletions(-) diff --git a/inc/patterns/hero-with-columns.php b/inc/patterns/hero-with-columns.php index 393342a..dc244d6 100644 --- a/inc/patterns/hero-with-columns.php +++ b/inc/patterns/hero-with-columns.php @@ -1,115 +1,69 @@ __( 'Hero section with columns', 'raft' ), - 'learn_more' => __( 'Learn More', 'raft' ), -); - -$image = RAFT_URL . 'assets/img/shape-05.svg'; +$raft_strings = apply_filters( 'raft_strings', array() ); +$images = array( + RAFT_URL . 'assets/img/shape-05.svg', +); return array( - 'title' => $strings['title'], - 'categories' => array( 'raft/heroes_page_titles' ), - 'content' => ' - -
-
- - - - -

' . esc_html( $strings['title'] ) . '

- - - -

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.

- - - -
- - - -
-
- -
- - - -

Lorem ipsum

- - - -

Lorem ipsum dolor sit amet, consectetur adipiscing.

- - - - -
- - - -
- -
- - - -

Lorem ipsum

- - - -

Lorem ipsum dolor sit amet, consectetur adipiscing. sed do eiusmod tempor incididunt ut labore et dolore.

- - - - -
- - - -
- -
- - - -

Lorem ipsum

- - - -

Lorem ipsum dolor sit amet, consectetur adipiscing.

- - - - -
-
- - - - -
-
-', + 'title' => __( 'Hero with Columns', 'raft' ), + 'categories' => array( 'raft/heroes_page_titles' ), + 'content' => ' + +
+
+

' . esc_html( $raft_strings['hero_title'] ) . '

+ + + +

' . esc_html( $raft_strings['section_description'] ) . '

+ + + + +
+ + + +
+
+
+

' . esc_html( $raft_strings['feature_title'] ) . '

+ + + +

' . esc_html( $raft_strings['feature_description'] ) . '

+ + + +

' . esc_html( $raft_strings['feature_title'] ) . '

+ + + +

' . esc_html( $raft_strings['feature_description'] ) . '

+
+ + + +
+
+
+
+
+
+ + ', );