feat: release B2B Trade theme 2.1.0

This commit is contained in:
WorkBuddy
2026-07-24 22:25:29 +08:00
parent 13a35c7ec7
commit 4f070d4677
64 changed files with 1769 additions and 1762 deletions
+10 -6
View File
@@ -1,5 +1,9 @@
<?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">
@@ -10,13 +14,13 @@ $title = fragrance_trade_get_mod( 'b2b_hero_title' );
<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_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_get_mod( 'b2b_hero_secondary_url' ) ); ?>"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_hero_secondary_label' ) ); ?></a>
<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 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>