cortex-react-components 1.53.2 → 1.53.4

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 (153) hide show
  1. package/dist/{chunk-XUHEUFNJ.mjs → chunk-73ZWEV2X.mjs} +1 -1
  2. package/dist/chunk-7BCGFZES.mjs +1 -0
  3. package/dist/{chunk-KQR574BF.mjs → chunk-7MKXHL57.mjs} +1 -1
  4. package/dist/chunk-7YIQ6ORJ.mjs +1 -0
  5. package/dist/{chunk-6YWZKEM7.mjs → chunk-D3BZHOZZ.mjs} +1 -1
  6. package/dist/chunk-D6AVW7X6.mjs +4 -0
  7. package/dist/{chunk-QIOIEGYK.mjs → chunk-EQOU2VBA.mjs} +1 -1
  8. package/dist/{chunk-EBVVHIUU.mjs → chunk-ESWNUYYT.mjs} +1 -1
  9. package/dist/{chunk-T64HWIXW.mjs → chunk-GK6Z3E4K.mjs} +1 -1
  10. package/dist/chunk-GQ2G2FNR.mjs +4 -0
  11. package/dist/{chunk-G46BY4JW.mjs → chunk-HBWMSYBN.mjs} +1 -1
  12. package/dist/{chunk-4VYZWTJW.mjs → chunk-IEMFKH5A.mjs} +1 -1
  13. package/dist/{chunk-7VYUQOAM.mjs → chunk-JPUN2TYN.mjs} +1 -1
  14. package/dist/{chunk-QQD2PYCB.mjs → chunk-JSQQNE6X.mjs} +1 -1
  15. package/dist/{chunk-KA2ACFQB.mjs → chunk-LGTE6VHF.mjs} +1 -1
  16. package/dist/{chunk-XYUC2EAW.mjs → chunk-LMNWDTST.mjs} +1 -1
  17. package/dist/{chunk-7XB4Y3U2.mjs → chunk-OGKJF5LR.mjs} +1 -1
  18. package/dist/{chunk-CJ4CNW7Z.mjs → chunk-OKF3IE4M.mjs} +1 -1
  19. package/dist/{chunk-QX6W4MHA.mjs → chunk-OKGBIF2I.mjs} +1 -1
  20. package/dist/{chunk-OGLP277T.mjs → chunk-P7RZLKAN.mjs} +1 -1
  21. package/dist/chunk-RDWF5HZG.mjs +1 -0
  22. package/dist/{chunk-URAT6D6U.mjs → chunk-RZCFT36K.mjs} +1 -1
  23. package/dist/{chunk-YPZU6Z32.mjs → chunk-SQS3C53U.mjs} +1 -1
  24. package/dist/{chunk-GAMJEYNM.mjs → chunk-TETXIVS7.mjs} +1 -1
  25. package/dist/chunk-UJTYPHIA.mjs +1 -0
  26. package/dist/chunk-VSNDROOR.mjs +4 -0
  27. package/dist/{chunk-WTM5I35T.mjs → chunk-VYQYFS6R.mjs} +1 -1
  28. package/dist/{chunk-AFYQS22K.mjs → chunk-YHSF5GPH.mjs} +1 -1
  29. package/dist/{chunk-DITS325V.mjs → chunk-ZP6MCRIP.mjs} +1 -1
  30. package/dist/{chunk-Y57CQYEG.mjs → chunk-ZSZS2MG6.mjs} +1 -1
  31. package/dist/{chunk-Y7ERJ6KU.mjs → chunk-ZTJM3EHI.mjs} +1 -1
  32. package/dist/components/Blocks/Banner.mjs +1 -1
  33. package/dist/components/Blocks/CallToAction.mjs +1 -1
  34. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  35. package/dist/components/Blocks/Content.mjs +1 -1
  36. package/dist/components/Blocks/Content.stories.mjs +1 -1
  37. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  38. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  39. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  40. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  41. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  42. package/dist/components/Blocks/index.mjs +1 -1
  43. package/dist/components/Cards/ContentCard.mjs +1 -1
  44. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  45. package/dist/components/Cards/FeatureCard.js +1 -1
  46. package/dist/components/Cards/FeatureCard.mjs +1 -1
  47. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  48. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  49. package/dist/components/Cards/index.js +1 -1
  50. package/dist/components/Cards/index.mjs +1 -1
  51. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  52. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  53. package/dist/components/HeaderFooter/Header.mjs +1 -1
  54. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  55. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  56. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  57. package/dist/components/HeaderFooter/VideoHeader.js +1 -1
  58. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  59. package/dist/components/HeaderFooter/index.js +1 -1
  60. package/dist/components/HeaderFooter/index.mjs +1 -1
  61. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  62. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  63. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  64. package/dist/components/Heros/RenderHero.mjs +1 -1
  65. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  66. package/dist/components/Heros/index.mjs +1 -1
  67. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  68. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  69. package/dist/components/Holidays/index.mjs +1 -1
  70. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  71. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  72. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  73. package/dist/components/Layouts/Print.mjs +1 -1
  74. package/dist/components/Layouts/Print.stories.mjs +1 -1
  75. package/dist/components/Layouts/SlideShow.mjs +1 -1
  76. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  77. package/dist/components/Layouts/index.mjs +1 -1
  78. package/dist/components/Payload/RichText/index.mjs +1 -1
  79. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  80. package/dist/components/Payload/RichText.stories.mjs +1 -1
  81. package/dist/components/Payload/index.mjs +1 -1
  82. package/dist/components/index.js +7 -7
  83. package/dist/components/index.mjs +1 -1
  84. package/dist/globals.css +1 -1
  85. package/dist/index.js +9 -9
  86. package/dist/index.mjs +1 -1
  87. package/dist/metafile-cjs.json +1 -1
  88. package/dist/metafile-esm.json +1 -1
  89. package/dist/pages/Blog.js +1 -1
  90. package/dist/pages/Blog.mjs +1 -1
  91. package/dist/pages/Blog.stories.js +1 -1
  92. package/dist/pages/Blog.stories.mjs +1 -1
  93. package/dist/pages/Documentation.mjs +1 -1
  94. package/dist/pages/Documentation.stories.mjs +1 -1
  95. package/dist/pages/IndexPage.mjs +1 -1
  96. package/dist/pages/IndexPage.stories.mjs +1 -1
  97. package/dist/pages/Intranet.mjs +1 -1
  98. package/dist/pages/Intranet.stories.mjs +1 -1
  99. package/dist/pages/LandingPage.js +3 -3
  100. package/dist/pages/LandingPage.mjs +1 -1
  101. package/dist/pages/LandingPage.stories.js +3 -3
  102. package/dist/pages/LandingPage.stories.mjs +1 -1
  103. package/dist/pages/Page.mjs +1 -1
  104. package/dist/pages/Page.stories.mjs +1 -1
  105. package/dist/pages/Printable.stories.mjs +1 -1
  106. package/dist/pages/Publish.mjs +1 -1
  107. package/dist/pages/Publish.stories.mjs +1 -1
  108. package/dist/pages/Website.js +1 -1
  109. package/dist/pages/Website.mjs +1 -1
  110. package/dist/pages/Website.stories.js +1 -1
  111. package/dist/pages/Website.stories.mjs +1 -1
  112. package/dist/sections/AboutSection.js +1 -1
  113. package/dist/sections/AboutSection.mjs +1 -1
  114. package/dist/sections/AboutSection.stories.js +1 -1
  115. package/dist/sections/AboutSection.stories.mjs +1 -1
  116. package/dist/sections/BlogDetail.mjs +1 -1
  117. package/dist/sections/BlogDetail.stories.mjs +1 -1
  118. package/dist/sections/BlogList.js +2 -2
  119. package/dist/sections/BlogList.mjs +1 -1
  120. package/dist/sections/BlogList.stories.js +1 -1
  121. package/dist/sections/BlogList.stories.mjs +1 -1
  122. package/dist/sections/ContactSection.js +1 -1
  123. package/dist/sections/ContactSection.mjs +1 -1
  124. package/dist/sections/ContactSection.stories.js +1 -1
  125. package/dist/sections/ContactSection.stories.mjs +1 -1
  126. package/dist/sections/ImageSection.stories.mjs +1 -1
  127. package/dist/sections/PageSections.js +3 -3
  128. package/dist/sections/PageSections.mjs +1 -1
  129. package/dist/sections/PageSections.stories.js +3 -3
  130. package/dist/sections/PageSections.stories.mjs +1 -1
  131. package/dist/sections/PricingSection.js +1 -1
  132. package/dist/sections/PricingSection.mjs +1 -1
  133. package/dist/sections/PricingSection.stories.js +1 -1
  134. package/dist/sections/PricingSection.stories.mjs +1 -1
  135. package/dist/sections/ServiceDetailSection.mjs +1 -1
  136. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  137. package/dist/sections/ServiceSection.d.ts +3 -1
  138. package/dist/sections/ServiceSection.js +1 -1
  139. package/dist/sections/ServiceSection.mjs +1 -1
  140. package/dist/sections/ServiceSection.stories.js +1 -1
  141. package/dist/sections/ServiceSection.stories.mjs +1 -1
  142. package/dist/sections/form/index.js +1 -1
  143. package/dist/sections/form/index.mjs +1 -1
  144. package/dist/sections/index.js +2 -2
  145. package/dist/sections/index.mjs +1 -1
  146. package/package.json +1 -1
  147. package/dist/chunk-2NQPUL2I.mjs +0 -1
  148. package/dist/chunk-EHRVCKDC.mjs +0 -1
  149. package/dist/chunk-H4T3LIAM.mjs +0 -4
  150. package/dist/chunk-LYGOKJGG.mjs +0 -4
  151. package/dist/chunk-NJGYYKJL.mjs +0 -1
  152. package/dist/chunk-SQWFYEVY.mjs +0 -4
  153. package/dist/chunk-YOWFGXQB.mjs +0 -1
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "cortex-react-components",
3
3
  "author": "Cortex Reply",
4
4
  "private": false,
5
- "version": "1.53.2",
5
+ "version": "1.53.4",
6
6
  "description": "A library of React components with styles. Designed to seamlessly integrate with React and Next.js.",
7
7
  "license": "MPL-2.0",
8
8
  "main": "./dist/index.js",
@@ -1 +0,0 @@
1
- import{a as m}from"./chunk-H4T3LIAM.mjs";import{a as l}from"./chunk-EHRVCKDC.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import p from"next/image";import{FaEnvelope as g,FaPhoneFlip as v}from"react-icons/fa6";import{jsx as e,jsxs as i}from"react/jsx-runtime";function y(a){let{sectionHeading:t,image:s}=a;return i("div",{className:"relative w-full 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(p,{src:s.src,alt:s.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:r})}),e(n,{children:e("div",{className:"ml-auto md:w-1/2",children:i("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(l,{...t,invert:!0})}),e(m,{})]})})})]})}function S(a){return 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:i("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[i("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:a.locations&&a.locations.map((t,s)=>{var o;return i("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 font-semibold text-accent",children:t.title}),i("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=t.location.split(","))==null?void 0:o.map((c,d)=>e("p",{children:c},d))," ",t.mails&&i("p",{className:"flex items-center space-x-2",children:[e(g,{className:"pr-2 text-accent size-auto"}),e("span",{children:t.mails[0]})]}),t.phoneNumbers&&t.phoneNumbers.length>0&&i("p",{className:"flex items-center space-x-2",children:[e(v,{className:"pr-2 text-accent size-auto"}),t.phoneNumbers[0]]})]})]},s)})})]})})})})}export{y as a,S as b};
@@ -1 +0,0 @@
1
- import{e as r}from"./chunk-NJGYYKJL.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import{jsx as e,jsxs as p}from"react/jsx-runtime";function x({subtitle:s,title:o,description:t,alignment:a="start",hasBottomSpacing:i=!1,className:l,invert:c=!1}){let m=n(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},l);return p("div",{className:m,children:[s&&e("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:s}),e("h2",{className:n("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",c&&"text-gray-900"),children:o}),typeof t=="string"?t&&e("p",{className:"mt-5 whitespace-pre-line text-primary",children:t}):t&&e(r,{content:t,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}export{x as a};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as C}from"./chunk-EG6XIOOJ.mjs";import{a as f}from"./chunk-CTKUF2I6.mjs";import{a as p}from"./chunk-NOEITQK2.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Formik as x}from"formik";import{FaUser as w}from"react-icons/fa6";import*as m from"yup";import{toast as b}from"sonner";import{jsx as e,jsxs as n}from"react/jsx-runtime";var s={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},L=m.object().shape({name:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),email:m.string().email(s.email).required(s.required),subject:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),message:m.string().min(2,s.tooShort).max(300,s.tooLong).required(s.required)}),u=i("!pr-[44px]"),g=i("!border-red-600 border"),d=i("sr-only");function U(){return e(x,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:L,onSubmit:async(a,{resetForm:t})=>{let o=await f(a);o.data===null?b.error(o.message):(b.success(o.message),t())},children:({errors:a,touched:t,values:o,handleChange:r,handleBlur:c,isSubmitting:l,handleSubmit:h})=>n("form",{onSubmit:h,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[n("div",{children:[e(p,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:r,onBlur:c,disabled:l,icon:e(w,{}),className:i(u,a.name&&t.name&&g)}),a.name&&t.name&&e("p",{title:a.name,"aria-live":"polite",role:"error message",className:d,children:a.name})]}),n("div",{children:[e(p,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:r,onBlur:c,disabled:l,icon:e(N,{}),className:i(u,a.email&&t.email&&g)}),a.email&&t.email&&e("p",{title:a.email,"aria-live":"polite",role:"error message",className:d,children:a.email})]}),n("div",{className:"lg:col-span-2",children:[e(p,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:r,onBlur:c,disabled:l,className:i(u,a.subject&&t.subject&&g)}),a.subject&&t.subject&&e("p",{title:a.subject,"aria-live":"polite",role:"error message",className:d,children:a.subject})]}),n("div",{className:"lg:col-span-2",children:[e(C,{placeholder:"Write Message...",name:"message",value:o.message,onChange:r,onBlur:c,disabled:l,icon:e(S,{}),className:i(u,a.message&&t.message&&g)}),a.message&&t.message&&e("p",{title:a.message,"aria-live":"polite",role:"error message",className:d,children:a.message})]}),e("div",{className:"lg:col-span-2",children:e(v,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:l,children:e("span",{children:"SEND"})})})]})})}function N(){return e("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function S(){return e("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{U as a};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as N}from"./chunk-YOWFGXQB.mjs";import{a as y,b}from"./chunk-2NQPUL2I.mjs";import{a as k}from"./chunk-YPZU6Z32.mjs";import{a as w}from"./chunk-WU3JMLSC.mjs";import{a as S}from"./chunk-BZAYEKYC.mjs";import{a as h}from"./chunk-DITS325V.mjs";import{a as v}from"./chunk-WTM5I35T.mjs";import{a as u}from"./chunk-QX6W4MHA.mjs";import{a as f}from"./chunk-OGLP277T.mjs";import{e as d}from"./chunk-NJGYYKJL.mjs";import{a as m}from"./chunk-FCCL6W7R.mjs";import{a as g}from"./chunk-HSFVPF3U.mjs";import{a as x}from"./chunk-Y57CQYEG.mjs";import{a as s}from"./chunk-FC4BLPWZ.mjs";import{a as p}from"./chunk-UESKYRNK.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import C from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";var z=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"}}),j=({children:t})=>e("div",{children:o("div",{className:"sticky top-0 h-screen",children:[t,e(s,{className:"text-black z-10",position:"header"})]})}),H=()=>o(j,{children:[o("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(p,{children:o("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."})]})})})]}),R={highImpact:u,lowImpact:v,mediumImpact:f,sectionHero:h,dummy:H};function L({...t}){let i="scroll";return o("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(x,{isMenuOpen:!0,logoLight:S,logoDark:w,...t.header}),e(P,{...t.hero}),e(r,{theme:"light",style:i,children:e(N,{...t.service})}),e(r,{theme:"dark",style:i,image:t.service.services[0].image,children:e(c,{})}),e(r,{theme:"light",style:i,children:e(c,{})}),e(r,{theme:"dark",shape:["left","left"],children:e(c,{})}),e(r,{theme:"light",style:i,children:e(c,{})}),e(r,{theme:"dark",style:i,children:e(c,{})}),e(r,{theme:"light",style:i,children:e(c,{})}),e(r,{theme:"dark",style:i,children:e(y,{...t.contact})}),e(r,{theme:"light",style:i,children:e(b,{...t.contact})}),e(r,{theme:"last",style:i,children:e(k,{...t.blog})}),e(g,{...t.footer})]})}var P=t=>{let{type:i}=t||{};if(!i||i==="none")return null;let l=R[i];return l?e(l,{...t}):null},c=()=>{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:o("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[o("div",{className:n("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(d,{enableGutter:!1,content:z("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:n("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(C,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},r=({children:t,theme:i,style:l,neighbours:I,shape:T,image:M})=>{let D=a=>o("div",{className:"select-none",children:[a&&typeof a=="object"&&e(m,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:a}),a&&typeof a=="string"&&e("div",{children:e(C,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:a})})]});if(i==="dark"&&l==="slide")return e("section",{id:"next-section",className:"sticky md:top-0 h-screen",children:o("div",{className:"dark pt-0 min-h-[80vh]",children:[e(s,{className:"z-10",position:"dark-top"}),o("div",{className:"relative",children:[e("div",{className:"flex items-center bg-black justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"dark-bottom"})]})]})});if(i==="light"&&l==="slide")return e("section",{id:"next-section",className:"",children:o("div",{className:"sticky top-0 light pt-0 min-h-[80vh]",children:[e(s,{className:"z-10",position:"light-top"}),o("div",{className:"relative",children:[e("div",{className:"flex items-center bg-white justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"light-bottom"})]})]})});if(i==="first")return e("section",{id:"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:o("div",{className:"relative",children:[e("div",{className:"flex items-center justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"bottom-right"})]})})});if(i==="light")return e("section",{id:"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background min-h-[50vh]",children:e("div",{className:"flex items-center justify-center",children:e("div",{className:"container",children:t})})})});if(i==="dark")return e("section",{id:"next-section",className:"",children:o("div",{className:"sticky top-0 dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pt-12 bg-black",children:e("div",{className:"container",children:t})}),e(s,{className:"text-accent z-10",position:"top"})]})});if(i==="last")return e("section",{id:"next-section",className:"",children:o("div",{className:"sticky top-0 dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:e("div",{className:"container",children:t})})]})})};export{L as a,r as b};
@@ -1 +0,0 @@
1
- import{i as H,j,k as E,l as G,m as _,n as $,o as J}from"./chunk-O5BAW5XQ.mjs";import{a as h}from"./chunk-44VMK4FL.mjs";import{a as I}from"./chunk-2A6JF3LE.mjs";import{a as S}from"./chunk-4YJ3HV64.mjs";import{a as T}from"./chunk-2NFKSNJW.mjs";import{b as P}from"./chunk-BDX257W2.mjs";import{a as g}from"./chunk-SFLOMJ2U.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{jsx as k,jsxs as U}from"react/jsx-runtime";var R=({links:a,richText:e})=>k("div",{className:"container",children:U("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[k("div",{className:"max-w-[48rem] flex items-center",children:e&&k(u,{className:"mb-0",content:e,enableGutter:!1})}),k("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:t},s)=>k(h,{size:"lg",...t},s))})]})});import X from"next/image";import{jsx as n,jsxs as w}from"react/jsx-runtime";function F(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function q({image:a,icon:e,title:t,subtitle:s,content:c,statistic:r,settings:o,link:p,className:d}){var b,x;let f={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},y={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return console.log("image",a),w("div",{className:l("min-w-56 max-w-xl flex flex-col group",a?"p-0 md:p-0":"p-8 md:p-8",o&&!a&&f[(o==null?void 0:o.card)==="default"?"solid":o==null?void 0:o.card],a&&"bg-foreground",o&&(o==null?void 0:o.card)==="outline"?"text-gray-900":"text-white",y[(b=o==null?void 0:o.width)!=null?b:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",o&&`intersect:animate-delay-${o.order||1}00`,d),children:[a&&n("div",{className:"relative h-64 w-full mb-0",children:n(X,{src:a.url||"/placeholder.svg",alt:a.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),w("div",{className:l(a?"p-4 pb-8 md:px-12":"p-0 md:p-0"),children:[s&&n("div",{className:"mb-4 text-primary uppercase font-light",children:s}),n("div",{className:"flex items-center gap-4 mb-2",children:n(O,{icon:{type:(e==null?void 0:e.type)||"fa-light",iconName:(e==null?void 0:e.icon)||"no-icon-error"},heading:t,variant:(o==null?void 0:o.card)==="default"?"solid":(x=o==null?void 0:o.card)!=null?x:"solid",iconSize:(o==null?void 0:o.iconSize)||"large"})}),r&&n("div",{className:"mb-6",children:n("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"text-brand-green":"text-white"),children:r})}),c&&typeof c=="object"&&n(u,{enableGutter:!1,content:c,enableProse:!1,className:l("space-y-6",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background")}),c&&typeof c=="string"&&n("div",{className:l("space-y-6",(o==null?void 0:o.card)==="outline"||(o==null?void 0:o.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background"),children:c}),p&&p.url&&n("div",{className:"mt-auto pt-6 flex items-center justify-start",children:n("a",{className:"text-accent justify-start uppercase",href:p.url||"#",children:(p==null?void 0:p.label)||"Find out more"})}),(o==null?void 0:o.card)==="radial"&&n("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var O=({icon:a,heading:e,variant:t,iconSize:s,subtitle:c})=>a&&s==="small"&&a.iconName!="no-icon-error"?w("div",{className:"flex items-start justify-between w-full mb-2",children:[n("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e}),F(a)&&n("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:n(g,{type:a.type,iconName:a.iconName,size:"2x"})})]}):a&&a.iconName!="no-icon-error"?w("div",{className:"flex flex-col gap-4",children:[F(a)&&n("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:n(g,{type:a.type,iconName:a.iconName,size:"4x"})}),n("h3",{className:l("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):n("div",{className:"flex items-center gap-4 mb-2",children:n("div",{className:l("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as m,jsxs as B}from"react/jsx-runtime";function D(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function z({variant:a="outline",className:e,icon:t,iconSize:s="large",width:c="auto",order:r=0,heading:o,subheading:p,content:d,statistic:f,buttonText:y,buttonHref:b}){let x={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},M={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",x[a],a==="outline"?"text-gray-900":"text-white",e,M[c],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${r+1}00`),children:[m("div",{className:"flex items-center gap-4 mb-2",children:m(K,{icon:t,heading:o,variant:a,iconSize:s})}),f&&m("div",{className:"mb-6",children:m("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:f})}),p&&m("div",{className:"mb-4 text-xl md:text-2xl font-light",children:p}),d&&typeof d=="object"&&m("div",{className:l("space-y-6"),children:m(u,{enableGutter:!1,content:d,enableProse:!1,className:l(a==="outline"||a==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),d&&typeof d=="string"&&m("div",{className:l("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:d}),y&&m("div",{className:"mt-auto pt-6 flex items-center justify-center",children:m(P,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:m("a",{href:b,children:y})})}),a==="radial"&&m("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var K=({icon:a,heading:e,variant:t,iconSize:s})=>a&&s==="small"?B("div",{className:"flex items-start gap-4 mb-2",children:[D(a)&&m("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:m(g,{type:a.type,iconName:a.iconName,size:"2x"})}),m("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e})]}):a?B("div",{className:"flex flex-col gap-4",children:[D(a)&&m("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:m(g,{type:a.type,iconName:a.iconName,size:"4x"})}),m("h3",{className:l("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):m("div",{className:"flex items-center gap-4 mb-2",children:m("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as N,jsxs as Q}from"react/jsx-runtime";var A=({title:a,description:e,features:t,id:s,nested:c=!1})=>Q("section",{className:l(!c&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[a&&N("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:s||"",children:a}),e&&typeof e=="string"&&N("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:e}),e&&typeof e=="object"&&N("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:N(u,{content:e,enableGutter:!1})}),N("div",{className:`grid gap-8 mt-10 md:grid-cols-${t?t.length:1}`,children:t&&t.map((r,o)=>{var d,f,y,b,x;let p=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,iconName:r.icon.icon}};return N(z,{variant:((d=r.settings)==null?void 0:d.card)==="default"?"light":((f=r.settings)==null?void 0:f.card)||"outline",icon:p()||void 0,iconSize:((y=r.settings)==null?void 0:y.iconSize)||"large",width:"auto",order:o,heading:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,buttonText:(b=r.link)!=null&&b.url?"Find out more":void 0,buttonHref:((x=r.link)==null?void 0:x.url)||void 0},o)})})]});import V,{Fragment as W}from"react";import{jsx as i}from"react/jsx-runtime";function v({nodes:a}){return i(W,{children:a==null?void 0:a.map((e,t)=>{if(e==null)return null;if(e.type==="text"&&e.text){let r=i(V.Fragment,{children:e.text},t);return e.format&1&&(r=i("strong",{children:r},t)),e.format&2&&(r=i("em",{children:r},t)),e.format&4&&(r=i("span",{style:{textDecoration:"line-through"},children:r},t)),e.format&8&&(r=i("span",{style:{textDecoration:"underline"},children:r},t)),e.format&16&&(r=i("code",{children:e.text},t)),e.format&32&&(r=i("sub",{children:r},t)),e.format&64&&(r=i("sup",{children:r},t)),r}if(e.type==="table")return i("table",{children:i("tbody",{children:e.children.map((r,o)=>i("tr",{children:r.children.map((p,d)=>i("td",{children:v({nodes:p.children})},d))},o))})},t);let s=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let o of r.children)"checked"in o&&(o!=null&&o.checked||(o.checked=!1));return v({nodes:r.children})},c="children"in e?s(e):"";if(e.type==="block"){let r=e.fields,o=r==null?void 0:r.blockType;if(!r||!o)return null;switch(o){case"cta":return i(R,{...r},t);case"mediaBlock":return i(I,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return i(S,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return i(L,{className:"col-start-2 mb-4",...r},t);case"code":return i(T,{className:"col-start-2",...r},t);case"features":return i(A,{...r,nested:!0},t);case"reusableContentBlock":v({nodes:r.reusableContent.layout});default:return null}}else switch(e.type){case"linebreak":return i("br",{className:"col-start-2"},t);case"paragraph":return i("p",{className:"col-start-2",children:c},t);case"heading":{let r=e==null?void 0:e.tag;return i(r,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:c},t)}case"list":{let r=e==null?void 0:e.tag;return i(r,{className:"list col-start-2",children:c},t)}case"listitem":return(e==null?void 0:e.checked)!=null?i("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:c},t):i("li",{value:e==null?void 0:e.value,children:c},t);case"quote":return i("blockquote",{className:"col-start-2",children:c},t);case"link":{let r=e.fields;return i(h,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}case"autolink":{let r=e.fields;return i(h,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}default:return null}})})}import{jsx as Y}from"react/jsx-runtime";var u=({className:a,content:e,enableGutter:t=!0,enableProse:s=!0})=>{var c;return e?Y("div",{className:l({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":s},a),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&v({nodes:(c=e==null?void 0:e.root)==null?void 0:c.children})}):null};import{jsx as C}from"react/jsx-runtime";var L=({className:a,content:e,style:t})=>C("div",{className:l("mx-auto my-8 w-full",a),children:C("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:C(u,{content:e,enableGutter:!1,enableProse:!1})})});export{L as a,R as b,A as c,v as d,u as e,q as f,z as g};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as c}from"./chunk-ZVMBJZVM.mjs";import{a as d}from"./chunk-TAFEJ7HF.mjs";import{a as n}from"./chunk-FC4BLPWZ.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import{ChevronDown as p}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function S({logoVideo:u,logoLight:o,logoDark:i,menuItems:a,title:s,subtitle:r}){return t("div",{children:[t("div",{className:"sticky top-0 h-screen",children:[t("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."]}),t("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:[e(l,{children:t("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:s&&s}),e("div",{className:"text-lg md:text-xl text-gray-300 mb-8 max-w-lg",children:r&&r})]})}),e("div",{className:"absolute bottom-10 flex justify-center items-center w-full mb-8",children:e("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:()=>{let m=document.getElementById("next-section");m&&m.scrollIntoView({behavior:"smooth"})},children:e(p,{size:64})})})]}),e(n,{className:"text-black z-10",position:"top"})]}),t("div",{className:"fixed top-0 left-0 right-0 z-50",children:[e(c,{isMenuOpen:!0,logoLight:o,logoDark:i,menuItems:a}),e(d,{isMenuOpen:!0,logoLight:o,logoDark:i,menuItems:a})]})]})}export{S as a};
@@ -1 +0,0 @@
1
- import{a as l}from"./chunk-SV7NMNDI.mjs";import{f as i}from"./chunk-NJGYYKJL.mjs";import{a as r}from"./chunk-UESKYRNK.mjs";import{jsx as t}from"react/jsx-runtime";function f({services:e,className:n}){console.log("ServiceSection",e);let m={settings:{width:"full",card:"light"}};return t(r,{className:"py-8",children:e&&e.length>0&&t("div",{className:"flex flex-wrap justify-center gap-y-8",children:e.map((a,o)=>t("div",{"data-aos":"fade-up","data-aos-delay":l([200,400,600],o),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:t(i,{...m,icon:{type:"none"},title:a.title,image:a.image,content:a.content,link:a.link})},o))})})}export{f as a};