cortex-react-components 1.25.1 → 1.26.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-ZC2N76FR.mjs → chunk-2DFHHXVF.mjs} +1 -1
- package/dist/{chunk-NBRHJ7Y2.mjs → chunk-2XVPLL7I.mjs} +1 -1
- package/dist/{chunk-KAAPUG4M.mjs → chunk-2ZFONB6D.mjs} +1 -1
- package/dist/{chunk-P37IFSET.mjs → chunk-3QUYIQID.mjs} +1 -1
- package/dist/chunk-3U4TZZH4.mjs +1 -0
- package/dist/{chunk-XHRPO3DH.mjs → chunk-3ULIS6GM.mjs} +1 -1
- package/dist/{chunk-VYG2DHIF.mjs → chunk-4HRWWEM5.mjs} +1 -1
- package/dist/{chunk-FLVPDO7B.mjs → chunk-4MNYZ3VG.mjs} +1 -1
- package/dist/{chunk-EPMKBC5I.mjs → chunk-5WWSBG7F.mjs} +1 -1
- package/dist/{chunk-MESSAICX.mjs → chunk-63BUZTVI.mjs} +1 -1
- package/dist/{chunk-VYTPNSGC.mjs → chunk-7FZEK4Y3.mjs} +1 -1
- package/dist/{chunk-TDEZBNLK.mjs → chunk-7TWF6ZKG.mjs} +1 -1
- package/dist/{chunk-QKKUK5BA.mjs → chunk-AJJSMHCV.mjs} +1 -1
- package/dist/chunk-AWHEOZVV.mjs +4 -0
- package/dist/{chunk-LF3DTAUD.mjs → chunk-BG4CGVSG.mjs} +1 -1
- package/dist/{chunk-VQWGXZ5A.mjs → chunk-CS77R54Z.mjs} +1 -1
- package/dist/{chunk-DIQBMOGN.mjs → chunk-FAGK5FEO.mjs} +1 -1
- package/dist/{chunk-5SXGF2ZO.mjs → chunk-FIB3LSLI.mjs} +1 -1
- package/dist/{chunk-CP6IA4YZ.mjs → chunk-IB72MBM7.mjs} +1 -1
- package/dist/{chunk-GCBC75DA.mjs → chunk-IMAQJ7N3.mjs} +1 -1
- package/dist/{chunk-ECEPE5I4.mjs → chunk-J4WWW7JZ.mjs} +1 -1
- package/dist/{chunk-C4W4JBZN.mjs → chunk-KUZI6GLM.mjs} +1 -1
- package/dist/{chunk-A6K2DPLX.mjs → chunk-LC33XSZX.mjs} +1 -1
- package/dist/{chunk-ABMHGGT5.mjs → chunk-MXCUC35X.mjs} +1 -1
- package/dist/{chunk-QZQRKXUM.mjs → chunk-NGAHEN2R.mjs} +1 -1
- package/dist/{chunk-UPWBRHCD.mjs → chunk-NH74CS36.mjs} +1 -1
- package/dist/{chunk-6FHLIH4J.mjs → chunk-ODLDYXPZ.mjs} +1 -1
- package/dist/{chunk-5EX5KVLO.mjs → chunk-OEM7RQ4Q.mjs} +1 -1
- package/dist/{chunk-VWW6LZVB.mjs → chunk-PPSZJ5D7.mjs} +1 -1
- package/dist/{chunk-CW7WANDA.mjs → chunk-QRNJ7O2L.mjs} +1 -1
- package/dist/{chunk-BQ3VPYUD.mjs → chunk-QUCLTQO6.mjs} +1 -1
- package/dist/{chunk-SABHLBUI.mjs → chunk-SFLOMJ2U.mjs} +1 -1
- package/dist/{chunk-343CWVUF.mjs → chunk-SYVKYRZO.mjs} +1 -1
- package/dist/{chunk-56XJMQVR.mjs → chunk-UZ2XYB7D.mjs} +1 -1
- package/dist/{chunk-QQYD2M65.mjs → chunk-WR4OEF6T.mjs} +1 -1
- package/dist/{chunk-CKWBZBCA.mjs → chunk-X6N2L5MB.mjs} +1 -1
- package/dist/{chunk-7QL3S5IP.mjs → chunk-YH4LGOVO.mjs} +1 -1
- package/dist/{chunk-HRTZFCXL.mjs → chunk-ZSC6OQH4.mjs} +1 -1
- package/dist/{chunk-WWXGKYL4.mjs → chunk-ZWKWU7U4.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/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/Insight.mjs +1 -1
- package/dist/components/Blocks/Insight.stories.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.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/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.mjs +1 -1
- package/dist/components/Cards/ServiceCard.stories.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/AppLauncher.mjs +1 -1
- package/dist/components/HeaderFooter/AppLauncher.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.js +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -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.d.ts +3 -2
- package/dist/components/HeaderFooter/HeaderMenu.js +4 -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.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.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.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/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Images/DynamicIcon.d.ts +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/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.d.ts +1 -1
- package/dist/components/Layouts/NewsGrid.js +1 -1
- package/dist/components/Layouts/NewsGrid.mjs +1 -1
- package/dist/components/Layouts/NewsGrid.stories.js +2 -2
- package/dist/components/Layouts/NewsGrid.stories.mjs +2 -2
- package/dist/components/Layouts/index.js +1 -1
- package/dist/components/Layouts/index.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.js +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.js +179 -179
- 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 +179 -179
- 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 +191 -191
- 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 +180 -180
- 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 +180 -180
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/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 +3 -3
- 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 +3 -3
- 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.mjs +1 -1
- package/dist/sections/BlogListSection.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/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-HGT54DGN.mjs +0 -1
- package/dist/chunk-Z3BR6LFR.mjs +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var a=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var
|
|
4
|
+
"use strict";var a=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var z=(o,t)=>{for(var e in t)a(o,e,{get:t[e],enumerable:!0})},N=(o,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of D(t))!h.call(o,n)&&n!==e&&a(o,n,{get:()=>t[n],enumerable:!(i=I(t,n))||i.enumerable});return o};var C=o=>N(a({},"__esModule",{value:!0}),o);var k={};z(k,{Automation:()=>y,DuotoneCamera:()=>d,GitHub:()=>g,LightCloud:()=>m,RegularClock:()=>l,SolidUser:()=>x,default:()=>P});module.exports=C(k);var p=require("react/jsx-runtime"),s=({type:o="solid",iconName:t="cloud",size:e="lg",className:i})=>{let n=o.includes("fa-")?o+" ":"fa-"+o+" ",u="fa-"+t,b=i!=null?i:"",f=n+u+" fa-"+e+" "+b;return(0,p.jsx)("i",{className:f})};var P={title:"Images & Icons/DynamicIcon",component:s,tags:["autodocs"]},c=o=>(0,p.jsx)("div",{className:"h-12 w-12 mb-2",children:(0,p.jsx)(s,{...o})}),m=c.bind({});m.args={type:"light",iconName:"cloud",size:"10x"};var x=c.bind({});x.args={type:"solid",iconName:"user",size:"10x"};var l=c.bind({});l.args={type:"regular",iconName:"clock",size:"10x"};var d=c.bind({});d.args={type:"duotone",iconName:"camera",size:"10x"};var y=c.bind({});y.args={type:"kit",iconName:"automation",size:"10x"};var g=c.bind({});g.args={type:"brands",iconName:"github",size:"10x"};0&&(module.exports={Automation,DuotoneCamera,GitHub,LightCloud,RegularClock,SolidUser});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"../../chunk-
|
|
1
|
+
import{a as t}from"../../chunk-SFLOMJ2U.mjs";import"../../chunk-D2WXBUVJ.mjs";import{jsx as e}from"react/jsx-runtime";var d={title:"Images & Icons/DynamicIcon",component:t,tags:["autodocs"]},o=i=>e("div",{className:"h-12 w-12 mb-2",children:e(t,{...i})}),n=o.bind({});n.args={type:"light",iconName:"cloud",size:"10x"};var a=o.bind({});a.args={type:"solid",iconName:"user",size:"10x"};var c=o.bind({});c.args={type:"regular",iconName:"clock",size:"10x"};var s=o.bind({});s.args={type:"duotone",iconName:"camera",size:"10x"};var r=o.bind({});r.args={type:"kit",iconName:"automation",size:"10x"};var m=o.bind({});m.args={type:"brands",iconName:"github",size:"10x"};export{r as Automation,s as DuotoneCamera,m as GitHub,n as LightCloud,c as RegularClock,a as SolidUser,d as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var
|
|
4
|
+
"use strict";var c=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var m=(o,n)=>{for(var e in n)c(o,e,{get:n[e],enumerable:!0})},d=(o,n,e,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of p(n))!f.call(o,t)&&t!==e&&c(o,t,{get:()=>n[t],enumerable:!(i=l(n,t))||i.enumerable});return o};var g=o=>d(c({},"__esModule",{value:!0}),o);var u={};m(u,{DynamicIcon:()=>y});module.exports=g(u);var x=require("react/jsx-runtime"),y=({type:o="solid",iconName:n="cloud",size:e="lg",className:i})=>{let t=o.includes("fa-")?o+" ":"fa-"+o+" ",r="fa-"+n,s=i!=null?i:"",a=t+r+" fa-"+e+" "+s;return(0,x.jsx)("i",{className:a})};0&&(module.exports={DynamicIcon});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-SFLOMJ2U.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as DynamicIcon};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-
|
|
1
|
+
import{a,b}from"../../chunk-5WWSBG7F.mjs";import"../../chunk-YNNW2C2U.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SV7NMNDI.mjs";import"../../chunk-3ULIS6GM.mjs";import"../../chunk-4MNYZ3VG.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-ODLDYXPZ.mjs";import"../../chunk-QRNJ7O2L.mjs";import"../../chunk-7WBETZEV.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-UESKYRNK.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";export{b as BlogCard,a as BlogList};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"../../chunk-
|
|
1
|
+
import{a as o}from"../../chunk-5WWSBG7F.mjs";import"../../chunk-YNNW2C2U.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-SV7NMNDI.mjs";import"../../chunk-3ULIS6GM.mjs";import"../../chunk-4MNYZ3VG.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-YAH6C5YX.mjs";import"../../chunk-ODLDYXPZ.mjs";import"../../chunk-QRNJ7O2L.mjs";import"../../chunk-7WBETZEV.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-UESKYRNK.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-D2WXBUVJ.mjs";import{jsx as s}from"react/jsx-runtime";var r={title:"Layouts/BlogList",component:o,tags:["autodocs"],parameters:{docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>s(e,{})]},t=e=>s(o,{...e}),i=t.bind({});i.args={sectionHeading:{subtitle:"Payload",title:"Payload",description:"Payload"},blogs:[{slug:"/blog/pioneering-progress",image:{src:"/assets/images/blog/istockphoto1.jpg",alt:"Pioneering Progress, One Algorithm at a Time"},authors:[{name:"admin with a long name"},{name:"demo"}],categories:["Technology","Other"],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"05",title:"Pioneering Progress, One Algorithm at a Time",description:"Aliquam eros justo, posuere lobortis non, viverra laoreet augue mattis start fermentum ullamcorper viverra laoreet. By Admin. Technology. 28th February 2022. Leave a comment."},{slug:"/blog/innovative-solutions",image:{src:"/assets/images/blog/istockphoto2.jpg",alt:"Innovative Solutions for Modern Problems"},publishedAt:"2025-01-01T17:19:41.270Z",categories:[],commentCount:"10",title:"Innovative Solutions for Modern Problems",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. By John Doe. Innovation. 15th March 2022. Leave a comment."},{slug:"/blog/future-of-tech",image:{src:"/assets/images/blog/istockphoto3.jpg",alt:"The Future of Technology"},authors:[{name:"admin"},{name:"demo"}],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"08",title:"The Future of Technology",description:"Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. By Jane Doe. Future. 22nd April 2022. Leave a comment."}]};var a=t.bind({});a.args={...i.args};export{i as Default,a as LoadsOfBlogs,r as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as t}from"../../chunk-CSWXKGJE.mjs";import{a as e}from"../../chunk-
|
|
1
|
+
import{b as t}from"../../chunk-CSWXKGJE.mjs";import{a as e}from"../../chunk-ZWKWU7U4.mjs";import"../../chunk-SFLOMJ2U.mjs";import"../../chunk-D2WXBUVJ.mjs";import{Fragment as c,jsx as o,jsxs as l}from"react/jsx-runtime";var m={title:"Layouts/FeatureGrid",component:t},i=r=>o(t,{...r,children:r.children}),a=i.bind({});a.args={children:l(c,{children:[o(e,{title:"Performance",description:"Boost your app performance",iconName:"rocket",iconStyle:"solid",color:"blue"}),o(e,{title:"Security",description:"Keep your data safe",iconName:"shield-alt",iconStyle:"solid",color:"blue"}),o(e,{title:"Automation",description:"Automate your processes",iconName:"robot",iconStyle:"regular",color:"green"})]})};export{a as Default,m as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";"use client";var
|
|
4
|
+
"use strict";"use client";var g=Object.create;var s=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var p=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var h=(t,e)=>{for(var r in e)s(t,r,{get:e[r],enumerable:!0})},m=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of c(e))!f.call(t,i)&&i!==r&&s(t,i,{get:()=>e[i],enumerable:!(a=u(e,i))||a.enumerable});return t};var n=(t,e,r)=>(r=t!=null?g(p(t)):{},m(e||!t||!t.__esModule?s(r,"default",{value:t,enumerable:!0}):r,t)),v=t=>m(s({},"__esModule",{value:!0}),t);var b={};h(b,{NewsGrid:()=>x});module.exports=v(b);var l=n(require("next/link")),d=n(require("next/image")),o=require("react/jsx-runtime");function x({blogs:t}){return(0,o.jsx)("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:(0,o.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:t&&t.map((e,r)=>(0,o.jsx)(l.default,{href:`/insights/${e.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:(0,o.jsxs)("div",{className:"relative size-full",children:[(0,o.jsx)(d.default,{src:e.image.src,alt:"post image",width:850,height:575,sizes:"33vw",className:"relative inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,o.jsxs)("div",{className:"absolute inset-0 px-4 pb-2 bg-gradient-to-t from-card to-transparrent flex flex-col justify-end",children:[(0,o.jsxs)("div",{className:"text-sm text-card-foreground mb-2",children:[e.authors&&e.authors.map(a=>`${a.name} \xB7 `),e.publishedAt&&new Date(e.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),(0,o.jsx)("h2",{className:"text-xl font-bold text-foreground group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e.title})]})]})},r))})})}0&&(module.exports={NewsGrid});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../chunk-AWHEOZVV.mjs";import"../../chunk-D2WXBUVJ.mjs";export{a as NewsGrid};
|