From eb23a772d0168474d67f8bd27266526a1b8c70e3 Mon Sep 17 00:00:00 2001 From: xiaomai Date: Thu, 11 Sep 2025 15:44:22 +0800 Subject: [PATCH] feat(ui): overhaul landing page with new design and search functionality This commit completely rewrites the main landing page (index.html) to introduce a modern, data-driven design and new features. The previous implementation had hardcoded data and styles directly within the HTML file. This refactor separates concerns and improves maintainability. Key changes: - Complete visual redesign with a modern "glassmorphism" aesthetic and a new color palette. - Externalized all service and link data into a new `siteConfig.json` file, which is now fetched asynchronously. - Added a search bar to dynamically filter the list of services. - Implemented a keyboard shortcut ('/') to focus the search input. - Rewrote the JavaScript logic for rendering content, making it more modular and easier to manage. --- index.html | 1017 +++++++++++------------------------------------ siteConfig.json | 90 +++++ 2 files changed, 333 insertions(+), 774 deletions(-) create mode 100644 siteConfig.json diff --git a/index.html b/index.html index 843da8e..35856b3 100644 --- a/index.html +++ b/index.html @@ -1,805 +1,274 @@ - - + + - - - Tootaio - Premium Developer Services - - - + -
-