@stackshift-ui/logo-cloud 6.1.0-beta.6 → 7.0.0-beta.8

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stackshift-ui/logo-cloud",
3
3
  "description": "",
4
- "version": "6.1.0-beta.6",
4
+ "version": "7.0.0-beta.8",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -29,21 +29,21 @@
29
29
  "typescript": "^5.6.2",
30
30
  "vite-tsconfig-paths": "^5.0.1",
31
31
  "vitest": "^2.1.1",
32
- "@stackshift-ui/typescript-config": "6.0.10",
33
- "@stackshift-ui/eslint-config": "6.0.10"
32
+ "@stackshift-ui/eslint-config": "6.0.10",
33
+ "@stackshift-ui/typescript-config": "6.0.10"
34
34
  },
35
35
  "dependencies": {
36
36
  "@portabletext/react": "^3.1.0",
37
- "@stackshift-ui/scripts": "6.1.0-beta.2",
38
- "@stackshift-ui/heading": "7.0.0-beta.3",
39
- "@stackshift-ui/button": "6.1.0-beta.5",
40
- "@stackshift-ui/image": "6.1.0-beta.3",
41
- "@stackshift-ui/section": "7.0.0-beta.3",
42
- "@stackshift-ui/text": "7.0.0-beta.3",
43
- "@stackshift-ui/flex": "7.0.0-beta.3",
44
- "@stackshift-ui/container": "7.0.0-beta.3",
45
- "@stackshift-ui/link": "6.1.0-beta.3",
46
- "@stackshift-ui/system": "6.1.0-beta.3"
37
+ "@stackshift-ui/scripts": "7.0.0-beta.3",
38
+ "@stackshift-ui/system": "7.0.0-beta.4",
39
+ "@stackshift-ui/heading": "7.0.0-beta.4",
40
+ "@stackshift-ui/button": "7.0.0-beta.6",
41
+ "@stackshift-ui/image": "7.0.0-beta.5",
42
+ "@stackshift-ui/text": "7.0.0-beta.4",
43
+ "@stackshift-ui/section": "7.0.0-beta.4",
44
+ "@stackshift-ui/container": "7.0.0-beta.4",
45
+ "@stackshift-ui/link": "7.0.0-beta.4",
46
+ "@stackshift-ui/flex": "7.0.0-beta.4"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@types/react": "16.8 - 19",
@@ -1 +0,0 @@
1
- import{Container as n}from"@stackshift-ui/container";import{Flex as t}from"@stackshift-ui/flex";import{Image as e}from"@stackshift-ui/image";import{Section as u}from"@stackshift-ui/section";import{jsx as r}from"react/jsx-runtime";function p({images:o}){return r(u,{className:"py-20 bg-background",children:r(n,{maxWidth:1280,children:r(t,{wrap:!0,justify:"center",align:"center",children:o&&(o==null?void 0:o.map((l,d)=>r(c,{image:l})))})})})}function c({image:o}){var l;return o?r("div",{className:"w-full px-2 mb-4 md:w-1/3 lg:mr-10 lg:w-1/6 xl:mr-0",children:(o==null?void 0:o.image)&&r(t,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded-global bg-gray-50",children:r(e,{className:"object-scale-down w-full h-full",src:`${o==null?void 0:o.image}`,sizes:"192px",width:192,height:192,alt:(l=o==null?void 0:o.alt)!=null?l:"logoCloud-image"})})}):null}export{p as a};
@@ -1 +0,0 @@
1
- import{b as i}from"./chunk-S35O64PB.mjs";import{Button as m}from"@stackshift-ui/button";import{Container as s}from"@stackshift-ui/container";import{Flex as a}from"@stackshift-ui/flex";import{Heading as c}from"@stackshift-ui/heading";import{Image as d}from"@stackshift-ui/image";import{Section as u}from"@stackshift-ui/section";import{jsx as t,jsxs as p}from"react/jsx-runtime";function f({title:e,images:o,button:l}){return t(u,{className:"relative pt-20 pb-12 overflow-hidden bg-background lg:pb-80",children:p(s,{maxWidth:1280,children:[t(g,{title:e,button:l}),o&&o.length>0&&t(h,{images:o}),t(b,{images:o})]})})}function g({title:e,button:o}){return p(s,{maxWidth:448,className:"text-center",children:[e&&t(c,{weight:"bold",className:"mb-8 text-4xl lg:text-5xl",children:e}),(o==null?void 0:o.label)&&t(m,{variant:"link","aria-label":o.label,asChild:!0,children:t(i,{link:o,ariaLabel:o.label,className:"bg-primary px-6 py-3 text-white no-underline",children:o.label})})]})}function h({images:e}){return e?t("div",{className:"relative hidden lg:block",children:e.map((o,l)=>t(x,{image:o,alt:o==null?void 0:o.alt,index:l},l))}):null}function x({image:e,alt:o,index:l}){var n;return t("div",{className:"absolute flex items-center justify-center w-24 h-24 overflow-hidden rounded-full bg-gray-50",style:(n=[{top:"-120px",left:"-10px"},{top:"0",left:"0",marginTop:"20px"},{bottom:"-250px",left:"20%"},{top:"20px",right:"20%"},{bottom:"-250px",right:"0"},{top:"-150px",right:"0"}][l])!=null?n:{},children:t(d,{className:"object-scale-down w-16 h-16",src:`${e==null?void 0:e.image}`,sizes:"100vw",width:64,height:64,alt:o!=null?o:`logoCloud-image-${l+1}`})})}function b({images:e}){return e?t(a,{wrap:!0,justify:"center",className:"mt-16 lg:hidden",children:e&&e.map((o,l)=>{var r;return t(a,{align:"center",justify:"center",className:"w-24 h-24 mx-4 mb-8 rounded-full bg-gray-50",children:t(d,{className:"object-scale-down w-16 h-16",src:`${o==null?void 0:o.image}`,sizes:"100vw",width:64,height:64,alt:(r=o==null?void 0:o.alt)!=null?r:`logoCloud-image-${l}`})},l)})}):null}export{f as a};
@@ -1 +0,0 @@
1
- import{Container as a}from"@stackshift-ui/container";import{Flex as l}from"@stackshift-ui/flex";import{Heading as s}from"@stackshift-ui/heading";import{Image as i}from"@stackshift-ui/image";import{Section as d}from"@stackshift-ui/section";import{Text as c}from"@stackshift-ui/text";import u from"react";import{jsx as t,jsxs as m}from"react/jsx-runtime";function p({title:r,text:o,images:e}){return t(d,{className:"py-20 bg-background",children:t(a,{maxWidth:1280,children:m(l,{wrap:!0,align:"center",justify:"between",children:[t(f,{title:r,text:o}),t(l,{wrap:!0,className:"w-full lg:w-1/2",children:t(x,{images:e})})]})})})}function f({title:r,text:o}){return t("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:m(a,{maxWidth:448,children:[r&&t(s,{weight:"bold",className:"mb-4",children:r}),o&&t(c,{muted:!0,className:"leading-loose",children:o})]})})}function x({images:r}){return r?t(u.Fragment,{children:r==null?void 0:r.map((o,e)=>{var n;return t("div",{className:"w-full px-2 mb-4 sm:w-1/2 md:w-1/3",children:(o==null?void 0:o.image)&&t("div",{children:t(l,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded-global bg-gray-50",children:t(i,{className:"object-scale-down",src:`${o==null?void 0:o.image}`,sizes:"192px",width:192,height:192,alt:(n=o==null?void 0:o.alt)!=null?n:`logoCloud-image${e}`})})})},e)})}):null}export{p as a};
@@ -1 +0,0 @@
1
- import{Container as u}from"@stackshift-ui/container";import{Flex as l}from"@stackshift-ui/flex";import{Heading as c}from"@stackshift-ui/heading";import{Image as p}from"@stackshift-ui/image";import{Section as a}from"@stackshift-ui/section";import f from"react";import{jsx as r,jsxs as m}from"react/jsx-runtime";function i({title:t,images:o}){return r(a,{className:"py-20 bg-background",children:m(u,{maxWidth:1280,children:[r(s,{title:t}),r(l,{wrap:!0,justify:"center",align:"center",gap:3,children:r(d,{images:o})})]})})}function s({title:t}){return t?r(c,{className:"mb-12 text-center",fontSize:"2xl",children:t}):null}function d({images:t}){return t?r(f.Fragment,{children:t==null?void 0:t.map((o,n)=>{var e;return r("div",{children:o!=null&&o.image?r(l,{align:"center",justify:"center",className:"h-[192px] w-[192px] rounded-global bg-gray-50",children:r(p,{className:"object-scale-down",src:`${o==null?void 0:o.image}`,sizes:"192px",width:192,height:192,alt:(e=o==null?void 0:o.alt)!=null?e:`logoCloud-image${n}`})}):null},n)})}):null}export{i as a};
@@ -1 +0,0 @@
1
- import{Link as f}from"@stackshift-ui/link";import{jsx as y}from"react/jsx-runtime";var b=r=>{var a,u,p;return r!=null&&r.internalLink&&(r==null?void 0:r.type)==="linkInternal"?(u=(a=r==null?void 0:r.internalLink)==null?void 0:a.toLowerCase())!=null&&u.includes("home")?"/":`/${r.internalLink}`:r!=null&&r.externalLink&&(r==null?void 0:r.type)==="linkExternal"&&(p=r==null?void 0:r.externalLink)!=null?p:"/"},o=({className:r,ariaLabel:a,style:u={},children:p,link:e,target:n})=>{var c,s;let L="inline-block py-2 px-6 rounded-l-xl rounded-t-xl bg-primary hover:bg-primary-foreground text-gray-50 font-bold leading-loose outline-none transition duration-200";if(!(e!=null&&e.internalLink)&&!(e!=null&&e.externalLink))return y("a",{className:r!=null?r:L,"aria-label":a,target:n,href:"/page-not-found",children:p});if(((e==null?void 0:e.type)==="linkInternal"||e.linkType==="linkInternal")&&((c=e==null?void 0:e.internalLink)==null?void 0:c.toLowerCase())==="home")return y(f,{href:(e==null?void 0:e.referenceType)==="projects"?"/projects":"/","aria-label":a,className:r!=null?r:L,target:n,children:p});if((e==null?void 0:e.type)==="linkInternal"||(e==null?void 0:e.linkType)==="linkInternal"){let t="";switch(e==null?void 0:e.referenceType){case"projects":t=`/projects/${e==null?void 0:e.internalLink}`;break;case"commercial":t=`/projects/commercial/${e==null?void 0:e.internalLink}`;break;case"residential":t=`/projects/residential/${e==null?void 0:e.internalLink}`;break;case"landscape":t=`/projects/landscape/${e==null?void 0:e.internalLink}`;break;case"public":t=`/projects/public/${e==null?void 0:e.internalLink}`;break;case"teaching":t=`/projects/teaching/${e==null?void 0:e.internalLink}`;break;case"designInMotion":t=`/projects/future-projects/${e==null?void 0:e.internalLink}`;break;case"renovation":t=`/projects/residential/renovation/${e==null?void 0:e.internalLink}`;break;case"newConstruction":t=`/projects/residential/new-construction/${e==null?void 0:e.internalLink}`;break;case"ourTeam":t=`/our-team/${e==null?void 0:e.internalLink}`;break;case"recognition":t=`/recognition/${e==null?void 0:e.internalLink}`;break;default:t=`/${e==null?void 0:e.internalLink}`}return y(f,{href:t,"aria-label":a,className:r!=null?r:L,target:n,children:p})}else return(e==null?void 0:e.type)==="linkExternal"||(e==null?void 0:e.linkType)==="linkExternal"?y("a",{"aria-label":a,className:r!=null?r:L,href:(s=e==null?void 0:e.externalLink)!=null?s:"",target:n,rel:(e==null?void 0:e.linkTarget)==="_blank"?"noopener noreferrer":void 0,children:p}):y(f,{href:"/","aria-label":a,className:r!=null?r:L,target:n,children:p})};export{b as a,o as b};
@@ -1 +0,0 @@
1
- import{a as g}from"./chunk-O6AXZYU7.mjs";import{a as f}from"./chunk-LMWC2QH6.mjs";import{a as c}from"./chunk-KP2L6RMC.mjs";import{a as v}from"./chunk-J6G7MDDQ.mjs";import{jsx as x}from"react/jsx-runtime";var L={variant_a:g,variant_b:f,variant_c:c,variant_d:v},b="LogoCloud",y=({data:o})=>{var e,r,t,s,m,p,l,u;let i=o==null?void 0:o.variant,n=i&&L[i],C={title:(r=(e=o==null?void 0:o.variants)==null?void 0:e.title)!=null?r:void 0,images:(s=(t=o==null?void 0:o.variants)==null?void 0:t.images)!=null?s:void 0,text:(p=(m=o==null?void 0:o.variants)==null?void 0:m.plainText)!=null?p:void 0,button:(u=(l=o==null?void 0:o.variants)==null?void 0:l.primaryButton)!=null?u:void 0};return n?x(n,{...C}):null};y.displayName=b;export{y as a};
@@ -1,3 +0,0 @@
1
- import { ConditionalLinkTypes, Logo } from "../types";
2
- export declare const logoLink: (logo: Logo) => string;
3
- export declare const ConditionalLink: ({ className, ariaLabel, style, children, link, target, }: ConditionalLinkTypes) => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- "use strict";var c=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var $=Object.prototype.hasOwnProperty;var j=(r,t)=>{for(var n in t)c(r,n,{get:t[n],enumerable:!0})},x=(r,t,n,p)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of o(t))!$.call(r,e)&&e!==n&&c(r,e,{get:()=>t[e],enumerable:!(p=b(t,e))||p.enumerable});return r};var h=r=>x(c({},"__esModule",{value:!0}),r);var I={};j(I,{ConditionalLink:()=>C,logoLink:()=>T});module.exports=h(I);var f=require("@stackshift-ui/link"),L=require("react/jsx-runtime"),T=r=>{var t,n,p;return r!=null&&r.internalLink&&(r==null?void 0:r.type)==="linkInternal"?(n=(t=r==null?void 0:r.internalLink)==null?void 0:t.toLowerCase())!=null&&n.includes("home")?"/":`/${r.internalLink}`:r!=null&&r.externalLink&&(r==null?void 0:r.type)==="linkExternal"&&(p=r==null?void 0:r.externalLink)!=null?p:"/"},C=({className:r,ariaLabel:t,style:n={},children:p,link:e,target:y})=>{var s,d;let u="inline-block py-2 px-6 rounded-l-xl rounded-t-xl bg-primary hover:bg-primary-foreground text-gray-50 font-bold leading-loose outline-none transition duration-200";if(!(e!=null&&e.internalLink)&&!(e!=null&&e.externalLink))return(0,L.jsx)("a",{className:r!=null?r:u,"aria-label":t,target:y,href:"/page-not-found",children:p});if(((e==null?void 0:e.type)==="linkInternal"||e.linkType==="linkInternal")&&((s=e==null?void 0:e.internalLink)==null?void 0:s.toLowerCase())==="home")return(0,L.jsx)(f.Link,{href:(e==null?void 0:e.referenceType)==="projects"?"/projects":"/","aria-label":t,className:r!=null?r:u,target:y,children:p});if((e==null?void 0:e.type)==="linkInternal"||(e==null?void 0:e.linkType)==="linkInternal"){let a="";switch(e==null?void 0:e.referenceType){case"projects":a=`/projects/${e==null?void 0:e.internalLink}`;break;case"commercial":a=`/projects/commercial/${e==null?void 0:e.internalLink}`;break;case"residential":a=`/projects/residential/${e==null?void 0:e.internalLink}`;break;case"landscape":a=`/projects/landscape/${e==null?void 0:e.internalLink}`;break;case"public":a=`/projects/public/${e==null?void 0:e.internalLink}`;break;case"teaching":a=`/projects/teaching/${e==null?void 0:e.internalLink}`;break;case"designInMotion":a=`/projects/future-projects/${e==null?void 0:e.internalLink}`;break;case"renovation":a=`/projects/residential/renovation/${e==null?void 0:e.internalLink}`;break;case"newConstruction":a=`/projects/residential/new-construction/${e==null?void 0:e.internalLink}`;break;case"ourTeam":a=`/our-team/${e==null?void 0:e.internalLink}`;break;case"recognition":a=`/recognition/${e==null?void 0:e.internalLink}`;break;default:a=`/${e==null?void 0:e.internalLink}`}return(0,L.jsx)(f.Link,{href:a,"aria-label":t,className:r!=null?r:u,target:y,children:p})}else return(e==null?void 0:e.type)==="linkExternal"||(e==null?void 0:e.linkType)==="linkExternal"?(0,L.jsx)("a",{"aria-label":t,className:r!=null?r:u,href:(d=e==null?void 0:e.externalLink)!=null?d:"",target:y,rel:(e==null?void 0:e.linkTarget)==="_blank"?"noopener noreferrer":void 0,children:p}):(0,L.jsx)(f.Link,{href:"/","aria-label":t,className:r!=null?r:u,target:y,children:p})};0&&(module.exports={ConditionalLink,logoLink});
@@ -1 +0,0 @@
1
- import{a,b}from"../chunk-S35O64PB.mjs";export{b as ConditionalLink,a as logoLink};
package/dist/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export * from "./logo-cloud";
2
- export * from "./logo-cloud_a";
3
- export * from "./logo-cloud_b";
4
- export * from "./logo-cloud_c";
5
- export * from "./logo-cloud_d";
package/dist/index.js DELETED
@@ -1,2 +0,0 @@
1
- "use client";
2
- "use strict";var Y=Object.create;var x=Object.defineProperty;var Z=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var ee=Object.getPrototypeOf,te=Object.prototype.hasOwnProperty;var re=(e,r)=>{for(var o in r)x(e,o,{get:r[o],enumerable:!0})},P=(e,r,o,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of k(r))!te.call(e,t)&&t!==o&&x(e,t,{get:()=>r[t],enumerable:!(n=Z(r,t))||n.enumerable});return e};var R=(e,r,o)=>(o=e!=null?Y(ee(e)):{},P(r||!e||!e.__esModule?x(o,"default",{value:e,enumerable:!0}):o,e)),oe=e=>P(x({},"__esModule",{value:!0}),e);var xe={};re(xe,{LogoCloud:()=>U,LogoCloud_A:()=>b,LogoCloud_B:()=>y,LogoCloud_C:()=>h,LogoCloud_D:()=>C});module.exports=oe(xe);var N=require("@stackshift-ui/container"),w=require("@stackshift-ui/flex"),_=require("@stackshift-ui/heading"),H=require("@stackshift-ui/image"),z=require("@stackshift-ui/section"),W=R(require("react")),u=require("react/jsx-runtime");function b({title:e,images:r}){return(0,u.jsx)(z.Section,{className:"py-20 bg-background",children:(0,u.jsxs)(N.Container,{maxWidth:1280,children:[(0,u.jsx)(ne,{title:e}),(0,u.jsx)(w.Flex,{wrap:!0,justify:"center",align:"center",gap:3,children:(0,u.jsx)(ae,{images:r})})]})})}function ne({title:e}){return e?(0,u.jsx)(_.Heading,{className:"mb-12 text-center",fontSize:"2xl",children:e}):null}function ae({images:e}){return e?(0,u.jsx)(W.default.Fragment,{children:e==null?void 0:e.map((r,o)=>{var n;return(0,u.jsx)("div",{children:r!=null&&r.image?(0,u.jsx)(w.Flex,{align:"center",justify:"center",className:"h-[192px] w-[192px] rounded-global bg-gray-50",children:(0,u.jsx)(H.Image,{className:"object-scale-down",src:`${r==null?void 0:r.image}`,sizes:"192px",width:192,height:192,alt:(n=r==null?void 0:r.alt)!=null?n:`logoCloud-image${o}`})}):null},o)})}):null}var A=require("@stackshift-ui/text"),D=R(require("react"));function y({title:e,text:r,images:o}){return(0,u.jsx)(z.Section,{className:"py-20 bg-background",children:(0,u.jsx)(N.Container,{maxWidth:1280,children:(0,u.jsxs)(w.Flex,{wrap:!0,align:"center",justify:"between",children:[(0,u.jsx)(pe,{title:e,text:r}),(0,u.jsx)(w.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:(0,u.jsx)(se,{images:o})})]})})})}function pe({title:e,text:r}){return(0,u.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,u.jsxs)(N.Container,{maxWidth:448,children:[e&&(0,u.jsx)(_.Heading,{weight:"bold",className:"mb-4",children:e}),r&&(0,u.jsx)(A.Text,{muted:!0,className:"leading-loose",children:r})]})})}function se({images:e}){return e?(0,u.jsx)(D.default.Fragment,{children:e==null?void 0:e.map((r,o)=>{var n;return(0,u.jsx)("div",{className:"w-full px-2 mb-4 sm:w-1/2 md:w-1/3",children:(r==null?void 0:r.image)&&(0,u.jsx)("div",{children:(0,u.jsx)(w.Flex,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded-global bg-gray-50",children:(0,u.jsx)(H.Image,{className:"object-scale-down",src:`${r==null?void 0:r.image}`,sizes:"192px",width:192,height:192,alt:(n=r==null?void 0:r.alt)!=null?n:`logoCloud-image${o}`})})})},o)})}):null}var q=require("@stackshift-ui/button");var g=require("@stackshift-ui/link");var M=({className:e,ariaLabel:r,style:o={},children:n,link:t,target:i})=>{var d,m;let c="inline-block py-2 px-6 rounded-u-xl rounded-t-xl bg-primary hover:bg-primary-foreground text-gray-50 font-bold leading-loose outline-none transition duration-200";if(!(t!=null&&t.internalLink)&&!(t!=null&&t.externalLink))return(0,u.jsx)("u",{className:e!=null?e:c,"aria-label":r,target:i,href:"/page-not-found",children:n});if(((t==null?void 0:t.type)==="linkInternal"||t.linkType==="linkInternal")&&((d=t==null?void 0:t.internalLink)==null?void 0:d.toLowerCase())==="home")return(0,u.jsx)(g.Link,{href:(t==null?void 0:t.referenceType)==="projects"?"/projects":"/","aria-label":r,className:e!=null?e:c,target:i,children:n});if((t==null?void 0:t.type)==="linkInternal"||(t==null?void 0:t.linkType)==="linkInternal"){let s="";switch(t==null?void 0:t.referenceType){case"projects":s=`/projects/${t==null?void 0:t.internalLink}`;break;case"commercial":s=`/projects/commercial/${t==null?void 0:t.internalLink}`;break;case"residential":s=`/projects/residential/${t==null?void 0:t.internalLink}`;break;case"landscape":s=`/projects/landscape/${t==null?void 0:t.internalLink}`;break;case"public":s=`/projects/public/${t==null?void 0:t.internalLink}`;break;case"teaching":s=`/projects/teaching/${t==null?void 0:t.internalLink}`;break;case"designInMotion":s=`/projects/future-projects/${t==null?void 0:t.internalLink}`;break;case"renovation":s=`/projects/residential/renovation/${t==null?void 0:t.internalLink}`;break;case"newConstruction":s=`/projects/residential/new-construction/${t==null?void 0:t.internalLink}`;break;case"ourTeam":s=`/our-team/${t==null?void 0:t.internalLink}`;break;case"recognition":s=`/recognition/${t==null?void 0:t.internalLink}`;break;default:s=`/${t==null?void 0:t.internalLink}`}return(0,u.jsx)(g.Link,{href:s,"aria-label":r,className:e!=null?e:c,target:i,children:n})}else return(t==null?void 0:t.type)==="linkExternal"||(t==null?void 0:t.linkType)==="linkExternal"?(0,u.jsx)("u",{"aria-label":r,className:e!=null?e:c,href:(m=t==null?void 0:t.externalLink)!=null?m:"",target:i,rel:(t==null?void 0:t.linkTarget)==="_blank"?"noopener noreferrer":void 0,children:n}):(0,u.jsx)(g.Link,{href:"/","aria-label":r,className:e!=null?e:c,target:i,children:n})};function h({title:e,images:r,button:o}){return(0,u.jsx)(z.Section,{className:"relative pt-20 pb-12 overflow-hidden bg-background lg:pb-80",children:(0,u.jsxs)($.Container,{maxWidth:1280,children:[(0,u.jsx)(ue,{title:e,button:o}),r&&r.length>0&&(0,u.jsx)(ie,{images:r}),(0,u.jsx)(fe,{images:r})]})})}function ue({title:e,button:r}){return(0,u.jsxs)($.Container,{maxWidth:448,className:"text-center",children:[e&&(0,u.jsx)(_.Heading,{weight:"bold",className:"mb-8 text-4xl lg:text-5xl",children:e}),(r==null?void 0:r.label)&&(0,u.jsx)(q.Button,{variant:"link","aria-label":r.label,asChild:!0,children:(0,u.jsx)(M,{link:r,ariaLabel:r.label,className:"bg-primary px-6 py-3 text-white no-underline",children:r.label})})]})}function ie({images:e}){return e?(0,u.jsx)("div",{className:"relative hidden lg:block",children:e.map((r,o)=>(0,u.jsx)(ce,{image:r,alt:r==null?void 0:r.alt,index:o},o))}):null}function ce({image:e,alt:r,index:o}){var t;return(0,u.jsx)("div",{className:"absolute flex items-center justify-center w-24 h-24 overflow-hidden rounded-full bg-gray-50",style:(t=[{top:"-120px",left:"-10px"},{top:"0",left:"0",marginTop:"20px"},{bottom:"-250px",left:"20%"},{top:"20px",right:"20%"},{bottom:"-250px",right:"0"},{top:"-150px",right:"0"}][o])!=null?t:{},children:(0,u.jsx)(H.Image,{className:"object-scale-down w-16 h-16",src:`${e==null?void 0:e.image}`,sizes:"100vw",width:64,height:64,alt:r!=null?r:`logoCloud-image-${o+1}`})})}function fe({images:e}){return e?(0,u.jsx)(w.Flex,{wrap:!0,justify:"center",className:"mt-16 lg:hidden",children:e&&e.map((r,o)=>{var n;return(0,u.jsx)(w.Flex,{align:"center",justify:"center",className:"w-24 h-24 mx-4 mb-8 rounded-full bg-gray-50",children:(0,u.jsx)(H.Image,{className:"object-scale-down w-16 h-16",src:`${r==null?void 0:r.image}`,sizes:"100vw",width:64,height:64,alt:(n=r==null?void 0:r.alt)!=null?n:`logoCloud-image-${o}`})},o)})}):null}function C({images:e}){return(0,u.jsx)(z.Section,{className:"py-20 bg-background",children:(0,u.jsx)(N.Container,{maxWidth:1280,children:(0,u.jsx)(w.Flex,{wrap:!0,justify:"center",align:"center",children:e&&(e==null?void 0:e.map((r,o)=>(0,u.jsx)(le,{image:r})))})})})}function le({image:e}){var r;return e?(0,u.jsx)("div",{className:"w-full px-2 mb-4 md:w-1/3 lg:mr-10 lg:w-1/6 xl:mr-0",children:(e==null?void 0:e.image)&&(0,u.jsx)(w.Flex,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded-global bg-gray-50",children:(0,u.jsx)(H.Image,{className:"object-scale-down w-full h-full",src:`${e==null?void 0:e.image}`,sizes:"192px",width:192,height:192,alt:(r=e==null?void 0:e.alt)!=null?r:"logoCloud-image"})})}):null}var de={variant_a:b,variant_b:y,variant_c:h,variant_d:C},me="LogoCloud",U=({data:e})=>{var t,i,c,d,m,s,T,S;let r=e==null?void 0:e.variant,o=r&&de[r],n={title:(i=(t=e==null?void 0:e.variants)==null?void 0:t.title)!=null?i:void 0,images:(d=(c=e==null?void 0:e.variants)==null?void 0:c.images)!=null?d:void 0,text:(s=(m=e==null?void 0:e.variants)==null?void 0:m.plainText)!=null?s:void 0,button:(S=(T=e==null?void 0:e.variants)==null?void 0:T.primaryButton)!=null?S:void 0};return o?(0,u.jsx)(o,{...n}):null};U.displayName=me;0&&(module.exports={LogoCloud,LogoCloud_A,LogoCloud_B,LogoCloud_C,LogoCloud_D});
package/dist/index.mjs DELETED
@@ -1,2 +0,0 @@
1
- "use client";
2
- "use strict";import{a as f}from"./chunk-SPV6Q5GI.mjs";import{a as o}from"./chunk-O6AXZYU7.mjs";import{a as r}from"./chunk-LMWC2QH6.mjs";import{a as e}from"./chunk-KP2L6RMC.mjs";import"./chunk-S35O64PB.mjs";import{a as t}from"./chunk-J6G7MDDQ.mjs";export{f as LogoCloud,o as LogoCloud_A,r as LogoCloud_B,e as LogoCloud_C,t as LogoCloud_D};
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- import { Images, LabeledRoute, SectionsProps } from "./types";
3
- export interface LogoCloudProps {
4
- title?: string;
5
- images?: Images[];
6
- text?: string;
7
- button?: LabeledRoute;
8
- }
9
- export declare const LogoCloud: React.FC<SectionsProps>;
@@ -1 +0,0 @@
1
- "use strict";var Y=Object.create;var x=Object.defineProperty;var Z=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var ee=Object.getPrototypeOf,te=Object.prototype.hasOwnProperty;var re=(e,r)=>{for(var o in r)x(e,o,{get:r[o],enumerable:!0})},P=(e,r,o,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of k(r))!te.call(e,t)&&t!==o&&x(e,t,{get:()=>r[t],enumerable:!(n=Z(r,t))||n.enumerable});return e};var R=(e,r,o)=>(o=e!=null?Y(ee(e)):{},P(r||!e||!e.__esModule?x(o,"default",{value:e,enumerable:!0}):o,e)),oe=e=>P(x({},"__esModule",{value:!0}),e);var xe={};re(xe,{LogoCloud:()=>U});module.exports=oe(xe);var N=require("@stackshift-ui/container"),y=require("@stackshift-ui/flex"),_=require("@stackshift-ui/heading"),H=require("@stackshift-ui/image"),z=require("@stackshift-ui/section"),W=R(require("react")),u=require("react/jsx-runtime");function g({title:e,images:r}){return(0,u.jsx)(z.Section,{className:"py-20 bg-background",children:(0,u.jsxs)(N.Container,{maxWidth:1280,children:[(0,u.jsx)(ne,{title:e}),(0,u.jsx)(y.Flex,{wrap:!0,justify:"center",align:"center",gap:3,children:(0,u.jsx)(ae,{images:r})})]})})}function ne({title:e}){return e?(0,u.jsx)(_.Heading,{className:"mb-12 text-center",fontSize:"2xl",children:e}):null}function ae({images:e}){return e?(0,u.jsx)(W.default.Fragment,{children:e==null?void 0:e.map((r,o)=>{var n;return(0,u.jsx)("div",{children:r!=null&&r.image?(0,u.jsx)(y.Flex,{align:"center",justify:"center",className:"N-[192px] y-[192px] rounded-global bg-gray-50",children:(0,u.jsx)(H.Image,{className:"object-scale-down",src:`${r==null?void 0:r.image}`,sizes:"192px",width:192,height:192,alt:(n=r==null?void 0:r.alt)!=null?n:`logoCloud-image${o}`})}):null},o)})}):null}var A=require("@stackshift-ui/text"),D=R(require("react"));function C({title:e,text:r,images:o}){return(0,u.jsx)(z.Section,{className:"py-20 bg-background",children:(0,u.jsx)(N.Container,{maxWidth:1280,children:(0,u.jsxs)(y.Flex,{wrap:!0,align:"center",justify:"between",children:[(0,u.jsx)(pe,{title:e,text:r}),(0,u.jsx)(y.Flex,{wrap:!0,className:"y-full lg:y-1/2",children:(0,u.jsx)(se,{images:o})})]})})})}function pe({title:e,text:r}){return(0,u.jsx)("div",{className:"y-full mb-12 lg:mb-0 lg:y-1/2",children:(0,u.jsxs)(N.Container,{maxWidth:448,children:[e&&(0,u.jsx)(_.Heading,{weight:"bold",className:"mb-4",children:e}),r&&(0,u.jsx)(A.Text,{muted:!0,className:"leading-loose",children:r})]})})}function se({images:e}){return e?(0,u.jsx)(D.default.Fragment,{children:e==null?void 0:e.map((r,o)=>{var n;return(0,u.jsx)("div",{className:"y-full px-2 mb-4 sm:y-1/2 md:y-1/3",children:(r==null?void 0:r.image)&&(0,u.jsx)("div",{children:(0,u.jsx)(y.Flex,{align:"center",justify:"center",className:"mx-auto N-[192px] y-[192px] rounded-global bg-gray-50",children:(0,u.jsx)(H.Image,{className:"object-scale-down",src:`${r==null?void 0:r.image}`,sizes:"192px",width:192,height:192,alt:(n=r==null?void 0:r.alt)!=null?n:`logoCloud-image${o}`})})})},o)})}):null}var q=require("@stackshift-ui/button");var L=require("@stackshift-ui/link");var M=({className:e,ariaLabel:r,style:o={},children:n,link:t,target:i})=>{var d,m;let c="inline-block py-2 px-6 rounded-u-xl rounded-t-xl bg-primary hover:bg-primary-foreground text-gray-50 font-bold leading-loose outline-none transition duration-200";if(!(t!=null&&t.internalLink)&&!(t!=null&&t.externalLink))return(0,u.jsx)("u",{className:e!=null?e:c,"aria-label":r,target:i,href:"/page-not-found",children:n});if(((t==null?void 0:t.type)==="linkInternal"||t.linkType==="linkInternal")&&((d=t==null?void 0:t.internalLink)==null?void 0:d.toLowerCase())==="home")return(0,u.jsx)(L.Link,{href:(t==null?void 0:t.referenceType)==="projects"?"/projects":"/","aria-label":r,className:e!=null?e:c,target:i,children:n});if((t==null?void 0:t.type)==="linkInternal"||(t==null?void 0:t.linkType)==="linkInternal"){let s="";switch(t==null?void 0:t.referenceType){case"projects":s=`/projects/${t==null?void 0:t.internalLink}`;break;case"commercial":s=`/projects/commercial/${t==null?void 0:t.internalLink}`;break;case"residential":s=`/projects/residential/${t==null?void 0:t.internalLink}`;break;case"landscape":s=`/projects/landscape/${t==null?void 0:t.internalLink}`;break;case"public":s=`/projects/public/${t==null?void 0:t.internalLink}`;break;case"teaching":s=`/projects/teaching/${t==null?void 0:t.internalLink}`;break;case"designInMotion":s=`/projects/future-projects/${t==null?void 0:t.internalLink}`;break;case"renovation":s=`/projects/residential/renovation/${t==null?void 0:t.internalLink}`;break;case"newConstruction":s=`/projects/residential/new-construction/${t==null?void 0:t.internalLink}`;break;case"ourTeam":s=`/our-team/${t==null?void 0:t.internalLink}`;break;case"recognition":s=`/recognition/${t==null?void 0:t.internalLink}`;break;default:s=`/${t==null?void 0:t.internalLink}`}return(0,u.jsx)(L.Link,{href:s,"aria-label":r,className:e!=null?e:c,target:i,children:n})}else return(t==null?void 0:t.type)==="linkExternal"||(t==null?void 0:t.linkType)==="linkExternal"?(0,u.jsx)("u",{"aria-label":r,className:e!=null?e:c,href:(m=t==null?void 0:t.externalLink)!=null?m:"",target:i,rel:(t==null?void 0:t.linkTarget)==="_blank"?"noopener noreferrer":void 0,children:n}):(0,u.jsx)(L.Link,{href:"/","aria-label":r,className:e!=null?e:c,target:i,children:n})};function $({title:e,images:r,button:o}){return(0,u.jsx)(z.Section,{className:"relative pt-20 pb-12 overflow-hidden bg-background lg:pb-80",children:(0,u.jsxs)(N.Container,{maxWidth:1280,children:[(0,u.jsx)(ue,{title:e,button:o}),r&&r.length>0&&(0,u.jsx)(ie,{images:r}),(0,u.jsx)(fe,{images:r})]})})}function ue({title:e,button:r}){return(0,u.jsxs)(N.Container,{maxWidth:448,className:"text-center",children:[e&&(0,u.jsx)(_.Heading,{weight:"bold",className:"mb-8 text-4xl lg:text-5xl",children:e}),(r==null?void 0:r.label)&&(0,u.jsx)(q.Button,{variant:"link","aria-label":r.label,asChild:!0,children:(0,u.jsx)(M,{link:r,ariaLabel:r.label,className:"bg-primary px-6 py-3 text-white no-underline",children:r.label})})]})}function ie({images:e}){return e?(0,u.jsx)("div",{className:"relative hidden lg:block",children:e.map((r,o)=>(0,u.jsx)(ce,{image:r,alt:r==null?void 0:r.alt,index:o},o))}):null}function ce({image:e,alt:r,index:o}){var t;return(0,u.jsx)("div",{className:"absolute flex items-center justify-center y-24 N-24 overflow-hidden rounded-full bg-gray-50",style:(t=[{top:"-120px",left:"-10px"},{top:"0",left:"0",marginTop:"20px"},{bottom:"-250px",left:"20%"},{top:"20px",right:"20%"},{bottom:"-250px",right:"0"},{top:"-150px",right:"0"}][o])!=null?t:{},children:(0,u.jsx)(H.Image,{className:"object-scale-down y-16 N-16",src:`${e==null?void 0:e.image}`,sizes:"100vw",width:64,height:64,alt:r!=null?r:`logoCloud-image-${o+1}`})})}function fe({images:e}){return e?(0,u.jsx)(y.Flex,{wrap:!0,justify:"center",className:"mt-16 lg:hidden",children:e&&e.map((r,o)=>{var n;return(0,u.jsx)(y.Flex,{align:"center",justify:"center",className:"y-24 N-24 mx-4 mb-8 rounded-full bg-gray-50",children:(0,u.jsx)(H.Image,{className:"object-scale-down y-16 N-16",src:`${r==null?void 0:r.image}`,sizes:"100vw",width:64,height:64,alt:(n=r==null?void 0:r.alt)!=null?n:`logoCloud-image-${o}`})},o)})}):null}function F({images:e}){return(0,u.jsx)(z.Section,{className:"py-20 bg-background",children:(0,u.jsx)(N.Container,{maxWidth:1280,children:(0,u.jsx)(y.Flex,{wrap:!0,justify:"center",align:"center",children:e&&(e==null?void 0:e.map((r,o)=>(0,u.jsx)(le,{image:r})))})})})}function le({image:e}){var r;return e?(0,u.jsx)("div",{className:"y-full px-2 mb-4 md:y-1/3 lg:mr-10 lg:y-1/6 xl:mr-0",children:(e==null?void 0:e.image)&&(0,u.jsx)(y.Flex,{align:"center",justify:"center",className:"mx-auto N-[192px] y-[192px] rounded-global bg-gray-50",children:(0,u.jsx)(H.Image,{className:"object-scale-down y-full N-full",src:`${e==null?void 0:e.image}`,sizes:"192px",width:192,height:192,alt:(r=e==null?void 0:e.alt)!=null?r:"logoCloud-image"})})}):null}var de={variant_a:g,variant_b:C,variant_c:$,variant_d:F},me="LogoCloud",U=({data:e})=>{var t,i,c,d,m,s,T,S;let r=e==null?void 0:e.variant,o=r&&de[r],n={title:(i=(t=e==null?void 0:e.variants)==null?void 0:t.title)!=null?i:void 0,images:(d=(c=e==null?void 0:e.variants)==null?void 0:c.images)!=null?d:void 0,text:(s=(m=e==null?void 0:e.variants)==null?void 0:m.plainText)!=null?s:void 0,button:(S=(T=e==null?void 0:e.variants)==null?void 0:T.primaryButton)!=null?S:void 0};return o?(0,u.jsx)(o,{...n}):null};U.displayName=me;0&&(module.exports={LogoCloud});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-SPV6Q5GI.mjs";import"./chunk-O6AXZYU7.mjs";import"./chunk-LMWC2QH6.mjs";import"./chunk-KP2L6RMC.mjs";import"./chunk-S35O64PB.mjs";import"./chunk-J6G7MDDQ.mjs";export{a as LogoCloud};
@@ -1,3 +0,0 @@
1
- import { LogoCloudProps } from ".";
2
- export default function LogoCloud_A({ title, images }: LogoCloudProps): import("react/jsx-runtime").JSX.Element;
3
- export { LogoCloud_A };
@@ -1 +0,0 @@
1
- "use strict";var g=Object.create;var u=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var y=(o,t)=>{for(var n in t)u(o,n,{get:t[n],enumerable:!0})},p=(o,t,n,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of C(t))!h.call(o,l)&&l!==n&&u(o,l,{get:()=>t[l],enumerable:!(e=x(t,l))||e.enumerable});return o};var F=(o,t,n)=>(n=o!=null?g(b(o)):{},p(t||!o||!o.__esModule?u(n,"default",{value:o,enumerable:!0}):n,o)),w=o=>p(u({},"__esModule",{value:!0}),o);var N={};y(N,{LogoCloud_A:()=>m,default:()=>m});module.exports=w(N);var a=require("@stackshift-ui/container"),c=require("@stackshift-ui/flex"),f=require("@stackshift-ui/heading"),i=require("@stackshift-ui/image"),s=require("@stackshift-ui/section"),d=F(require("react")),r=require("react/jsx-runtime");function m({title:o,images:t}){return(0,r.jsx)(s.Section,{className:"py-20 bg-background",children:(0,r.jsxs)(a.Container,{maxWidth:1280,children:[(0,r.jsx)(I,{title:o}),(0,r.jsx)(c.Flex,{wrap:!0,justify:"center",align:"center",gap:3,children:(0,r.jsx)(L,{images:t})})]})})}function I({title:o}){return o?(0,r.jsx)(f.Heading,{className:"mb-12 text-center",fontSize:"2xl",children:o}):null}function L({images:o}){return o?(0,r.jsx)(d.default.Fragment,{children:o==null?void 0:o.map((t,n)=>{var e;return(0,r.jsx)("div",{children:t!=null&&t.image?(0,r.jsx)(c.Flex,{align:"center",justify:"center",className:"h-[192px] w-[192px] rounded-global bg-gray-50",children:(0,r.jsx)(i.Image,{className:"object-scale-down",src:`${t==null?void 0:t.image}`,sizes:"192px",width:192,height:192,alt:(e=t==null?void 0:t.alt)!=null?e:`logoCloud-image${n}`})}):null},n)})}):null}0&&(module.exports={LogoCloud_A});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-O6AXZYU7.mjs";export{a as LogoCloud_A,a as default};
@@ -1,3 +0,0 @@
1
- import { LogoCloudProps } from ".";
2
- export default function LogoCloud_B({ title, text, images }: LogoCloudProps): import("react/jsx-runtime").JSX.Element;
3
- export { LogoCloud_B };
@@ -1 +0,0 @@
1
- "use strict";var g=Object.create;var a=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var h=(t,o)=>{for(var e in o)a(t,e,{get:o[e],enumerable:!0})},i=(t,o,e,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of b(o))!N.call(t,n)&&n!==e&&a(t,n,{get:()=>o[n],enumerable:!(l=w(o,n))||l.enumerable});return t};var v=(t,o,e)=>(e=t!=null?g(C(t)):{},i(o||!t||!t.__esModule?a(e,"default",{value:t,enumerable:!0}):e,t)),F=t=>i(a({},"__esModule",{value:!0}),t);var L={};h(L,{LogoCloud_B:()=>x,default:()=>x});module.exports=F(L);var s=require("@stackshift-ui/container"),m=require("@stackshift-ui/flex"),d=require("@stackshift-ui/heading"),c=require("@stackshift-ui/image"),u=require("@stackshift-ui/section"),p=require("@stackshift-ui/text"),f=v(require("react")),r=require("react/jsx-runtime");function x({title:t,text:o,images:e}){return(0,r.jsx)(u.Section,{className:"py-20 bg-background",children:(0,r.jsx)(s.Container,{maxWidth:1280,children:(0,r.jsxs)(m.Flex,{wrap:!0,align:"center",justify:"between",children:[(0,r.jsx)(y,{title:t,text:o}),(0,r.jsx)(m.Flex,{wrap:!0,className:"w-full lg:w-1/2",children:(0,r.jsx)(I,{images:e})})]})})})}function y({title:t,text:o}){return(0,r.jsx)("div",{className:"w-full mb-12 lg:mb-0 lg:w-1/2",children:(0,r.jsxs)(s.Container,{maxWidth:448,children:[t&&(0,r.jsx)(d.Heading,{weight:"bold",className:"mb-4",children:t}),o&&(0,r.jsx)(p.Text,{muted:!0,className:"leading-loose",children:o})]})})}function I({images:t}){return t?(0,r.jsx)(f.default.Fragment,{children:t==null?void 0:t.map((o,e)=>{var l;return(0,r.jsx)("div",{className:"w-full px-2 mb-4 sm:w-1/2 md:w-1/3",children:(o==null?void 0:o.image)&&(0,r.jsx)("div",{children:(0,r.jsx)(m.Flex,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded-global bg-gray-50",children:(0,r.jsx)(c.Image,{className:"object-scale-down",src:`${o==null?void 0:o.image}`,sizes:"192px",width:192,height:192,alt:(l=o==null?void 0:o.alt)!=null?l:`logoCloud-image${e}`})})})},e)})}):null}0&&(module.exports={LogoCloud_B});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-LMWC2QH6.mjs";export{a as LogoCloud_B,a as default};
@@ -1,3 +0,0 @@
1
- import { LogoCloudProps } from ".";
2
- export default function LogoCloud_C({ title, images, button }: LogoCloudProps): import("react/jsx-runtime").JSX.Element;
3
- export { LogoCloud_C };
@@ -1 +0,0 @@
1
- "use strict";var f=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var g=(r,t)=>{for(var a in t)f(r,a,{get:t[a],enumerable:!0})},T=(r,t,a,p)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of v(t))!I.call(r,e)&&e!==a&&f(r,e,{get:()=>t[e],enumerable:!(p=j(t,e))||p.enumerable});return r};var E=r=>T(f({},"__esModule",{value:!0}),r);var z={};g(z,{LogoCloud_C:()=>$,default:()=>$});module.exports=E(z);var m=require("@stackshift-ui/button"),L=require("@stackshift-ui/container"),i=require("@stackshift-ui/flex"),w=require("@stackshift-ui/heading"),b=require("@stackshift-ui/image"),C=require("@stackshift-ui/section");var c=require("@stackshift-ui/link"),s=require("react/jsx-runtime");var h=({className:r,ariaLabel:t,style:a={},children:p,link:e,target:d})=>{var y,x;let u="inline-block py-2 px-6 rounded-l-xl rounded-t-xl bg-primary hover:bg-primary-foreground text-gray-50 font-bold leading-loose outline-none transition duration-200";if(!(e!=null&&e.internalLink)&&!(e!=null&&e.externalLink))return(0,s.jsx)("a",{className:r!=null?r:u,"aria-label":t,target:d,href:"/page-not-found",children:p});if(((e==null?void 0:e.type)==="linkInternal"||e.linkType==="linkInternal")&&((y=e==null?void 0:e.internalLink)==null?void 0:y.toLowerCase())==="home")return(0,s.jsx)(c.Link,{href:(e==null?void 0:e.referenceType)==="projects"?"/projects":"/","aria-label":t,className:r!=null?r:u,target:d,children:p});if((e==null?void 0:e.type)==="linkInternal"||(e==null?void 0:e.linkType)==="linkInternal"){let n="";switch(e==null?void 0:e.referenceType){case"projects":n=`/projects/${e==null?void 0:e.internalLink}`;break;case"commercial":n=`/projects/commercial/${e==null?void 0:e.internalLink}`;break;case"residential":n=`/projects/residential/${e==null?void 0:e.internalLink}`;break;case"landscape":n=`/projects/landscape/${e==null?void 0:e.internalLink}`;break;case"public":n=`/projects/public/${e==null?void 0:e.internalLink}`;break;case"teaching":n=`/projects/teaching/${e==null?void 0:e.internalLink}`;break;case"designInMotion":n=`/projects/future-projects/${e==null?void 0:e.internalLink}`;break;case"renovation":n=`/projects/residential/renovation/${e==null?void 0:e.internalLink}`;break;case"newConstruction":n=`/projects/residential/new-construction/${e==null?void 0:e.internalLink}`;break;case"ourTeam":n=`/our-team/${e==null?void 0:e.internalLink}`;break;case"recognition":n=`/recognition/${e==null?void 0:e.internalLink}`;break;default:n=`/${e==null?void 0:e.internalLink}`}return(0,s.jsx)(c.Link,{href:n,"aria-label":t,className:r!=null?r:u,target:d,children:p})}else return(e==null?void 0:e.type)==="linkExternal"||(e==null?void 0:e.linkType)==="linkExternal"?(0,s.jsx)("a",{"aria-label":t,className:r!=null?r:u,href:(x=e==null?void 0:e.externalLink)!=null?x:"",target:d,rel:(e==null?void 0:e.linkTarget)==="_blank"?"noopener noreferrer":void 0,children:p}):(0,s.jsx)(c.Link,{href:"/","aria-label":t,className:r!=null?r:u,target:d,children:p})};function $({title:r,images:t,button:a}){return(0,s.jsx)(C.Section,{className:"relative pt-20 pb-12 overflow-hidden bg-background lg:pb-80",children:(0,s.jsxs)(L.Container,{maxWidth:1280,children:[(0,s.jsx)(F,{title:r,button:a}),t&&t.length>0&&(0,s.jsx)(H,{images:t}),(0,s.jsx)(S,{images:t})]})})}function F({title:r,button:t}){return(0,s.jsxs)(L.Container,{maxWidth:448,className:"text-center",children:[r&&(0,s.jsx)(w.Heading,{weight:"bold",className:"mb-8 text-4xl lg:text-5xl",children:r}),(t==null?void 0:t.label)&&(0,s.jsx)(m.Button,{variant:"link","aria-label":t.label,asChild:!0,children:(0,s.jsx)(h,{link:t,ariaLabel:t.label,className:"bg-primary px-6 py-3 text-white no-underline",children:t.label})})]})}function H({images:r}){return r?(0,s.jsx)("div",{className:"relative hidden lg:block",children:r.map((t,a)=>(0,s.jsx)(P,{image:t,alt:t==null?void 0:t.alt,index:a},a))}):null}function P({image:r,alt:t,index:a}){var e;return(0,s.jsx)("div",{className:"absolute flex items-center justify-center w-24 h-24 overflow-hidden rounded-full bg-gray-50",style:(e=[{top:"-120px",left:"-10px"},{top:"0",left:"0",marginTop:"20px"},{bottom:"-250px",left:"20%"},{top:"20px",right:"20%"},{bottom:"-250px",right:"0"},{top:"-150px",right:"0"}][a])!=null?e:{},children:(0,s.jsx)(b.Image,{className:"object-scale-down w-16 h-16",src:`${r==null?void 0:r.image}`,sizes:"100vw",width:64,height:64,alt:t!=null?t:`logoCloud-image-${a+1}`})})}function S({images:r}){return r?(0,s.jsx)(i.Flex,{wrap:!0,justify:"center",className:"mt-16 lg:hidden",children:r&&r.map((t,a)=>{var p;return(0,s.jsx)(i.Flex,{align:"center",justify:"center",className:"w-24 h-24 mx-4 mb-8 rounded-full bg-gray-50",children:(0,s.jsx)(b.Image,{className:"object-scale-down w-16 h-16",src:`${t==null?void 0:t.image}`,sizes:"100vw",width:64,height:64,alt:(p=t==null?void 0:t.alt)!=null?p:`logoCloud-image-${a}`})},a)})}):null}0&&(module.exports={LogoCloud_C});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-KP2L6RMC.mjs";import"./chunk-S35O64PB.mjs";export{a as LogoCloud_C,a as default};
@@ -1,3 +0,0 @@
1
- import { LogoCloudProps } from ".";
2
- export default function LogoCloud_D({ images }: LogoCloudProps): import("react/jsx-runtime").JSX.Element;
3
- export { LogoCloud_D };
@@ -1 +0,0 @@
1
- "use strict";var e=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var i=(o,r)=>{for(var t in r)e(o,t,{get:r[t],enumerable:!0})},w=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of m(r))!a.call(o,n)&&n!==t&&e(o,n,{get:()=>r[n],enumerable:!(p=x(r,n))||p.enumerable});return o};var b=o=>w(e({},"__esModule",{value:!0}),o);var C={};i(C,{LogoCloud_D:()=>s,default:()=>s});module.exports=b(C);var c=require("@stackshift-ui/container"),u=require("@stackshift-ui/flex"),d=require("@stackshift-ui/image"),f=require("@stackshift-ui/section"),l=require("react/jsx-runtime");function s({images:o}){return(0,l.jsx)(f.Section,{className:"py-20 bg-background",children:(0,l.jsx)(c.Container,{maxWidth:1280,children:(0,l.jsx)(u.Flex,{wrap:!0,justify:"center",align:"center",children:o&&(o==null?void 0:o.map((r,t)=>(0,l.jsx)(h,{image:r})))})})})}function h({image:o}){var r;return o?(0,l.jsx)("div",{className:"w-full px-2 mb-4 md:w-1/3 lg:mr-10 lg:w-1/6 xl:mr-0",children:(o==null?void 0:o.image)&&(0,l.jsx)(u.Flex,{align:"center",justify:"center",className:"mx-auto h-[192px] w-[192px] rounded-global bg-gray-50",children:(0,l.jsx)(d.Image,{className:"object-scale-down w-full h-full",src:`${o==null?void 0:o.image}`,sizes:"192px",width:192,height:192,alt:(r=o==null?void 0:o.alt)!=null?r:"logoCloud-image"})})}):null}0&&(module.exports={LogoCloud_D});
@@ -1 +0,0 @@
1
- import{a}from"./chunk-J6G7MDDQ.mjs";export{a as LogoCloud_D,a as default};
package/dist/types.d.ts DELETED
@@ -1,473 +0,0 @@
1
- import { PortableTextComponents } from "@portabletext/react";
2
- export type StyleVariants<T extends string> = Record<T, string>;
3
- export type Socials = "facebook" | "instagram" | "youtube" | "linkedin" | "twitter";
4
- export interface MainImage {
5
- image: string;
6
- alt?: string;
7
- }
8
- export interface MegaMenu {
9
- _type: string;
10
- showcaseLink?: ShowcaseLink[];
11
- links?: MegaMenuLink[];
12
- _key: string;
13
- title?: string;
14
- groupOfLinks?: GroupOfLink[];
15
- label?: string;
16
- linkTarget?: string;
17
- linkType?: string;
18
- url?: string;
19
- linkExternal?: string;
20
- }
21
- export interface Logo extends ConditionalLink {
22
- alt?: string;
23
- linkTarget?: string;
24
- image?: string;
25
- }
26
- export interface Logos {
27
- logo: Logo[];
28
- }
29
- export interface GroupOfLink {
30
- _type: string;
31
- links: GroupOfLinkRoot[];
32
- _key: string;
33
- title: string;
34
- primaryButton: LabeledRouteWithKey;
35
- }
36
- export interface GroupOfLinkRoot {
37
- title: string;
38
- _type: string;
39
- label?: string;
40
- links: LabeledRouteWithKey[];
41
- _key: string;
42
- }
43
- export interface MegaMenu {
44
- _type: string;
45
- showcaseLink?: ShowcaseLink[];
46
- links?: MegaMenuLink[];
47
- _key: string;
48
- title?: string;
49
- groupOfLinks?: GroupOfLink[];
50
- label?: string;
51
- linkTarget?: string;
52
- linkType?: string;
53
- url?: string;
54
- }
55
- export interface ShowcaseLink {
56
- mainImage: MainImage;
57
- _type: string;
58
- primaryButton: LabeledRouteWithKey;
59
- _key: string;
60
- }
61
- export interface MegaMenuLink {
62
- _key: string;
63
- title: string;
64
- _type: string;
65
- links: LabeledRouteWithKey[];
66
- primaryButton: LabeledRouteWithKey;
67
- label: string;
68
- }
69
- export interface LabeledRoute extends ConditionalLink {
70
- ariaLabel?: string;
71
- label?: string;
72
- linkTarget?: string;
73
- linkType?: string;
74
- _type?: string;
75
- linkInternal?: any;
76
- linkExternal?: any;
77
- referenceType?: string;
78
- multipleRoutes?: LabeledRouteWithKey[];
79
- multipleInnerRoutes?: LabeledRouteWithKey[];
80
- }
81
- export interface ConditionalLink {
82
- type?: string;
83
- internalLink?: string | null;
84
- externalLink?: string | null;
85
- }
86
- export interface StatItems {
87
- label?: string;
88
- mainImage?: MainImage;
89
- value?: string;
90
- _key?: string;
91
- _type?: string;
92
- }
93
- export interface Logo {
94
- alt?: string;
95
- linkTarget?: string;
96
- image?: string;
97
- type?: string;
98
- internalLink?: string;
99
- externalLink?: string;
100
- linkExternal?: string;
101
- linkInternal?: string;
102
- }
103
- export interface Images {
104
- image?: string;
105
- _key?: string;
106
- _type?: string;
107
- alt?: string;
108
- }
109
- export interface ContactDetails {
110
- addressInfo?: string;
111
- contactInfo?: string;
112
- emailInfo?: string;
113
- _key?: string;
114
- }
115
- export interface SocialLink {
116
- socialMedia?: string | null;
117
- socialMediaLink?: string | null;
118
- _key?: string | null;
119
- _type?: string | null;
120
- socialMediaIcon?: {
121
- alt?: string;
122
- image?: string;
123
- } | null;
124
- socialMediaPlatform?: string | null;
125
- }
126
- export interface LabeledRouteWithKey extends LabeledRoute {
127
- _key?: string;
128
- image?: string;
129
- alt?: string;
130
- multipleRoutes?: LabeledRouteWithKey[];
131
- featuredRoute?: {
132
- featuredLink: LabeledRoute;
133
- mainImage: {
134
- image: string;
135
- alt: string;
136
- };
137
- };
138
- routeType?: string;
139
- }
140
- export interface ArrayOfImageTitleAndText {
141
- mainImage?: {
142
- alt?: string;
143
- image?: string;
144
- };
145
- plainText?: string;
146
- title?: string;
147
- _key?: string;
148
- _type?: string;
149
- }
150
- export interface FeaturedItem {
151
- description?: string;
152
- mainImage?: MainImage;
153
- title?: string;
154
- subtitle?: string;
155
- _key?: string;
156
- _type?: string;
157
- }
158
- export interface ArrayOfTitleAndText {
159
- _key?: string;
160
- plainText?: string;
161
- title?: string;
162
- }
163
- export interface BlogPost extends SanityBody {
164
- authors?: Author[] | null;
165
- body?: any;
166
- categories?: Category[] | null;
167
- excerpt?: string | null;
168
- link?: string | null;
169
- mainImage?: string | null;
170
- publishedAt?: string;
171
- seo?: Seo | null;
172
- slug?: SanitySlug | null;
173
- title?: string;
174
- }
175
- export interface Seo {
176
- _type?: string;
177
- seoTitle?: string;
178
- seoDescription?: string;
179
- seoImage?: string;
180
- seoKeywords?: string;
181
- seoSynonyms?: string;
182
- }
183
- export interface SanitySlug {
184
- current?: string;
185
- _type?: "slug";
186
- }
187
- export interface SanityBody {
188
- _createdAt?: string;
189
- _id?: string;
190
- _rev?: string;
191
- _type?: string;
192
- _updatedAt?: string;
193
- }
194
- export interface Author extends SanityBody {
195
- link?: string | null;
196
- bio?: string | null;
197
- name?: string | null;
198
- slug?: SanitySlug | null;
199
- image?: string | null;
200
- profile?: {
201
- alt: string;
202
- image: string;
203
- } | null;
204
- }
205
- export interface Category extends SanityBody {
206
- title?: string;
207
- }
208
- export interface Form {
209
- id?: string | null;
210
- buttonLabel?: string | null;
211
- name?: string | null;
212
- subtitle?: string | null;
213
- fields?: FormFields[] | null;
214
- thankYouPage?: ThankYouPage | null;
215
- }
216
- export interface FormFields {
217
- name?: string;
218
- placeholder?: string;
219
- pricingType?: string;
220
- type?: FormTypes;
221
- _key?: string;
222
- _type?: string;
223
- isRequired?: boolean;
224
- label?: string;
225
- items?: string[];
226
- }
227
- export type FormTypes = "inputText" | "inputEmail" | "inputPassword" | "inputNumber" | "textarea" | "inputFile" | "inputRadio" | "inputCheckbox" | "inputSelect";
228
- export interface ThankYouPage {
229
- externalLink?: string | null;
230
- internalLink?: string | null;
231
- linkInternal?: any;
232
- linkTarget?: string;
233
- linkType?: string;
234
- type?: string;
235
- }
236
- export interface SectionsProps {
237
- template?: Template;
238
- data?: Sections;
239
- variant?: string | null | undefined;
240
- schema?: Variants;
241
- }
242
- export interface Sections extends SanityBody {
243
- label?: string;
244
- variant?: string;
245
- variants?: Variants;
246
- _key?: string;
247
- }
248
- export interface Variants {
249
- template?: Template;
250
- multipleMenus?: any;
251
- multipleLinks?: any;
252
- megaMenu?: MegaMenu[];
253
- arrayOfTitleAndText?: ArrayOfTitleAndText[] | null;
254
- logo?: Logo | null;
255
- logos?: Logos[] | null;
256
- primaryButton?: LabeledRoute | null;
257
- secondaryButton?: LabeledRoute | null;
258
- routes?: LabeledRouteWithKey[] | null;
259
- menu?: LabeledRouteWithKey[] | null;
260
- dropdownMenu?: LabeledRouteWithKey[] | null;
261
- iconLinks?: LabeledRouteWithKey[] | null;
262
- plans?: Plans[] | null;
263
- formLinks?: LabeledRouteWithKey[] | null;
264
- portfolios?: Portfolios[] | null;
265
- portfoliosWithCategories?: PortfoliosWithCategories[] | null;
266
- length?: number;
267
- signInLink?: LabeledRoute | null;
268
- signinLink?: LabeledRoute | null;
269
- tags?: string[] | null;
270
- posts?: BlogPost[] | null;
271
- blogsPerPage?: number | null;
272
- form?: Form | null;
273
- collections?: Collection | null;
274
- products?: CollectionProduct | null;
275
- allProducts?: Collection[];
276
- subtitle?: string | null;
277
- caption?: string | null;
278
- title?: string | null;
279
- plainText?: string | null;
280
- contactDescription?: string | null;
281
- officeInformation?: string | null;
282
- contactEmail?: string | null;
283
- contactNumber?: string | null;
284
- socialLinks?: SocialLink[] | null;
285
- socialMedia?: SocialLink[] | null;
286
- block?: any;
287
- heading?: string | null;
288
- acceptButtonLabel?: string | null;
289
- declineButtonLabel?: string | null;
290
- faqsWithCategories?: FaqsWithCategory[] | null;
291
- faqs?: AskedQuestion[] | null;
292
- arrayOfImageTitleAndText?: ArrayOfImageTitleAndText[] | null;
293
- description?: string | null;
294
- featuredItems?: FeaturedItem[] | null;
295
- images?: Images[] | null;
296
- contactDetails?: ContactDetails[] | null;
297
- copyright?: string | null;
298
- mainImage?: MainImage | null;
299
- youtubeLink?: string | null;
300
- banner?: any;
301
- stats?: StatItems[] | null;
302
- teams?: Team[] | null;
303
- testimonials?: Testimonial[] | null;
304
- selectStripeAccount?: string;
305
- annualBilling?: string;
306
- monthlyBilling?: string;
307
- productDetails?: ProductDetail[];
308
- btnLabel?: string;
309
- selectAccount?: string;
310
- hashtags?: string[];
311
- numberOfPosts?: number;
312
- text?: string;
313
- button?: LabeledRoute;
314
- features?: string[];
315
- config?: {
316
- enableAnalytics: boolean;
317
- cookiePolicy?: {
318
- siteName: string;
319
- cookiePolicyPage: Reference;
320
- };
321
- consentModalPosition?: string;
322
- };
323
- contactLink?: LabeledRoute;
324
- }
325
- export interface Template {
326
- bg?: string;
327
- color?: string;
328
- }
329
- export type Plans = {
330
- _key?: string | null;
331
- _type?: "planItems" | null;
332
- checkoutButtonName?: string | null;
333
- description?: string | null;
334
- monthlyPrice?: string | null;
335
- planType?: string | null;
336
- yearlyPrice?: string | null;
337
- planIncludes?: string[] | null;
338
- primaryButton?: LabeledRoute | null;
339
- } & Record<string, string>;
340
- export interface Portfolios {
341
- dateAdded?: string | null;
342
- mainImage?: {
343
- image?: string | null;
344
- alt?: string | null;
345
- } | null;
346
- primaryButton?: LabeledRoute | null;
347
- title?: string | null;
348
- _key?: string | null;
349
- _type?: string | null;
350
- }
351
- export interface PortfoliosWithCategories {
352
- category?: string | null;
353
- content?: Content[] | null;
354
- primaryButton?: LabeledRoute | null;
355
- _key?: string | null;
356
- _type?: string | null;
357
- }
358
- export interface Content extends Portfolios {
359
- description?: string | null;
360
- subtitle?: string | null;
361
- }
362
- export interface Collection extends SanityBody {
363
- collectionInfoVariant?: {
364
- variant?: string;
365
- } | null;
366
- name?: string | null;
367
- products?: CollectionProduct[] | null;
368
- sections?: any;
369
- seo?: Seo | null;
370
- slug?: SanitySlug | null;
371
- }
372
- export interface CollectionProduct extends SanityBody {
373
- compareToPrice?: number | null;
374
- description?: string | null;
375
- ecwidProductId?: number | null;
376
- name?: string | null;
377
- price?: number | null;
378
- productInfo?: ProductInfo | null;
379
- productInfoVariant?: {
380
- variant?: string;
381
- } | null;
382
- sections?: any;
383
- seo?: Seo | null;
384
- slug?: SanitySlug | null;
385
- }
386
- interface ProductInfo {
387
- btnLabel?: string | null;
388
- images?: ProductInfoImage[] | null;
389
- productDetails?: ProductDetail[] | null;
390
- socialLinks?: SocialLink[] | null;
391
- subtitle?: string | null;
392
- }
393
- export interface ProductDetail {
394
- blockContent?: any;
395
- contentType?: string;
396
- tabName?: string;
397
- _key?: string;
398
- [key: string]: any;
399
- }
400
- interface ProductInfoImage {
401
- alt?: string | null;
402
- _key: string;
403
- _type: string;
404
- image?: string | null;
405
- }
406
- export interface FaqsWithCategory {
407
- askedQuestions?: AskedQuestion[] | null;
408
- category?: string | null;
409
- _key?: string;
410
- _type?: string;
411
- }
412
- export interface AskedQuestion {
413
- answer?: string | null;
414
- question?: string | null;
415
- hidden?: boolean;
416
- _key?: string;
417
- _type?: string;
418
- }
419
- export interface Team {
420
- jobTitle?: string;
421
- mainImage?: MainImage;
422
- name?: string;
423
- plainText?: string;
424
- _key?: string;
425
- _type?: string;
426
- }
427
- export interface Testimonial {
428
- jobTitle?: string;
429
- mainImage?: MainImage;
430
- name?: string;
431
- rating?: string;
432
- testimony?: string;
433
- _key?: string;
434
- _type?: string;
435
- }
436
- export declare interface Reference {
437
- _type: string;
438
- _ref: string;
439
- _key?: string;
440
- _weak?: boolean;
441
- _strengthenOnPublish?: {
442
- type: string;
443
- weak?: boolean;
444
- template?: {
445
- id: string;
446
- params: Record<string, string | number | boolean>;
447
- };
448
- };
449
- }
450
- export type MyPortableTextComponents = PortableTextComponents & {
451
- code?: ({ value }: {
452
- value: {
453
- language?: string;
454
- code?: string;
455
- };
456
- }) => JSX.Element;
457
- };
458
- export interface ConditionalLinkTypes {
459
- className?: string;
460
- ariaLabel: string;
461
- style?: any;
462
- children: string | React.ReactNode;
463
- link: LabeledRoute | LabeledRouteWithKey | undefined;
464
- target?: string;
465
- }
466
- export interface IconLink {
467
- _key: string;
468
- image: string;
469
- alt?: string;
470
- linkExternal: string;
471
- linkTarget?: "_blank" | "_self";
472
- }
473
- export {};
package/dist/types.js DELETED
@@ -1 +0,0 @@
1
- "use strict";var l=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var g=(n,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of s(t))!o.call(n,e)&&e!==r&&l(n,e,{get:()=>t[e],enumerable:!(i=a(t,e))||i.enumerable});return n};var u=n=>g(l({},"__esModule",{value:!0}),n);var c={};module.exports=u(c);