cortex-react-components 1.40.2 → 1.40.3
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.
- package/dist/{chunk-7BLEXVFN.mjs → chunk-373YJLIH.mjs} +1 -1
- package/dist/{chunk-7XSAYKJ7.mjs → chunk-3PC5BLK7.mjs} +1 -1
- package/dist/{chunk-3PKQ5FDY.mjs → chunk-4RHWRSNG.mjs} +1 -1
- package/dist/{chunk-FJ7WVUEY.mjs → chunk-62YZZSOX.mjs} +1 -1
- package/dist/{chunk-4E65YJLM.mjs → chunk-CNCPREWR.mjs} +1 -1
- package/dist/{chunk-VR56C6WQ.mjs → chunk-CTCV3L4B.mjs} +1 -1
- package/dist/{chunk-GHBJK554.mjs → chunk-DESYC5BB.mjs} +1 -1
- package/dist/{chunk-7ZHB6VE4.mjs → chunk-DJ5BLICX.mjs} +1 -1
- package/dist/{chunk-HBEYZSD7.mjs → chunk-ET5WFKM7.mjs} +1 -1
- package/dist/{chunk-SXZFQ2PY.mjs → chunk-FBFDZOP6.mjs} +1 -1
- package/dist/{chunk-RZTXT4UD.mjs → chunk-GOMLTG5W.mjs} +1 -1
- package/dist/{chunk-6BHNSSDS.mjs → chunk-HRZRAS6Z.mjs} +1 -1
- package/dist/{chunk-DOJBZRLU.mjs → chunk-HTO3HNQS.mjs} +1 -1
- package/dist/{chunk-RVKKRYWM.mjs → chunk-I2TKZ5BM.mjs} +1 -1
- package/dist/{chunk-RUUUBQUL.mjs → chunk-IS5OUEJJ.mjs} +1 -1
- package/dist/{chunk-CIU3DM6P.mjs → chunk-JM6ZXLBG.mjs} +1 -1
- package/dist/{chunk-TFPXJD6O.mjs → chunk-JYZW3G3N.mjs} +1 -1
- package/dist/{chunk-YFB2REV6.mjs → chunk-L44KSGUG.mjs} +1 -1
- package/dist/{chunk-FMASBC74.mjs → chunk-LVUWQ35N.mjs} +1 -1
- package/dist/{chunk-I5FPKAA3.mjs → chunk-QGZ7QIG3.mjs} +1 -1
- package/dist/{chunk-OZOQU5K2.mjs → chunk-SJWN6J3F.mjs} +1 -1
- package/dist/{chunk-DOVGKSK4.mjs → chunk-UDVFDGKM.mjs} +1 -1
- package/dist/{chunk-37UPFBFM.mjs → chunk-Y6QUDCQM.mjs} +1 -1
- package/dist/chunk-YCX5N23N.mjs +4 -0
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/Image.js +1 -1
- package/dist/components/Cards/Image.mjs +1 -1
- package/dist/components/Cards/Image.stories.js +1 -1
- package/dist/components/Cards/Image.stories.mjs +1 -1
- package/dist/components/Cards/index.js +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-P5NVJTJ5.mjs +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-66ZAIUUI.mjs";import{a as r}from"./chunk-SV7NMNDI.mjs";import{a as e}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-66ZAIUUI.mjs";import{a as r}from"./chunk-SV7NMNDI.mjs";import{a as e}from"./chunk-L44KSGUG.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(n,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(e,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":r([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as s}from"./chunk-4DJ6HKHR.mjs";import{a as c}from"./chunk-WU3JMLSC.mjs";import{a as u}from"./chunk-BZAYEKYC.mjs";import{b as l}from"./chunk-GLEWUUGS.mjs";import{a,b as i,c as t,e as o}from"./chunk-D76EO57Z.mjs";import{a as m}from"./chunk-
|
|
4
|
+
import{a as s}from"./chunk-4DJ6HKHR.mjs";import{a as c}from"./chunk-WU3JMLSC.mjs";import{a as u}from"./chunk-BZAYEKYC.mjs";import{b as l}from"./chunk-GLEWUUGS.mjs";import{a,b as i,c as t,e as o}from"./chunk-D76EO57Z.mjs";import{a as m}from"./chunk-GOMLTG5W.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function b({...n}){return r("div",{className:"relative",children:[e("div",{className:"h-screen relative overflow-hidden",children:e(m,{...n.header,logoVideo:s,logoLight:u,logoDark:c})}),r("div",{id:"next-section",className:"mt-16 pt-16 min-h-screen",children:[" ",e("div",{className:"container py-8",children:r("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:n.children}),r("div",{className:"space-y-6",children:[r(a,{children:[e(i,{children:e(t,{children:"Quick Actions"})}),r(o,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(l,{className:"w-full",children:"Create New"})]})]}),r(a,{children:[e(i,{children:e(t,{children:"Resources"})}),e(o,{children:r("nav",{className:"flex flex-col space-y-2",children:[r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}export{b as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as l}from"./chunk-BZAYEKYC.mjs";import{a}from"./chunk-T6LPMF7A.mjs";import{b as r}from"./chunk-
|
|
1
|
+
import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as l}from"./chunk-BZAYEKYC.mjs";import{a}from"./chunk-T6LPMF7A.mjs";import{b as r}from"./chunk-I2TKZ5BM.mjs";import{a as n}from"./chunk-IS5OUEJJ.mjs";import{a as i}from"./chunk-DESYC5BB.mjs";import{a as o}from"./chunk-6K2R3OAD.mjs";import{jsx as t,jsxs as p}from"react/jsx-runtime";function g({...e}){let s=e.page,{contentWithIds:c,tableOfContents:m}=o(s);return p("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[t(i,{isMenuOpen:!0,logoLight:l,logoDark:f}),t(r,{...e.hero}),t(a,{edit:e.edit,pageId:e.page.id,tableOfContents:m,relatedContent:e.relatedContent,children:t(n,{blocks:c})})]})}export{g as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as d}from"./chunk-SV7NMNDI.mjs";import{a as p}from"./chunk-
|
|
1
|
+
import{a as d}from"./chunk-SV7NMNDI.mjs";import{a as p}from"./chunk-L44KSGUG.mjs";import{a as n}from"./chunk-WISCWNL2.mjs";import{c}from"./chunk-YNNW2C2U.mjs";import{a as m}from"./chunk-UESKYRNK.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import g from"next/image";import{FaArrowRight as x}from"react-icons/fa6";import{jsx as e,jsxs as i}from"react/jsx-runtime";function _({blogs:a,sectionHeading:t}){return e("section",{className:o("section-padding-primary overflow-hidden "),children:i(m,{children:[e("div",{className:"mx-auto max-w-[630px]",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(p,{...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((l,r)=>e("div",{"data-aos":"fade-up","data-aos-delay":d([200,400,600],r),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:e(u,{...l})},r))})]})})}var f=o("inline-flex items-center gap-2 text-white"),z=o("text-sm text-white");function u({slug:a,image:t,authors:l,title:r,publishedAt:s,categories:v}){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(g,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
2
2
|
(min-width:768px) 50vw,
|
|
3
3
|
(min-width:1024px) 33vw,
|
|
4
4
|
100vw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as o}from"./chunk-
|
|
1
|
+
import{e as o}from"./chunk-Y6QUDCQM.mjs";import n from"next/image";import{jsx as r,jsxs as m}from"react/jsx-runtime";var s=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:i,url:l,width:c}=e;return r(n,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:l||"",width:c||0,height:i||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return r("div",{children:r(n,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},p=({links:e,media:t,children:a,richText:i})=>m("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&r(s,{media:t}),r("div",{className:"mx-0 min-w-full relative z-9",children:r("div",{className:"container text-brand-one-foreground",children:a||i&&r(o,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:i,enableProse:!0,enableGutter:!1})})})]});export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as r}from"./chunk-
|
|
1
|
+
import{e as r}from"./chunk-Y6QUDCQM.mjs";import{jsx as e}from"react/jsx-runtime";var c=({children:o,richText:t})=>e("div",{className:"min-w-full py-10 bg-muted mt-24",children:e("div",{className:"container",children:o||t&&e(r,{content:t,enableGutter:!1})})});export{c as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as m}from"./chunk-XDP6BKTK.mjs";import{a as i}from"./chunk-3TIFSACL.mjs";import{a as t}from"./chunk-NIQ4466A.mjs";import{jsx as p,jsxs as s}from"react/jsx-runtime";function l({isMenuOpen:e,logoLight:o,logoDark:r,menuItems:a,className:n}){return s("div",{className:t("fixed top-0 left-0 right-0 z-50",n),children:[p(i,{isMenuOpen:e,logoLight:o,logoDark:r,menuItems:a}),p(m,{isMenuOpen:e,logoLight:o,logoDark:r,menuItems:a})]})}export{l as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as g}from"./chunk-WU3JMLSC.mjs";import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as S}from"./chunk-QL74DMZ3.mjs";import{a as p}from"./chunk-4VDJWCUB.mjs";import{a as o,b as d,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as c}from"./chunk-3YZN4MJB.mjs";import{b as s,d as b,f as u}from"./chunk-AFA6LBJ4.mjs";import{a as n}from"./chunk-Y5VTKEKS.mjs";import{a as f}from"./chunk-
|
|
4
|
+
import{a as g}from"./chunk-WU3JMLSC.mjs";import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as S}from"./chunk-QL74DMZ3.mjs";import{a as p}from"./chunk-4VDJWCUB.mjs";import{a as o,b as d,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as c}from"./chunk-3YZN4MJB.mjs";import{b as s,d as b,f as u}from"./chunk-AFA6LBJ4.mjs";import{a as n}from"./chunk-Y5VTKEKS.mjs";import{a as f}from"./chunk-DESYC5BB.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function v({...a}){return r("div",{className:"bg-sidebar",children:[e(f,{isMenuOpen:!0,logoLight:h,logoDark:g,...a.header,className:"bg-sidebar"}),r(s,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(p,{...a.sidebarLeft,className:"flex-none top-24"}),r(u,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(n,{orientation:"vertical",className:"mr-2 h-4"}),e(o,{children:r(d,{children:[e(i,{className:"hidden md:block",children:e(t,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(i,{children:e(m,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),e(S,{...a.sidebarRight,className:"flex-none top-24"})]}),e(c,{})]})}export{v as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{e as c}from"./chunk-
|
|
4
|
+
import{e as c}from"./chunk-Y6QUDCQM.mjs";import{a as o}from"./chunk-NWW7KWJK.mjs";import{a as s}from"./chunk-ICTOXY7D.mjs";import p from"next/image";import{jsx as e,jsxs as a}from"react/jsx-runtime";var y=({links:r,media:t,children:l,richText:i})=>a("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[e("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:a("div",{className:"text-center",children:[l||i&&e(c,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:i,enableGutter:!1}),Array.isArray(r)&&r.length>0&&e("ul",{className:"flex justify-center gap-4",children:r.map(({link:m},n)=>e("li",{children:e(o,{...m})},n))})]})}),a("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&e("div",{children:e(p,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),e("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});export{y as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as x}from"./chunk-KML6U7IE.mjs";import{a as k}from"./chunk-TXXFXCXB.mjs";import{e as P}from"./chunk-
|
|
1
|
+
import{a as x}from"./chunk-KML6U7IE.mjs";import{a as k}from"./chunk-TXXFXCXB.mjs";import{e as P}from"./chunk-Y6QUDCQM.mjs";import{b as v}from"./chunk-GLEWUUGS.mjs";import{a as c,b as h,c as C,e as p}from"./chunk-D76EO57Z.mjs";import{a as b}from"./chunk-WISCWNL2.mjs";import{a as N}from"./chunk-UESKYRNK.mjs";import L from"next/image";import{notFound as M}from"next/navigation";import I from"next/link";import{jsx as t,jsxs as o}from"react/jsx-runtime";function T({image:a,name:r,about:m,socialLinks:n}){return!a||!a.src||a.src.length<3||!r?null:t("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:t(c,{children:o(p,{children:[a&&a.src&&t(L,{src:a.src,alt:a.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:x,className:"mx-auto mt-6 rounded-full object-cover"}),t("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:r}),t("p",{children:m}),n&&n.length>0&&t("nav",{"aria-label":"social links",children:t("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((e,s)=>t("li",{children:t(b,{href:e.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:t("span",{children:e.icon})})},s))})})]})})})}function j({page:a,categoryList:r,edit:m=!1,path:n="/admin/collections/posts/"}){var g;if(!a)return M();let{meta:e,populatedAuthors:s,authors:d,categories:y,content:U,title:w}=a,z={image:{src:e&&e.image&&e.image.url||void 0,alt:e&&e.image&&e.image.alt||void 0},authorName:((g=s==null?void 0:s[0])==null?void 0:g.name)||"",category:y,commentCount:0,title:w,description:(e==null?void 0:e.description)||""},u=d==null?void 0:d.map(i=>{var l,f;return{name:i.name||"",about:"",image:{src:i.profilePicture&&((f=(l=i.profilePicture.sizes)==null?void 0:l.square)==null?void 0:f.url)||"",alt:i.name||"blog author"},socialLinks:[]}});return t(N,{children:o("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[t("div",{children:o("div",{className:"[&_p+P]:mt-4",children:[t("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),t(P,{content:U,enableGutter:!1})]})}),o("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[m&&t("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:o(c,{children:[t(h,{children:t(C,{className:"text-accent",children:"Content Actions"})}),o(p,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),t(I,{href:`${n}${a.id}`,children:t(v,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),u&&u.map((i,l)=>t(T,{...i},l)),r&&r.links&&t("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:t(k,{links:r.links,title:r.title})})]})]})})}export{j as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as v}from"./chunk-XDP6BKTK.mjs";import{a as u}from"./chunk-3TIFSACL.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import{useState as f,useEffect as b}from"react";import{Menu as x,ChevronDown as w}from"lucide-react";import N from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";function O({logoVideo:p,logoLight:s,logoDark:i,menuItems:a,title:r,subtitle:n}){let[c,d]=f(!1),[l,g]=f(!1),h=()=>{let o=document.getElementById("next-section");o&&o.scrollIntoView({behavior:"smooth"})};return b(()=>{let o=()=>{window.scrollY>100?d(!0):d(!1)};return window.addEventListener("scroll",o,{passive:!0}),()=>window.removeEventListener("scroll",o)},[]),t("div",{className:"relative h-screen",children:[t("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[t("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!c&&!l&&e("button",{className:"fixed hidden lg:block top-4 right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{g(!l)},children:e(x,{className:"w-6 h-6 text-white"})}),t("div",{className:"fixed top-0 left-0 right-0 z-50",children:[e(u,{isMenuOpen:c||l,logoLight:s,logoDark:i,menuItems:a}),e(v,{isMenuOpen:!0,logoLight:s,logoDark:i,menuItems:a})]}),t("div",{className:"absolute inset-0 h-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[e(N,{src:p,alt:"Cortex Reply Logo",width:720,height:320,className:m("absolute top-2.5 h-auto w-auto mt-8 hidden lg:block",l&&"lg:hidden")}),t("div",{className:"absolute top-1/2vv h-full flex flex-col px-4 items-center justify-center",children:[e("h1",{className:"text-6xl font-bold pt-auto mb-12",children:r&&r}),e("div",{className:"text-3xl mb-8 max-w-2xl",children:n&&n})]}),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:h,children:e(w,{size:64})})})]})]})}export{O as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk-EI7PFWFS.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as l}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-EI7PFWFS.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as l}from"./chunk-L44KSGUG.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import v from"next/image";import{FaEnvelope as x,FaPhoneFlip as h}from"react-icons/fa6";import{Fragment as N,jsx as e,jsxs as t}from"react/jsx-runtime";function H(s){let{sectionHeading:d,image:a}=s;return t(N,{children:[e("section",{className:"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,c)=>{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]]})]})]},c)})})]})})})})}),e("section",{className:"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(n,{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(l,{...d,invert:!0})}),e(m,{})]})})})]})})]})}export{H as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as c}from"./chunk-
|
|
1
|
+
import{e as c}from"./chunk-Y6QUDCQM.mjs";import{a as s}from"./chunk-NWW7KWJK.mjs";import{a as e}from"./chunk-NIQ4466A.mjs";import{jsx as o,jsxs as f}from"react/jsx-runtime";var h=a=>{let{columns:t}=a,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return o("div",{className:"container my-6",children:o("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((i,p)=>{let{enableLink:m,link:d,richText:n,size:l}=i;return f("div",{className:e(`col-span-4 lg:col-span-${r[l]}`,{"md:col-span-2":l!=="full"}),children:[n&&o(c,{content:n,enableGutter:!1}),m&&o(s,{...d})]},p)})})})};export{h as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as s}from"./chunk-ET5WFKM7.mjs";import{a as l}from"./chunk-CTCV3L4B.mjs";import{a as c}from"./chunk-CNCPREWR.mjs";import{a as i}from"./chunk-UESKYRNK.mjs";import b from"next/image";import{ChevronRightIcon as u,HomeIcon as g}from"@heroicons/react/20/solid";import{Fragment as x,jsx as t,jsxs as n}from"react/jsx-runtime";var h={highImpact:s,lowImpact:l,mediumImpact:c,sectionHero:m},k=a=>{let{type:r}=a||{};if(!r||r==="none")return null;let e=h[r];return e?t(e,{...a}):null};function d({breadcrumbItems:a}){if(a&&a.length>0){let r=a.filter(e=>e.label.toLowerCase()!=="home");return t("nav",{"aria-label":"Breadcrumb",className:"flex",children:n("ol",{role:"list",className:"flex items-center space-x-4",children:[t("li",{children:t("div",{children:n("a",{href:"/",className:"text-foreground hover:text-accent",children:[t(g,{"aria-hidden":"true",className:"size-5 shrink-0"}),t("span",{className:"sr-only",children:"Home"})]})})}),r.map((e,p)=>t("li",{children:n("div",{className:"flex items-center",children:[t(u,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),e.href?t("a",{href:e.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label}):t("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label})]})},p))]})})}return t(x,{})}import{jsx as o,jsxs as f}from"react/jsx-runtime";function m({title:a,breadcrumbItems:r,image:e}){return f("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[o("div",{className:"absolute inset-0 z-0",children:e&&o(b,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),o("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),o(i,{children:f("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[o("h1",{className:"underline underline-offset-8 decoration-1 decoration-accent font-secondary text-5xl font-bold lg:w-1/2",children:a}),r&&r.length>0&&o(d,{breadcrumbItems:r})]})})]})}export{m as a,k as b,d as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-HTO3HNQS.mjs";import{b as l,c as s}from"./chunk-Y6QUDCQM.mjs";import{a as e}from"./chunk-UK4IPFAO.mjs";import{jsx as r}from"react/jsx-runtime";var m={content:a,cta:l,mediaBlock:e,imageBlock:e,features:s},u=i=>{let{blocks:o}=i;return o&&Array.isArray(o)&&o.length>0?r("section",{id:"render-blocks",children:o.map((c,k)=>{let{blockType:t}=c;if(t&&t in m){let n=m[t];if(n)return r("div",{className:"my-6",children:r(n,{...c})},k)}return null})}):null};export{u as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-WU3JMLSC.mjs";import{a as m}from"./chunk-BZAYEKYC.mjs";import{a as i}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-WU3JMLSC.mjs";import{a as m}from"./chunk-BZAYEKYC.mjs";import{a as i}from"./chunk-FBFDZOP6.mjs";import{a as o}from"./chunk-CWNEDSLD.mjs";import{a as t}from"./chunk-DESYC5BB.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function d({...e}){return n("div",{children:[r(t,{isMenuOpen:!0,logoLight:m,logoDark:a}),r(o,{...e.hero}),r(i,{className:"!pb-0",...e.blog})]})}export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-L44KSGUG.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import i from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";function u(d){let{images:a,sectionHeading:c,keyPoints:o,description:s}=d;return e("section",{id:"about-section",className:l("section-padding-primary",d.className||""),children:e(n,{children:t("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[t("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(m,{...c}),o&&o.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:o.map((r,g)=>t("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),s&&e("p",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),a&&e("div",{className:"mx-auto text-center",children:t("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[t("div",{className:"relative flex justify-end overflow-hidden",children:[t("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:[e("span",{className:"absolute -left-2.5 -top-2.5 -z-1 h-full w-full rounded-tl-[60px] bg-primary-light"}),e("div",{className:"relative z-[4] overflow-hidden",children:e(i,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})]}),e(i,{src:a.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] z-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),e("div",{className:"flex overflow-hidden",children:e(i,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(i,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(i,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}export{u as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as s}from"./chunk-
|
|
1
|
+
import{e as s}from"./chunk-Y6QUDCQM.mjs";import{a}from"./chunk-NIQ4466A.mjs";import{jsx as e,jsxs as p}from"react/jsx-runtime";function f({subtitle:o,title:r,description:t,alignment:n="start",hasBottomSpacing:i=!1,className:l,invert:c=!1}){let m=a(n==="start"&&"text-left",n==="center"&&"text-center",n==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},l);return p("div",{className:m,children:[o&&e("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:o}),e("h2",{className:a("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",c&&"text-gray-900"),children:r}),typeof t=="string"?t&&e("p",{className:"mt-5 whitespace-pre-line",children:t}):t&&e(s,{content:t,enableGutter:!1})]})}export{f as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as m}from"./chunk-
|
|
4
|
+
import{a as m}from"./chunk-IS5OUEJJ.mjs";import{a as r}from"./chunk-NIQ4466A.mjs";import{useState as h,useEffect as w,useCallback as g}from"react";import{AnimatePresence as x,motion as y}from"framer-motion";import{jsx as t,jsxs as N}from"react/jsx-runtime";var W=p=>{let[l,a]=h(0),{blocks:n}=p,f=n&&Array.isArray(n)&&n.length>0,b=e=>{a(e)},i=()=>{a(e=>(e+1)%n.length)},s=()=>{a(e=>(e-1+n.length)%n.length)},c=g(((e,o)=>{let d;return(...v)=>{clearTimeout(d),d=setTimeout(()=>e(...v),o)}})(e=>{e.deltaY>0?i():s()},300),[]),u=e=>{e.key==="ArrowDown"?i():e.key==="ArrowUp"&&s()};return w(()=>(window.addEventListener("wheel",c),window.addEventListener("keydown",u),()=>{window.removeEventListener("wheel",c),window.removeEventListener("keydown",u)}),[]),N("div",{className:"flex h-screen relative",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-100",children:f&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${l===o?"bg-accent":"bg-gray-300"}`,onClick:()=>b(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),n.map((e,o)=>t("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-300 ${o===l?"opacity-100":"opacity-0"}`,children:t(m,{blocks:[e]})},o)),t("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:i,children:t(k,{})})]})},k=()=>t(x,{children:t(y.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:r("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-gray-800"),children:t(y.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:r("w-[12px] h-[12px] rounded-full","bg-gray-800")})})});export{W as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as f}from"./chunk-BZAYEKYC.mjs";import{a as
|
|
4
|
+
import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as f}from"./chunk-BZAYEKYC.mjs";import{a as l}from"./chunk-ET5WFKM7.mjs";import{a as u}from"./chunk-CTCV3L4B.mjs";import{a as p}from"./chunk-CNCPREWR.mjs";import{a as c}from"./chunk-CWNEDSLD.mjs";import{b as n}from"./chunk-GLEWUUGS.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{a as s}from"./chunk-DESYC5BB.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({...r}){return t("div",{children:[e(s,{isMenuOpen:!0,logoLight:f,logoDark:h,...r.header}),r.hero&&r.hero.type==="lowImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(c,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(o,{children:[e(a,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(o,{children:[e(a,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{b as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-423OEU3K.mjs";import{e as r}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-423OEU3K.mjs";import{e as r}from"./chunk-Y6QUDCQM.mjs";import m from"clsx";import{jsx as o,jsxs as l}from"react/jsx-runtime";var g=i=>{let{className:n,docs:t,introContent:e}=i;return l("div",{className:m("container",n),children:[e&&o(r,{content:e,enableGutter:!1}),o("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:t==null?void 0:t.map((s,p)=>typeof s=="string"?null:o(a,{doc:s,relationTo:"posts",showCategories:!0},p))})]})};export{g as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-LVUWQ35N.mjs";import{a as e}from"./chunk-6K2R3OAD.mjs";import{jsx as t}from"react/jsx-runtime";function a({...r}){let n=r.page,{contentWithIds:i,tableOfContents:s}=e(n);return t("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:t(o,{blocks:i})})}export{a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as C,j as v,k as P,l as S,m as R,n as w,o as I}from"./chunk-O5BAW5XQ.mjs";import{a as p}from"./chunk-NWW7KWJK.mjs";import{a as
|
|
1
|
+
import{i as C,j as v,k as P,l as S,m as R,n as w,o as I}from"./chunk-O5BAW5XQ.mjs";import{a as p}from"./chunk-NWW7KWJK.mjs";import{a as b}from"./chunk-HUN2X4VH.mjs";import{a as g}from"./chunk-UK4IPFAO.mjs";import{a as k}from"./chunk-763KMQIQ.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import{jsx as u,jsxs as F}from"react/jsx-runtime";var d=({links:s,richText:e})=>u("div",{className:"container",children:F("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:[u("div",{className:"max-w-[48rem] flex items-center",children:e&&u(m,{className:"mb-0",content:e,enableGutter:!1})}),u("div",{className:"flex flex-col gap-8",children:(s||[]).map(({link:t},i)=>u(p,{size:"lg",...t},i))})]})});import{jsx as c,jsxs as N}from"react/jsx-runtime";var B=({title:s,description:e,features:t,id:i})=>N("section",{className:n("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[s&&c("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:i||"",children:s}),e&&typeof e=="string"&&c("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&c("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:c(m,{content:e,enableGutter:!1})}),c("div",{className:`grid gap-8 mt-10 md:grid-cols-${t?t.length:1}`,children:t&&t.map((l,r)=>{let o=N("div",{className:"flex flex-col gap-4",children:[c("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:c("i",{className:`${l.icon.type} fa-${l.icon.icon} fa-4x`})}),c("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:l.title}),l.content&&typeof l.content!="object"&&c("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:l.content}}),l.content&&typeof l.content=="object"&&c("div",{className:"text-lg opacity-80",children:c(m,{content:l.content,enableGutter:!1})})]},r);return l.link?c("a",{href:l.link.url?l.link.url:"#",className:"no-underline group",children:o},r):o})})]});import z,{Fragment as A}from"react";import{jsx as a}from"react/jsx-runtime";function f({nodes:s}){return a(A,{children:s==null?void 0:s.map((e,t)=>{if(e==null)return null;if(e.type==="text"){let r=a(z.Fragment,{children:e.text},t);return e.format&1&&(r=a("strong",{children:r},t)),e.format&2&&(r=a("em",{children:r},t)),e.format&4&&(r=a("span",{style:{textDecoration:"line-through"},children:r},t)),e.format&8&&(r=a("span",{style:{textDecoration:"underline"},children:r},t)),e.format&16&&(r=a("code",{children:e.text},t)),e.format&32&&(r=a("sub",{children:r},t)),e.format&64&&(r=a("sup",{children:r},t)),r}if(e.type==="table")return a("table",{children:a("tbody",{children:e.children.map((r,o)=>a("tr",{children:r.children.map((h,x)=>a("td",{children:f({nodes:h.children})},x))},o))})},t);let i=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 f({nodes:r.children})},l="children"in e?i(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 a(d,{...r},t);case"mediaBlock":return a(g,{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 a(b,{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 a(T,{className:"col-start-2 mb-4",...r},t);case"code":return a(k,{className:"col-start-2",...r},t);case"features":return a(B,{...r},t);default:return null}}else switch(e.type){case"linebreak":return a("br",{className:"col-start-2"},t);case"paragraph":return a("p",{className:"col-start-2",children:l},t);case"heading":{let r=e==null?void 0:e.tag;return a(r,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:l},t)}case"list":{let r=e==null?void 0:e.tag;return a(r,{className:"list col-start-2",children:l},t)}case"listitem":return(e==null?void 0:e.checked)!=null?a("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:l},t):a("li",{value:e==null?void 0:e.value,children:l},t);case"quote":return a("blockquote",{className:"col-start-2",children:l},t);case"link":{let r=e.fields;return a(p,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:l},t)}case"autolink":{let r=e.fields;return a(p,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:l},t)}default:return null}})})}import{jsx as L}from"react/jsx-runtime";var m=({className:s,content:e,enableGutter:t=!0,enableProse:i=!0})=>{var l;return e?L("div",{className:n({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":i},s),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&f({nodes:(l=e==null?void 0:e.root)==null?void 0:l.children})}):null};import{jsx as y}from"react/jsx-runtime";var T=({className:s,content:e,style:t})=>y("div",{className:n("mx-auto my-8 w-full",s),children:y("div",{className:n("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:y(m,{content:e,enableGutter:!1,enableProse:!1})})});export{T as a,d as b,B as c,f as d,m as e};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as m,d as p,f,g as d,i as u}from"./chunk-JWDVKGZL.mjs";import w from"next/image";import a from"path";import{useState as s}from"react";import{Fragment as j,jsx as o,jsxs as c}from"react/jsx-runtime";function N(t){try{let e=new URL(t),{hostname:n}=e;return n.endsWith("sharepoint.com")}catch{return!1}}function W(t){return t.startsWith("http")}function v(t,e){let n=t;if(N(t))n=`/docs/api/content/sharepoint?url=${t}`;else if(W(t))n=t;else if(e.source==="github"){let i=t.replace("./","");if(i.startsWith("/")&&(i=i.slice(1)),e.linked){if(e.linked.path){let r=a.dirname(e.linked.path);r.startsWith(".")||(i=`${r}/${i}`)}n=`/docs/api/github/content?owner=${e.linked.owner}&repo=${e.linked.repo}&path=${i}&branch=${e.linked.branch}`}else{if(e.file){let r=a.dirname(e.file);r.startsWith(".")||(i=`${r}/${i}`)}n=`/docs/api/github/content?owner=${e.owner}&repo=${e.repo}&path=${i}&branch=${e.branch}`}}else if(t.startsWith("/"))n=t;else if(t.startsWith("./")){let i=t.replace("./","");e.file&&(i=`/${a.dirname(e.file)}/${i}`),n=i}else n="/image-not-found.png";return n}function S({src:t,alt:e}){let[n,i]=s(!1),[r,$]=s(!1),[l,y]=s({width:0,height:0}),k=()=>{r&&i(!0)},z=()=>{i(!1)},I=D=>{let{naturalWidth:h,naturalHeight:g}=D.target;y({width:h,height:g}),$(h>300||g>300)};return c(j,{children:[o("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${l.height>300?"h-[300px]":`h-[${l.height}px]`}`,onClick:k,children:o(w,{sizes:"100vw",height:l.height,width:l.width,src:t,alt:e||"",onLoad:I,unoptimized:!0,className:"object-contain max-w-full max-h-full"})}),o(m,{open:n,onOpenChange:i,children:c(f,{className:"flex flex-col items-center justify-center",children:[c(d,{className:"flex w-full justify-end",children:[o(u,{className:"hidden",children:e}),o(p,{})]}),o("div",{className:"flex items-center justify-center",children:o(w,{height:l.height,width:l.width,src:t,alt:e||"",unoptimized:!0,className:"object-contain"})})]})})]})}function P({props:t,baseContext:e}){let{src:n}=t;return n=v(n,e),o(S,{src:n,alt:t.alt})}export{P as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-Y6QUDCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import"../../chunk-HUN2X4VH.mjs";import"../../chunk-UK4IPFAO.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as BannerBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a}from"../../chunk-
|
|
1
|
+
import{b as a}from"../../chunk-Y6QUDCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import"../../chunk-HUN2X4VH.mjs";import"../../chunk-UK4IPFAO.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as CallToActionBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-HTO3HNQS.mjs";import"../../chunk-Y6QUDCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import"../../chunk-HUN2X4VH.mjs";import"../../chunk-UK4IPFAO.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as ContentBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as a}from"../../chunk-
|
|
1
|
+
import{c as a}from"../../chunk-Y6QUDCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import"../../chunk-HUN2X4VH.mjs";import"../../chunk-UK4IPFAO.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as FeaturesBlock};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as e}from"../../chunk-
|
|
1
|
+
import{c as e}from"../../chunk-Y6QUDCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import"../../chunk-HUN2X4VH.mjs";import"../../chunk-UK4IPFAO.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-S7OK7D5I.mjs";var t={title:"Blocks/FeaturesBlock",component:e,tags:["autodocs"],parameters:{layout:"padded"}},i=t,n={args:{title:"What Are Digital Colleagues?",description:"some other words",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners (internal link)",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}},a={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."}]}},r={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},s={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}};export{n as Default,s as NoTitle,r as OneFeature,a as TwoFeatures,i as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-SJWN6J3F.mjs";import"../../chunk-423OEU3K.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-Y6QUDCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import"../../chunk-HUN2X4VH.mjs";import"../../chunk-UK4IPFAO.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as RelatedPosts};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-IS5OUEJJ.mjs";import"../../chunk-HTO3HNQS.mjs";import"../../chunk-Y6QUDCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import"../../chunk-HUN2X4VH.mjs";import"../../chunk-UK4IPFAO.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-S7OK7D5I.mjs";export{a as RenderBlocks};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../../chunk-6HFYLEVF.mjs";import{a as q}from"../../chunk-
|
|
1
|
+
import{a as d}from"../../chunk-53QLSQCO.mjs";import{a as e}from"../../chunk-6HFYLEVF.mjs";import{a as q}from"../../chunk-SJWN6J3F.mjs";import"../../chunk-423OEU3K.mjs";import{a as f}from"../../chunk-EPTHSTUM.mjs";import{a}from"../../chunk-UZ2XYB7D.mjs";import"../../chunk-KPIWBWE2.mjs";import{a as o}from"../../chunk-JCH2CCQ7.mjs";import"../../chunk-6P7CY367.mjs";import"../../chunk-2LJVMEWU.mjs";import{a as p}from"../../chunk-IS5OUEJJ.mjs";import{a as n}from"../../chunk-HTO3HNQS.mjs";import{a as b}from"../../chunk-H7D3PZKE.mjs";import{a as c}from"../../chunk-IQPZEEYJ.mjs";import{a as g,b as h,c as m}from"../../chunk-Y6QUDCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-NWW7KWJK.mjs";import{a as l}from"../../chunk-HUN2X4VH.mjs";import{a as k}from"../../chunk-UK4IPFAO.mjs";import"../../chunk-ICTOXY7D.mjs";import"../../chunk-YNDKGRL6.mjs";import"../../chunk-TFWGOEV7.mjs";import{a as j}from"../../chunk-763KMQIQ.mjs";import"../../chunk-J2VQUYES.mjs";import{a as i}from"../../chunk-SJWGFZJ6.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-D76EO57Z.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-6K2R3OAD.mjs";import"../../chunk-S7OK7D5I.mjs";export{g as BannerBlock,h as CallToActionBlock,j as CodeBlock,n as ContentBlock,i as CopyButton,m as FeaturesBlock,o as HeadingImage,l as ImageBlock,b as InfoTile,a as Insight,c as MOTD,k as MediaBlock,d as OrgChart,e as ProposalSummary,q as RelatedPosts,p as RenderBlocks,f as WhyUs};
|