Skip to content

Commit

Permalink
feat: 유저 정보를 수정하는 페이지 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
Leejha committed Sep 29, 2023
1 parent b3ec096 commit 8df8a1c
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions apps/jurumarble/src/app/my/edit/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
"use client";

import { Button } from "components/button";
import VoteHeader from "components/VoteHeader";
import { useRouter } from "next/navigation";
import { SvgIcPrevious } from "src/assets/icons/components";
import styled, { css } from "styled-components";
import UserInfoEditContainer from "./components/UserInfoEditContainer";

function ProfileEditPage() {
const router = useRouter();
/**
* @TODO 헤더 픽스드인지 확인
*/
return (
<Container>
<VoteHeader
leftButton={
<PreviousButton onClick={() => router.back()}>
<SvgIcPrevious width={24} height={24} />
</PreviousButton>
}
>
프로필 수정
</VoteHeader>
<UserInfoEditContainer />
</Container>
);
}

const Container = styled.div`
padding: 0 20px;
`;

const PreviousButton = styled(Button)`
${({ theme }) => css`
background-color: ${theme.colors.white};
`}
`;

export default ProfileEditPage;

0 comments on commit 8df8a1c

Please sign in to comment.