fix: 사진 삭제 API 수정, 앨범 호버 애니메이션 개선
This commit is contained in:
parent
2bbb6f53e5
commit
1ae01fb2d7
2 changed files with 4 additions and 4 deletions
|
|
@ -758,7 +758,7 @@ router.delete(
|
||||||
}
|
}
|
||||||
|
|
||||||
const photo = photos[0];
|
const photo = photos[0];
|
||||||
const filename = photo.photo_url.split("/").pop();
|
const filename = photo.original_url.split("/").pop();
|
||||||
const basePath = `album/${photo.folder_name}/photo`;
|
const basePath = `album/${photo.folder_name}/photo`;
|
||||||
|
|
||||||
// RustFS에서 삭제 (3가지 크기 모두)
|
// RustFS에서 삭제 (3가지 크기 모두)
|
||||||
|
|
|
||||||
|
|
@ -111,8 +111,8 @@ function Discography() {
|
||||||
key={album.id}
|
key={album.id}
|
||||||
initial={{ opacity: 0, y: 30 }}
|
initial={{ opacity: 0, y: 30 }}
|
||||||
animate={{ opacity: 1, y: 0 }}
|
animate={{ opacity: 1, y: 0 }}
|
||||||
transition={{ delay: index * 0.1 }}
|
transition={{ delay: index * 0.1, duration: 0.3 }}
|
||||||
className="group bg-white rounded-2xl overflow-hidden shadow-lg hover:shadow-2xl transition-all duration-300 cursor-pointer"
|
className="group bg-white rounded-2xl overflow-hidden shadow-lg hover:shadow-2xl transition-shadow duration-300 cursor-pointer"
|
||||||
onClick={() => handleAlbumClick(album.title)}
|
onClick={() => handleAlbumClick(album.title)}
|
||||||
>
|
>
|
||||||
{/* 앨범 커버 */}
|
{/* 앨범 커버 */}
|
||||||
|
|
@ -123,7 +123,7 @@ function Discography() {
|
||||||
<img
|
<img
|
||||||
src={album.cover_url}
|
src={album.cover_url}
|
||||||
alt={album.title}
|
alt={album.title}
|
||||||
className="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"
|
className="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500 will-change-transform"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{/* 호버 오버레이 */}
|
{/* 호버 오버레이 */}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue