forked from 77media/video-flow
新增 个人卡片增加分享页入口
This commit is contained in:
parent
39556ebd3d
commit
272cc8ba41
@ -13,7 +13,7 @@ import {
|
|||||||
Sun,
|
Sun,
|
||||||
Moon,
|
Moon,
|
||||||
User,
|
User,
|
||||||
Sparkles,
|
Gift,
|
||||||
LogOut,
|
LogOut,
|
||||||
PanelsLeftBottom,
|
PanelsLeftBottom,
|
||||||
Bell,
|
Bell,
|
||||||
@ -432,9 +432,17 @@ export function TopBar({ collapsed, isDesktop=true }: { collapsed: boolean, isDe
|
|||||||
{/* AI 积分 */}
|
{/* AI 积分 */}
|
||||||
<div className="flex flex-col items-center mb-3">
|
<div className="flex flex-col items-center mb-3">
|
||||||
<div className="flex items-center justify-center space-x-3 mb-2">
|
<div className="flex items-center justify-center space-x-3 mb-2">
|
||||||
<div className="p-2 rounded-full bg-white/10 backdrop-blur-sm">
|
<button
|
||||||
<Sparkles className="h-5 w-5 text-white" />
|
type="button"
|
||||||
</div>
|
onClick={() => router.push("/share")}
|
||||||
|
className="w-9 h-9 p-2 rounded-full bg-white/10 backdrop-blur-sm hover:bg-white/20 transition-colors"
|
||||||
|
data-alt="share-entry-button"
|
||||||
|
title="Share"
|
||||||
|
>
|
||||||
|
<span className="inline-block motion-safe:animate-wiggle">
|
||||||
|
<Gift className="h-5 w-5 text-white" />
|
||||||
|
</span>
|
||||||
|
</button>
|
||||||
<span className="text-white text-base font-semibold">
|
<span className="text-white text-base font-semibold">
|
||||||
{isLoadingSubscription
|
{isLoadingSubscription
|
||||||
? "Loading..."
|
? "Loading..."
|
||||||
|
|||||||
@ -73,12 +73,18 @@ module.exports = {
|
|||||||
filter: "url(#toggle-glass) blur(2px)",
|
filter: "url(#toggle-glass) blur(2px)",
|
||||||
transform: "scale(1)",
|
transform: "scale(1)",
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
wiggle: {
|
||||||
|
'0%, 60%': { transform: 'rotate(0deg)' },
|
||||||
|
'70%, 90%': { transform: 'rotate(-6deg)' },
|
||||||
|
'80%': { transform: 'rotate(6deg)' },
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
animation: {
|
animation: {
|
||||||
"accordion-down": "accordion-down 0.2s ease-out",
|
"accordion-down": "accordion-down 0.2s ease-out",
|
||||||
"accordion-up": "accordion-up 0.2s ease-out",
|
"accordion-up": "accordion-up 0.2s ease-out",
|
||||||
"liquid-toggle": "liquid-toggle 2s ease-in-out infinite",
|
"liquid-toggle": "liquid-toggle 2s ease-in-out infinite",
|
||||||
|
"wiggle": "wiggle 1s ease-in-out infinite",
|
||||||
},
|
},
|
||||||
transitionDelay: {
|
transitionDelay: {
|
||||||
'100': '100ms',
|
'100': '100ms',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user