Skip to content

Commit

Permalink
feat: hover에 transition 추가 (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssuminii committed Oct 24, 2024
1 parent 119c101 commit 0a7e864
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface Post {
}

const Home: React.FC = () => {
useCheckSession()
// useCheckSession()
const { isLogin } = useAuthStore()
const navigate = useNavigate()
const login = useAuthStore((state) => state.login)
Expand Down Expand Up @@ -70,7 +70,7 @@ const Home: React.FC = () => {
'Content-Type': 'application/json',
},
})
console.log(res.data.posts)
// console.log(res.data.posts)
setStudyBoards(res.data.posts)
} catch (error) {
console.log('스터디 게시글 가져오기 에러------->', error)
Expand Down Expand Up @@ -276,6 +276,9 @@ const PostContainer = styled.div`
display: flex;
margin-bottom: 40px;
cursor: pointer;
transition:
transform 0.3s ease,
border-radius 0.3s ease;
img {
width: 154px;
Expand Down Expand Up @@ -315,7 +318,7 @@ const PostContainer = styled.div`
color: ${colors.white};
}
border-radius: 10px;
scale: 1;
transform: scale(1.01);
}
}
`
Expand Down

0 comments on commit 0a7e864

Please sign in to comment.