File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
common/component/Mandalart/Square Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -11,24 +11,28 @@ const SQUARE_TYPES = {
1111 TODO_SUB : {
1212 width : '9.6rem' ,
1313 height : '9.6rem' ,
14+ padding : '0.6rem' ,
1415 mainFont : fonts . body04 ,
1516 subFont : fonts . caption01 ,
1617 } ,
1718 TODO_MAIN : {
1819 width : '19.6rem' ,
1920 height : '19.6rem' ,
21+ padding : '1.4rem' ,
2022 mainFont : fonts . title03 ,
2123 subFont : fonts . subtitle01 ,
2224 } ,
2325 TODO_EDIT : {
2426 width : '16rem' ,
2527 height : '16rem' ,
28+ padding : '1.2rem' ,
2629 mainFont : fonts . subtitle01 ,
2730 subFont : fonts . subtitle05 ,
2831 } ,
2932 MY_MANDAL : {
3033 width : '29.8rem' ,
3134 height : '29.8rem' ,
35+ padding : '4.4rem' ,
3236 mainFont : fonts . display02 ,
3337 subFont : fonts . title01 ,
3438 } ,
@@ -44,6 +48,7 @@ const createBaseCell = (type: keyof typeof SQUARE_TYPES) =>
4448 textAlign : 'center' ,
4549 width : SQUARE_TYPES [ type ] . width ,
4650 height : SQUARE_TYPES [ type ] . height ,
51+ padding : SQUARE_TYPES [ type ] . padding ,
4752 boxSizing : 'border-box' ,
4853 } ) ;
4954
Original file line number Diff line number Diff line change 1+ import Mandalart from '@/common/component/Mandalart/Mandalart' ;
2+
13const Home = ( ) => {
24 return (
35 < div >
46 < h1 > 홈</ h1 >
7+ < Mandalart type = { 'TODO_SUB' } />
8+ < Mandalart type = { 'TODO_MAIN' } />
9+ < Mandalart type = { 'TODO_EDIT' } />
10+ < Mandalart type = { 'MY_MANDAL' } />
511 </ div >
612 ) ;
713} ;
You can’t perform that action at this time.
0 commit comments