fix:修改样式

This commit is contained in:
ljy
2026-07-29 22:43:28 +08:00
parent 43c530e915
commit 855be4d3ad
3 changed files with 34 additions and 1 deletions
+3 -1
View File
@@ -223,10 +223,12 @@ function App() {
}, [autoPlay, isStageMode])
const progress = ((activeIndex + 1) / sections.length) * 100
const techSectionIndex = sections.findIndex((s) => s.id === 'tech')
const isTechTopbar = !isStageMode && techSectionIndex >= 0 && activeIndex >= techSectionIndex
return (
<div className={isStageMode ? 'site is-stage' : 'site'}>
<header className="topbar">
<header className={isTechTopbar ? 'topbar is-tech-theme' : 'topbar'}>
<a className="brand-lockup" href="#hero" onClick={() => goToSection(0)}>
<img className="haoke-logo-img" src="/assets/haoke-logo.png" alt="杜康好客" />
<span>