-
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.
* feat : page 레이이웃 설정 * feat : 화면 레이아웃 마무리 * feat : 충돌 커밋 수정 및 title 수정 * feat : PageNavigation 분리 --------- Co-authored-by: 김문경 <>
- Loading branch information
1 parent
78a0e43
commit 3ca90a8
Showing
4 changed files
with
401 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
'use client'; | ||
|
||
import { Button, Flex, Text } from '@chakra-ui/react'; | ||
|
||
import StudyAssets from '@/containers/studyAsset/StudyAssets'; | ||
|
||
const Page = () => { | ||
return ( | ||
<Flex align="center" direction="column" gap="9" w="100%" p="8"> | ||
<Flex justify="space-between" w="100%"> | ||
<Flex direction="row" gap="2"> | ||
<Text textStyle="bold_2xl">학습자료 갤러리</Text> | ||
</Flex> | ||
<Button color="white" bg="orange_dark" rounded="full"> | ||
자료 등록 | ||
</Button> | ||
</Flex> | ||
<StudyAssets /> | ||
</Flex> | ||
); | ||
}; | ||
|
||
export default Page; |
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,27 @@ | ||
'use client'; | ||
|
||
import { Flex, Grid } from '@chakra-ui/react'; | ||
|
||
import StudyAssetCard from '@/components/StudyAssetCard'; | ||
import studyAssetCardDataAll from '@/mocks/studyAssetCardAll'; | ||
|
||
const StudyAssets = () => { | ||
return ( | ||
<Flex direction="column"> | ||
<Grid gap={{ sm: '2', md: '4', xl: '8' }} templateColumns="repeat(4, 1fr)" w="100%"> | ||
{studyAssetCardDataAll.map((data) => ( | ||
<StudyAssetCard | ||
key={data.title} | ||
title={data.title} | ||
content={data.content} | ||
date={data.date} | ||
bookmark={data.bookmark} | ||
img={data.img} | ||
/> | ||
))} | ||
</Grid> | ||
</Flex> | ||
); | ||
}; | ||
|
||
export default StudyAssets; |
Oops, something went wrong.