@daeryun/dr_components 1.1.36 → 1.1.37

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.
@@ -5,6 +5,7 @@ const H2Contents = ({ h2Template, index, faqCount }) => {
5
5
  const getItemScope = () => {
6
6
  const negativeActiveFaqValue = (active_faq === false || active_faq === null || active_faq === undefined) && false;
7
7
  if (negativeActiveFaqValue && (faqCount === 0 || faqCount === undefined)) {
8
+ console.log('H2 getItemScope, 이거 보이면 true');
8
9
  return true;
9
10
  }
10
11
  return undefined;
@@ -12,6 +13,7 @@ const H2Contents = ({ h2Template, index, faqCount }) => {
12
13
  const getItemProp = (category) => {
13
14
  const negativeActiveFaqValue = (active_faq === false || active_faq === null || active_faq === undefined) && false;
14
15
  if (negativeActiveFaqValue && (faqCount === 0 || faqCount === undefined)) {
16
+ console.log('H2 getItemProp category : ', category);
15
17
  switch (category) {
16
18
  case 'mainEntity':
17
19
  return 'mainEntity';
@@ -30,6 +32,7 @@ const H2Contents = ({ h2Template, index, faqCount }) => {
30
32
  const getItemType = (category) => {
31
33
  const negativeActiveFaqValue = (active_faq === false || active_faq === null || active_faq === undefined) && false;
32
34
  if (negativeActiveFaqValue && (faqCount === 0 || faqCount === undefined)) {
35
+ console.log('H2 getItemType category : ', category);
33
36
  switch (category) {
34
37
  case 'question':
35
38
  return 'https://schema.org/Question';
@@ -21,6 +21,7 @@ const H2Contents = ({
21
21
  (active_faq === false || active_faq === null || active_faq === undefined) && false;
22
22
 
23
23
  if (negativeActiveFaqValue && ((faqCount as number) === 0 || faqCount === undefined)) {
24
+ console.log('H2 getItemScope, 이거 보이면 true');
24
25
  return true;
25
26
  }
26
27
 
@@ -32,6 +33,7 @@ const H2Contents = ({
32
33
  (active_faq === false || active_faq === null || active_faq === undefined) && false;
33
34
 
34
35
  if (negativeActiveFaqValue && ((faqCount as number) === 0 || faqCount === undefined)) {
36
+ console.log('H2 getItemProp category : ', category);
35
37
  switch (category) {
36
38
  case 'mainEntity':
37
39
  return 'mainEntity';
@@ -54,6 +56,7 @@ const H2Contents = ({
54
56
  (active_faq === false || active_faq === null || active_faq === undefined) && false;
55
57
 
56
58
  if (negativeActiveFaqValue && ((faqCount as number) === 0 || faqCount === undefined)) {
59
+ console.log('H2 getItemType category : ', category);
57
60
  switch (category) {
58
61
  case 'question':
59
62
  return 'https://schema.org/Question';
@@ -7,6 +7,7 @@ const H3Contents = ({ h3Template, faqCount }) => {
7
7
  const getItemScope = () => {
8
8
  const negativeActiveFaqValue = (active_faq === false || active_faq === null || active_faq === undefined) && false;
9
9
  if (negativeActiveFaqValue) {
10
+ console.log('H3 getItemScope, 이거 보이면 true');
10
11
  return true;
11
12
  }
12
13
  return undefined;
@@ -14,6 +15,7 @@ const H3Contents = ({ h3Template, faqCount }) => {
14
15
  const getItemProp = (category) => {
15
16
  const negativeActiveFaqValue = (active_faq === false || active_faq === null || active_faq === undefined) && false;
16
17
  if (negativeActiveFaqValue && (faqCount === 0 || faqCount === undefined)) {
18
+ console.log('H3 getItemProp category : ', category);
17
19
  switch (category) {
18
20
  case 'mainEntity':
19
21
  return 'mainEntity';
@@ -32,6 +34,7 @@ const H3Contents = ({ h3Template, faqCount }) => {
32
34
  const getItemType = (category) => {
33
35
  const negativeActiveFaqValue = (active_faq === false || active_faq === null || active_faq === undefined) && false;
34
36
  if (negativeActiveFaqValue && (faqCount === 0 || faqCount === undefined)) {
37
+ console.log('H2 getItemType category : ', category);
35
38
  switch (category) {
36
39
  case 'question':
37
40
  return 'https://schema.org/Question';
@@ -15,6 +15,7 @@ const H3Contents = ({ h3Template, faqCount }: { h3Template: ISeoTemplateTypes; f
15
15
  (active_faq === false || active_faq === null || active_faq === undefined) && false;
16
16
 
17
17
  if (negativeActiveFaqValue) {
18
+ console.log('H3 getItemScope, 이거 보이면 true');
18
19
  return true;
19
20
  }
20
21
 
@@ -26,6 +27,7 @@ const H3Contents = ({ h3Template, faqCount }: { h3Template: ISeoTemplateTypes; f
26
27
  (active_faq === false || active_faq === null || active_faq === undefined) && false;
27
28
 
28
29
  if (negativeActiveFaqValue && ((faqCount as number) === 0 || faqCount === undefined)) {
30
+ console.log('H3 getItemProp category : ', category);
29
31
  switch (category) {
30
32
  case 'mainEntity':
31
33
  return 'mainEntity';
@@ -48,6 +50,7 @@ const H3Contents = ({ h3Template, faqCount }: { h3Template: ISeoTemplateTypes; f
48
50
  (active_faq === false || active_faq === null || active_faq === undefined) && false;
49
51
 
50
52
  if (negativeActiveFaqValue && ((faqCount as number) === 0 || faqCount === undefined)) {
53
+ console.log('H2 getItemType category : ', category);
51
54
  switch (category) {
52
55
  case 'question':
53
56
  return 'https://schema.org/Question';