From e73f62133bfc18fb4c7b3116bf0b412221458e8d Mon Sep 17 00:00:00 2001 From: laobinghu Date: Sun, 22 Mar 2026 08:30:49 +0800 Subject: [PATCH] feat: enhance transitions and animations with UnoCSS - Add advanced page/layout transitions (slide, zoom, fade with blur) - Enhance UnoCSS config with keyframes, transitions, and shortcuts - Add staggered animations for stat cards and table rows - Improve sidebar menu animations with slide-in effects - Add custom dialog/drawer transitions with bounce effects - Optimize transition timing with cubic-bezier easing Based on Element Plus transitions guide and Nuxt 4 transitions docs --- app/app.vue | 111 +++++++ app/layouts/default.vue | 717 ++++++++++++++++++++++++++-------------- app/pages/events.vue | 98 +++++- app/pages/index.vue | 50 ++- app/pages/results.vue | 30 +- nuxt.config.ts | 22 +- uno.config.ts | 200 +++++++++++ 7 files changed, 958 insertions(+), 270 deletions(-) create mode 100644 uno.config.ts diff --git a/app/app.vue b/app/app.vue index ddfc76e..0444506 100644 --- a/app/app.vue +++ b/app/app.vue @@ -4,3 +4,114 @@ + + diff --git a/app/layouts/default.vue b/app/layouts/default.vue index 2287753..fd0a6b8 100644 --- a/app/layouts/default.vue +++ b/app/layouts/default.vue @@ -1,33 +1,55 @@