diff --git a/components/BlogList/BlogList.js b/components/BlogList/BlogList.js index a79e7ca..e678c59 100644 --- a/components/BlogList/BlogList.js +++ b/components/BlogList/BlogList.js @@ -39,8 +39,8 @@ const BlogSection = () => {
100 - ? blogTexts.description.substring(0, 100) + '...' + blogTexts.description?.length > 110 + ? blogTexts.description.substring(0, 110) + '...' : blogTexts.description, }} >
diff --git a/components/BlogSection/BlogSection.js b/components/BlogSection/BlogSection.js index 55e0aed..e72c0ab 100644 --- a/components/BlogSection/BlogSection.js +++ b/components/BlogSection/BlogSection.js @@ -42,8 +42,8 @@ const BlogSection = () => {100 - ? blogTexts.description.substring(0, 100) + '...' + blogTexts.description.length > 109 + ? blogTexts.description.substring(0, 109) + '...' : blogTexts.description, }} >
diff --git a/components/services/ServicesSection.js b/components/services/ServicesSection.js index d7d4939..c5edd10 100644 --- a/components/services/ServicesSection.js +++ b/components/services/ServicesSection.js @@ -43,10 +43,18 @@ const ServicesSection = (props) => { href={`/services/${campaign.slug}`} onClick={ClickHandler} > - {campaign.sTitle} + {campaign.sTitle.length > 20 + ? campaign.sTitle.substring(0, 20) + "..." + : campaign.sTitle + } -{campaign.description}
++ {campaign.description.length > 70 + ? campaign.description.substring(0, 70) + "..." + : campaign.description + } +