모바일: 홈 앨범 섹션 배경색 통일, 바텀바 페이지 전환 시 스크롤 맨 위로
This commit is contained in:
parent
d999872517
commit
0664c7b594
2 changed files with 2 additions and 1 deletions
|
|
@ -43,6 +43,7 @@ function MobileBottomNav() {
|
||||||
<NavLink
|
<NavLink
|
||||||
key={item.path}
|
key={item.path}
|
||||||
to={item.path}
|
to={item.path}
|
||||||
|
onClick={() => window.scrollTo(0, 0)}
|
||||||
className={`flex flex-col items-center justify-center gap-1 w-full h-full transition-colors ${
|
className={`flex flex-col items-center justify-center gap-1 w-full h-full transition-colors ${
|
||||||
isActive ? 'text-primary' : 'text-gray-400'
|
isActive ? 'text-primary' : 'text-gray-400'
|
||||||
}`}
|
}`}
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,7 @@ function MobileHome() {
|
||||||
|
|
||||||
{/* 앨범 섹션 */}
|
{/* 앨범 섹션 */}
|
||||||
<motion.section
|
<motion.section
|
||||||
className="px-4 py-6 bg-gray-50"
|
className="px-4 py-6"
|
||||||
initial={{ opacity: 0, y: 20 }}
|
initial={{ opacity: 0, y: 20 }}
|
||||||
animate={{ opacity: 1, y: 0 }}
|
animate={{ opacity: 1, y: 0 }}
|
||||||
transition={{ delay: 0.5, duration: 0.5 }}
|
transition={{ delay: 0.5, duration: 0.5 }}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue