@daeryun/dr_components 0.7.45 → 0.7.47

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.
@@ -56,7 +56,7 @@ const PageTitleBox = ({ titleTxt, subTxt, imgType, isViewP, isSeo, isUseHeaderCo
56
56
  'max-md:h-[250px] ' +
57
57
  //480px
58
58
  'max-xs:h-[200px] '}>
59
- {width >= 640 ? (<Image src={imageMap[imgType]} alt={'페이지 타이틀 배경 pc 버전'} fill sizes={'100vw'} className={'h-full w-full object-cover'} unoptimized priority draggable={false}/>) : (<Image src={imageMapMobile[imgType]} alt={'페이지 타이틀 배경 모바일 버전'} fill sizes={'100vw'} className={'h-full w-full object-cover'} unoptimized priority draggable={false}/>)}
59
+ {width >= 640 ? (<Image src={imageMap[imgType]} alt={'페이지 타이틀 배경 pc 버전'} fill sizes={'100vw'} className={'h-full w-full object-cover'} unoptimized priority draggable={false}/>) : (<Image src={imageMapMobile[imgType]} alt={'페이지 타이틀 배경 모바일 버전'} fill sizes={'100vw'} className={'h-full w-full object-cover'} priority draggable={false}/>)}
60
60
  <Wrapper className={isSeo ? 'relative m-auto w-[90%] max-w-[1536px] tracking-[-0.5px] max-xs:mb-[30px]' : 'relative'}>
61
61
  <CategoryMenuForPage className="mb-[26px] max-md:mb-[20px] max-xs:mb-[12px]"/>
62
62
  <SubPageTitle titleTxt={titleTxt} subTxt={subTxt} isViewP={isViewP}/>
@@ -98,7 +98,6 @@ const PageTitleBox = ({ titleTxt, subTxt, imgType, isViewP, isSeo, isUseHeaderCo
98
98
  fill
99
99
  sizes={'100vw'}
100
100
  className={'h-full w-full object-cover'}
101
- unoptimized
102
101
  priority
103
102
  draggable={false}
104
103
  />
@@ -5,13 +5,20 @@ import PdfPrintCopyLink from '../../../PdfPrintCopyLink/PdfPrintCopyLink';
5
5
  import { useRef } from 'react';
6
6
  import Image from 'next/image';
7
7
  import { htmlUrlDecode } from '../../../../lib';
8
- import SeoStrength from '../../../Seo/SeoStrength';
9
8
  import Link from 'next/link';
10
- import TuiViewer from '../../../TuiViewer/TuiViewer';
11
- import SeoConsulting from '../../../Seo/SeoConsulting';
12
- import SuccessCase from '../../../Seo/SuccessCase';
13
- import { Lawyer } from '../../../Seo/Lawyer';
14
- import { FieldCase } from '../../../Seo/FieldCase';
9
+ import dynamic from 'next/dynamic';
10
+ // import { Lawyer } from '../../../Seo/Lawyer';
11
+ // import TuiViewer from '../../../TuiViewer/TuiViewer';
12
+ // import SeoConsulting from '../../../Seo/SeoConsulting';
13
+ // import SeoStrength from '../../../Seo/SeoStrength';
14
+ // import { FieldCase } from '../../../Seo/FieldCase';
15
+ // import SuccessCase from '../../../Seo/SuccessCase';
16
+ const SeoStrength = dynamic(() => import('../../../Seo/SeoStrength'), { ssr: true });
17
+ const SeoConsulting = dynamic(() => import('../../../Seo/SeoConsulting'), { ssr: true });
18
+ const SuccessCase = dynamic(() => import('../../../Seo/SuccessCase').then(mod => mod.SuccessCase));
19
+ const Lawyer = dynamic(() => import('../../../Seo/Lawyer').then(mod => mod.Lawyer));
20
+ const FieldCase = dynamic(() => import('../../../Seo/FieldCase').then(mod => mod.FieldCase));
21
+ const TuiViewer = dynamic(() => import('../../../TuiViewer/TuiViewer'), { ssr: true });
15
22
  import EyeImg from '../../../../asset/images/faq/eye.webp';
16
23
  import IconLeft from '../../../../asset/images/seo/left.webp';
17
24
  import IconRight from '../../../../asset/images/seo/right.webp';
@@ -9,14 +9,22 @@ import { useRef } from 'react';
9
9
 
10
10
  import Image from 'next/image';
11
11
  import { htmlUrlDecode } from '../../../../lib';
12
- import SeoStrength from '../../../Seo/SeoStrength';
13
12
  import Link from 'next/link';
14
- import TuiViewer from '../../../TuiViewer/TuiViewer';
15
- import SeoConsulting from '../../../Seo/SeoConsulting';
16
- import SuccessCase from '../../../Seo/SuccessCase';
17
13
  import { IFieldTypes, ILawyerTypes, ISuccessTypes } from '../../../common/types/seo';
18
- import { Lawyer } from '../../../Seo/Lawyer';
19
- import { FieldCase } from '../../../Seo/FieldCase';
14
+
15
+ import dynamic from 'next/dynamic';
16
+ // import { Lawyer } from '../../../Seo/Lawyer';
17
+ // import TuiViewer from '../../../TuiViewer/TuiViewer';
18
+ // import SeoConsulting from '../../../Seo/SeoConsulting';
19
+ // import SeoStrength from '../../../Seo/SeoStrength';
20
+ // import { FieldCase } from '../../../Seo/FieldCase';
21
+ // import SuccessCase from '../../../Seo/SuccessCase';
22
+ const SeoStrength = dynamic(() => import('../../../Seo/SeoStrength'), { ssr: true });
23
+ const SeoConsulting = dynamic(() => import('../../../Seo/SeoConsulting'), { ssr: true });
24
+ const SuccessCase = dynamic(() => import('../../../Seo/SuccessCase').then(mod => mod.SuccessCase));
25
+ const Lawyer = dynamic(() => import('../../../Seo/Lawyer').then(mod => mod.Lawyer));
26
+ const FieldCase = dynamic(() => import('../../../Seo/FieldCase').then(mod => mod.FieldCase));
27
+ const TuiViewer = dynamic(() => import('../../../TuiViewer/TuiViewer'), { ssr: true });
20
28
 
21
29
  import EyeImg from '../../../../asset/images/faq/eye.webp';
22
30
  import IconLeft from '../../../../asset/images/seo/left.webp';