-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from kyubumjang/feature/54-mainpage-panel
Feature/54 mainpage panel
- Loading branch information
Showing
25 changed files
with
187 additions
and
8 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/components/common/Panel/IconDescription/IconDescription.styles.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const Container = styled('div')({}); |
7 changes: 7 additions & 0 deletions
7
src/components/common/Panel/IconDescription/IconDescription.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import * as S from './IconDescription.styles'; | ||
|
||
const IconDescription = () => { | ||
return <div></div>; | ||
}; | ||
|
||
export default IconDescription; |
3 changes: 3 additions & 0 deletions
3
src/components/common/Panel/IconServiceDescription/IconServiceDescription.styles.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const Container = styled('div')({}); |
7 changes: 7 additions & 0 deletions
7
src/components/common/Panel/IconServiceDescription/IconServiceDescription.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import * as S from './IconServiceDescription.styles'; | ||
|
||
const IconServiceDescription = () => { | ||
return <div></div>; | ||
}; | ||
|
||
export default IconServiceDescription; |
5 changes: 5 additions & 0 deletions
5
src/components/common/Panel/InfoDescription/InfoDescription.styles.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const Container = styled('div')({ | ||
width: '400px', | ||
}); |
16 changes: 16 additions & 0 deletions
16
src/components/common/Panel/InfoDescription/InfoDescription.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import Text from '../../Text/Text'; | ||
import * as S from './InfoDescription.styles'; | ||
|
||
interface InfoDescriptionProps { | ||
description: string; | ||
} | ||
|
||
const InfoDescription = ({ description }: InfoDescriptionProps) => { | ||
return ( | ||
<S.Container> | ||
<Text tag='h4'>{description}</Text> | ||
</S.Container> | ||
); | ||
}; | ||
|
||
export default InfoDescription; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
interface InfoTitleProps { | ||
alignItems: 'flex-start' | 'flex-end'; | ||
} | ||
|
||
export const Container = styled('div')<InfoTitleProps>( | ||
{ | ||
display: 'flex', | ||
flexDirection: 'column', | ||
justifyContent: 'center', | ||
width: '100%', | ||
}, | ||
({ alignItems }) => { | ||
return { | ||
alignItems: alignItems, | ||
}; | ||
}, | ||
); | ||
|
||
export const SubTitleWrapper = styled('div')({ | ||
display: 'flex', | ||
width: '400px', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import Text from '@/components/common/Text/Text'; | ||
|
||
import * as S from './InfoTitle.styles'; | ||
|
||
interface Props { | ||
title: string; | ||
subTitle: string; | ||
alignItems?: 'flex-start' | 'flex-end'; | ||
} | ||
|
||
const InfoTitle = ({ title, subTitle, alignItems }: Props) => { | ||
return ( | ||
<S.Container alignItems={alignItems ?? 'flex-start'}> | ||
<Text tag='h3'>{title}</Text> | ||
<S.SubTitleWrapper> | ||
<Text tag='h2'>{subTitle}</Text> | ||
</S.SubTitleWrapper> | ||
</S.Container> | ||
); | ||
}; | ||
|
||
export default InfoTitle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const Container = styled('div')({ | ||
height: '800px', | ||
}); | ||
|
||
export const Wrapper = styled('div')({ | ||
display: 'flex', | ||
flexDirection: 'column', | ||
padding: '100px', | ||
gap: '100px', | ||
}); | ||
|
||
export const InfoDescriptionWrapper = styled('div')({ | ||
display: 'flex', | ||
flexDirection: 'column', | ||
alignItems: 'flex-end', | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import InfoDescription from '@/components/common/Panel/InfoDescription/InfoDescription'; | ||
import InfoTitle from '@/components/common/Panel/InfoTitle/InfoTitle'; | ||
|
||
import * as S from './OrderStatus.styles'; | ||
|
||
const OrderStatus = () => { | ||
return ( | ||
<S.Container> | ||
<S.Wrapper> | ||
<InfoTitle | ||
title='홈 주문 현황' | ||
subTitle='콜렛 주문 관리, | ||
주문부터 일정까지 똑똑하게' | ||
/> | ||
<S.InfoDescriptionWrapper> | ||
<InfoDescription | ||
description={`P&S에서 콜렛을 주문해 보세요. | ||
원하는 콜렛을 주문 제작은 기본, | ||
일자별 주문 현황을 확인할 수 있어요.`} | ||
/> | ||
</S.InfoDescriptionWrapper> | ||
</S.Wrapper> | ||
</S.Container> | ||
); | ||
}; | ||
|
||
export default OrderStatus; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters