Files

29 lines
1.4 KiB
PHP

<?php
/** Hero — minimalist luxury. @package Fragrance_Trade */
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$title = fragrance_trade_get_mod( 'b2b_hero_title' );
?>
<section id="intro" class="b2b-hero">
<div class="container">
<div class="row">
<div class="col-xl-9 col-lg-10">
<p class="section-eyebrow"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_hero_eyebrow' ) ); ?></p>
<h1><?php echo esc_html( $title ); ?></h1>
<p class="b2b-hero-lead"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_hero_text' ) ); ?></p>
<div class="d-flex flex-wrap gap-3 mt-4">
<a class="btn btn-b2b-primary btn-lg" href="<?php echo esc_url( fragrance_trade_resolve_url( fragrance_trade_get_mod( 'b2b_hero_primary_url' ) ) ); ?>"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_hero_primary_label' ) ); ?></a>
<a class="btn btn-b2b-outline btn-lg" href="<?php echo esc_url( fragrance_trade_resolve_url( fragrance_trade_get_mod( 'b2b_hero_secondary_url' ) ) ); ?>"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_hero_secondary_label' ) ); ?></a>
</div>
<ul class="hero-proof-list" aria-label="<?php esc_attr_e( '服务步骤', 'fragrance-trade' ); ?>">
<li><?php esc_html_e( '需求沟通', 'fragrance-trade' ); ?></li>
<li><?php esc_html_e( '方案确认', 'fragrance-trade' ); ?></li>
<li><?php esc_html_e( '施工交付', 'fragrance-trade' ); ?></li>
</ul>
</div>
</div>
</div>
</section>