Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/#133 옷장 / 옷 디테일 페이지 디자인 수정 #134

Merged
merged 4 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions FITple-Frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ function App() {
</Route>
{/* Navbar 있는 layout */}
<Route element={<Layout />}>
<Route path="/cloth" element={<ClothmainPage />} />
<Route path="/clothdetail/:clothId" element={<ClothdetailPage />} />
<Route path="/clothes" element={<ClothmainPage />} />
<Route path="/clothes/:clothId" element={<ClothdetailPage />} />
<Route path="/clothregister" element={<ClothregisterPage />} />
<Route path="/clothupdate/:clothId" element={<ClothupdatePage />} />
{/* 프로필페이지 */}
Expand Down
4 changes: 2 additions & 2 deletions FITple-Frontend/src/components/Navbar/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ const Navbar = ({ ...props }) => {
{/* 로고 & 메뉴 영역 */}
<MainBox>
{/* 로고 */}
<LogoBox to="/cloth">
<LogoBox to="/clothes">
<LogoImg src={Logo} />
<LogoTitle {...props}>FITple</LogoTitle>
</LogoBox>
{/* 메뉴 */}
<MenuBox {...props}>
<MenuItem
to="/cloth"
to="/clothes"
{...props}
$active={location.pathname === "/cloth"}
>
Expand Down
3 changes: 1 addition & 2 deletions FITple-Frontend/src/components/UserItem/UserItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { useNavigate } from "react-router-dom";
const UserItem = ({ ...props }) => {
const navigate = useNavigate();
const navgateToDetail = () => {
navigate(`/clothdetail/${item.cloth_id}`);
navigate(`/clothes/${item.cloth_id}`);
};
const navgateToEdit = () => {
navigate(`/clothupdate/${item.cloth_id}`);
Expand All @@ -46,7 +46,6 @@ const UserItem = ({ ...props }) => {
const item = props.item || dummyItem; // props.item이 없을 경우 dummyItem 사용
const showOptionBox = () => {
setIsOpen(!isOpen);
console.log(isOpen);
};
return (
<>
Expand Down
1 change: 1 addition & 0 deletions FITple-Frontend/src/components/UserItem/UserItem.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const Container = styled.div`
`;
export const ImgWrap = styled.div`
position: relative;
cursor: pointer;
`;

export const ItemImg = styled.img`
Expand Down
Loading