Compare commits

..

2 Commits

Author SHA1 Message Date
huyuanxiang f5115c52ba 把国际版移动到logo之后
1 week ago
huyuanxiang 5fe0742deb 0409更新
2 weeks ago

@ -130,7 +130,7 @@
<body <?php body_class('no-js'); ?>> <body <?php body_class('no-js'); ?>>
<nav class="main-nav"> <nav class="main-nav">
<div class="nav-container"> <div class="nav-container">
<div class="nav-logo"> <div class="nav-logo flex">
<a href="<?php echo home_url(); ?>"> <a href="<?php echo home_url(); ?>">
<?php <?php
$logo = get_theme_option('site_logo'); $logo = get_theme_option('site_logo');
@ -140,8 +140,11 @@
<img src="<?php bloginfo('template_url'); ?>/assets/images/logo-1.svg" alt="logo"> <img src="<?php bloginfo('template_url'); ?>/assets/images/logo-1.svg" alt="logo">
<?php endif; ?> <?php endif; ?>
</a> </a>
<a href="https://nenghui.com" class="ml-[2rem] text-[#295ca8] cursor-pointer relative group">
国际版
<div class="absolute bottom-0 left-0 w-0 h-[2px] bg-[#295ca8] transition-all duration-300 group-hover:w-full"></"></div>
</a>
</div> </div>
<button class="menu-toggle" aria-label="菜单"> <button class="menu-toggle" aria-label="菜单">
<span></span> <span></span>
<span></span> <span></span>

@ -69,7 +69,7 @@ wp_enqueue_script('about-features-js', get_template_directory_uri() . '/assets/j
<div class="relative rounded-[2.5rem] overflow-hidden shadow-[0_20px_50px_rgba(0,0,0,0.06)] border border-slate-100 group"> <div class="relative rounded-[2.5rem] overflow-hidden shadow-[0_20px_50px_rgba(0,0,0,0.06)] border border-slate-100 group">
<img class="w-full aspect-[6/3] lg:aspect-[4/3] object-cover group-hover:scale-105 transition-transform duration-700" <img class="w-full aspect-[6/3] lg:aspect-[4/3] object-cover group-hover:scale-105 transition-transform duration-700"
src="http://localhost:83/wp-content/themes/nenghui-energy-theme-cn/assets/images/nh-build.png" src="http://cn.nenghui.com/wp-content/themes/nenghui-energy-theme-cn/assets/images/nh-build.png"
alt="能辉科技办公大楼"> alt="能辉科技办公大楼">
<!-- 图片优雅渐变遮罩 --> <!-- 图片优雅渐变遮罩 -->
<div class="absolute inset-0 bg-gradient-to-t from-slate-900/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none"></div> <div class="absolute inset-0 bg-gradient-to-t from-slate-900/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none"></div>

@ -4,12 +4,12 @@
<div class="about-features-stats"> <div class="about-features-stats">
<div class="about-features-stat-item"> <div class="about-features-stat-item">
<div class="text-[48px] text-white font-bold mb-2"> <span class="about-counter" data-target="100">0</span>+</div> <div class="text-[48px] text-white font-bold mb-2"> <span class="about-counter" data-target="100">0</span>+</div>
<div class="about-stat-label">技术研人员</div> <div class="about-stat-label">技术研人员</div>
</div> </div>
<div class="about-features-stat-item"> <div class="about-features-stat-item">
<div class="text-[48px] text-white font-bold mb-2"> <span class="about-counter" data-target="400">0</span>+</div> <div class="text-[48px] text-white font-bold mb-2"> <span class="about-counter" data-target="400">0</span>+</div>
<div class="about-stat-label">中大型电工程</div> <div class="about-stat-label">中大型电工程</div>
</div> </div>
<div class="about-features-stat-item"> <div class="about-features-stat-item">

Loading…
Cancel
Save