cortex-react-components 1.17.0 → 1.18.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-NSUCU5DU.mjs → chunk-5O6DFU4X.mjs} +1 -1
- package/dist/{chunk-KVLKXXVS.mjs → chunk-6AIYOOQB.mjs} +1 -1
- package/dist/{chunk-5M4ELXL3.mjs → chunk-6B34FUZY.mjs} +1 -1
- package/dist/{chunk-PMSQWXAT.mjs → chunk-7LAWX74V.mjs} +1 -1
- package/dist/{chunk-GCVL4HMJ.mjs → chunk-CLX23VLS.mjs} +1 -1
- package/dist/{chunk-IPHHUHS3.mjs → chunk-D43ENVPX.mjs} +1 -1
- package/dist/{chunk-FHRWUBJS.mjs → chunk-DSLEVJ5J.mjs} +1 -1
- package/dist/chunk-FTXWB6OV.mjs +4 -0
- package/dist/{chunk-N7Z6I6KY.mjs → chunk-G2IGGQXC.mjs} +1 -1
- package/dist/{chunk-O7JZET2F.mjs → chunk-GXHXPWKT.mjs} +1 -1
- package/dist/{chunk-QCZZL6MD.mjs → chunk-HOTJ3KYZ.mjs} +1 -1
- package/dist/{chunk-LBKMUSVR.mjs → chunk-IE2A7UT3.mjs} +1 -1
- package/dist/{chunk-Q24IVBS5.mjs → chunk-KHQHXFXT.mjs} +1 -1
- package/dist/{chunk-NV7LUI3U.mjs → chunk-MGZHZWWG.mjs} +1 -1
- package/dist/{chunk-YLVDYTR5.mjs → chunk-PGGLOICR.mjs} +1 -1
- package/dist/{chunk-XS2GYYRB.mjs → chunk-QAZT4VG7.mjs} +1 -1
- package/dist/{chunk-6MWJ4LJP.mjs → chunk-U4Z5UCHZ.mjs} +1 -1
- package/dist/{chunk-QXFTL6FL.mjs → chunk-UJRNR62B.mjs} +1 -1
- package/dist/{chunk-Y7INXZZZ.mjs → chunk-VAEYKO2L.mjs} +1 -1
- package/dist/{chunk-ERWTLUYM.mjs → chunk-VDTIBSYZ.mjs} +1 -1
- package/dist/{chunk-KHYUZ2PB.mjs → chunk-VYJK4R76.mjs} +1 -1
- package/dist/{chunk-Q3HKMCDA.mjs → chunk-W4BDQBY4.mjs} +1 -1
- package/dist/{chunk-QRV2F2XT.mjs → chunk-YJLGN2LA.mjs} +1 -1
- package/dist/chunk-YLGJP63J.mjs +4 -0
- package/dist/chunk-ZBKZHJB4.mjs +1 -0
- package/dist/{chunk-GCBC75DA.mjs → chunk-ZDDN4BC5.mjs} +1 -1
- 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/index.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +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/index.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.mjs +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 +51 -51
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.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/index.mjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/hooks/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/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogListSection.d.ts +19 -0
- package/dist/sections/BlogListSection.js +1 -0
- package/dist/sections/BlogListSection.mjs +1 -0
- package/dist/sections/BlogListSection.stories.js +1 -0
- package/dist/sections/BlogListSection.stories.mjs +1 -0
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +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/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.js +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/form/server/contact-us-form-submit.js +1 -1
- package/dist/sections/form/server/contact-us-form-submit.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-H2JWQHUC.mjs +0 -4
- package/dist/chunk-WASMU2IJ.mjs +0 -4
package/dist/chunk-WASMU2IJ.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{a as f}from"./chunk-I2GY5WTT.mjs";import{a as m}from"./chunk-G3JKNT32.mjs";import{useState as i,useEffect as p}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:v,logoLight:a,logoDark:r,menuItems:n}){let[c,d]=i(!1),[h,u]=i(!1),[l,s]=i(!1),g=()=>{let t=document.getElementById("next-section");t&&t.scrollIntoView({behavior:"smooth"})};return p(()=>{let t=()=>{window.scrollY>100?(u(!0),s(!1)):(u(!1),s(!0))};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),p(()=>{let t=()=>{window.scrollY>100?d(!0):d(!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"})]}),!c&&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(m,{isMenuOpen:c,logoLight:a,logoDark:r,menuItems:n}),e(f,{isMenuOpen:!0,logoLight:a,logoDark:r,menuItems:n})]}),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:v,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};
|