cortex-react-components 1.15.0 → 1.16.0
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-AYOLIWMA.mjs → chunk-4LYK6VPP.mjs} +1 -1
- package/dist/{chunk-3JTJE3CH.mjs → chunk-56XJMQVR.mjs} +1 -1
- package/dist/{chunk-XBGHKEWQ.mjs → chunk-7ZPEE4NV.mjs} +1 -1
- package/dist/{chunk-4LIC6MZK.mjs → chunk-C34U2N2O.mjs} +1 -1
- package/dist/{chunk-CU7IGMOR.mjs → chunk-C4W4JBZN.mjs} +1 -1
- package/dist/{chunk-LKMZ5ROU.mjs → chunk-E7J5XS32.mjs} +1 -1
- package/dist/{chunk-WMZYFRHZ.mjs → chunk-GCBC75DA.mjs} +1 -1
- package/dist/chunk-I2GY5WTT.mjs +4 -0
- package/dist/chunk-INXPK24X.mjs +4 -0
- package/dist/{chunk-M62IIIAN.mjs → chunk-LZII3MF4.mjs} +1 -1
- package/dist/{chunk-NUOP7T5Z.mjs → chunk-RFWJV4YU.mjs} +1 -1
- package/dist/chunk-SABHLBUI.mjs +4 -0
- package/dist/chunk-SQC52R4J.mjs +4 -0
- package/dist/{chunk-4RF3TPM7.mjs → chunk-VPMCRWSX.mjs} +1 -1
- package/dist/{chunk-NC75G3JN.mjs → chunk-VQWGXZ5A.mjs} +1 -1
- package/dist/{chunk-XWTX2W5V.mjs → chunk-WASENCYA.mjs} +1 -1
- package/dist/{chunk-KW7X3P7R.mjs → chunk-WTZ6GABZ.mjs} +1 -1
- package/dist/{chunk-7YKANUOC.mjs → chunk-WWXGKYL4.mjs} +1 -1
- package/dist/{chunk-QQIP4XUL.mjs → chunk-WZMQHIAK.mjs} +1 -1
- package/dist/components/Blocks/Insight.js +1 -1
- package/dist/components/Blocks/Insight.mjs +1 -1
- package/dist/components/Blocks/Insight.stories.js +1 -1
- package/dist/components/Blocks/Insight.stories.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/ServiceCard.js +1 -1
- package/dist/components/Cards/ServiceCard.mjs +1 -1
- package/dist/components/Cards/ServiceCard.stories.js +1 -1
- package/dist/components/Cards/ServiceCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/AppLauncher.js +1 -1
- package/dist/components/HeaderFooter/AppLauncher.mjs +1 -1
- package/dist/components/HeaderFooter/AppLauncher.stories.js +1 -1
- package/dist/components/HeaderFooter/AppLauncher.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.d.ts +3 -1
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.d.ts +2 -3
- package/dist/components/HeaderFooter/HeaderMobile.js +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.d.ts +3 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.d.ts +2 -0
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Images/DynamicIcon.js +1 -1
- package/dist/components/Images/DynamicIcon.mjs +1 -1
- package/dist/components/Images/DynamicIcon.stories.js +1 -1
- package/dist/components/Images/DynamicIcon.stories.mjs +1 -1
- package/dist/components/Images/index.js +1 -1
- package/dist/components/Images/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.js +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.js +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.js +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Pages/Documentation.js +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.js +1 -1
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.js +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.js +1 -1
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.js +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.js +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/LandingPage.js +1 -1
- package/dist/components/Pages/LandingPage.mjs +1 -1
- package/dist/components/Pages/LandingPage.stories.js +192 -192
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +1 -1
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.js +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.js +187 -187
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +4 -5
- package/dist/index.mjs +1 -4
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/AboutSection.d.ts +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.d.ts +1 -0
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-5VW5YOZB.mjs +0 -4
- package/dist/chunk-H3G73HG7.mjs +0 -4
- package/dist/chunk-TP4XDQAI.mjs +0 -4
- package/dist/chunk-XMMVD3EW.mjs +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk-RQKTHY3B.mjs";import{a as x}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-RQKTHY3B.mjs";import{a as x}from"./chunk-WASENCYA.mjs";import{a as o}from"./chunk-VZXLXNVY.mjs";import{a as s}from"./chunk-LQZTCLMG.mjs";import{a}from"./chunk-72BBXZKW.mjs";import{a as d}from"./chunk-IQPZEEYJ.mjs";import{Fragment as n,jsx as e,jsxs as l}from"react/jsx-runtime";function p({...t}){return e(n,{children:l("div",{className:"flex min-h-full flex-col",children:[e("div",{className:"relative isolate"}),e(x,{...t.header}),e(d,{...t.motd}),l("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[l("div",{className:"flex-1 xl:flex",children:[e("div",{className:"border-b border-gray-200 px-4 py-6 sm:px-6 lg:pl-8 xl:w-64 xl:shrink-0 xl:border-b-0 xl:border-r xl:pl-6",children:t.customers.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(o,{...r})},i))}),l("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[l("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e(a,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),e(a,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),e(a,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),e("h1",{className:"text-balance text-3xl m-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"}),e(m,{})]})]}),l("div",{className:"shrink-0 border-t border-gray-200 px-4 py-4 sm:px-4 lg:w-96 lg:border-l lg:border-t-0 lg:pr-8 xl:pr-6",children:[e("div",{className:"mx-auto max-w-7xl",children:l("div",{className:"relative isolate overflow-hidden bg-gradient-to-br from-gray-900 via-brand-one to-brand-two px-2 py-4 text-center shadow-2xl sm:rounded-xl sm:px-2",children:[e("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),e("p",{className:"mx-3 mt-4 max-w-xl text-pretty text-lg/8 text-gray-300",children:"Guides, Templates and Tools to help you work smarter."}),e("div",{className:"mt-4 flex items-center justify-center gap-x-6",children:e("a",{href:"#",className:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",children:"Get started"})})]})}),e("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:t.events.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(s,{...r})},i))})]})]})]})})}export{p as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as n}from"./chunk-
|
|
4
|
+
import{a as n}from"./chunk-SABHLBUI.mjs";import{Fragment as m,jsx as e,jsxs as c}from"react/jsx-runtime";function o({icon:i,title:s,body:t,color:p="secondary"}){return e(m,{children:c("div",{className:"flex py-0 min-h-16",children:[e("div",{className:"px-[2%] flex items-center",children:e("div",{className:"w-12 h-12",children:e(n,{type:i.type,iconName:i.name})})}),e("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:s}),t&&e("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:t})]})})}export{o as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as
|
|
1
|
+
import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as o}from"./chunk-FNCXXX4V.mjs";import{a as r}from"./chunk-KHYUZ2PB.mjs";import{a as e}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:d,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(e,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(r,{...d,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((p,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":n([200,400,600],t),children:i(o,{...p})},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{a as l}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{a as l}from"./chunk-SQC52R4J.mjs";import{a,b as i,c as t,e as o}from"./chunk-D76EO57Z.mjs";import{b as n}from"./chunk-GLEWUUGS.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function p({...m}){return r("div",{className:"relative",children:[e("div",{className:"h-screen relative overflow-hidden",children:e(l,{...m.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:m.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(n,{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{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./chunk-
|
|
1
|
+
import{a as c}from"./chunk-SABHLBUI.mjs";import{a}from"./chunk-WISCWNL2.mjs";import{b as i}from"./chunk-GLEWUUGS.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import{jsx as e,jsxs as n}from"react/jsx-runtime";function d(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function u({icon:r,title:s,description:p,slug:t}){return n("article",{className:o(["group/service bg-card shadow-3 transition-transform duration-350 dark:text-white dark:shadow-none","relative z-1 block h-full space-y-6 overflow-hidden rounded-5 p-6 md:space-y-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[n("div",{className:"flex items-center gap-5",children:[e("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:d(r)?e(c,{type:r.type,iconName:r.iconName,size:"sm"}):r}),e("h2",{className:"text-md font-bold leading-[1.25] md:text-lg",children:t?e(a,{href:t,children:s}):s})]}),e("p",{className:"text-body dark:text-body",children:p}),t&&e(i,{asChild:!0,className:o(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","dark:bg-background","before:hidden after:hidden"]),children:n(a,{href:t,children:[e("span",{children:"Read More"}),e("span",{className:"relative pl-3 text-sm/[1] text-accent",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),e("span",{className:"invisible absolute bottom-0 left-0 h-[2px] w-full scale-x-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-x-100 group-hover/service:opacity-100"})]})}export{u as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as m}from"./chunk-3YZN4MJB.mjs";import{a as d}from"./chunk-LBKMUSVR.mjs";import{b as i,f as o}from"./chunk-IPHHUHS3.mjs";import{a as s}from"./chunk-
|
|
4
|
+
import{a as m}from"./chunk-3YZN4MJB.mjs";import{a as d}from"./chunk-LBKMUSVR.mjs";import{b as i,f as o}from"./chunk-IPHHUHS3.mjs";import{a as s}from"./chunk-WASENCYA.mjs";import{a as l}from"./chunk-72BBXZKW.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function n({...t}){return r("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(s,{...t.header}),r(i,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(d,{...t.sidebarLeft,className:"flex-none"}),e(o,{className:"grow overflow-hidden",children:r("div",{className:"max-h-full top-0 absolute max-w-full",children:[e("div",{"aria-hidden":"true",className:"inset-x-0 -z-10 transform-gpu overflow-hidden blur-3xl",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-secondary opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]"})}),e("div",{className:"absolute top-0 w-full",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:r("div",{className:"mx-auto max-w-2xl text-center pt-4",children:[e("h1",{className:"text-balance text-5xl font-semibold tracking-tight text-primary sm:text-7xl",children:"Anim aute id magna aliqua ad ad non deserunt sunt."}),e("p",{className:"mt-8 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8",children:"Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat."}),e("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:e("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.tiles.map(a=>e(l,{url:a.slug,title:a.title,mainImage:a.mainImage,excerpt:a.excerpt},a.slug))})})]})})}),e("div",{"aria-hidden":"true",className:"absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"})})]})})]}),e(m,{})]})}export{n as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{c as v,h as w,i as B,j as P,k as T,l as s,m as b,o as u,p as o,q as n,r as p,v as g,w as y,x as M}from"./chunk-IPHHUHS3.mjs";import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as d,b as c,c as m}from"./chunk-YNCJATT7.mjs";import{a as h}from"./chunk-
|
|
4
|
+
import{c as v,h as w,i as B,j as P,k as T,l as s,m as b,o as u,p as o,q as n,r as p,v as g,w as y,x as M}from"./chunk-IPHHUHS3.mjs";import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as d,b as c,c as m}from"./chunk-YNCJATT7.mjs";import{a as h}from"./chunk-SABHLBUI.mjs";import{PencilLine as z,ChevronDown as x,FilePlus as E,Edit as H,Printer as _}from"lucide-react";import $ from"clsx";import{Fragment as A,jsx as e,jsxs as a}from"react/jsx-runtime";var q=()=>e(h,{iconName:"github",size:"10x"});function Z({relatedContent:i,tableOfContents:N,editorComponent:k,loading:S=!1,editMode:G=!1,onAddDocument:L,onEditDocument:O,onPrintDocument:D,onGithubClick:I,onNavClick:f,LinkComponent:R,...F}){let j=R?t=>e(R,{...t}):f?({item:t,children:r,...l})=>e("button",{onClick:()=>f&&f(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...l,children:r}):t=>e("a",{href:t.href,...t});return a(v,{side:"right",variant:"inset",...F,children:[a(w,{className:"border-b border-sidebar-border",children:[a(o,{className:"flex-row space-x-1",children:[e(n,{children:a(p,{onClick:L,children:[e(E,{})," ",e("span",{children:"Add Document"})]})}),I&&e(n,{children:e(p,{onClick:I,tooltip:"Open in GitHub",children:e(q,{})})})]}),a(o,{className:"flex-row space-x-1",children:[e(n,{className:"w-5/12",children:a(p,{onClick:()=>O(),variant:G?"outline":"default",className:$(G&&"text-accent"),children:[e(H,{})," ",e("span",{children:"Edit"})]})}),e(n,{className:"w-5/12",children:a(p,{onClick:D,children:[e(_,{})," ",e("span",{children:"Print"})]})})]})]}),k&&a(A,{children:[e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Editor Controls",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:k})})]})}),e(P,{className:"mx-0"})]}),a(T,{className:"overflow-auto",children:[S&&a(A,{children:[a(s,{children:[e(b,{children:"Related Content"}),e(u,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(C,{className:"bg-gray-200 w-full h-10"})},r))})})]}),a(s,{children:[e(b,{children:"Table of Contents"}),e(u,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(C,{className:"bg-gray-200 w-full h-10"})},r))})})]})]}),i&&!S&&Object.keys(i).length>0&&e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Related Content",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:e(o,{children:i&&Object.keys(i).map(t=>a(n,{children:[a("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",t.charAt(0).toUpperCase()+t.slice(1)]}),t&&i[t]&&e(g,{children:i[t].map(r=>e(y,{children:e(M,{asChild:!0,isActive:!1,size:"sm",children:a(j,{href:r.url,item:r,className:"flex justify-between items-center w-full text-xs",children:[e("span",{children:r.label}),r.type==="note"&&e(z,{className:"ml-2 text-gray-400 !important",size:16}),r.type==="draft"&&e(h,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},r.label))})]},t))})})})]})}),N&&!S&&e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Table of Contents",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:e(o,{children:N.map(t=>{var r;return a(n,{children:[e(p,{asChild:!0,children:e("a",{href:`#${t.url}`,className:"text-xs",children:t.title})}),(r=t.items)!=null&&r.length?e(g,{children:t.items.map(l=>e(y,{children:e(M,{asChild:!0,isActive:l.isActive,size:"sm",children:e("a",{href:`#${l.url}`,className:"flex justify-between items-center w-full text-xs",children:e("span",{children:l.title})})})},l.title))}):null]},t.title)})})})})]})})]}),e(B,{})]})}export{Z as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as d}from"./chunk-HAYRX2WO.mjs";import{a as b}from"./chunk-NIQ4466A.mjs";import{useState as l,useEffect as h}from"react";import{Dialog as y,DialogPanel as k,Disclosure as w,DisclosureButton as f,DisclosurePanel as N}from"@headlessui/react";import{Bars3Icon as D,XMarkIcon as S}from"@heroicons/react/24/outline";import{Moon as M,Sun as P}from"lucide-react";import{Fragment as C,jsx as e,jsxs as a}from"react/jsx-runtime";var m=["light","dark"];function R({logoLight:o,logoDark:r,menuItems:i,isMenuOpen:n=!0}){let[s,u]=l(!1),[g,c]=l(!1),[H,z]=l(!1),[v,p]=l("light");h(()=>{let t=()=>{window.scrollY>100?u(!0):u(!1)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),h(()=>{let t=localStorage.getItem("theme")||"light";p(t),document.documentElement.setAttribute("class",t)},[]);let x=()=>{let t=m[(m.indexOf(v)+1)%m.length];p(t),document.documentElement.setAttribute("class",t),localStorage.setItem("theme",t)};return e(C,{children:a("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${s||n?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[e("nav",{className:b("backdrop-blur-sm text-white p-0",g&&"hidden"),children:a("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[e(d,{logoDark:r,logoLight:o,mobile:!0}),a("div",{className:"flex items-center space-x-4",children:[a("button",{type:"button",onClick:()=>c(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[e("span",{className:"sr-only",children:"Open main menu"}),e(D,{"aria-hidden":"true",className:"h-4 w-4"})]}),e("button",{className:"fixed right-16 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:x,children:a("div",{className:"relative",children:[e(P,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),e(M,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),a(y,{open:g,onClose:c,className:"lg:hidden",children:[e("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),a(k,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[a("div",{className:"flex items-stretch justify-between",children:[e(d,{logoDark:r,logoLight:o,mobile:!0}),a("button",{type:"button",onClick:()=>c(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[e("span",{className:"sr-only",children:"Close menu"}),e(S,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),e("div",{className:"mt-6 flow-root",children:e("div",{className:"-my-6 divide-y divide-gray-500/10",children:e("div",{className:"space-y-2 px-2 py-6",children:i&&i.map(t=>e(I,{...t},t.name))})})})]})]})]})})}function I({name:o,items:r,actions:i,href:n}){return!r&&n?e("a",{href:n,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:o}):a(w,{as:"div",className:"-mx-3",children:[e(f,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:o}),e(N,{className:"mt-2 space-y-2",children:r&&r.map(s=>e(f,{as:"a",href:s.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:s.name},s.name))})]})}export{R as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as i}from"./chunk-HAYRX2WO.mjs";import{a as n}from"./chunk-LZII3MF4.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import{useState as c,useEffect as d}from"react";import{Moon as v,Sun as k}from"lucide-react";import{PopoverGroup as x}from"@headlessui/react";import{Fragment as S,jsx as t,jsxs as m}from"react/jsx-runtime";function T({isMenuOpen:u,logoLight:g,logoDark:p,menuItems:o}){let[h,a]=c(!1),[b,s]=c("light"),r=["light","dark"];d(()=>{let e=localStorage.getItem("theme")||"light";console.log("storedTheme",e),s(e),document.documentElement.setAttribute("class",e)},[]);let f=()=>{let e=r[(r.indexOf(b)+1)%r.length];s(e),document.documentElement.setAttribute("class",e),localStorage.setItem("theme",e)};return d(()=>{let e=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),t(S,{children:t("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${h||u?"translate-y-0":"-translate-y-full bg-transparent"}`,children:t(l,{className:"px-0",children:t("nav",{className:"backdrop-blur-sm text-white p-0 rounded-b-xl",children:m("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] rounded-b-xl border border-t-0 border-accent",children:[t(i,{logoDark:p,logoLight:g}),t(x,{className:"hidden lg:flex lg:gap-x-12",children:o&&o.map(e=>t(n,{...e},e.name))}),t("div",{className:"flex items-center space-x-4",children:t("button",{className:"fixed right-4 z-[60] p-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary hover:text-accent",onClick:f,children:m("div",{className:"relative",children:[t(k,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),t(v,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}export{T as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Popover as i,PopoverButton as l,PopoverPanel as d}from"@headlessui/react";import{ChevronDownIcon as p}from"@heroicons/react/20/solid";import{jsx as e,jsxs as r}from"react/jsx-runtime";var c=({name:o,items:t,actions:n=[],href:s})=>!t&&s?r("a",{href:s,className:"relative inline-block text-sm font-semibold text-foreground group",children:[o,e("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):r(i,{children:[r(l,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[r("span",{className:"relative",children:[o,e("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),e(p,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),r(d,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[e("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(a=>r("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[e("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:e(a.icon,{"aria-hidden":"true",size:"6x"})}),r("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,e("span",{className:"absolute inset-0"})]}),e("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),n.length>0&&e("div",{className:"bg-gray-50",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:n.map(a=>r("a",{href:a.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[e(a.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),u=c;export{u as a};
|
|
1
|
+
import{Popover as i,PopoverButton as l,PopoverPanel as d}from"@headlessui/react";import{ChevronDownIcon as p}from"@heroicons/react/20/solid";import{jsx as e,jsxs as r}from"react/jsx-runtime";var c=({name:o,items:t,actions:n=[],href:s})=>!t&&s?r("a",{href:s,className:"relative inline-block text-sm font-semibold text-foreground group",children:[o,e("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):r(i,{children:[r(l,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[r("span",{className:"relative",children:[o,e("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),e(p,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),r(d,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[e("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(a=>r("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[e("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:e(a.icon,{"aria-hidden":"true",size:"6x"})}),r("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,e("span",{className:"absolute inset-0"})]}),e("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),n.length>0&&e("div",{className:"bg-gray-50",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:n.map(a=>r("a",{href:a.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[e(a.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),u=c;export{u as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as d,b as o,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as b}from"./chunk-3YZN4MJB.mjs";import{a as S}from"./chunk-
|
|
4
|
+
import{a as d,b as o,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as b}from"./chunk-3YZN4MJB.mjs";import{a as S}from"./chunk-GCBC75DA.mjs";import{a as p}from"./chunk-LBKMUSVR.mjs";import{b as s,d as c,f as u}from"./chunk-IPHHUHS3.mjs";import{a as n}from"./chunk-Y5VTKEKS.mjs";import{a as f}from"./chunk-WASENCYA.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function h({...a}){return r("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(f,{...a.header}),r(s,{className:"top-14 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"}),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(c,{className:"-ml-1"}),e(n,{orientation:"vertical",className:"mr-2 h-4"}),e(d,{children:r(o,{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"})]}),e(b,{})]})}export{h as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as m}from"./chunk-I2GY5WTT.mjs";import{a as u}from"./chunk-INXPK24X.mjs";import{useState as i,useEffect as f}from"react";import{Menu as w,X as b,ChevronDown as x}from"lucide-react";import N from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";function L({logoVideo:p,logoLight:a,logoDark:r,menuItems:v}){let[n,c]=i(!1),[h,d]=i(!1),[l,s]=i(!1),g=()=>{let t=document.getElementById("next-section");t&&t.scrollIntoView({behavior:"smooth"})};return f(()=>{let t=()=>{window.scrollY>100?(d(!0),s(!1)):(d(!1),s(!0))};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),f(()=>{let t=()=>{window.scrollY>100?c(!0):c(!1)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),o("div",{className:"relative h-screen",children:[o("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[o("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"})]}),!n&&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:()=>{s(!l)},children:l?e(b,{className:"w-6 h-6 text-white"}):e(w,{className:"w-6 h-6 text-white"})}),o("div",{className:"fixed top-0 left-0 right-0 z-50",children:[e(u,{isMenuOpen:n,logoLight:a,logoDark:r}),e(m,{isMenuOpen:!0,logoLight:a,logoDark:r,menuItems:v})]}),e("div",{className:`fixed top-4 left-4 z-50 transition-all duration-300 ${h||l?"opacity-0":"opacity-100"}`}),o("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:"h-auto w-auto mt-8 hidden lg:block"}),o("div",{className:"h-full flex flex-col items-center justify-center",children:[e("h1",{className:"text-4xl font-bold pt-auto mb-4",children:"We are Cortex Reply."}),e("p",{className:"text-2xl mb-8 max-w-2xl",children:"Efficiency through technology."})]}),e("div",{className:"flex justify-center items-center w-full mb-8",children:e("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:g,children:e(x,{size:64})})})]})]})}export{L as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as s}from"./chunk-SV7NMNDI.mjs";import{a as i}from"./chunk-
|
|
1
|
+
import{a as s}from"./chunk-SV7NMNDI.mjs";import{a as i}from"./chunk-C4W4JBZN.mjs";import{a as t}from"./chunk-UESKYRNK.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import{jsx as e}from"react/jsx-runtime";function S({services:a,className:c}){return e("section",{id:"next-section",className:o("section-padding-primary",c),children:e(t,{className:"py-8",children:a&&a.length>0&&e("div",{className:"flex flex-wrap justify-center gap-y-8",children:a.map((p,r)=>e("div",{"data-aos":"fade-up","data-aos-delay":s([200,400,600],r),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:e(i,{...p})},r))})})})}export{S as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as n}from"./chunk-
|
|
4
|
+
import{a as n}from"./chunk-SABHLBUI.mjs";import{useRef as r}from"react";import o from"next/image";import{Fragment as d,jsx as e,jsxs as m}from"react/jsx-runtime";var t=({apps:s,isVisible:l=!0})=>{let i=r(null);return e(d,{children:l&&e("div",{className:"fixed inset-0 bg-background/80 dark:bg-background backdrop-blur-sm z-10",children:e("div",{ref:i,className:"bg-background w-full max-w-3xl mx-auto mt-16 rounded-lg shadow-lg overflow-hidden",children:e("div",{className:"grid grid-cols-5 gap-4 p-4 bg-background",children:s.map((a,c)=>m("div",{className:"flex flex-col items-center text-center",children:[a.icon.url?e("div",{className:"w-12 h-12 mb-2",children:e(o,{src:a.icon.url,className:"h-full w-full",alt:"icon"})}):e("div",{className:"w-12 h-12 mb-2",children:e(n,{type:a.icon.type,iconName:a.icon.name,className:"h-full w-full"})}),e("span",{className:"text-xs",children:a.name})]},c))})})})})},b=t;export{b as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as h}from"./chunk-
|
|
4
|
+
import{a as h}from"./chunk-LZII3MF4.mjs";import{useState as m,useEffect as v}from"react";import{Dialog as w,DialogPanel as k,Disclosure as D,DisclosureButton as y,DisclosurePanel as P,PopoverGroup as M}from"@headlessui/react";import{Bars3Icon as I,XMarkIcon as $}from"@heroicons/react/24/outline";import{SunIcon as N,MoonIcon as C}from"@heroicons/react/20/solid";import{jsx as e,jsxs as t}from"react/jsx-runtime";var c=["light","dark","green"];function A({title:l,logo:a,menuItems:d}){let[o,n]=m(!1),[S,T]=m(!1),[u,g]=m("light"),r=a==null?void 0:a.split(".")[0],i=a==null?void 0:a.split(".")[1],[b,p]=m(`${r}.${i}`),f=s=>{c.includes(s)?p(s==="light"?`${r}.${i}`:`${r}-${s}.${i}`):p(`${r}.${i}`)};v(()=>{let s=localStorage.getItem("theme")||"light";console.log("storedTheme",s),g(s),document.documentElement.setAttribute("class",s),f(s)},[]);let x=()=>{let s=c[(c.indexOf(u)+1)%c.length];g(s),document.documentElement.setAttribute("class",s),localStorage.setItem("theme",s),f(s)};return t("header",{className:"relative isolate z-10 bg-background h-14",children:[t("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[e("div",{className:"flex lg:flex-1",children:t("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:l}),e("img",{alt:l,src:b,className:"h-9 w-auto"})]})}),e("div",{className:"flex lg:hidden",children:t("button",{type:"button",onClick:()=>n(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Open main menu"}),e(I,{"aria-hidden":"true",className:"h-6 w-6"})]})}),e(M,{className:"hidden lg:flex lg:gap-x-12",children:d.map(s=>e(h,{...s},s.name))}),e("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:e("button",{onClick:x,className:"p-2 text-gray-700 outline-none",children:u==="dark"?e(N,{className:"h-6 w-6"}):u==="green"?e(C,{className:"h-6 w-6"}):e(N,{className:"h-6 w-6"})})})]}),t(w,{open:o,onClose:n,className:"lg:hidden",children:[e("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),t(k,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[t("div",{className:"flex items-center justify-between",children:[t("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:"Your Company"}),e("img",{alt:l,src:a,className:"h-8 w-auto"})]}),t("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Close menu"}),e($,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),e("div",{className:"mt-6 flow-root",children:e("div",{className:"-my-6 divide-y divide-gray-500/10",children:e("div",{className:"space-y-2 py-6",children:d.map(s=>e(H,{...s},s.name))})})})]})]})]})}function H({name:l,items:a,actions:d,href:o}){return!a&&o?e("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:l}):t(D,{as:"div",className:"-mx-3",children:[e(y,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:l}),e(P,{className:"mt-2 space-y-2",children:a&&a.map(n=>e(y,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:n.name},n.name))})]})}export{A as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as d}from"./chunk-WU3JMLSC.mjs";import{a as n}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-456IOI6A.mjs";import{a as h}from"./chunk-MLVUDDTJ.mjs";import{a as s}from"./chunk-FHRWUBJS.mjs";import{a as u}from"./chunk-GCVL4HMJ.mjs";import{a as p}from"./chunk-QXFTL6FL.mjs";import{a as S}from"./chunk-
|
|
1
|
+
import{a as d}from"./chunk-WU3JMLSC.mjs";import{a as n}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-456IOI6A.mjs";import{a as h}from"./chunk-MLVUDDTJ.mjs";import{a as s}from"./chunk-FHRWUBJS.mjs";import{a as u}from"./chunk-GCVL4HMJ.mjs";import{a as p}from"./chunk-QXFTL6FL.mjs";import{a as S}from"./chunk-I2GY5WTT.mjs";import{a as b}from"./chunk-INXPK24X.mjs";import{a as t,b as i,c as a,e as m}from"./chunk-D76EO57Z.mjs";import{b as c}from"./chunk-GLEWUUGS.mjs";import{ExternalLink as l}from"lucide-react";import{jsx as e,jsxs as o}from"react/jsx-runtime";function C({...r}){return o("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[o("div",{className:"fixed top-0 left-0 right-0 z-50",children:[e(b,{isMenuOpen:!0,logoLight:n,logoDark:d}),e(S,{isMenuOpen:!0,logoLight:n,logoDark:d,...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(s,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(h,{...r.hero}),r.hero&&r.hero.type==="sectionHero"&&e(f,{...r.hero}),e("div",{className:"container py-8",children:o("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),o("div",{className:"space-y-6",children:[o(t,{children:[e(i,{children:e(a,{children:"Quick Actions"})}),o(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(c,{className:"w-full bg-accent text-accent-foreground",children:"Create New"})]})]}),o(t,{children:[e(i,{children:e(a,{children:"Resources"})}),e(m,{children:o("nav",{className:"flex flex-col space-y-2",children:[o("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(l,{className:"ml-1 h-3 w-3"})]}),o("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(l,{className:"ml-1 h-3 w-3"})]}),o("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(l,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{C as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as t}from"./chunk-
|
|
4
|
+
import{a as t}from"./chunk-SABHLBUI.mjs";import{jsx as e,jsxs as i}from"react/jsx-runtime";var d=({title:r,description:l,iconName:o,iconStyle:s,color:a})=>i("div",{className:`rounded-3xl ${{green:"bg-green-500",blue:"bg-blue-400",navy:"bg-navy-700",red:"bg-red-500",yellow:"bg-yellow-500"}[a]} p-6 flex flex-col items-center text-center`,children:[e("div",{className:"w-12 h-12 ",children:e(t,{type:s,iconName:o,className:"w-12 h-12 text-white"})}),e("h2",{className:"text-2xl font-bold text-white mb-2",children:r}),e("p",{className:"text-white text-sm",children:l})]});export{d as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as u}from"./chunk-MLVUDDTJ.mjs";import{a as l}from"./chunk-FHRWUBJS.mjs";import{a as s}from"./chunk-GCVL4HMJ.mjs";import{a as c}from"./chunk-QXFTL6FL.mjs";import{a as p}from"./chunk-
|
|
4
|
+
import{a as u}from"./chunk-MLVUDDTJ.mjs";import{a as l}from"./chunk-FHRWUBJS.mjs";import{a as s}from"./chunk-GCVL4HMJ.mjs";import{a as c}from"./chunk-QXFTL6FL.mjs";import{a as p}from"./chunk-WASENCYA.mjs";import{a,b as o,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{b as n}from"./chunk-GLEWUUGS.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function h({...r}){return t("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(p,{...r.header}),t("div",{className:"relative",children:[r.hero&&r.hero.type==="lowImpact"&&e(s,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(c,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(u,{...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(a,{children:[e(o,{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(a,{children:[e(o,{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{h as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var c=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var
|
|
4
|
+
"use strict";"use client";var c=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var f=(e,t)=>{for(var i in t)c(e,i,{get:t[i],enumerable:!0})},g=(e,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of y(t))!d.call(e,s)&&s!==i&&c(e,s,{get:()=>t[s],enumerable:!(o=m(t,s))||o.enumerable});return e};var I=e=>g(c({},"__esModule",{value:!0}),e);var h={};f(h,{Insight:()=>v});module.exports=I(h);var x=require("react/jsx-runtime"),r=({type:e="solid",iconName:t="cloud",size:i="lg",className:o})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",a="fa-"+t,p=o!=null?o:"",l=s+a+" fa-"+i+" "+p;return(0,x.jsx)("i",{className:l})};function v({icon:e,title:t,body:i,color:o="secondary"}){return(0,x.jsx)(x.Fragment,{children:(0,x.jsxs)("div",{className:"flex py-0 min-h-16",children:[(0,x.jsx)("div",{className:"px-[2%] flex items-center",children:(0,x.jsx)("div",{className:"w-12 h-12",children:(0,x.jsx)(r,{type:e.type,iconName:e.name})})}),(0,x.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),i&&(0,x.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:i})]})})}0&&(module.exports={Insight});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-56XJMQVR.mjs";import"../../chunk-SABHLBUI.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as Insight};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var s=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var h=(t,e)=>{for(var i in e)s(t,i,{get:e[i],enumerable:!0})},I=(t,e,i,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of x(e))!f.call(t,n)&&n!==i&&s(t,n,{get:()=>e[n],enumerable:!(r=g(e,n))||r.enumerable});return t};var u=t=>I(s({},"__esModule",{value:!0}),t);var b={};h(b,{Primary:()=>P,default:()=>N});module.exports=u(b);var p=require("react/jsx-runtime"),a=({type:t="solid",iconName:e="cloud",size:i="lg",className:r})=>{let n="fa-"+t+" ",l="fa-"+e,y=r!=null?r:"",d=n+l+" fa-"+i+" "+y;return(0,p.jsx)("i",{className:d})};function m({icon:t,title:e,body:i,color:r="secondary"}){return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("div",{className:"flex py-0 min-h-16",children:[(0,p.jsx)("div",{className:"px-[2%] flex items-center",children:(0,p.jsx)("div",{className:"w-12 h-12",children:(0,p.jsx)(a,{type:t.type,iconName:t.name})})}),(0,p.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:e}),i&&(0,p.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:i})]})})}var v={title:"Blocks/Insight",component:m,tags:["autodocs"],argTypes:{color:{options:["primary","secondary","tertiary","quaternary","highlight","accent","muted","paper"],control:{type:"select"}}},decorators:[t=>(0,p.jsx)("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-2",children:(0,p.jsx)(t,{})})]},N=v,P={args:{icon:{type:"thin",name:"star"},title:"Primary Insights",body:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi eu ipsum enim.",color:"secondary"}};0&&(module.exports={Primary});
|
|
4
|
+
"use strict";"use client";var s=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var h=(t,e)=>{for(var i in e)s(t,i,{get:e[i],enumerable:!0})},I=(t,e,i,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of x(e))!f.call(t,n)&&n!==i&&s(t,n,{get:()=>e[n],enumerable:!(r=g(e,n))||r.enumerable});return t};var u=t=>I(s({},"__esModule",{value:!0}),t);var b={};h(b,{Primary:()=>P,default:()=>N});module.exports=u(b);var p=require("react/jsx-runtime"),a=({type:t="solid",iconName:e="cloud",size:i="lg",className:r})=>{let n=t.includes("fa-")?t+" ":"fa-"+t+" ",l="fa-"+e,y=r!=null?r:"",d=n+l+" fa-"+i+" "+y;return(0,p.jsx)("i",{className:d})};function m({icon:t,title:e,body:i,color:r="secondary"}){return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("div",{className:"flex py-0 min-h-16",children:[(0,p.jsx)("div",{className:"px-[2%] flex items-center",children:(0,p.jsx)("div",{className:"w-12 h-12",children:(0,p.jsx)(a,{type:t.type,iconName:t.name})})}),(0,p.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:e}),i&&(0,p.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:i})]})})}var v={title:"Blocks/Insight",component:m,tags:["autodocs"],argTypes:{color:{options:["primary","secondary","tertiary","quaternary","highlight","accent","muted","paper"],control:{type:"select"}}},decorators:[t=>(0,p.jsx)("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-2",children:(0,p.jsx)(t,{})})]},N=v,P={args:{icon:{type:"thin",name:"star"},title:"Primary Insights",body:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi eu ipsum enim.",color:"secondary"}};0&&(module.exports={Primary});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use client";import{a as t}from"../../chunk-
|
|
4
|
+
"use client";import{a as t}from"../../chunk-56XJMQVR.mjs";import"../../chunk-SABHLBUI.mjs";import"../../chunk-D2WXBUVJ.mjs";import{jsx as o}from"react/jsx-runtime";var e={title:"Blocks/Insight",component:t,tags:["autodocs"],argTypes:{color:{options:["primary","secondary","tertiary","quaternary","highlight","accent","muted","paper"],control:{type:"select"}}},decorators:[r=>o("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-2",children:o(r,{})})]},s=e,a={args:{icon:{type:"thin",name:"star"},title:"Primary Insights",body:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi eu ipsum enim.",color:"secondary"}};export{a as Primary,s as default};
|