53 lines
2.3 KiB
PHP
53 lines
2.3 KiB
PHP
<?php
|
|
/**
|
|
* صفحهٔ عمومی شبکه تأمین — یکپارچه با hesabix2.
|
|
*
|
|
* @package Hesabix2
|
|
*/
|
|
|
|
defined( 'ABSPATH' ) || exit;
|
|
|
|
$config = apply_filters( 'shabake_tamin_public_catalog_config', Shabake_Tamin_Public_Catalog::default_page_config() );
|
|
|
|
$title = (string) get_option( 'st_public_catalog_title', '' );
|
|
$title = trim( $title );
|
|
if ( '' === $title ) {
|
|
$title = __( 'شبکه تأمین', 'shabake-tamin' );
|
|
}
|
|
|
|
$tagline = apply_filters(
|
|
'shabake_tamin_hesabix2_hero_tagline',
|
|
__( 'جستجو در کالاهای عمومی، مقایسهٔ قیمت و تماس با تأمینکنندگان؛ داده از Hesabix.', 'shabake-tamin' )
|
|
);
|
|
|
|
get_header();
|
|
?>
|
|
<main id="main-content" class="page-wrap st-public-page-wrap">
|
|
<div class="layout-wrap page-outer page-outer--st-catalog">
|
|
<header class="st-public-hero st-public-hero--theme" role="banner">
|
|
<div class="st-public-hero__inner layout-wrap">
|
|
<p class="st-public-hero__eyebrow"><?php esc_html_e( 'Marketplace B2B حسابیکس', 'hesabix2' ); ?></p>
|
|
<h1 class="st-public-hero__title"><?php echo esc_html( $title ); ?></h1>
|
|
<p class="st-public-hero__tagline"><?php echo esc_html( $tagline ); ?></p>
|
|
<div class="st-public-hero__actions">
|
|
<a class="st-public-hero__cta st-public-hero__cta--primary" href="#st-network-catalog"><?php esc_html_e( 'جستجو در کالاها', 'shabake-tamin' ); ?></a>
|
|
<button type="button" class="st-public-hero__cta st-public-hero__cta--ghost" data-st-supplier-dialog-open aria-haspopup="dialog"><?php esc_html_e( 'ثبت کالا بهعنوان تأمینکننده', 'shabake-tamin' ); ?></button>
|
|
</div>
|
|
<div class="st-public-hero__trust" aria-label="<?php esc_attr_e( 'مزیتهای شبکه تأمین', 'shabake-tamin' ); ?>">
|
|
<span><?php esc_html_e( 'کالاهای عمومی', 'shabake-tamin' ); ?></span>
|
|
<span><?php esc_html_e( 'تماس مستقیم', 'shabake-tamin' ); ?></span>
|
|
<span><?php esc_html_e( 'فیلتر شهر و استان', 'shabake-tamin' ); ?></span>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<div id="st-network-catalog" class="st-public-page__body st-public-catalog-main">
|
|
<?php
|
|
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
|
echo Shabake_Tamin_Catalog::render_html( $config, 'public_page', null );
|
|
?>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<?php
|
|
get_footer();
|