feat: add public page fade in

This commit is contained in:
TerryM
2026-05-29 00:50:15 +08:00
parent 9afb4de859
commit 9b21b7e301
2 changed files with 23 additions and 1 deletions

View File

@@ -612,7 +612,9 @@ export function PublicLayout() {
: "flex-1 px-4 pb-6 pt-6 min-[440px]:px-5 sm:px-6 md:px-9 md:pb-10 md:pt-10 xl:px-0"
}`}
>
<Outlet />
<div key={`${pathname}${search}`} className="ark-page-fade-in">
<Outlet />
</div>
</main>
<footer className="mt-auto bg-transparent md:border-t md:border-ark-line md:bg-ark-nav/90">