Skip to content

Commit

Permalink
Merge pull request #8 from Konkuk-KUIT/seongyou
Browse files Browse the repository at this point in the history
Seongyou
  • Loading branch information
Turtle-Hwan authored Jul 5, 2024
2 parents f904919 + 2cd07d0 commit 505f7b3
Show file tree
Hide file tree
Showing 6 changed files with 461 additions and 41 deletions.
7 changes: 7 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ import HabitDetailPage from "./pages/HabitDetailPage/HabitDetailPage";
import FeedPage from "./pages/FeedPage/FeedPage";
import StorePage from "./pages/StorePage/StorePage";
import OptionPage from "./pages/OptionPage/OptionPage";
import ManagementPage from "./pages/ManagementPage/ManagementPage";
import ProfileEditPage from "./pages/ProfileEditPage/ProfileEditPage";
import NoticePage from "./pages/NoticePage/NoticePage";


import AddHabit from "./pages/AddHabit/addHabit";
import MyProgress from "./pages/MyProgress/myProgress";
Expand Down Expand Up @@ -46,6 +50,9 @@ function App() {
{ path: "/myProgress", element: <MyProgress /> },
{ path: "/store", element: <StorePage /> },
{ path: "/option", element: <OptionPage /> },
{ path: "/option/management", element: <ManagementPage /> },
{ path: "/option/management/profile", element: <ProfileEditPage /> },
{ path: "/option/notice", element: <NoticePage /> },
{ path: "/login", element: <LoginPage /> },
],
},
Expand Down
100 changes: 100 additions & 0 deletions src/pages/ManagementPage/ManagementPage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
import styled from 'styled-components'

const Body = styled.div`
display: flex;
flex-direction: column;
width: 390px;
`;

const Header = styled.div`
display: flex;
height: 50px;
padding-left: 20px;
padding-top: 13px;
padding-bottom: 13px;
`;

const Phone = styled.div`
display: flex;
height: 80px;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
padding-left: 20px;
padding-top: 20px;
padding-bottom: 20px;
`;

const Email = styled.div`
display: flex;
height: 80px;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
padding-left: 20px;
padding-top: 20px;
padding-bottom: 20px;
`;

const Profile = styled.div`
display: flex;
height: 50px;
padding-left: 20px;
padding-top: 14px;
padding-bottom: 14px;
`;

const Leave = styled.div`
display: flex;
height: 50px;
padding-left: 20px;
padding-top: 14px;
padding-bottom: 14px;
`;

const Icon = styled.img`
width: 24px;
height: 24px;
margin-right: 20px;
`;

const Span1 = styled.span`
font-family: pretendard;
font-size: 17px;
`;

const Span2 = styled.span`
font-family: pretendard;
font-size: 12px;
color: #6B7684;
`;
const ManagementPage = () => {
return (
<Body>
<Header>
<Icon src="" alt="arrow" />
<Span1>๋‚ด ์ •๋ณด ๊ด€๋ฆฌ</Span1>
</Header>

<Phone>
<Span1>์ „ํ™”๋ฒˆํ˜ธ</Span1>
<Span2>+82 10-1234-5678</Span2>
</Phone>

<Email>
<Span1>์ด๋ฉ”์ผ</Span1>
<Span2>[email protected]</Span2>
</Email>

<Profile>
<Span1>ํ”„๋กœํ•„ ํŽธ์ง‘</Span1>
</Profile>

<Leave>
<Span1>ํƒˆํ‡ดํ•˜๊ธฐ</Span1>
</Leave>
</Body>
)
}

export default ManagementPage
142 changes: 142 additions & 0 deletions src/pages/NoticePage/NoticePage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
import styled from 'styled-components';

const Body = styled.div`
display: flex;
flex-direction: column;
width: 390px;
`;

const Header = styled.div`
display: flex;
height: 50px;
padding-left: 20px;
padding-top: 13px;
padding-bottom: 13px;
`;

const Notice1 = styled.div`
display: flex;
height: 82px;
padding: 20px;
justify-content: space-between;
align-items: center;
`;

const Notice2 = styled.div`
display: flex;
height: 102px;
padding: 20px;
justify-content: space-between;
align-items: center;
`;

const Title = styled.div`
display: flex;
flex-direction: column;
`;

const Subtitle = styled.div`
display: flex
height: 50px;
padding: 17px;
background: #F6F6F6;
`;

const Icon = styled.img`
width: 24px;
height: 24px;
margin-right: 20px;
`;

const Extend = styled.img`
width: 24px;
height: 24px;
`;

const InfoImg = styled.img`
width: 390px;
height: 200px;
background: #ECECEC;
`

const Span1 = styled.span`
display: flex;
width: 300px;
font-family: pretendard;
font-size: 17px;
text-align: start;
`;

const Span2 = styled.span`
display: flex;
font-family: pretendard;
font-size: 13px;
`;

const Date = styled.span`
display: flex;
justify-content: flex-start;
font-family: pretendard;
font-size: 12px;
color: #6B7684;
`;

const Info = styled.span`
display: flex;
padding: 17px;
font-family: pretendard;
font-size: 12px;
text-align: start;
`;

const NoticePage = () => {
return (
<Body>
<Header>
<Icon src="" alt="arrow" />
<Span1>๊ณต์ง€์‚ฌํ•ญ</Span1>
</Header>

<Notice1>
<Title>
<Date>24-07-06</Date>
<Span1>ํ•ด์ปคํ†ค ํ”„๋กœ์ ํŠธ ์™„์ˆ˜! 2.0.0 ์—…๋ฐ์ดํŠธ ์•ˆ๋‚ด</Span1>
</Title>
<Extend src="" alt="arrow" />
</Notice1>

<Notice2>
<Title>
<Date>24-07-05</Date>
<Span1>๋œจ๊ฑฐ์šด ์—ฌ๋ฆ„๋ฐ”๋žŒ๊ณผ ํ•จ๊ป˜ ์ฐพ์•„์˜จ 1.0.1 ์—…๋ฐ์ดํŠธ ์•ˆ๋‚ด</Span1>
</Title>
<Extend src="" alt="arrow" />
</Notice2>

<Notice1>
<Title>
<Date>24-07-05</Date>
<Span1>์•ˆ๋“œ๋กœ์ด๋“œ ํ”„๋กœํ† ํƒ€์ž… ๋ฒ„์ „ ์•ˆ๋‚ด (v 1.0.0)</Span1>
</Title>
<Extend src="" alt="arrow" />
</Notice1>

<Subtitle>
<Span2>#ํ•˜๊ธด ์‰ฝ์ง€๋งŒ ๋งˆ์Œ๋จน๊ธฐ ์–ด๋ ค์šด ๊ฒƒ๋“ค, ๋‹น์‹ ๋„ ํ•ด๋‚ผ ์ˆ˜ ์žˆ์–ด์š”!</Span2>
</Subtitle>

<InfoImg src="" alt="info-image" />

<Info>
๋ฐฉํ•™๋™์•ˆ์— ๋Š๊ธ‹ํ•˜๊ฒŒ ์‰ฌ๋ฉด์„œ๋„, ๋ฏธ๋ž˜๋ฅผ ์œ„ํ•ด ํ•˜๋ฃจํ•˜๋ฃจ ํ•ด๋‚ด์•ผํ•˜๋Š” ์ผ๋“ค!
์ง€๊ธˆ๊ป ๋™๊ธฐ๋ถ€์—ฌ ์—†์ด ๋Š˜์–ด์ ธ์žˆ๋˜ ์—ฌ๋Ÿฌ๋ถ„๋“ค์„ ์œ„ํ•ด ์•ผ์‹ฌ์ฐจ๊ฒŒ ์ค€๋น„ํ–ˆ์Šต๋‹ˆ๋‹ค~
์Šต๊ด€์„ ๋“ฑ๋กํ•ด์„œ ๋งค์ผ ์Šคํ‹ฐ์ปค๋ฅผ ์ฑ„์›Œ๊ฐ€๋Š” ๋งŒ์กฑ๊ฐ์„ ๋Š๊ปด๋ณด์„ธ์š”!
์„ฑ๊ณต์ ์œผ๋กœ ์Šต๊ด€์„ ์ˆ˜ํ–‰ํ–ˆ๋‹ค๋ฉด ๋”ฐ๋ˆ๋”ฐ๋ˆํ•œ ์‹ ์ƒ ์Šคํ‹ฐ์ปค๋ฅผ ์‚ด ๊ธฐํšŒ๊นŒ์ง€!!
์ง€๊ธˆ๊นŒ์ง€ ์ด๋Ÿฐ ์–ดํ”Œ์€ ์—†์—ˆ๋‹ค! ์ด๊ฑด ์ž๊ธฐ๊ฐœ๋ฐœ ์–ดํ”Œ์ธ๊ฐ€ ๊พธ๋ฏธ๊ธฐ ์–ดํ”Œ์ธ๊ฐ€..
๊ท€์—ฝ๊ฒŒ ์‘์›ํ•˜๋Š” ์Šคํ‹ฐ์ปค๋“ค๊ณผ ํ•จ๊ป˜ ์Šต๊ด€์„ ์™„์„ฑํ•ด๋ณด์„ธ์š”.
</Info>
</Body>
)
}

export default NoticePage
Loading

0 comments on commit 505f7b3

Please sign in to comment.