Skip to content

Commit 3c09e05

Browse files
committed
FEAT :: PhotoCard Hold!!
1 parent 0b317bd commit 3c09e05

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/component/body/photocard/PhotoCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const PhotoCard = (
1717
const isLiked = new AnyRepository<boolean>(false)
1818

1919
return (
20-
<div key={"photo-card" + props.id} className={`flex `}>
20+
<div key={"photo-card" + props.id} className={`flex hover:translate-y-[-8%] hover:scale-110 hover:shadow-[0_15px_15px_0_rgba(0,0,0,0.25)] rounded-[25px] animated`}>
2121
<div onClick={() => {
2222
PhotoCardModal(props, setModel, isLiked, toast, setToast)
2323
}}>

src/component/body/photocard/PhotoCardImage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export interface PhotoCardImageProps {
77
export const PhotoCardImage = (props: PhotoCardImageProps) => {
88
return (
99
<img width={props.width} height={props.height} src={props.image}
10-
className={`w-[${props.width}] h-[${props.height}] object-cover border-photocard-stroke border-[5px] border-solid rounded-[25px] shadow-lg`}/>
10+
className={`w-[${props.width}] h-[${props.height}] object-cover border-photocard-stroke border-[5px] border-solid rounded-[25px] shadow-photo-card`}/>
1111
)
1212
}

tailwind.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ module.exports = {
66
theme: {
77
extend: {
88
boxShadow: {
9-
'blur-modal': "0 0 80px 80px rgba(0, 0, 0, 0.25)"
9+
'blur-modal': "0 0 80px 80px rgba(0, 0, 0, 0.25)",
10+
'photo-card': "0px 10px 5px 0px rgba(0, 0, 0, 0.25)"
1011
}
1112
},
1213
colors: {

0 commit comments

Comments
 (0)