@daeryun/dr_components 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14,7 +14,7 @@ const MenuTab = ({ search, searchDoneRef, setChoiceTabValue, totalCount, count }
|
|
|
14
14
|
}, [searchParams]);
|
|
15
15
|
return (<div className={'mb-[106px] mt-20 grid h-full w-full grid-cols-8 max-xl:grid-cols-4 max-lg:my-[60px] max-[850px]:grid-cols-2 max-sm:my-10 '}>
|
|
16
16
|
{[{ tab: '전체', etab: 'All', value: '전체' }, ...tabTypes].map(item => {
|
|
17
|
-
return (<Link ref={searchDoneRef} href={`/integrate?search=${querySearch}&tab=${item.value}`} key={item.value} className={'flex h-[62px] w-full items-center justify-center text-[19px] leading-none tracking-[-0.7px] ' +
|
|
17
|
+
return (<Link ref={searchDoneRef} href={`/integrate?search=${querySearch}&tab=${item.value}`} key={item.value} className={'flex h-[62px] w-full flex-col items-center justify-center text-[19px] leading-none tracking-[-0.7px] ' +
|
|
18
18
|
'max-3xl:text-[18px] ' +
|
|
19
19
|
'max-xl:flex-row max-xl:gap-1 ' +
|
|
20
20
|
'max-[850px]:h-[50px] ' +
|
|
@@ -23,12 +23,15 @@ const MenuTab = ({ search, searchDoneRef, setChoiceTabValue, totalCount, count }
|
|
|
23
23
|
(tab === item.value
|
|
24
24
|
? 'bg-[#29579C] font-[800] text-[#FFFFFF] '
|
|
25
25
|
: 'border border-solid border-[#E9E9E9] bg-[#F7F7F7] font-[500] text-[#949494] ')}>
|
|
26
|
-
{item.tab}
|
|
27
|
-
{
|
|
26
|
+
{item.tab} <br className={'max-xl:hidden'}/>{' '}
|
|
27
|
+
<span className={'xl:pt-1'}>
|
|
28
|
+
(
|
|
29
|
+
{item.value != '전체'
|
|
28
30
|
? //@ts-ignore
|
|
29
31
|
count[String(item.value)].toLocaleString()
|
|
30
32
|
: totalCount.toLocaleString()}
|
|
31
|
-
|
|
33
|
+
){' '}
|
|
34
|
+
</span>
|
|
32
35
|
</Link>);
|
|
33
36
|
})}
|
|
34
37
|
</div>);
|
|
@@ -46,7 +46,7 @@ const MenuTab = ({ search, searchDoneRef, setChoiceTabValue, totalCount, count }
|
|
|
46
46
|
href={`/integrate?search=${querySearch}&tab=${item.value}`}
|
|
47
47
|
key={item.value}
|
|
48
48
|
className={
|
|
49
|
-
'flex h-[62px] w-full items-center justify-center text-[19px] leading-none tracking-[-0.7px] ' +
|
|
49
|
+
'flex h-[62px] w-full flex-col items-center justify-center text-[19px] leading-none tracking-[-0.7px] ' +
|
|
50
50
|
'max-3xl:text-[18px] ' +
|
|
51
51
|
'max-xl:flex-row max-xl:gap-1 ' +
|
|
52
52
|
'max-[850px]:h-[50px] ' +
|
|
@@ -57,12 +57,15 @@ const MenuTab = ({ search, searchDoneRef, setChoiceTabValue, totalCount, count }
|
|
|
57
57
|
: 'border border-solid border-[#E9E9E9] bg-[#F7F7F7] font-[500] text-[#949494] ')
|
|
58
58
|
}
|
|
59
59
|
>
|
|
60
|
-
{item.tab}
|
|
61
|
-
{
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
60
|
+
{item.tab} <br className={'max-xl:hidden'} />{' '}
|
|
61
|
+
<span className={'xl:pt-1'}>
|
|
62
|
+
(
|
|
63
|
+
{item.value != '전체'
|
|
64
|
+
? //@ts-ignore
|
|
65
|
+
count[String(item.value)].toLocaleString()
|
|
66
|
+
: totalCount.toLocaleString()}
|
|
67
|
+
){' '}
|
|
68
|
+
</span>
|
|
66
69
|
</Link>
|
|
67
70
|
);
|
|
68
71
|
})}
|
package/dist/styles/globals.css
CHANGED
|
@@ -22897,6 +22897,10 @@ body {
|
|
|
22897
22897
|
padding-right: 20px;
|
|
22898
22898
|
}
|
|
22899
22899
|
|
|
22900
|
+
.xl\:pt-1 {
|
|
22901
|
+
padding-top: 0.25rem;
|
|
22902
|
+
}
|
|
22903
|
+
|
|
22900
22904
|
.xl\:text-\[15px\] {
|
|
22901
22905
|
font-size: 15px;
|
|
22902
22906
|
}
|