esc_html__( 'TT1 Blocks', 'tt1-blocks' ) ) ); } /** * Register Block Patterns. */ if ( function_exists( 'register_block_pattern' ) ) { // Large Text. register_block_pattern( 'tt1-blocks/large-text', array( 'title' => esc_html__( 'Large Text', 'tt1-blocks' ), 'categories' => array( 'tt1-blocks' ), 'viewportWidth' => 1440, 'content' => '

' . esc_html__( 'A new portfolio default theme for WordPress', 'tt1-blocks' ) . '

', ) ); // Links Area. register_block_pattern( 'tt1-blocks/links-area', array( 'title' => esc_html__( 'Links Area', 'tt1-blocks' ), 'categories' => array( 'tt1-blocks' ), 'viewportWidth' => 1440, 'description' => esc_html_x( 'A huge text followed by social networks and email address links.', 'Block pattern description', 'tt1-blocks' ), 'content' => '

' . wp_kses_post( __( 'Let’s Connect.', 'tt1-blocks' ) ) . '

', ) ); // Media & Text Article Title. register_block_pattern( 'tt1-blocks/media-text-article-title', array( 'title' => esc_html__( 'Media and Text Article Title', 'tt1-blocks' ), 'categories' => array( 'tt1-blocks' ), 'viewportWidth' => 1440, 'description' => esc_html_x( 'A Media & Text block with a big image on the left and a heading on the right. The heading is followed by a separator and a description paragraph.', 'Block pattern description', 'tt1-blocks' ), 'content' => '
' . esc_attr__( '“Playing in the Sand” by Berthe Morisot', 'tt1-blocks' ) . '

' . esc_html__( 'Playing in the Sand', 'tt1-blocks' ) . '


' . wp_kses_post( __( 'Berthe Morisot
(French, 1841-1895)', 'tt1-blocks' ) ) . '

', ) ); // Overlapping Images. register_block_pattern( 'tt1-blocks/overlapping-images', array( 'title' => esc_html__( 'Overlapping Images', 'tt1-blocks' ), 'categories' => array( 'tt1-blocks' ), 'viewportWidth' => 1024, 'description' => esc_html_x( 'Three images inside an overlapping columns block.', 'Block pattern description', 'tt1-blocks' ), 'content' => '
' . esc_attr__( '“Roses Trémières” by Berthe Morisot', 'tt1-blocks' ) . '
' . esc_attr__( '“In the Bois de Boulogne” by Berthe Morisot', 'tt1-blocks' ) . '
' . esc_attr__( '“Young Woman in Mauve” by Berthe Morisot', 'tt1-blocks' ) . '
', ) ); // Two Images Showcase. register_block_pattern( 'tt1-blocks/two-images-showcase', array( 'title' => esc_html__( 'Two Images Showcase', 'tt1-blocks' ), 'categories' => array( 'tt1-blocks' ), 'viewportWidth' => 1440, 'description' => esc_html_x( 'A Media & Text block with a big image on the left and a smaller one with bordered frame on the right.', 'Block pattern description', 'tt1-blocks' ), 'content' => '
' . esc_attr__( '“Daffodils” by Berthe Morisot', 'tt1-blocks' ) . '
' . esc_attr__( '“Self portrait” by Berthe Morisot', 'tt1-blocks' ) . '
', ) ); // Overlapping Images and Text. register_block_pattern( 'tt1-blocks/overlapping-images-and-text', array( 'title' => esc_html__( 'Overlapping Images and Text', 'tt1-blocks' ), 'categories' => array( 'tt1-blocks' ), 'viewportWidth' => 1440, 'description' => esc_html_x( 'An overlapping columns block with two images and a text description.', 'Block pattern description', 'tt1-blocks' ), 'content' => '
' . esc_attr__( '“The Garden at Bougival” by Berthe Morisot', 'tt1-blocks' ) . '

' . esc_html__( 'Beautiful gardens painted by Berthe Morisot in the late 1800s', 'tt1-blocks' ) . '

' . esc_attr__( '“Villa with Orange Trees, Nice” by Berthe Morisot', 'tt1-blocks' ) . '
', ) ); // Portfolio List. register_block_pattern( 'tt1-blocks/portfolio-list', array( 'title' => esc_html__( 'Portfolio List', 'tt1-blocks' ), 'categories' => array( 'tt1-blocks' ), 'description' => esc_html_x( 'A list of projects with thumbnail images.', 'Block pattern description', 'tt1-blocks' ), 'content' => '

' . esc_html__( 'Roses Trémières', 'tt1-blocks' ) . '

' . esc_attr__( '“Roses Trémières” by Berthe Morisot', 'tt1-blocks' ) . '

' . esc_html__( 'Villa with Orange Trees, Nice', 'tt1-blocks' ) . '

“Villa with Orange Trees, Nice” by Berthe Morisot

' . esc_html__( 'In the Bois de Boulogne', 'tt1-blocks' ) . '

' . esc_attr__( '“In the Bois de Boulogne” by Berthe Morisot', 'tt1-blocks' ) . '

' . esc_html__( 'The Garden at Bougival', 'tt1-blocks' ) . '

' . esc_attr__( '“The Garden at Bougival” by Berthe Morisot', 'tt1-blocks' ) . '

' . esc_html__( 'Young Woman in Mauve', 'tt1-blocks' ) . '

' . esc_attr__( '“Young Woman in Mauve” by Berthe Morisot', 'tt1-blocks' ) . '

' . esc_html__( 'Reading', 'tt1-blocks' ) . '

' . esc_attr__( '“Reading” by Berthe Morisot', 'tt1-blocks' ) . '

', ) ); register_block_pattern( 'tt1-blocks/contact-information', array( 'title' => esc_html__( 'Contact Information', 'tt1-blocks' ), 'categories' => array( 'tt1-blocks' ), 'description' => esc_html_x( 'A block with 3 columns that display contact information and social media links.', 'Block pattern description', 'tt1-blocks' ), 'content' => '

' . esc_html__( 'example@example.com', 'tt1-blocks' ) . '
' . esc_html__( '123-456-7890', 'tt1-blocks' ) . '

' . esc_html__( '123 Main Street', 'tt1-blocks' ) . '
' . esc_html__( 'Cambridge, MA, 02139', 'tt1-blocks' ) . '

', ) ); }