diff --git a/components/layout/top-bar.tsx b/components/layout/top-bar.tsx index 15baac4..365fab3 100644 --- a/components/layout/top-bar.tsx +++ b/components/layout/top-bar.tsx @@ -13,7 +13,7 @@ import { Sun, Moon, User, - Sparkles, + Gift, LogOut, PanelsLeftBottom, Bell, @@ -432,9 +432,17 @@ export function TopBar({ collapsed, isDesktop=true }: { collapsed: boolean, isDe {/* AI 积分 */}
-
- -
+ {isLoadingSubscription ? "Loading..." diff --git a/tailwind.config.js b/tailwind.config.js index c408d20..d01ae8a 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -73,12 +73,18 @@ module.exports = { filter: "url(#toggle-glass) blur(2px)", transform: "scale(1)", } + }, + wiggle: { + '0%, 60%': { transform: 'rotate(0deg)' }, + '70%, 90%': { transform: 'rotate(-6deg)' }, + '80%': { transform: 'rotate(6deg)' }, } }, animation: { "accordion-down": "accordion-down 0.2s ease-out", "accordion-up": "accordion-up 0.2s ease-out", "liquid-toggle": "liquid-toggle 2s ease-in-out infinite", + "wiggle": "wiggle 1s ease-in-out infinite", }, transitionDelay: { '100': '100ms',