-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
204 additions
and
65 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
export { default as IcAssetTop1 } from './IcAssetTop1' | ||
export { default as IcAssetTop2 } from './IcAssetTop2' | ||
export { default as IcAssetTop3 } from './IcAssetTop3' | ||
export { default as IcBack } from './IcBack' | ||
export { default as IcClose } from './IcClose' |
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,7 @@ | ||
import { style } from '@vanilla-extract/css'; | ||
|
||
export const dancerImageStyle = style({ | ||
borderRadius: '50%', | ||
|
||
backgroundSize: 'cover', | ||
}); |
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 { dancerImageStyle } from '@/pages/home/components/DancerItem/index.css'; | ||
import Flex from '@/components/Flex'; | ||
import Head from '@/components/Head'; | ||
import Text from '@/components/Text'; | ||
|
||
interface DanceItemProps { | ||
teacherImageUrl: string; | ||
teacherGenre: string; | ||
teacherNickName: string; | ||
} | ||
|
||
const DancerItem = ({ teacherImageUrl, teacherGenre, teacherNickName }: DanceItemProps) => { | ||
return ( | ||
<Flex tag="li" direction="column" gap="1.2rem" align="center"> | ||
<img src={teacherImageUrl} alt="댄서 프로필" width={78} height={78} className={dancerImageStyle} /> | ||
<Flex direction="column" gap="0.4rem" align="center"> | ||
<Head tag="h6">{teacherNickName}</Head> | ||
<Text tag="b6">{teacherGenre}</Text> | ||
</Flex> | ||
</Flex> | ||
); | ||
}; | ||
|
||
export default DancerItem; |
Empty file.
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 @@ | ||
const Footer = () => { | ||
return<Ic></Ic>; | ||
}; | ||
|
||
export default Footer; |
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,23 @@ | ||
import { style } from '@vanilla-extract/css'; | ||
import { vars } from '@/styles/theme.css'; | ||
|
||
export const containerStyle = style({ | ||
position: 'relative', | ||
width: '100%', | ||
height: '7.6rem', | ||
|
||
borderRadius: '4px', | ||
backgroundColor: vars.colors.white, | ||
}); | ||
|
||
export const medalStyle = style({ | ||
position: 'absolute', | ||
top: 0, | ||
left: '0.8rem', | ||
}); | ||
|
||
export const genreStyle = style({ | ||
position: 'absolute', | ||
bottom: '1rem', | ||
right: '1rem', | ||
}); |
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,21 @@ | ||
import { containerStyle, genreStyle, medalStyle } from '@/pages/home/components/GenreItem/index.css'; | ||
import Text from '@/components/Text'; | ||
|
||
interface GenreItemProps { | ||
medalIcon: JSX.Element; | ||
genre: string; | ||
} | ||
|
||
const GenreItem = ({ medalIcon, genre }: GenreItemProps) => { | ||
return ( | ||
<li className={containerStyle}> | ||
<div className={medalStyle}>{medalIcon}</div> | ||
|
||
<Text tag="b2" className={genreStyle}> | ||
{genre} | ||
</Text> | ||
</li> | ||
); | ||
}; | ||
|
||
export default GenreItem; |
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 |
---|---|---|
@@ -1,8 +1,33 @@ | ||
import { style } from '@vanilla-extract/css'; | ||
|
||
export const containerStyle = style({ | ||
paddingLeft: '2rem', | ||
|
||
overflow: 'auto', | ||
whiteSpace: 'nowrap', | ||
}); | ||
|
||
export const rowScrollwrapperStyle = style({ | ||
width: '100%', | ||
|
||
paddingLeft: '2rem', | ||
}); | ||
|
||
export const recommandClassWrapperStyle = style({ | ||
width: '100%', | ||
|
||
paddingLeft: '2rem', | ||
marginTop: '3.2rem', | ||
}); | ||
|
||
export const dancerListWrapperstyle = style({ | ||
width: '100%', | ||
|
||
paddingLeft: '2rem', | ||
marginTop: '4.8rem', | ||
}); | ||
|
||
export const deadlineClassWrapperStyle = style({ | ||
width: '100%', | ||
|
||
paddingLeft: '2rem', | ||
marginTop: '6.1rem', | ||
}); |
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