From cf93816dce5ba2dd86353d58da96e3689e4de692 Mon Sep 17 00:00:00 2001 From: xiaomai Date: Thu, 11 Sep 2025 15:39:28 +0800 Subject: [PATCH] feat(ui): overhaul landing page with premium dark theme and dynamic content This commit introduces a complete redesign of the landing page, shifting from a static layout to a dynamic, configuration-driven interface with a new premium visual theme. Key Changes: - **Visual Redesign**: Implemented a new premium dark theme with a gold and dark blue color palette, updated typography using 'Playfair Display' and 'Inter' fonts, and enhanced visual effects like gradients, shadows, and hover animations. - **Dynamic Content**: The 'Services' and 'Other Links' sections are no longer hardcoded in HTML. They are now dynamically generated from a `siteConfig` JavaScript object, making the content easier to manage and update. - **On-Scroll Animations**: Added fade-in animations for cards and links as they enter the viewport, using the `IntersectionObserver` API for a more engaging user experience. - **Language Switcher Enhancement**: The language switcher now re-renders the dynamic content to display the correct language without a page reload. - **Code Refactoring**: Centralized page content into a single configuration object, improving maintainability and separating data from presentation. --- index.html | 717 ++++++++++++++++++++++++++++++++++------------------- 1 file changed, 458 insertions(+), 259 deletions(-) diff --git a/index.html b/index.html index 6019575..843da8e 100644 --- a/index.html +++ b/index.html @@ -3,38 +3,35 @@ - Tootaio - 一站式开发者服务平台 + Tootaio - Premium Developer Services +
+ +
+

Developer Options

+
+ + +
+
+ \ No newline at end of file