cortex-react-components 1.53.0 → 1.53.1

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.
Files changed (112) hide show
  1. package/dist/chunk-2NQPUL2I.mjs +1 -0
  2. package/dist/chunk-47XUCT3T.mjs +4 -0
  3. package/dist/{chunk-JRJDFJ6X.mjs → chunk-B35OQ53Q.mjs} +1 -1
  4. package/dist/{chunk-YHSF5GPH.mjs → chunk-CZYUGJMO.mjs} +1 -1
  5. package/dist/{chunk-YUALUYMB.mjs → chunk-E7EUKX5E.mjs} +1 -1
  6. package/dist/chunk-FC4BLPWZ.mjs +1 -0
  7. package/dist/{chunk-FGPHS7JN.mjs → chunk-GJPB77AY.mjs} +1 -1
  8. package/dist/chunk-HSFVPF3U.mjs +1 -0
  9. package/dist/chunk-KVQEMX6I.mjs +9 -0
  10. package/dist/{chunk-5XEEYQ2W.mjs → chunk-NGMYTBRW.mjs} +1 -1
  11. package/dist/{chunk-L5P5GJD5.mjs → chunk-QX6W4MHA.mjs} +1 -1
  12. package/dist/{chunk-HDPLZTVZ.mjs → chunk-RB6NCX5A.mjs} +1 -1
  13. package/dist/{chunk-XYUC2EAW.mjs → chunk-SX4SJBW7.mjs} +1 -1
  14. package/dist/{chunk-RZCFT36K.mjs → chunk-T5TRGAGS.mjs} +1 -1
  15. package/dist/chunk-U3ZHU3UY.mjs +1 -0
  16. package/dist/{chunk-THK2RUKM.mjs → chunk-UXBAU5VB.mjs} +1 -1
  17. package/dist/chunk-YOWFGXQB.mjs +1 -0
  18. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  19. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  20. package/dist/components/HeaderFooter/Footer.js +1 -1
  21. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  22. package/dist/components/HeaderFooter/Footer.stories.js +1 -1
  23. package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
  24. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  25. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  26. package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
  27. package/dist/components/HeaderFooter/VideoHeader.js +1 -1
  28. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  29. package/dist/components/HeaderFooter/index.js +1 -1
  30. package/dist/components/HeaderFooter/index.mjs +1 -1
  31. package/dist/components/Heros/HighImpact/index.js +1 -1
  32. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  33. package/dist/components/Heros/RenderHero.js +1 -1
  34. package/dist/components/Heros/RenderHero.mjs +1 -1
  35. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  36. package/dist/components/Heros/index.js +1 -1
  37. package/dist/components/Heros/index.mjs +1 -1
  38. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  39. package/dist/components/Layouts/Print.mjs +1 -1
  40. package/dist/components/Layouts/Print.stories.mjs +1 -1
  41. package/dist/components/Layouts/SlideShow.mjs +1 -1
  42. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  43. package/dist/components/Layouts/index.mjs +1 -1
  44. package/dist/components/Other/PageShape.d.ts +1 -1
  45. package/dist/components/Other/PageShape.js +1 -1
  46. package/dist/components/Other/PageShape.mjs +1 -1
  47. package/dist/components/Other/index.js +1 -1
  48. package/dist/components/Other/index.mjs +1 -1
  49. package/dist/components/Payload/index.mjs +1 -1
  50. package/dist/components/index.js +5 -5
  51. package/dist/components/index.mjs +1 -1
  52. package/dist/globals.css +1 -1
  53. package/dist/index.js +9 -9
  54. package/dist/index.mjs +1 -1
  55. package/dist/metafile-cjs.json +1 -1
  56. package/dist/metafile-esm.json +1 -1
  57. package/dist/pages/Blog.mjs +1 -1
  58. package/dist/pages/Blog.stories.mjs +1 -1
  59. package/dist/pages/Documentation.mjs +1 -1
  60. package/dist/pages/Documentation.stories.mjs +1 -1
  61. package/dist/pages/IndexPage.mjs +1 -1
  62. package/dist/pages/IndexPage.stories.mjs +1 -1
  63. package/dist/pages/Intranet.mjs +1 -1
  64. package/dist/pages/Intranet.stories.mjs +1 -1
  65. package/dist/pages/LandingPage.js +3 -3
  66. package/dist/pages/LandingPage.mjs +1 -1
  67. package/dist/pages/LandingPage.stories.js +3 -3
  68. package/dist/pages/LandingPage.stories.mjs +1 -1
  69. package/dist/pages/Page.js +1 -1
  70. package/dist/pages/Page.mjs +1 -1
  71. package/dist/pages/Page.stories.js +128 -128
  72. package/dist/pages/Page.stories.mjs +1 -1
  73. package/dist/pages/Printable.stories.mjs +1 -1
  74. package/dist/pages/Publish.mjs +1 -1
  75. package/dist/pages/Publish.stories.mjs +1 -1
  76. package/dist/pages/Website.js +1 -1
  77. package/dist/pages/Website.mjs +1 -1
  78. package/dist/pages/Website.stories.js +1 -1
  79. package/dist/pages/Website.stories.mjs +1 -1
  80. package/dist/sections/AboutSection.mjs +1 -1
  81. package/dist/sections/AboutSection.stories.mjs +1 -1
  82. package/dist/sections/BlogDetail.mjs +1 -1
  83. package/dist/sections/BlogDetail.stories.mjs +1 -1
  84. package/dist/sections/BlogList.js +1 -1
  85. package/dist/sections/BlogList.mjs +1 -1
  86. package/dist/sections/BlogList.stories.js +1 -1
  87. package/dist/sections/BlogList.stories.mjs +1 -1
  88. package/dist/sections/ContactSection.d.ts +1 -0
  89. package/dist/sections/ContactSection.js +1 -1
  90. package/dist/sections/ContactSection.mjs +1 -1
  91. package/dist/sections/ContactSection.stories.js +1 -1
  92. package/dist/sections/ContactSection.stories.mjs +1 -1
  93. package/dist/sections/PageSections.d.ts +6 -1
  94. package/dist/sections/PageSections.js +10 -1
  95. package/dist/sections/PageSections.mjs +1 -1
  96. package/dist/sections/PageSections.stories.js +10 -1
  97. package/dist/sections/PageSections.stories.mjs +1 -1
  98. package/dist/sections/PricingSection.mjs +1 -1
  99. package/dist/sections/PricingSection.stories.mjs +1 -1
  100. package/dist/sections/ServiceSection.js +1 -1
  101. package/dist/sections/ServiceSection.mjs +1 -1
  102. package/dist/sections/ServiceSection.stories.js +1 -1
  103. package/dist/sections/ServiceSection.stories.mjs +1 -1
  104. package/dist/sections/index.js +3 -3
  105. package/dist/sections/index.mjs +1 -1
  106. package/package.json +1 -1
  107. package/dist/chunk-CBUKVGIQ.mjs +0 -1
  108. package/dist/chunk-CVUHFFL5.mjs +0 -1
  109. package/dist/chunk-K7VYLMCI.mjs +0 -1
  110. package/dist/chunk-QLDXERS5.mjs +0 -1
  111. package/dist/chunk-Z3SAJZUP.mjs +0 -4
  112. package/dist/chunk-ZBXMEGE6.mjs +0 -9
@@ -1 +0,0 @@
1
- import{a as d}from"./chunk-H4T3LIAM.mjs";import{a as n}from"./chunk-EHRVCKDC.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import v from"next/image";import{FaEnvelope as x,FaPhoneFlip as h}from"react-icons/fa6";import{Fragment as u,jsx as e,jsxs as t}from"react/jsx-runtime";function S(s){let{sectionHeading:c,image:a}=s;return t(u,{children:[e("section",{className:"sticky md:top-0 md:h-screen flex flex-col z-2 light bg-background section-padding-primary",children:t("div",{className:"relative py-[60px]",children:[e("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:e(v,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:r})}),e(l,{children:e("div",{className:"ml-auto md:w-1/2",children:t("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[e("div",{className:"mb-30px",children:e(n,{...c,invert:!0})}),e(d,{})]})})})]})}),e("section",{className:"sticky md:top-0 md:h-screen flex flex-col items-center justify-center z-2 dark bg-background section-padding-primary",children:e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:t("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[t("div",{children:[e("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:s.locations&&s.locations.map((i,m)=>{var o;return t("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 font-semibold text-accent",children:i.title}),t("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=i.location.split(","))==null?void 0:o.map((p,g)=>e("p",{children:p},g))," ",i.mails&&t("p",{className:"flex items-center space-x-2",children:[e(x,{className:"pr-2 text-accent size-auto"}),e("span",{children:i.mails[0]})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&t("p",{className:"flex items-center space-x-2",children:[e(h,{className:"pr-2 text-accent size-auto"}),i.phoneNumbers[0]]})]})]},m)})})]})})})})})]})}export{S as a};
@@ -1 +0,0 @@
1
- import{a as l}from"./chunk-NIQ4466A.mjs";import{jsx as t,jsxs as s}from"react/jsx-runtime";var h=({position:e,className:a=""})=>{let o=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],i=o[Math.floor(Math.random()*o.length)];if(e==="header")return t("div",{className:"w-full h-[1240px] z-20",children:s("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:l(a,"absolute -bottom-[2px] flex"),transform:o[0],children:[t("defs",{children:s("mask",{id:"mask",children:[t("rect",{width:"1920",height:"332",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0","stroke-width":"2"})]})}),t("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),t("rect",{y:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return t("div",{className:"w-full h-[70px] md:h-[332px] z-20 ",children:s("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(a,"absolute "),style:{fontSize:0,float:"left"},transform:o[1],children:[t("defs",{children:s("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="bottom-left"||e==="bottom-right")return t("div",{className:"w-full min-h-[70px] md:min-h-[350px] z-20 content-end block overflow-hidden",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(a,"w-full block overflow-hidden"),transform:e==="bottom-left"?o[3]:o[2],children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})},d=({className:e})=>s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1245",className:l(e,"absolute w-full h-full"),children:[t("defs",{children:s("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"black"}),t("polygon",{fill:"white",points:"0 0 0 201.561092 0 1036.200679 0 1087.625789 1255.099121 1240.909908 1920 908.450984 1920 201.561092 1920 0 0 0"})]})}),t("rect",{width:"100%",height:"100%",fill:"black",mask:"url(#mask)"})]});export{h as a,d as b};
@@ -1 +0,0 @@
1
- import{a as s}from"./chunk-SV7NMNDI.mjs";import{f as r}from"./chunk-NJGYYKJL.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Fragment as p,jsx as e,jsxs as n}from"react/jsx-runtime";function y({services:t,className:c}){console.log("ServiceSection",t);let m={settings:{width:"full",card:"light"}};return n(p,{children:[e("div",{className:"absolute w-full h-full bg-white"}),n("section",{id:"next-section",className:i("sticky snap-start md:top-0 flex flex-col items-center justify-center py-4 light bg-background",c),children:[e("div",{className:"absolute w-full -top-[1245px]"}),e(l,{className:"py-8",children:t&&t.length>0&&e("div",{className:"flex flex-wrap justify-center gap-y-8",children:t.map((a,o)=>e("div",{"data-aos":"fade-up","data-aos-delay":s([200,400,600],o),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:e(r,{...m,icon:{type:"none"},title:a.title,image:a.image,content:a.content,link:a.link})},o))})})]})]})}export{y as a};
@@ -1 +0,0 @@
1
- import{a as v}from"./chunk-JOD2CIH5.mjs";import{d as f}from"./chunk-YNNW2C2U.mjs";import{a as r}from"./chunk-WISCWNL2.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import u from"next/image";import{FaChevronRight as k,FaEnvelope as y,FaPaperPlane as w,FaPhone as C,FaCalendarDays as L}from"react-icons/fa6";import{jsx as a,jsxs as t}from"react/jsx-runtime";var P=o("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),p=o("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),g=o("w-10 h-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),h=o("flex items-center gap-5"),d=o("transition-colors duration-300 hover:text-accent dark:hover:text-white");function $({className:x,footerData:N,logoLight:T,logoDark:b}){let{about:n,columnOne:c,columnTwo:s,columnThree:l,footerBottom:m}=N;return t("footer",{className:o("sticky z-2 flex flex-col dark bg-background overflow-hidden pt-12",x),children:[a("div",{className:"py-16 md:py-20",children:a("div",{className:"container",children:t("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[t("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[a(v,{logo:b}),a("p",{className:"mb-7 mt-3",children:n.description}),n.socialLinks&&n.socialLinks.length>0&&a("nav",{"aria-label":"social links",children:a("ul",{className:"inline-flex min-h-[50px] items-center divide-x rounded-5 bg-accent text-white",children:n.socialLinks.map((e,i)=>a("li",{children:a(r,{"aria-label":e.href,className:P,href:e.href,openNewTab:!0,children:a("span",{children:e.icon})})},i))})})]}),t("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[a("h3",{className:p,children:c.title}),c.links&&c.links.length>0&&a("nav",{"aria-label":"footer links navigation",children:a("ul",{className:"grid gap-2",children:c.links.map(e=>t("li",{className:"flex items-center gap-2.5",children:[a("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:a(k,{})}),a(r,{href:e.href,openNewTab:e.openNewTab,className:d,children:e.label})]},e.label))})})]}),t("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[a("h3",{className:p,children:s.title}),t("ul",{"aria-label":"addresses",className:"grid gap-5",children:[t("li",{className:h,children:[a("span",{className:g,children:a(w,{})}),a("address",{className:"not-italic",children:s.location})]}),t("li",{className:h,children:[a("span",{className:g,children:a(y,{})}),s.mails&&s.mails.length>0&&a("div",{className:"grid gap-1",children:s.mails.map((e,i)=>a("a",{href:`mailto:${e}`,className:d,children:e},i))})]}),s.phoneNumbers&&s.phoneNumbers.length>0&&t("li",{className:h,children:[a("span",{className:g,children:a(C,{})}),a("div",{className:"grid gap-1",children:s.phoneNumbers.map((e,i)=>a("a",{href:`tel:${e.split(" ").join("")}`,className:d,children:e},i))})]})]})]}),l&&t("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[a("h3",{className:p,children:l.title}),l.blogs&&l.blogs.length>0&&a("div",{className:"grid gap-6",children:l.blogs.map((e,i)=>t("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[a("div",{className:"flex-none overflow-hidden rounded-5",children:a(u,{...e.image,alt:e.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),t("div",{children:[t("p",{className:"flex items-center gap-2.5 dark:text-body",children:[a("span",{className:"text-accent",children:a(L,{})}),a("span",{children:f(e.date)})]}),a("h4",{className:"text-md leading-normal",children:a(r,{href:e.slug,className:"transition-colors duration-300 hover:text-accent",children:e.title})})]})]},i))})]})]})})}),a("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:a("div",{className:"container",children:t("div",{className:"flex flex-wrap items-center text-xs justify-between gap-x-8 gap-y-4 md:gap-x-10",children:[a("p",{children:m.copyrightText}),m.links&&m.links.length>0&&a("nav",{"aria-label":"footer bottom navigation",children:a("ul",{className:"flex flex-wrap items-center gap-x-4 md:gap-x-7",children:m.links.map(e=>a("li",{children:a(r,{"aria-label":`Go to page ${e.label}`,href:e.href,openNewTab:e.openNewTab,className:d,children:e.label})},e.label))})})]})})})]})}export{$ as a};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as x}from"./chunk-WU3JMLSC.mjs";import{a as v}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-JRJDFJ6X.mjs";import{a as d}from"./chunk-L5P5GJD5.mjs";import{a as p}from"./chunk-WTM5I35T.mjs";import{a as u}from"./chunk-OGLP277T.mjs";import{e as l}from"./chunk-NJGYYKJL.mjs";import{a as r}from"./chunk-CVUHFFL5.mjs";import{a as h}from"./chunk-QLDXERS5.mjs";import{a as g}from"./chunk-ZSZS2MG6.mjs";import{a as m}from"./chunk-UESKYRNK.mjs";import{a as c}from"./chunk-NIQ4466A.mjs";import N from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";var b=t=>({root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:t,type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}}),y=({children:t})=>e("div",{children:i("div",{className:"sticky top-0 h-screen",children:[t,e(r,{className:"text-black z-10",position:"header"})]})}),k=()=>i(y,{children:[i("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:e(m,{children:i("div",{className:"flex flex-col items-start md:w-1/2 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-6xl mb-6",children:"Lorum ipsum."}),e("div",{className:"text-lg md:text-xl text-gray-300 mb-8 max-w-lg",children:"Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio."})]})})})]}),w={highImpact:d,lowImpact:p,mediumImpact:u,sectionHero:f,dummy:k};function C({...t}){return i("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(g,{isMenuOpen:!0,logoLight:v,logoDark:x,...t.header}),e(S,{...t.hero}),e(a,{theme:"first",children:e(s,{})}),e(a,{theme:"dark",children:e(s,{})}),e(a,{theme:"light",children:e(s,{})}),e(a,{theme:"dark",children:e(s,{})}),e(a,{theme:"light",children:e(s,{})}),e("div",{className:"bottom-0",children:e(h,{...t.footer})})]})}var S=t=>{let{type:o}=t||{};if(!o||o==="none")return null;let n=w[o];return n?e(n,{...t}):null},s=()=>{let t={blurDataURL:"/assets/props/Cortex-Handshake-BG.jpg",height:1315,url:"/assets/props/Cortex-Handshake-BG.jpg",width:1920};return e("div",{className:"container",children:i("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[i("div",{className:c("w-full text-left"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:"Lorum ipsum..."}),e("p",{className:"mt-4 text-gray-700 text-lg",children:e(l,{enableGutter:!1,content:b("Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies."),enableProse:!1,className:c("prose prose-headings:text-foreground prose-p:text-foreground")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-accent-foreground transition",children:"Click here"})]}),e("div",{className:"w-full h-full min-h-96 py-6 md:p-0 flex justify-center",children:e(N,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},a=({children:t,theme:o})=>{if(o==="first")return e("section",{id:"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:i("div",{className:"relative",children:[e("div",{className:"flex items-center justify-center pt-12",children:t}),e(r,{className:"text-black z-10",position:"bottom-right"})]})})});if(o==="light")return e("section",{id:"next-section",className:"",children:i("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:[e("div",{className:"flex items-center justify-center pt-12",children:t}),e(r,{className:"text-black z-10",position:"bottom-right"})]})});if(o==="dark")return e("section",{id:"next-section",className:"",children:i("div",{className:"sticky top-0 dark min-h-[80vh] bg-white",children:[e("div",{className:"flex items-center justify-center pt-12 bg-black",children:t}),e(r,{className:"text-accent z-10",position:"top"})]})})};export{C as a,a as b};
@@ -1,9 +0,0 @@
1
- import{a as u}from"./chunk-SV7NMNDI.mjs";import{a as v}from"./chunk-EHRVCKDC.mjs";import{c as x}from"./chunk-YNNW2C2U.mjs";import{a as f}from"./chunk-UESKYRNK.mjs";import{a as n}from"./chunk-WISCWNL2.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import h from"next/image";import{FaArrowRight as y}from"react-icons/fa6";import{jsx as e,jsxs as i}from"react/jsx-runtime";function I({blogs:a,sectionHeading:t,base:l="insights"}){return e("section",{className:o("sticky md:top-0 md:h-screen min-h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background overflow-auto"),children:i(f,{children:[e("div",{className:"mx-auto max-w-[630px]",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(v,{...t,alignment:"center",hasBottomSpacing:!0})})}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-center gap-y-30px",children:a.map((s,r)=>e("div",{"data-aos":"fade-up","data-aos-delay":u([200,400,600],r),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:e(w,{...s,base:l})},r))})]})})}var b=o("inline-flex items-center gap-2 text-white"),$=o("text-sm text-white");function w({slug:a,meta:t,authors:l,title:s,publishedAt:r,categories:N,base:g}){var c,d,p,m;return i("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[e("span",{className:"absolute inset-0 z-[2] "}),e(h,{src:((c=t==null?void 0:t.image)==null?void 0:c.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((d=t==null?void 0:t.image)==null?void 0:d.alt)||"Blog image",fill:!0,sizes:`
2
- (min-width:768px) 50vw,
3
- (min-width:1024px) 33vw,
4
- 100vw
5
- `,className:o("pointer-events-none object-cover opacity-0 [filter:blur(10px)] [transform:translatex(50%)_scalex(2)] [transition:all_500ms_ease]","group-hover/blog:opacity-100 group-hover/blog:[filter:blur(0px)] group-hover/blog:[transform:translatex(0)_scalex(1)]")}),e(h,{src:((p=t==null?void 0:t.image)==null?void 0:p.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((m=t==null?void 0:t.image)==null?void 0:m.alt)||"Blog image",fill:!0,sizes:`
6
- (min-width:768px) 50vw,
7
- (min-width:1024px) 33vw,
8
- 100vw
9
- `,className:o("pointer-events-none object-cover [transition:all_500ms_ease]","group-hover/blog:opacity-0 group-hover/blog:[filter:blur(10px)] group-hover/blog:[transform:translatex(-50%)_scalex(2)]")}),i("div",{className:"relative z-10 flex h-full flex-1 w-full flex-col",children:[r&&e("div",{children:e("div",{className:"inline-grid w-full items-center justify-center rounded-5 bg-background/40 px-4 py-3 text-center font-secondary text-md font-bold text-foreground transition-colors group-hover/blog:bg-accent group-hover/blog:text-accent-foreground md:text-lg",children:e("time",{dateTime:r,className:"text-foreground",children:e("span",{className:"block",children:x(r)})})})}),i("div",{className:"mt-auto space-y-2 text-white md:space-y-5",children:[e("div",{className:"inline-flex flex-wrap items-center gap-x-5 gap-y-2",children:e("p",{className:b})}),e("h3",{className:"text-md font-bold w-full p-6 bg-background/60 leading-[1.25] text-foreground md:text-lg",children:e(n,{"aria-label":s,href:`/${g}/${a}`||"#",className:"transition-colors duration-300 hover:text-primary",children:s})}),e("div",{children:i(n,{href:`/${g}/${a}`||"#",className:o(b,"gap-[.625rem] font-secondary border bg-background/80 border-accent px-4 py-2 mx-6 my-3 text-base font-bold uppercase leading-[2] tracking-wide text-foreground transition-colors duration-300 hover:text-accent-foreground"),children:[e("span",{children:"Read More"}),e("span",{className:"text-accent",children:e(y,{})})]})})]})]})]})}export{I as a,w as b};