style: fine-tune UI elements

This commit is contained in:
2026-02-09 15:20:05 +08:00
parent 170827db16
commit 42e261bcc5
5 changed files with 20 additions and 45 deletions
+3
View File
@@ -1,4 +1,6 @@
---
import Footer from '../components/sections/Footer.astro';
const { title = "浙江贝凡网络科技", activeNav = "home" } = Astro.props;
const navItems = [
@@ -75,6 +77,7 @@ function getNavLinkClass(itemId: string) {
</div>
</header>
<slot />
<Footer />
<button id="back-to-top" class="fixed bottom-8 right-8 w-12 h-12 bg-primary rounded-full flex items-center justify-center text-white shadow-lg opacity-0 invisible transition-all duration-300 hover:bg-primary/90">
<i class="fa fa-arrow-up"></i>
</button>