<?php
/**
 * Project Section
 * 
 * slug: modern-corporate/project-section
 * title: Project Section
 * categories: modern-corporate
 */


 $modern_corporate_plugins_list = get_option( 'active_plugins' );
 $modern_corporate_plugin = 'gmap-block/gmap-block.php';
 $modern_corporate_results = in_array( $modern_corporate_plugin , $modern_corporate_plugins_list);
 if ( $modern_corporate_results )  {
    return array(
        'title'      =>__( 'Project Section', 'modern-corporate' ),
        'categories' => array( 'modern-corporate' ),
        'content'    => '<!-- wp:spacer {"height":"20px"} -->
        <div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>
        <!-- /wp:spacer -->

        <!-- wp:group {"className":"project-head-box ","layout":{"type":"constrained","contentSize":"100%"}} -->
        <div class="wp-block-group project-head-box"><!-- wp:heading {"textAlign":"center","level":3,"className":"project-sec-title wow fadeInUp","style":{"typography":{"textTransform":"capitalize","fontSize":"25px"},"elements":{"link":{"color":{"text":"var:preset|color|accent"}}}},"textColor":"accent"} -->
        <h3 class="wp-block-heading has-text-align-center project-sec-title wow fadeInUp has-accent-color has-text-color has-link-color" style="font-size:25px;text-transform:capitalize">'. esc_html__('Our Places','modern-corporate').'</h3>
        <!-- /wp:heading -->

        <!-- wp:paragraph {"align":"center","className":"project-sec-para wow fadeInDown","style":{"elements":{"link":{"color":{"text":"var:preset|color|secaccent"}}},"typography":{"fontSize":"28px","fontStyle":"normal","fontWeight":"500"},"spacing":{"margin":{"top":"10px"}}},"textColor":"secaccent","fontFamily":"roboto"} -->
        <p class="has-text-align-center project-sec-para wow fadeInDown has-secaccent-color has-text-color has-link-color has-roboto-font-family" style="margin-top:10px;font-size:28px;font-style:normal;font-weight:500">'. esc_html__('Lounge Space In The Area','modern-corporate').'</p>
        <!-- /wp:paragraph -->

        <!-- wp:columns -->
        <div class="wp-block-columns"><!-- wp:column {"width":"","className":"places-col01 wow zoomInLeft","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}}}} -->
        <div class="wp-block-column places-col01 wow zoomInLeft" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:gmap/gmap-block {"gmap_mapHeightRanges":{"desk":419,"tab":"","mob":""},"gmap_mapBorderValues":{"top":"0","right":"0","bottom":"0","left":"0"},"gmap_mapBradiusValues":{"top":"0","right":"0","bottom":"0","left":"0"},"gmap_mapPaddingValues":{"top":"0","right":"0","bottom":"0","left":"0"},"gmap_mapMarginValues":{"top":"0","right":"0","bottom":"0","left":"0"},"uniqueId":"gmap-block-54tf68jt","blockStyle":"\n        \n        .gmap-block-54tf68jt.wp-block-gmap-gmap-block iframe{height:419px;border-color: ;\n            border-width: 0px; \n            border-style: none;\n        \n            border-radius: 0px;\n        \n            padding: 0px;\n        \n            margin: 0px;\n        }\n    \n        @media (max-width: 1024px) and (min-width: 768px) {\n            \n         \n    \n        }\n        @media (max-width: 767px) {\n            \n         \n    \n        }\n    "} -->
        <div class="wp-block-gmap-gmap-block gmap-block-54tf68jt"><iframe src="https://maps.google.com/maps?q=New+York%2C+NY%2C+USA&amp;z=10&amp;t=roadmap&amp;output=embed" class="embd-map" title="New York, NY, USA"></iframe></div>
        <!-- /wp:gmap/gmap-block --></div>
        <!-- /wp:column -->

        <!-- wp:column {"className":"places-col02 wow zoomInRight"} -->
        <div class="wp-block-column places-col02 wow zoomInRight"><!-- wp:query {"queryId":15,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"metadata":{"categories":["posts"],"patternName":"core/query-medium-posts","name":"Image at left"},"layout":{"type":"default"}} -->
        <div class="wp-block-query"><!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}}} -->
        <!-- wp:columns {"align":"wide","className":"post-main-col","style":{"spacing":{"padding":{"top":"10px","bottom":"10px","left":"10px","right":"10px"},"margin":{"top":"0","bottom":"0"},"blockGap":{"left":"var:preset|spacing|40"}}}} -->
        <div class="wp-block-columns alignwide post-main-col" style="margin-top:0;margin-bottom:0;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px"><!-- wp:column {"width":"140px","layout":{"type":"default"}} -->
        <div class="wp-block-column" style="flex-basis:140px"><!-- wp:group {"className":"post-image-back","style":{"dimensions":{"minHeight":"100px"},"color":{"background":"#cdcdcd"},"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"layout":{"type":"constrained","contentSize":"100%"}} -->
        <div class="wp-block-group post-image-back has-background" style="background-color:#cdcdcd;min-height:100px;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"4/3","width":"140px","height":"100%","sizeSlug":"full"} /--></div>
        <!-- /wp:group --></div>
        <!-- /wp:column -->

        <!-- wp:column {"width":"","style":{"spacing":{"blockGap":"var:preset|spacing|30"}}} -->
        <div class="wp-block-column"><!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"typography":{"fontStyle":"normal","fontWeight":"600"}},"textColor":"primary","fontSize":"upper-heading","fontFamily":"roboto"} /-->

        <!-- wp:post-excerpt {"moreText":"KNOW MORE","excerptLength":20,"className":"post-short-desc","style":{"elements":{"link":{"color":{"text":"var:preset|color|secaccent"}}}},"textColor":"secaccent"} /--></div>
        <!-- /wp:column --></div>
        <!-- /wp:columns -->
        <!-- /wp:post-template -->

        <!-- wp:buttons {"layout":{"type":"flex"}} -->
        <div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"secaccent","className":"load-more-button","fontSize":"medium"} -->
        <div class="wp-block-button load-more-button"><a class="wp-block-button__link has-secaccent-background-color has-background has-medium-font-size has-custom-font-size wp-element-button" href="#">'. esc_html__('Load More','modern-corporate').'</a></div>
        <!-- /wp:button --></div>
        <!-- /wp:buttons --></div>
        <!-- /wp:query --></div>
        <!-- /wp:column --></div>
        <!-- /wp:columns --></div>
        <!-- /wp:group -->

        <!-- wp:spacer {"height":"40px"} -->
        <div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
        <!-- /wp:spacer -->',
    );
}
else {
    return array(
        'title'      =>__( 'Project Section', 'modern-corporate' ),
        'categories' => array( 'modern-corporate' ),
        'content'    => '<!-- wp:spacer {"height":"20px"} --><div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>
        <!-- /wp:spacer -->

        <!-- wp:group {"className":"project-head-box ","layout":{"type":"constrained","contentSize":"100%"}} -->
        <div class="wp-block-group project-head-box"><!-- wp:heading {"textAlign":"center","level":3,"className":"project-sec-title wow fadeInUp","style":{"typography":{"textTransform":"capitalize","fontSize":"25px"},"elements":{"link":{"color":{"text":"var:preset|color|accent"}}}},"textColor":"accent"} -->
        <h3 class="wp-block-heading has-text-align-center project-sec-title wow fadeInUp has-accent-color has-text-color has-link-color" style="font-size:25px;text-transform:capitalize">'. esc_html__('Our Places','modern-corporate').'</h3>
        <!-- /wp:heading -->

        <!-- wp:paragraph {"align":"center","className":"project-sec-para wow fadeInDown","style":{"elements":{"link":{"color":{"text":"var:preset|color|secaccent"}}},"typography":{"fontSize":"28px","fontStyle":"normal","fontWeight":"500"},"spacing":{"margin":{"top":"10px"}}},"textColor":"secaccent","fontFamily":"roboto"} -->
        <p class="has-text-align-center project-sec-para wow fadeInDown has-secaccent-color has-text-color has-link-color has-roboto-font-family" style="margin-top:10px;font-size:28px;font-style:normal;font-weight:500">'. esc_html__('Lounge Space In The Area','modern-corporate').'</p>
        <!-- /wp:paragraph -->

        <!-- wp:columns -->
        <div class="wp-block-columns"><!-- wp:column {"width":"","className":"places-col01 wow zoomInLeft"} -->
        <div class="wp-block-column places-col01 wow zoomInLeft"><!-- wp:image {"id":33,"sizeSlug":"full","linkDestination":"none"} -->
        <figure class="wp-block-image size-full"><img src="'.esc_url(get_template_directory_uri()) .'/assets/images/map.png" alt="" class="wp-image-33"/></figure>
        <!-- /wp:image --></div>
        <!-- /wp:column -->

        <!-- wp:column {"className":"places-col02 wow zoomInRight"} -->
        <div class="wp-block-column places-col02 wow zoomInRight"><!-- wp:query {"queryId":15,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"metadata":{"categories":["posts"],"patternName":"core/query-medium-posts","name":"Image at left"},"layout":{"type":"default"}} -->
        <div class="wp-block-query"><!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}}} -->
        <!-- wp:columns {"align":"wide","className":"post-main-col","style":{"spacing":{"padding":{"top":"10px","bottom":"10px","left":"10px","right":"10px"},"margin":{"top":"0","bottom":"0"},"blockGap":{"left":"var:preset|spacing|40"}}}} -->
        <div class="wp-block-columns alignwide post-main-col" style="margin-top:0;margin-bottom:0;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px"><!-- wp:column {"width":"140px","layout":{"type":"default"}} -->
        <div class="wp-block-column" style="flex-basis:140px"><!-- wp:group {"className":"post-image-back","style":{"dimensions":{"minHeight":"100px"},"color":{"background":"#cdcdcd"},"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"layout":{"type":"constrained","contentSize":"100%"}} -->
        <div class="wp-block-group post-image-back has-background" style="background-color:#cdcdcd;min-height:100px;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"4/3","width":"140px","height":"100%","sizeSlug":"full"} /--></div>
        <!-- /wp:group --></div>
        <!-- /wp:column -->

        <!-- wp:column {"width":"","style":{"spacing":{"blockGap":"var:preset|spacing|30"}}} -->
        <div class="wp-block-column"><!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"typography":{"fontStyle":"normal","fontWeight":"600"}},"textColor":"primary","fontSize":"upper-heading","fontFamily":"roboto"} /-->

        <!-- wp:post-excerpt {"moreText":"KNOW MORE","excerptLength":20,"className":"post-short-desc","style":{"elements":{"link":{"color":{"text":"var:preset|color|secaccent"}}}},"textColor":"secaccent"} /--></div>
        <!-- /wp:column --></div>
        <!-- /wp:columns -->
        <!-- /wp:post-template -->

        <!-- wp:buttons {"layout":{"type":"flex"}} -->
        <div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"secaccent","className":"load-more-button","fontSize":"medium"} -->
        <div class="wp-block-button load-more-button"><a class="wp-block-button__link has-secaccent-background-color has-background has-medium-font-size has-custom-font-size wp-element-button" href="#">'. esc_html__('Load More','modern-corporate').'</a></div>
        <!-- /wp:button --></div>
        <!-- /wp:buttons --></div>
        <!-- /wp:query --></div>
        <!-- /wp:column --></div>
        <!-- /wp:columns --></div>
        <!-- /wp:group -->

        <!-- wp:spacer {"height":"40px"} -->
        <div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
        <!-- /wp:spacer -->',
    );
}