@opensite/ui 2.7.1 → 2.7.2

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.
@@ -918,7 +918,7 @@ function AboutStoryExpertise({
918
918
  className,
919
919
  background,
920
920
  containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
921
- spacing = "xl",
921
+ spacing = "hero",
922
922
  pattern,
923
923
  patternOpacity,
924
924
  optixFlowConfig
@@ -937,6 +937,7 @@ function AboutStoryExpertise({
937
937
  "div",
938
938
  {
939
939
  className: cn(
940
+ "bg-card text-card-foreground",
940
941
  "rounded-2xl border border-border/60 p-6 shadow-xl",
941
942
  highlightClassName
942
943
  ),
@@ -953,7 +954,7 @@ function AboutStoryExpertise({
953
954
  children: highlight.label
954
955
  }
955
956
  ) : highlight.label),
956
- highlight.title && (typeof highlight.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-bold", children: highlight.title }) : highlight.title)
957
+ highlight.title && (typeof highlight.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg font-bold", children: highlight.title }) : highlight.title)
957
958
  ] })
958
959
  ] }),
959
960
  highlight.description && (typeof highlight.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm"), children: highlight.description }) : highlight.description)
@@ -978,7 +979,7 @@ function AboutStoryExpertise({
978
979
  whileInView: { opacity: 1, scale: 1 },
979
980
  viewport: { once: true, margin: "-50px" },
980
981
  transition: { duration: 0.3, delay: idx * 0.05 },
981
- className: "flex items-start gap-4 rounded-2xl bg-background p-6 shadow-sm transition-all duration-300 hover:-translate-y-1 hover:shadow-lg",
982
+ className: "flex items-start gap-4 rounded-2xl bg-card text-card-foreground p-6 shadow-md transition-all duration-300 hover:shadow-xl",
982
983
  children: [
983
984
  /* @__PURE__ */ jsxRuntime.jsx(
984
985
  "div",
@@ -990,7 +991,7 @@ function AboutStoryExpertise({
990
991
  }
991
992
  ),
992
993
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
993
- area.title && (typeof area.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-lg font-bold", children: area.title }) : area.title),
994
+ area.title && (typeof area.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg font-bold", children: area.title }) : area.title),
994
995
  area.description && (typeof area.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mt-1 text-sm"), children: area.description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1", children: area.description }))
995
996
  ] })
996
997
  ]
@@ -1005,7 +1006,7 @@ function AboutStoryExpertise({
1005
1006
  {
1006
1007
  background,
1007
1008
  spacing,
1008
- className: cn(className),
1009
+ className,
1009
1010
  pattern,
1010
1011
  patternOpacity,
1011
1012
  containerClassName,
@@ -1030,7 +1031,7 @@ function AboutStoryExpertise({
1030
1031
  ),
1031
1032
  children: eyebrow
1032
1033
  }
1033
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: eyebrowClassName, children: eyebrow })),
1034
+ ) : eyebrow),
1034
1035
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
1035
1036
  "h2",
1036
1037
  {
@@ -1040,7 +1041,7 @@ function AboutStoryExpertise({
1040
1041
  ),
1041
1042
  children: heading
1042
1043
  }
1043
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mt-2", headingClassName), children: heading }))
1044
+ ) : heading)
1044
1045
  ] }),
1045
1046
  storyContent,
1046
1047
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -1066,7 +1067,8 @@ function AboutStoryExpertise({
1066
1067
  "div",
1067
1068
  {
1068
1069
  className: cn(
1069
- "relative overflow-hidden rounded-3xl border border-border shadow-2xl",
1070
+ "relative overflow-hidden rounded-3xl",
1071
+ "border border-border shadow-2xl aspect-square",
1070
1072
  imageClassName
1071
1073
  ),
1072
1074
  children: [
@@ -1096,7 +1098,6 @@ function AboutStoryExpertise({
1096
1098
  ),
1097
1099
  children: [
1098
1100
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-center", children: [
1099
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm font-semibold uppercase tracking-[0.2em]"), children: "Our Expertise" }),
1100
1101
  expertiseHeading && (typeof expertiseHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
1101
1102
  "h3",
1102
1103
  {
@@ -1106,7 +1107,7 @@ function AboutStoryExpertise({
1106
1107
  ),
1107
1108
  children: expertiseHeading
1108
1109
  }
1109
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mt-2", expertiseHeadingClassName), children: expertiseHeading })),
1110
+ ) : expertiseHeading),
1110
1111
  expertiseDescription && (typeof expertiseDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
1111
1112
  "p",
1112
1113
  {
@@ -1116,16 +1117,7 @@ function AboutStoryExpertise({
1116
1117
  ),
1117
1118
  children: expertiseDescription
1118
1119
  }
1119
- ) : /* @__PURE__ */ jsxRuntime.jsx(
1120
- "div",
1121
- {
1122
- className: cn(
1123
- "mx-auto mt-3 max-w-2xl",
1124
- expertiseDescriptionClassName
1125
- ),
1126
- children: expertiseDescription
1127
- }
1128
- ))
1120
+ ) : expertiseDescription)
1129
1121
  ] }),
1130
1122
  expertiseAreasContent
1131
1123
  ]
@@ -897,7 +897,7 @@ function AboutStoryExpertise({
897
897
  className,
898
898
  background,
899
899
  containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
900
- spacing = "xl",
900
+ spacing = "hero",
901
901
  pattern,
902
902
  patternOpacity,
903
903
  optixFlowConfig
@@ -916,6 +916,7 @@ function AboutStoryExpertise({
916
916
  "div",
917
917
  {
918
918
  className: cn(
919
+ "bg-card text-card-foreground",
919
920
  "rounded-2xl border border-border/60 p-6 shadow-xl",
920
921
  highlightClassName
921
922
  ),
@@ -932,7 +933,7 @@ function AboutStoryExpertise({
932
933
  children: highlight.label
933
934
  }
934
935
  ) : highlight.label),
935
- highlight.title && (typeof highlight.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-lg font-bold", children: highlight.title }) : highlight.title)
936
+ highlight.title && (typeof highlight.title === "string" ? /* @__PURE__ */ jsx("div", { className: "text-lg font-bold", children: highlight.title }) : highlight.title)
936
937
  ] })
937
938
  ] }),
938
939
  highlight.description && (typeof highlight.description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-sm"), children: highlight.description }) : highlight.description)
@@ -957,7 +958,7 @@ function AboutStoryExpertise({
957
958
  whileInView: { opacity: 1, scale: 1 },
958
959
  viewport: { once: true, margin: "-50px" },
959
960
  transition: { duration: 0.3, delay: idx * 0.05 },
960
- className: "flex items-start gap-4 rounded-2xl bg-background p-6 shadow-sm transition-all duration-300 hover:-translate-y-1 hover:shadow-lg",
961
+ className: "flex items-start gap-4 rounded-2xl bg-card text-card-foreground p-6 shadow-md transition-all duration-300 hover:shadow-xl",
961
962
  children: [
962
963
  /* @__PURE__ */ jsx(
963
964
  "div",
@@ -969,7 +970,7 @@ function AboutStoryExpertise({
969
970
  }
970
971
  ),
971
972
  /* @__PURE__ */ jsxs("div", { children: [
972
- area.title && (typeof area.title === "string" ? /* @__PURE__ */ jsx("h4", { className: "text-lg font-bold", children: area.title }) : area.title),
973
+ area.title && (typeof area.title === "string" ? /* @__PURE__ */ jsx("div", { className: "text-lg font-bold", children: area.title }) : area.title),
973
974
  area.description && (typeof area.description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mt-1 text-sm"), children: area.description }) : /* @__PURE__ */ jsx("div", { className: "mt-1", children: area.description }))
974
975
  ] })
975
976
  ]
@@ -984,7 +985,7 @@ function AboutStoryExpertise({
984
985
  {
985
986
  background,
986
987
  spacing,
987
- className: cn(className),
988
+ className,
988
989
  pattern,
989
990
  patternOpacity,
990
991
  containerClassName,
@@ -1009,7 +1010,7 @@ function AboutStoryExpertise({
1009
1010
  ),
1010
1011
  children: eyebrow
1011
1012
  }
1012
- ) : /* @__PURE__ */ jsx("div", { className: eyebrowClassName, children: eyebrow })),
1013
+ ) : eyebrow),
1013
1014
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
1014
1015
  "h2",
1015
1016
  {
@@ -1019,7 +1020,7 @@ function AboutStoryExpertise({
1019
1020
  ),
1020
1021
  children: heading
1021
1022
  }
1022
- ) : /* @__PURE__ */ jsx("div", { className: cn("mt-2", headingClassName), children: heading }))
1023
+ ) : heading)
1023
1024
  ] }),
1024
1025
  storyContent,
1025
1026
  /* @__PURE__ */ jsx(
@@ -1045,7 +1046,8 @@ function AboutStoryExpertise({
1045
1046
  "div",
1046
1047
  {
1047
1048
  className: cn(
1048
- "relative overflow-hidden rounded-3xl border border-border shadow-2xl",
1049
+ "relative overflow-hidden rounded-3xl",
1050
+ "border border-border shadow-2xl aspect-square",
1049
1051
  imageClassName
1050
1052
  ),
1051
1053
  children: [
@@ -1075,7 +1077,6 @@ function AboutStoryExpertise({
1075
1077
  ),
1076
1078
  children: [
1077
1079
  /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
1078
- /* @__PURE__ */ jsx("p", { className: cn("text-sm font-semibold uppercase tracking-[0.2em]"), children: "Our Expertise" }),
1079
1080
  expertiseHeading && (typeof expertiseHeading === "string" ? /* @__PURE__ */ jsx(
1080
1081
  "h3",
1081
1082
  {
@@ -1085,7 +1086,7 @@ function AboutStoryExpertise({
1085
1086
  ),
1086
1087
  children: expertiseHeading
1087
1088
  }
1088
- ) : /* @__PURE__ */ jsx("div", { className: cn("mt-2", expertiseHeadingClassName), children: expertiseHeading })),
1089
+ ) : expertiseHeading),
1089
1090
  expertiseDescription && (typeof expertiseDescription === "string" ? /* @__PURE__ */ jsx(
1090
1091
  "p",
1091
1092
  {
@@ -1095,16 +1096,7 @@ function AboutStoryExpertise({
1095
1096
  ),
1096
1097
  children: expertiseDescription
1097
1098
  }
1098
- ) : /* @__PURE__ */ jsx(
1099
- "div",
1100
- {
1101
- className: cn(
1102
- "mx-auto mt-3 max-w-2xl",
1103
- expertiseDescriptionClassName
1104
- ),
1105
- children: expertiseDescription
1106
- }
1107
- ))
1099
+ ) : expertiseDescription)
1108
1100
  ] }),
1109
1101
  expertiseAreasContent
1110
1102
  ]
@@ -533,9 +533,8 @@ var AppleCarousel = ({
533
533
  "div",
534
534
  {
535
535
  className: cn(
536
- "flex flex-row justify-start gap-4 pl-4",
537
- "mx-auto max-w-7xl",
538
- // remove max-w-4xl if you want the carousel to span the full width of its container
536
+ "flex flex-row justify-start",
537
+ "mx-auto gap-4 pl-4",
539
538
  containerClassName
540
539
  ),
541
540
  children: items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -612,7 +611,9 @@ var AppleCarouselCard = ({
612
611
  "div",
613
612
  {
614
613
  className: cn(
615
- "relative z-40 p-4 md:p-8 text-shadow-lg",
614
+ "text-left text-white text-shadow-lg",
615
+ "relative z-40 p-4 md:p-8",
616
+ "text-balance",
616
617
  contentClassName
617
618
  ),
618
619
  children: [
@@ -620,7 +621,7 @@ var AppleCarouselCard = ({
620
621
  react.motion.p,
621
622
  {
622
623
  layoutId: layout ? `category-${card.category}-${index}` : void 0,
623
- className: "text-left font-sans text-sm font-medium text-white md:text-base",
624
+ className: "text-sm font-bold md:text-base tracking-tight uppercase",
624
625
  children: card.category
625
626
  }
626
627
  ),
@@ -628,7 +629,7 @@ var AppleCarouselCard = ({
628
629
  react.motion.p,
629
630
  {
630
631
  layoutId: layout ? `title-${card.title}-${index}` : void 0,
631
- className: "mt-2 max-w-xs text-left font-sans text-lg font-semibold text-balance text-white md:text-2xl",
632
+ className: "mt-2 text-lg md:text-2xl font-semibold",
632
633
  children: card.title
633
634
  }
634
635
  )
@@ -641,7 +642,9 @@ var AppleCarouselCard = ({
641
642
  src: card.src,
642
643
  alt: card.title,
643
644
  className: cn(
644
- "absolute inset-0 z-10 h-full w-full object-cover brightness-50",
645
+ "absolute inset-0 z-10",
646
+ "h-full w-full object-cover",
647
+ action.type !== "none" ? "cursor-pointer transition-all duration-500 brightness-75 hover:brightness-50" : "brightness-75",
645
648
  imageClassName
646
649
  ),
647
650
  optixFlowConfig
@@ -1138,7 +1141,7 @@ function BlogCarouselAppleComponent({
1138
1141
  spacing,
1139
1142
  pattern,
1140
1143
  patternOpacity,
1141
- className: cn(className),
1144
+ className,
1142
1145
  children: /* @__PURE__ */ jsxRuntime.jsx(
1143
1146
  AppleCarousel,
1144
1147
  {
@@ -512,9 +512,8 @@ var AppleCarousel = ({
512
512
  "div",
513
513
  {
514
514
  className: cn(
515
- "flex flex-row justify-start gap-4 pl-4",
516
- "mx-auto max-w-7xl",
517
- // remove max-w-4xl if you want the carousel to span the full width of its container
515
+ "flex flex-row justify-start",
516
+ "mx-auto gap-4 pl-4",
518
517
  containerClassName
519
518
  ),
520
519
  children: items.map((item, index) => /* @__PURE__ */ jsx(
@@ -591,7 +590,9 @@ var AppleCarouselCard = ({
591
590
  "div",
592
591
  {
593
592
  className: cn(
594
- "relative z-40 p-4 md:p-8 text-shadow-lg",
593
+ "text-left text-white text-shadow-lg",
594
+ "relative z-40 p-4 md:p-8",
595
+ "text-balance",
595
596
  contentClassName
596
597
  ),
597
598
  children: [
@@ -599,7 +600,7 @@ var AppleCarouselCard = ({
599
600
  motion.p,
600
601
  {
601
602
  layoutId: layout ? `category-${card.category}-${index}` : void 0,
602
- className: "text-left font-sans text-sm font-medium text-white md:text-base",
603
+ className: "text-sm font-bold md:text-base tracking-tight uppercase",
603
604
  children: card.category
604
605
  }
605
606
  ),
@@ -607,7 +608,7 @@ var AppleCarouselCard = ({
607
608
  motion.p,
608
609
  {
609
610
  layoutId: layout ? `title-${card.title}-${index}` : void 0,
610
- className: "mt-2 max-w-xs text-left font-sans text-lg font-semibold text-balance text-white md:text-2xl",
611
+ className: "mt-2 text-lg md:text-2xl font-semibold",
611
612
  children: card.title
612
613
  }
613
614
  )
@@ -620,7 +621,9 @@ var AppleCarouselCard = ({
620
621
  src: card.src,
621
622
  alt: card.title,
622
623
  className: cn(
623
- "absolute inset-0 z-10 h-full w-full object-cover brightness-50",
624
+ "absolute inset-0 z-10",
625
+ "h-full w-full object-cover",
626
+ action.type !== "none" ? "cursor-pointer transition-all duration-500 brightness-75 hover:brightness-50" : "brightness-75",
624
627
  imageClassName
625
628
  ),
626
629
  optixFlowConfig
@@ -1117,7 +1120,7 @@ function BlogCarouselAppleComponent({
1117
1120
  spacing,
1118
1121
  pattern,
1119
1122
  patternOpacity,
1120
- className: cn(className),
1123
+ className,
1121
1124
  children: /* @__PURE__ */ jsx(
1122
1125
  AppleCarousel,
1123
1126
  {
@@ -841,7 +841,7 @@ function BlogMasonryFeaturedComponent({
841
841
  optixFlowConfig,
842
842
  background,
843
843
  containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
844
- spacing = "py-12 md:py-32",
844
+ spacing = "hero",
845
845
  pattern,
846
846
  patternOpacity
847
847
  }) {
@@ -882,7 +882,7 @@ function BlogMasonryFeaturedComponent({
882
882
  (featuredPost.date || featuredPost.published) && featuredPost.author && "\xB7",
883
883
  featuredPost.author && /* @__PURE__ */ jsxRuntime.jsx("span", { children: featuredPost.author })
884
884
  ] }),
885
- featuredPost.title && (typeof featuredPost.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg", children: featuredPost.title }) : featuredPost.title),
885
+ featuredPost.title && (typeof featuredPost.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-2xl font-semibold", children: featuredPost.title }) : featuredPost.title),
886
886
  (featuredPost.description || featuredPost.summary) && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-4 text-sm font-normal", children: featuredPost.description || featuredPost.summary })
887
887
  ] })
888
888
  ]
@@ -924,7 +924,7 @@ function BlogMasonryFeaturedComponent({
924
924
  (post.date || post.published) && post.author && "\xB7",
925
925
  post.author && /* @__PURE__ */ jsxRuntime.jsx("span", { children: post.author })
926
926
  ] }),
927
- post.title && (typeof post.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg", children: post.title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg", children: post.title }))
927
+ post.title && (typeof post.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg font-semibold", children: post.title }) : post.title)
928
928
  ] })
929
929
  ]
930
930
  },
@@ -937,7 +937,7 @@ function BlogMasonryFeaturedComponent({
937
937
  {
938
938
  background,
939
939
  spacing,
940
- className: cn(className),
940
+ className,
941
941
  pattern,
942
942
  patternOpacity,
943
943
  containerClassName,
@@ -820,7 +820,7 @@ function BlogMasonryFeaturedComponent({
820
820
  optixFlowConfig,
821
821
  background,
822
822
  containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
823
- spacing = "py-12 md:py-32",
823
+ spacing = "hero",
824
824
  pattern,
825
825
  patternOpacity
826
826
  }) {
@@ -861,7 +861,7 @@ function BlogMasonryFeaturedComponent({
861
861
  (featuredPost.date || featuredPost.published) && featuredPost.author && "\xB7",
862
862
  featuredPost.author && /* @__PURE__ */ jsx("span", { children: featuredPost.author })
863
863
  ] }),
864
- featuredPost.title && (typeof featuredPost.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-lg", children: featuredPost.title }) : featuredPost.title),
864
+ featuredPost.title && (typeof featuredPost.title === "string" ? /* @__PURE__ */ jsx("div", { className: "text-2xl font-semibold", children: featuredPost.title }) : featuredPost.title),
865
865
  (featuredPost.description || featuredPost.summary) && /* @__PURE__ */ jsx("p", { className: "mt-4 text-sm font-normal", children: featuredPost.description || featuredPost.summary })
866
866
  ] })
867
867
  ]
@@ -903,7 +903,7 @@ function BlogMasonryFeaturedComponent({
903
903
  (post.date || post.published) && post.author && "\xB7",
904
904
  post.author && /* @__PURE__ */ jsx("span", { children: post.author })
905
905
  ] }),
906
- post.title && (typeof post.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-lg", children: post.title }) : /* @__PURE__ */ jsx("div", { className: "text-lg", children: post.title }))
906
+ post.title && (typeof post.title === "string" ? /* @__PURE__ */ jsx("div", { className: "text-lg font-semibold", children: post.title }) : post.title)
907
907
  ] })
908
908
  ]
909
909
  },
@@ -916,7 +916,7 @@ function BlogMasonryFeaturedComponent({
916
916
  {
917
917
  background,
918
918
  spacing,
919
- className: cn(className),
919
+ className,
920
920
  pattern,
921
921
  patternOpacity,
922
922
  containerClassName,
@@ -867,7 +867,6 @@ function BlogTechInsights({
867
867
  secondaryPosts,
868
868
  secondaryPostsSlot,
869
869
  className,
870
- containerClassName,
871
870
  headerClassName,
872
871
  headingClassName,
873
872
  descriptionClassName,
@@ -879,7 +878,8 @@ function BlogTechInsights({
879
878
  secondaryPostItemClassName,
880
879
  optixFlowConfig,
881
880
  background,
882
- spacing,
881
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
882
+ spacing = "lg",
883
883
  pattern,
884
884
  patternOpacity
885
885
  }) {
@@ -898,11 +898,7 @@ function BlogTechInsights({
898
898
  Pressable,
899
899
  {
900
900
  asButton: true,
901
- className: cn(
902
- "ml-auto rounded-full border-foreground",
903
- actionClassName,
904
- readMoreClassName
905
- ),
901
+ className: cn("ml-auto", actionClassName, readMoreClassName),
906
902
  ...pressableProps,
907
903
  children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
908
904
  icon,
@@ -933,7 +929,7 @@ function BlogTechInsights({
933
929
  /* @__PURE__ */ jsxRuntime.jsx(Avatar, { className: "h-8 w-8 rounded-md md:h-12 md:w-12", children: featuredPost.authorAvatar && /* @__PURE__ */ jsxRuntime.jsx(AvatarImage, { src: featuredPost.authorAvatar }) }),
934
930
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm md:text-base", children: [
935
931
  featuredPost.author && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "block", children: featuredPost.author }),
936
- featuredPost.authorRole && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-muted-foreground md:text-sm", children: featuredPost.authorRole })
932
+ featuredPost.authorRole && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs md:text-sm", children: featuredPost.authorRole })
937
933
  ] })
938
934
  ] })
939
935
  ] });
@@ -981,7 +977,7 @@ function BlogTechInsights({
981
977
  ) }),
982
978
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
983
979
  post.title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "font-semibold text-md line-clamp-2", children: post.title }),
984
- truncatedDescription && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm leading-snug text-muted-foreground md:text-base line-clamp-2", children: truncatedDescription })
980
+ truncatedDescription && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm leading-snug md:text-base line-clamp-2", children: truncatedDescription })
985
981
  ] })
986
982
  ]
987
983
  }
@@ -1013,64 +1009,53 @@ function BlogTechInsights({
1013
1009
  className: cn("dark relative", className),
1014
1010
  pattern,
1015
1011
  patternOpacity,
1016
- children: /* @__PURE__ */ jsxRuntime.jsxs(
1017
- "div",
1018
- {
1019
- className: cn(
1020
- "flex flex-col items-center gap-8 md:gap-14",
1021
- containerClassName
1022
- ),
1023
- children: [
1024
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("w-full", headerClassName), children: [
1025
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
1026
- "h1",
1027
- {
1028
- className: cn(
1029
- "text-3xl font-bold md:text-4xl lg:text-5xl",
1030
- headingClassName
1031
- ),
1032
- children: heading
1033
- }
1034
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
1035
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-4 flex justify-start", children: [
1036
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
1037
- "span",
1038
- {
1039
- className: cn(
1040
- "mt-2 block text-sm text-muted-foreground md:text-base",
1041
- descriptionClassName
1042
- ),
1043
- children: description
1044
- }
1045
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
1046
- readMoreActionContent
1047
- ] })
1048
- ] }),
1049
- /* @__PURE__ */ jsxRuntime.jsxs(
1050
- "div",
1012
+ containerClassName,
1013
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col items-center gap-8 md:gap-14"), children: [
1014
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("w-full", headerClassName), children: [
1015
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
1016
+ "h1",
1017
+ {
1018
+ className: cn(
1019
+ "text-3xl font-bold md:text-4xl lg:text-5xl",
1020
+ headingClassName
1021
+ ),
1022
+ children: heading
1023
+ }
1024
+ ) : heading),
1025
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-4 flex justify-start", children: [
1026
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
1027
+ "span",
1051
1028
  {
1052
1029
  className: cn(
1053
- "grid grid-cols-1 gap-8 md:grid-cols-2 lg:gap-12",
1054
- contentClassName
1030
+ "mt-2 block text-sm md:text-base",
1031
+ descriptionClassName
1055
1032
  ),
1056
- children: [
1057
- featuredPostContent,
1058
- /* @__PURE__ */ jsxRuntime.jsx(
1059
- "div",
1060
- {
1061
- className: cn(
1062
- "space-y-6 md:space-y-8",
1063
- secondaryPostsClassName
1064
- ),
1065
- children: secondaryPostsContent
1066
- }
1067
- )
1068
- ]
1033
+ children: description
1069
1034
  }
1070
- )
1071
- ]
1072
- }
1073
- )
1035
+ ) : description),
1036
+ readMoreActionContent
1037
+ ] })
1038
+ ] }),
1039
+ /* @__PURE__ */ jsxRuntime.jsxs(
1040
+ "div",
1041
+ {
1042
+ className: cn(
1043
+ "grid grid-cols-1 gap-8 md:grid-cols-2 lg:gap-12",
1044
+ contentClassName
1045
+ ),
1046
+ children: [
1047
+ featuredPostContent,
1048
+ /* @__PURE__ */ jsxRuntime.jsx(
1049
+ "div",
1050
+ {
1051
+ className: cn("space-y-6 md:space-y-8", secondaryPostsClassName),
1052
+ children: secondaryPostsContent
1053
+ }
1054
+ )
1055
+ ]
1056
+ }
1057
+ )
1058
+ ] })
1074
1059
  }
1075
1060
  );
1076
1061
  }
@@ -105,6 +105,6 @@ interface BlogTechInsightsProps {
105
105
  */
106
106
  patternOpacity?: number;
107
107
  }
108
- declare function BlogTechInsights({ heading, description, readMoreAction, readMoreSlot, featuredPost, featuredSlot, secondaryPosts, secondaryPostsSlot, className, containerClassName, headerClassName, headingClassName, descriptionClassName, readMoreClassName, contentClassName, featuredClassName, featuredImageClassName, secondaryPostsClassName, secondaryPostItemClassName, optixFlowConfig, background, spacing, pattern, patternOpacity, }: BlogTechInsightsProps): React.JSX.Element;
108
+ declare function BlogTechInsights({ heading, description, readMoreAction, readMoreSlot, featuredPost, featuredSlot, secondaryPosts, secondaryPostsSlot, className, headerClassName, headingClassName, descriptionClassName, readMoreClassName, contentClassName, featuredClassName, featuredImageClassName, secondaryPostsClassName, secondaryPostItemClassName, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, }: BlogTechInsightsProps): React.JSX.Element;
109
109
 
110
110
  export { BlogTechInsights, type BlogTechInsightsProps };
@@ -105,6 +105,6 @@ interface BlogTechInsightsProps {
105
105
  */
106
106
  patternOpacity?: number;
107
107
  }
108
- declare function BlogTechInsights({ heading, description, readMoreAction, readMoreSlot, featuredPost, featuredSlot, secondaryPosts, secondaryPostsSlot, className, containerClassName, headerClassName, headingClassName, descriptionClassName, readMoreClassName, contentClassName, featuredClassName, featuredImageClassName, secondaryPostsClassName, secondaryPostItemClassName, optixFlowConfig, background, spacing, pattern, patternOpacity, }: BlogTechInsightsProps): React.JSX.Element;
108
+ declare function BlogTechInsights({ heading, description, readMoreAction, readMoreSlot, featuredPost, featuredSlot, secondaryPosts, secondaryPostsSlot, className, headerClassName, headingClassName, descriptionClassName, readMoreClassName, contentClassName, featuredClassName, featuredImageClassName, secondaryPostsClassName, secondaryPostItemClassName, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, }: BlogTechInsightsProps): React.JSX.Element;
109
109
 
110
110
  export { BlogTechInsights, type BlogTechInsightsProps };