@sociallane/elements 1.0.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/.prettierignore +5 -0
- package/.prettierrc.json +8 -0
- package/.vite-dev +0 -0
- package/README.md +47 -0
- package/admin/js/widget-browser.js +124 -0
- package/admin/views/onboarding.php +62 -0
- package/admin/views/partials/category-tabs.php +39 -0
- package/admin/views/partials/step-complete.php +48 -0
- package/admin/views/partials/step-requirements.php +52 -0
- package/admin/views/partials/step-widgets.php +63 -0
- package/admin/views/partials/widget-card.php +67 -0
- package/admin/views/partials/widget-toolbar.php +28 -0
- package/admin/views/preview-embed.php +78 -0
- package/admin/views/preview-frame.php +183 -0
- package/admin/views/preview-index.php +74 -0
- package/admin/views/settings.php +94 -0
- package/admin/views/setup-widget-catalog-frontend.php +189 -0
- package/admin/views/setup-widget-catalog.php +164 -0
- package/assets/css/lenis.css +18 -0
- package/assets/css/tailwind.css +740 -0
- package/assets/dist/.vite/manifest.json +13 -0
- package/assets/dist/animations-BySooxN8.js +37 -0
- package/assets/dist/tailwind-DzIAfumJ.css +1 -0
- package/assets/js/animations.js +113 -0
- package/assets/js/utilities/hover-reveal.js +88 -0
- package/assets/js/utilities/pin.js +31 -0
- package/assets/js/utilities/reveal.js +59 -0
- package/assets/js/utilities/split-text.js +93 -0
- package/assets/js/utilities/stagger.js +48 -0
- package/assets/previews/.gitkeep +2 -0
- package/assets/previews/README.md +65 -0
- package/assets/svgs/components/accordion.svg +9 -0
- package/assets/svgs/components/alert.svg +6 -0
- package/assets/svgs/components/avatar.svg +4 -0
- package/assets/svgs/components/badge.svg +4 -0
- package/assets/svgs/components/breadcrumbs.svg +7 -0
- package/assets/svgs/components/button.svg +4 -0
- package/assets/svgs/components/calendar.svg +10 -0
- package/assets/svgs/components/card.svg +5 -0
- package/assets/svgs/widgets/bento-grid.svg +8 -0
- package/assets/svgs/widgets/bento-portfolio.svg +8 -0
- package/assets/svgs/widgets/content-block.svg +4 -0
- package/assets/svgs/widgets/faq.svg +11 -0
- package/assets/svgs/widgets/feature-grid.svg +14 -0
- package/assets/svgs/widgets/feature-list-cta.svg +10 -0
- package/assets/svgs/widgets/footer.svg +7 -0
- package/assets/svgs/widgets/grid-posts.svg +11 -0
- package/assets/svgs/widgets/grid-team.svg +8 -0
- package/assets/svgs/widgets/hero.svg +7 -0
- package/assets/svgs/widgets/intro-text.svg +3 -0
- package/assets/svgs/widgets/logo-grid.svg +12 -0
- package/assets/svgs/widgets/navigation.svg +10 -0
- package/assets/svgs/widgets/newsletter.svg +6 -0
- package/assets/svgs/widgets/pricing-table.svg +9 -0
- package/assets/svgs/widgets/social-proof.svg +7 -0
- package/docs/cursor-global-rule.md +24 -0
- package/docs/install-new-instance.md +92 -0
- package/docs/npm-widget-cheatsheet.md +178 -0
- package/docs/package-installation.md +127 -0
- package/docs/widgets/blog-grid.md +31 -0
- package/docs/widgets/card-hover-reveal.md +27 -0
- package/docs/widgets/cta-banner.md +31 -0
- package/docs/widgets/cta-split.md +26 -0
- package/docs/widgets/faq.md +31 -0
- package/docs/widgets/feature-list.md +21 -0
- package/docs/widgets/footer-links-contact.md +24 -0
- package/elements/.gitkeep +0 -0
- package/elements/button/button.php +161 -0
- package/elements/button/templates/render.php +89 -0
- package/elements/cta-group/templates/render.php +61 -0
- package/elements/image/image.php +113 -0
- package/elements/image/templates/render.php +43 -0
- package/elements/section-header/templates/render.php +103 -0
- package/includes/button-presets.php +71 -0
- package/includes/class-admin-settings.php +134 -0
- package/includes/class-disable-reset-css.php +78 -0
- package/includes/class-gravity-forms-styles.php +78 -0
- package/includes/class-onboarding.php +214 -0
- package/includes/class-setup-widget-catalog.php +37 -0
- package/includes/class-widget-manager.php +605 -0
- package/includes/class-widget-preview.php +101 -0
- package/includes/footer-menu-columns.php +85 -0
- package/includes/widget-preview-defaults.php +660 -0
- package/package.json +38 -0
- package/packages/core/assets/css/lenis.css +18 -0
- package/packages/core/assets/css/tailwind.css +704 -0
- package/packages/core/assets/dist/.vite/manifest.json +13 -0
- package/packages/core/assets/dist/animations-BySooxN8.js +37 -0
- package/packages/core/assets/dist/tailwind-BE97TLZW.css +1 -0
- package/packages/core/assets/js/animations.js +113 -0
- package/packages/core/assets/js/utilities/hover-reveal.js +88 -0
- package/packages/core/assets/js/utilities/pin.js +31 -0
- package/packages/core/assets/js/utilities/reveal.js +56 -0
- package/packages/core/assets/js/utilities/split-text.js +74 -0
- package/packages/core/assets/js/utilities/stagger.js +46 -0
- package/packages/core/includes/class-plugin.php +75 -0
- package/packages/core/includes/class-vite-assets.php +357 -0
- package/packages/core/includes/class-widgets-loader.php +195 -0
- package/packages/core/includes/helpers.php +407 -0
- package/packages/core/includes/traits/trait-animation-controls.php +194 -0
- package/packages/core/includes/traits/trait-common-controls.php +239 -0
- package/packages/core/package.json +25 -0
- package/packages/core/vite.config.js +123 -0
- package/packages/widgets/bento-grid/bento-grid.php +761 -0
- package/packages/widgets/bento-grid/data/view.php +327 -0
- package/packages/widgets/bento-grid/package.json +12 -0
- package/packages/widgets/bento-grid/templates/partials/cell1.php +45 -0
- package/packages/widgets/bento-grid/templates/partials/cell2.php +52 -0
- package/packages/widgets/bento-grid/templates/partials/cell3.php +45 -0
- package/packages/widgets/bento-grid/templates/partials/cell4.php +44 -0
- package/packages/widgets/bento-grid/templates/partials/default-grid.php +31 -0
- package/packages/widgets/bento-grid/templates/partials/tcsr-row1-left.php +68 -0
- package/packages/widgets/bento-grid/templates/partials/tcsr-row1-right.php +65 -0
- package/packages/widgets/bento-grid/templates/partials/tcsr-row2-center.php +41 -0
- package/packages/widgets/bento-grid/templates/partials/tcsr-row2-left.php +38 -0
- package/packages/widgets/bento-grid/templates/partials/tcsr-row2-right.php +38 -0
- package/packages/widgets/bento-grid/templates/partials/two-column-second-row-grid.php +35 -0
- package/packages/widgets/bento-grid/templates/partials/two-row-deploys.php +47 -0
- package/packages/widgets/bento-grid/templates/partials/two-row-grid.php +34 -0
- package/packages/widgets/bento-grid/templates/partials/two-row-integrations.php +40 -0
- package/packages/widgets/bento-grid/templates/partials/two-row-overview.php +67 -0
- package/packages/widgets/bento-grid/templates/partials/two-row-releases.php +29 -0
- package/packages/widgets/bento-grid/templates/partials/two-row-security.php +44 -0
- package/packages/widgets/bento-grid/templates/wrapper.php +72 -0
- package/packages/widgets/bento-grid-4/bento-grid-4.php +524 -0
- package/packages/widgets/bento-grid-4/data/view.php +127 -0
- package/packages/widgets/bento-grid-4/package.json +12 -0
- package/packages/widgets/bento-grid-4/templates/partials/cell1.php +45 -0
- package/packages/widgets/bento-grid-4/templates/partials/cell2.php +52 -0
- package/packages/widgets/bento-grid-4/templates/partials/cell3.php +45 -0
- package/packages/widgets/bento-grid-4/templates/partials/cell4.php +44 -0
- package/packages/widgets/bento-grid-4/templates/partials/default-grid.php +31 -0
- package/packages/widgets/bento-grid-4/templates/partials/tcsr-row1-left.php +68 -0
- package/packages/widgets/bento-grid-4/templates/partials/tcsr-row1-right.php +65 -0
- package/packages/widgets/bento-grid-4/templates/partials/tcsr-row2-center.php +41 -0
- package/packages/widgets/bento-grid-4/templates/partials/tcsr-row2-left.php +38 -0
- package/packages/widgets/bento-grid-4/templates/partials/tcsr-row2-right.php +38 -0
- package/packages/widgets/bento-grid-4/templates/partials/two-column-second-row-grid.php +35 -0
- package/packages/widgets/bento-grid-4/templates/partials/two-row-deploys.php +47 -0
- package/packages/widgets/bento-grid-4/templates/partials/two-row-grid.php +34 -0
- package/packages/widgets/bento-grid-4/templates/partials/two-row-integrations.php +40 -0
- package/packages/widgets/bento-grid-4/templates/partials/two-row-overview.php +67 -0
- package/packages/widgets/bento-grid-4/templates/partials/two-row-releases.php +29 -0
- package/packages/widgets/bento-grid-4/templates/partials/two-row-security.php +44 -0
- package/packages/widgets/bento-grid-4/templates/wrapper.php +65 -0
- package/packages/widgets/bento-grid-5/bento-grid-5.php +219 -0
- package/packages/widgets/bento-grid-5/data/view.php +136 -0
- package/packages/widgets/bento-grid-5/package.json +12 -0
- package/packages/widgets/bento-grid-5/templates/partials/cell1.php +45 -0
- package/packages/widgets/bento-grid-5/templates/partials/cell2.php +52 -0
- package/packages/widgets/bento-grid-5/templates/partials/cell3.php +45 -0
- package/packages/widgets/bento-grid-5/templates/partials/cell4.php +44 -0
- package/packages/widgets/bento-grid-5/templates/partials/default-grid.php +31 -0
- package/packages/widgets/bento-grid-5/templates/partials/tcsr-row1-left.php +68 -0
- package/packages/widgets/bento-grid-5/templates/partials/tcsr-row1-right.php +65 -0
- package/packages/widgets/bento-grid-5/templates/partials/tcsr-row2-center.php +41 -0
- package/packages/widgets/bento-grid-5/templates/partials/tcsr-row2-left.php +38 -0
- package/packages/widgets/bento-grid-5/templates/partials/tcsr-row2-right.php +38 -0
- package/packages/widgets/bento-grid-5/templates/partials/two-column-second-row-grid.php +35 -0
- package/packages/widgets/bento-grid-5/templates/partials/two-row-deploys.php +47 -0
- package/packages/widgets/bento-grid-5/templates/partials/two-row-grid.php +34 -0
- package/packages/widgets/bento-grid-5/templates/partials/two-row-integrations.php +40 -0
- package/packages/widgets/bento-grid-5/templates/partials/two-row-overview.php +67 -0
- package/packages/widgets/bento-grid-5/templates/partials/two-row-releases.php +29 -0
- package/packages/widgets/bento-grid-5/templates/partials/two-row-security.php +44 -0
- package/packages/widgets/bento-grid-5/templates/wrapper.php +65 -0
- package/packages/widgets/bento-grid-6/bento-grid-6.php +223 -0
- package/packages/widgets/bento-grid-6/data/view.php +158 -0
- package/packages/widgets/bento-grid-6/package.json +12 -0
- package/packages/widgets/bento-grid-6/templates/partials/cell1.php +45 -0
- package/packages/widgets/bento-grid-6/templates/partials/cell2.php +52 -0
- package/packages/widgets/bento-grid-6/templates/partials/cell3.php +45 -0
- package/packages/widgets/bento-grid-6/templates/partials/cell4.php +44 -0
- package/packages/widgets/bento-grid-6/templates/partials/default-grid.php +31 -0
- package/packages/widgets/bento-grid-6/templates/partials/tcsr-row1-left.php +68 -0
- package/packages/widgets/bento-grid-6/templates/partials/tcsr-row1-right.php +65 -0
- package/packages/widgets/bento-grid-6/templates/partials/tcsr-row2-center.php +41 -0
- package/packages/widgets/bento-grid-6/templates/partials/tcsr-row2-left.php +38 -0
- package/packages/widgets/bento-grid-6/templates/partials/tcsr-row2-right.php +38 -0
- package/packages/widgets/bento-grid-6/templates/partials/two-column-second-row-grid.php +35 -0
- package/packages/widgets/bento-grid-6/templates/partials/two-row-deploys.php +47 -0
- package/packages/widgets/bento-grid-6/templates/partials/two-row-grid.php +34 -0
- package/packages/widgets/bento-grid-6/templates/partials/two-row-integrations.php +40 -0
- package/packages/widgets/bento-grid-6/templates/partials/two-row-overview.php +67 -0
- package/packages/widgets/bento-grid-6/templates/partials/two-row-releases.php +29 -0
- package/packages/widgets/bento-grid-6/templates/partials/two-row-security.php +44 -0
- package/packages/widgets/bento-grid-6/templates/wrapper.php +65 -0
- package/packages/widgets/bento-portfolio/bento-portfolio.php +399 -0
- package/packages/widgets/bento-portfolio/data/view.php +102 -0
- package/packages/widgets/bento-portfolio/package.json +12 -0
- package/packages/widgets/bento-portfolio/templates/partials/portfolio-card.php +84 -0
- package/packages/widgets/bento-portfolio/templates/partials/portfolio-default-grid.php +35 -0
- package/packages/widgets/bento-portfolio/templates/partials/portfolio-two-column-second-row-grid.php +39 -0
- package/packages/widgets/bento-portfolio/templates/partials/portfolio-two-row-grid.php +35 -0
- package/packages/widgets/bento-portfolio/templates/wrapper.php +88 -0
- package/packages/widgets/bento-portfolio-4/bento-portfolio-4.php +382 -0
- package/packages/widgets/bento-portfolio-4/data/view.php +91 -0
- package/packages/widgets/bento-portfolio-4/package.json +12 -0
- package/packages/widgets/bento-portfolio-4/templates/partials/portfolio-card.php +84 -0
- package/packages/widgets/bento-portfolio-4/templates/partials/portfolio-default-grid.php +35 -0
- package/packages/widgets/bento-portfolio-4/templates/partials/portfolio-two-column-second-row-grid.php +39 -0
- package/packages/widgets/bento-portfolio-4/templates/partials/portfolio-two-row-grid.php +35 -0
- package/packages/widgets/bento-portfolio-4/templates/wrapper.php +78 -0
- package/packages/widgets/bento-portfolio-5/bento-portfolio-5.php +382 -0
- package/packages/widgets/bento-portfolio-5/data/view.php +91 -0
- package/packages/widgets/bento-portfolio-5/package.json +12 -0
- package/packages/widgets/bento-portfolio-5/templates/partials/portfolio-card.php +84 -0
- package/packages/widgets/bento-portfolio-5/templates/partials/portfolio-default-grid.php +35 -0
- package/packages/widgets/bento-portfolio-5/templates/partials/portfolio-two-column-second-row-grid.php +39 -0
- package/packages/widgets/bento-portfolio-5/templates/partials/portfolio-two-row-grid.php +35 -0
- package/packages/widgets/bento-portfolio-5/templates/wrapper.php +78 -0
- package/packages/widgets/bento-portfolio-6/bento-portfolio-6.php +382 -0
- package/packages/widgets/bento-portfolio-6/data/view.php +91 -0
- package/packages/widgets/bento-portfolio-6/package.json +12 -0
- package/packages/widgets/bento-portfolio-6/templates/partials/portfolio-card.php +84 -0
- package/packages/widgets/bento-portfolio-6/templates/partials/portfolio-default-grid.php +35 -0
- package/packages/widgets/bento-portfolio-6/templates/partials/portfolio-two-column-second-row-grid.php +39 -0
- package/packages/widgets/bento-portfolio-6/templates/partials/portfolio-two-row-grid.php +35 -0
- package/packages/widgets/bento-portfolio-6/templates/wrapper.php +78 -0
- package/packages/widgets/blog-grid/blog-grid.php +359 -0
- package/packages/widgets/blog-grid/data/view.php +192 -0
- package/packages/widgets/blog-grid/package.json +12 -0
- package/packages/widgets/blog-grid/templates/partials/card.php +73 -0
- package/packages/widgets/blog-grid/templates/wrapper.php +89 -0
- package/packages/widgets/card-hover-reveal/card-hover-reveal.php +329 -0
- package/packages/widgets/card-hover-reveal/data/view.php +108 -0
- package/packages/widgets/card-hover-reveal/package.json +12 -0
- package/packages/widgets/card-hover-reveal/templates/partials/card.php +86 -0
- package/packages/widgets/card-hover-reveal/templates/wrapper.php +80 -0
- package/packages/widgets/client-logos/client-logos.php +214 -0
- package/packages/widgets/client-logos/data/view.php +88 -0
- package/packages/widgets/client-logos/package.json +12 -0
- package/packages/widgets/client-logos/templates/partials/client-item.php +38 -0
- package/packages/widgets/client-logos/templates/wrapper.php +62 -0
- package/packages/widgets/content-block/content-block.php +280 -0
- package/packages/widgets/content-block/data/view.php +103 -0
- package/packages/widgets/content-block/package.json +12 -0
- package/packages/widgets/content-block/templates/partials/content.php +52 -0
- package/packages/widgets/content-block/templates/wrapper.php +73 -0
- package/packages/widgets/cta-banner/cta-banner.php +300 -0
- package/packages/widgets/cta-banner/data/view.php +96 -0
- package/packages/widgets/cta-banner/package.json +12 -0
- package/packages/widgets/cta-banner/templates/wrapper.php +131 -0
- package/packages/widgets/cta-notify/cta-notify.php +135 -0
- package/packages/widgets/cta-notify/data/view.php +48 -0
- package/packages/widgets/cta-notify/package.json +12 -0
- package/packages/widgets/cta-notify/templates/wrapper.php +69 -0
- package/packages/widgets/cta-split/cta-split.php +246 -0
- package/packages/widgets/cta-split/data/view.php +84 -0
- package/packages/widgets/cta-split/package.json +12 -0
- package/packages/widgets/cta-split/templates/wrapper.php +113 -0
- package/packages/widgets/faq-centered/data/view.php +87 -0
- package/packages/widgets/faq-centered/faq-centered.php +223 -0
- package/packages/widgets/faq-centered/package.json +12 -0
- package/packages/widgets/faq-centered/templates/partials/accordion.php +70 -0
- package/packages/widgets/faq-centered/templates/partials/layout-centered.php +41 -0
- package/packages/widgets/faq-centered/templates/partials/layout-split.php +47 -0
- package/packages/widgets/faq-centered/templates/partials/layout-stacked.php +57 -0
- package/packages/widgets/faq-centered/templates/wrapper.php +70 -0
- package/packages/widgets/faq-split/data/view.php +93 -0
- package/packages/widgets/faq-split/faq-split.php +236 -0
- package/packages/widgets/faq-split/package.json +12 -0
- package/packages/widgets/faq-split/templates/partials/accordion.php +70 -0
- package/packages/widgets/faq-split/templates/partials/layout-centered.php +41 -0
- package/packages/widgets/faq-split/templates/partials/layout-split.php +47 -0
- package/packages/widgets/faq-split/templates/partials/layout-stacked.php +57 -0
- package/packages/widgets/faq-split/templates/wrapper.php +70 -0
- package/packages/widgets/faq-stacked/data/view.php +92 -0
- package/packages/widgets/faq-stacked/faq-stacked.php +223 -0
- package/packages/widgets/faq-stacked/package.json +12 -0
- package/packages/widgets/faq-stacked/templates/partials/accordion.php +70 -0
- package/packages/widgets/faq-stacked/templates/partials/layout-centered.php +41 -0
- package/packages/widgets/faq-stacked/templates/partials/layout-split.php +47 -0
- package/packages/widgets/faq-stacked/templates/partials/layout-stacked.php +57 -0
- package/packages/widgets/faq-stacked/templates/wrapper.php +70 -0
- package/packages/widgets/feature-grid/data/view.php +80 -0
- package/packages/widgets/feature-grid/feature-grid.php +305 -0
- package/packages/widgets/feature-grid/package.json +12 -0
- package/packages/widgets/feature-grid/templates/partials/centered-2x2.php +69 -0
- package/packages/widgets/feature-grid/templates/partials/feature-item.php +54 -0
- package/packages/widgets/feature-grid/templates/wrapper.php +67 -0
- package/packages/widgets/feature-grid-centered/data/view.php +78 -0
- package/packages/widgets/feature-grid-centered/feature-grid-centered.php +278 -0
- package/packages/widgets/feature-grid-centered/package.json +12 -0
- package/packages/widgets/feature-grid-centered/templates/partials/centered-2x2.php +69 -0
- package/packages/widgets/feature-grid-centered/templates/partials/feature-item.php +54 -0
- package/packages/widgets/feature-grid-centered/templates/wrapper.php +35 -0
- package/packages/widgets/feature-list/data/view.php +49 -0
- package/packages/widgets/feature-list/feature-list.php +160 -0
- package/packages/widgets/feature-list/package.json +12 -0
- package/packages/widgets/feature-list/templates/wrapper.php +69 -0
- package/packages/widgets/feature-list-cta/data/view.php +62 -0
- package/packages/widgets/feature-list-cta/feature-list-cta.php +226 -0
- package/packages/widgets/feature-list-cta/package.json +12 -0
- package/packages/widgets/feature-list-cta/templates/partials/feature-item.php +49 -0
- package/packages/widgets/feature-list-cta/templates/wrapper.php +65 -0
- package/packages/widgets/footer/data/view.php +133 -0
- package/packages/widgets/footer/footer.php +389 -0
- package/packages/widgets/footer/package.json +12 -0
- package/packages/widgets/footer/templates/partials/bottom.php +77 -0
- package/packages/widgets/footer/templates/partials/cta.php +47 -0
- package/packages/widgets/footer/templates/partials/link-columns.php +52 -0
- package/packages/widgets/footer/templates/wrapper.php +53 -0
- package/packages/widgets/footer-brand/data/view.php +130 -0
- package/packages/widgets/footer-brand/footer-brand.php +278 -0
- package/packages/widgets/footer-brand/package.json +12 -0
- package/packages/widgets/footer-brand/templates/partials/brand.php +69 -0
- package/packages/widgets/footer-brand/templates/partials/link-columns.php +51 -0
- package/packages/widgets/footer-brand/templates/wrapper.php +59 -0
- package/packages/widgets/footer-links-contact/data/view.php +145 -0
- package/packages/widgets/footer-links-contact/footer-links-contact.php +361 -0
- package/packages/widgets/footer-links-contact/package.json +12 -0
- package/packages/widgets/footer-links-contact/templates/partials/bottom.php +70 -0
- package/packages/widgets/footer-links-contact/templates/partials/contact-column.php +66 -0
- package/packages/widgets/footer-links-contact/templates/partials/link-column.php +39 -0
- package/packages/widgets/footer-links-contact/templates/partials/logo-column.php +46 -0
- package/packages/widgets/footer-links-contact/templates/wrapper.php +68 -0
- package/packages/widgets/form-contact/data/view.php +96 -0
- package/packages/widgets/form-contact/form-contact.php +274 -0
- package/packages/widgets/form-contact/package.json +12 -0
- package/packages/widgets/form-contact/templates/partials/testimonial.php +83 -0
- package/packages/widgets/form-contact/templates/wrapper.php +98 -0
- package/packages/widgets/grid-case-studies/data/view.php +74 -0
- package/packages/widgets/grid-case-studies/grid-case-studies.php +262 -0
- package/packages/widgets/grid-case-studies/package.json +12 -0
- package/packages/widgets/grid-case-studies/templates/partials/card.php +66 -0
- package/packages/widgets/grid-case-studies/templates/wrapper.php +69 -0
- package/packages/widgets/grid-components/data/view.php +107 -0
- package/packages/widgets/grid-components/grid-components.php +323 -0
- package/packages/widgets/grid-components/package.json +12 -0
- package/packages/widgets/grid-components/templates/partials/component-card.php +81 -0
- package/packages/widgets/grid-components/templates/wrapper.php +55 -0
- package/packages/widgets/grid-team/data/view.php +67 -0
- package/packages/widgets/grid-team/grid-team.php +201 -0
- package/packages/widgets/grid-team/package.json +12 -0
- package/packages/widgets/grid-team/templates/partials/team-card.php +52 -0
- package/packages/widgets/grid-team/templates/wrapper.php +67 -0
- package/packages/widgets/hero-announcement/data/view.php +96 -0
- package/packages/widgets/hero-announcement/hero-announcement.php +270 -0
- package/packages/widgets/hero-announcement/package.json +12 -0
- package/packages/widgets/hero-announcement/templates/wrapper.php +111 -0
- package/packages/widgets/hero-centered-image/data/view.php +119 -0
- package/packages/widgets/hero-centered-image/hero-centered-image.php +297 -0
- package/packages/widgets/hero-centered-image/package.json +12 -0
- package/packages/widgets/hero-centered-image/templates/wrapper.php +123 -0
- package/packages/widgets/hero-collage/data/view.php +108 -0
- package/packages/widgets/hero-collage/hero-collage.php +151 -0
- package/packages/widgets/hero-collage/package.json +12 -0
- package/packages/widgets/hero-collage/templates/wrapper.php +102 -0
- package/packages/widgets/hero-overlay/data/view.php +117 -0
- package/packages/widgets/hero-overlay/hero-overlay.php +277 -0
- package/packages/widgets/hero-overlay/package.json +12 -0
- package/packages/widgets/hero-overlay/templates/wrapper.php +225 -0
- package/packages/widgets/hero-overlay-single/data/view.php +118 -0
- package/packages/widgets/hero-overlay-single/hero-overlay-single.php +221 -0
- package/packages/widgets/hero-overlay-single/package.json +12 -0
- package/packages/widgets/hero-overlay-single/templates/wrapper.php +225 -0
- package/packages/widgets/hero-overlay-slider/data/view.php +118 -0
- package/packages/widgets/hero-overlay-slider/hero-overlay-slider.php +262 -0
- package/packages/widgets/hero-overlay-slider/package.json +12 -0
- package/packages/widgets/hero-overlay-slider/templates/wrapper.php +225 -0
- package/packages/widgets/hero-saas-centered/data/view.php +79 -0
- package/packages/widgets/hero-saas-centered/hero-saas-centered.php +145 -0
- package/packages/widgets/hero-saas-centered/package.json +12 -0
- package/packages/widgets/hero-saas-centered/templates/partials/layout-centered.php +70 -0
- package/packages/widgets/hero-saas-centered/templates/partials/layout-split.php +76 -0
- package/packages/widgets/hero-saas-centered/templates/partials/layout-stacked.php +70 -0
- package/packages/widgets/hero-saas-centered/templates/wrapper.php +46 -0
- package/packages/widgets/hero-saas-split/data/view.php +83 -0
- package/packages/widgets/hero-saas-split/hero-saas-split.php +158 -0
- package/packages/widgets/hero-saas-split/package.json +12 -0
- package/packages/widgets/hero-saas-split/templates/partials/layout-centered.php +70 -0
- package/packages/widgets/hero-saas-split/templates/partials/layout-split.php +76 -0
- package/packages/widgets/hero-saas-split/templates/partials/layout-stacked.php +70 -0
- package/packages/widgets/hero-saas-split/templates/wrapper.php +46 -0
- package/packages/widgets/hero-saas-stacked/data/view.php +79 -0
- package/packages/widgets/hero-saas-stacked/hero-saas-stacked.php +145 -0
- package/packages/widgets/hero-saas-stacked/package.json +12 -0
- package/packages/widgets/hero-saas-stacked/templates/partials/layout-centered.php +70 -0
- package/packages/widgets/hero-saas-stacked/templates/partials/layout-split.php +76 -0
- package/packages/widgets/hero-saas-stacked/templates/partials/layout-stacked.php +70 -0
- package/packages/widgets/hero-saas-stacked/templates/wrapper.php +46 -0
- package/packages/widgets/hero-split/data/view.php +84 -0
- package/packages/widgets/hero-split/hero-split.php +127 -0
- package/packages/widgets/hero-split/package.json +12 -0
- package/packages/widgets/hero-split/templates/wrapper.php +86 -0
- package/packages/widgets/hero-stacked-image/data/view.php +137 -0
- package/packages/widgets/hero-stacked-image/hero-stacked-image.php +248 -0
- package/packages/widgets/hero-stacked-image/package.json +12 -0
- package/packages/widgets/hero-stacked-image/templates/wrapper.php +176 -0
- package/packages/widgets/intro-pattern/data/view.php +64 -0
- package/packages/widgets/intro-pattern/intro-pattern.php +161 -0
- package/packages/widgets/intro-pattern/package.json +12 -0
- package/packages/widgets/intro-pattern/templates/wrapper.php +61 -0
- package/packages/widgets/intro-text/data/view.php +79 -0
- package/packages/widgets/intro-text/intro-text.php +252 -0
- package/packages/widgets/intro-text/package.json +12 -0
- package/packages/widgets/intro-text/templates/wrapper.php +75 -0
- package/packages/widgets/logo-grid-centered/data/view.php +79 -0
- package/packages/widgets/logo-grid-centered/logo-grid-centered.php +254 -0
- package/packages/widgets/logo-grid-centered/package.json +12 -0
- package/packages/widgets/logo-grid-centered/templates/wrapper.php +95 -0
- package/packages/widgets/logo-grid-row/data/view.php +79 -0
- package/packages/widgets/logo-grid-row/logo-grid-row.php +254 -0
- package/packages/widgets/logo-grid-row/package.json +12 -0
- package/packages/widgets/logo-grid-row/templates/wrapper.php +108 -0
- package/packages/widgets/logo-grid-split/data/view.php +79 -0
- package/packages/widgets/logo-grid-split/logo-grid-split.php +254 -0
- package/packages/widgets/logo-grid-split/package.json +12 -0
- package/packages/widgets/logo-grid-split/templates/wrapper.php +97 -0
- package/packages/widgets/nav-centered/data/view.php +253 -0
- package/packages/widgets/nav-centered/nav-centered.php +350 -0
- package/packages/widgets/nav-centered/package.json +12 -0
- package/packages/widgets/nav-centered/templates/partials/desktop-mega-panel.php +109 -0
- package/packages/widgets/nav-centered/templates/partials/desktop-menu.php +102 -0
- package/packages/widgets/nav-centered/templates/partials/mobile-menu.php +104 -0
- package/packages/widgets/nav-centered/templates/wrapper.php +401 -0
- package/packages/widgets/nav-compact/data/view.php +253 -0
- package/packages/widgets/nav-compact/nav-compact.php +350 -0
- package/packages/widgets/nav-compact/package.json +12 -0
- package/packages/widgets/nav-compact/templates/partials/desktop-mega-panel.php +109 -0
- package/packages/widgets/nav-compact/templates/partials/desktop-menu.php +102 -0
- package/packages/widgets/nav-compact/templates/partials/mobile-menu.php +104 -0
- package/packages/widgets/nav-compact/templates/wrapper.php +401 -0
- package/packages/widgets/nav-default/data/view.php +254 -0
- package/packages/widgets/nav-default/nav-default.php +350 -0
- package/packages/widgets/nav-default/package.json +12 -0
- package/packages/widgets/nav-default/templates/partials/desktop-mega-panel.php +109 -0
- package/packages/widgets/nav-default/templates/partials/desktop-menu.php +102 -0
- package/packages/widgets/nav-default/templates/partials/mobile-menu.php +104 -0
- package/packages/widgets/nav-default/templates/wrapper.php +401 -0
- package/packages/widgets/nav-floating/data/view.php +253 -0
- package/packages/widgets/nav-floating/nav-floating.php +350 -0
- package/packages/widgets/nav-floating/package.json +12 -0
- package/packages/widgets/nav-floating/templates/partials/desktop-mega-panel.php +109 -0
- package/packages/widgets/nav-floating/templates/partials/desktop-menu.php +102 -0
- package/packages/widgets/nav-floating/templates/partials/mobile-menu.php +104 -0
- package/packages/widgets/nav-floating/templates/wrapper.php +401 -0
- package/packages/widgets/nav-minimal/data/view.php +253 -0
- package/packages/widgets/nav-minimal/nav-minimal.php +350 -0
- package/packages/widgets/nav-minimal/package.json +12 -0
- package/packages/widgets/nav-minimal/templates/partials/desktop-mega-panel.php +109 -0
- package/packages/widgets/nav-minimal/templates/partials/desktop-menu.php +102 -0
- package/packages/widgets/nav-minimal/templates/partials/mobile-menu.php +104 -0
- package/packages/widgets/nav-minimal/templates/wrapper.php +401 -0
- package/packages/widgets/newsletter/data/view.php +56 -0
- package/packages/widgets/newsletter/newsletter.php +210 -0
- package/packages/widgets/newsletter/package.json +12 -0
- package/packages/widgets/newsletter/templates/wrapper.php +137 -0
- package/packages/widgets/newsletter-card/data/view.php +55 -0
- package/packages/widgets/newsletter-card/newsletter-card.php +184 -0
- package/packages/widgets/newsletter-card/package.json +12 -0
- package/packages/widgets/newsletter-card/templates/wrapper.php +90 -0
- package/packages/widgets/newsletter-section/data/view.php +55 -0
- package/packages/widgets/newsletter-section/newsletter-section.php +184 -0
- package/packages/widgets/newsletter-section/package.json +12 -0
- package/packages/widgets/newsletter-section/templates/wrapper.php +87 -0
- package/packages/widgets/outreach-dashboard/data/view.php +176 -0
- package/packages/widgets/outreach-dashboard/outreach-dashboard.php +504 -0
- package/packages/widgets/outreach-dashboard/package.json +12 -0
- package/packages/widgets/outreach-dashboard/templates/partials/card-chat.php +69 -0
- package/packages/widgets/outreach-dashboard/templates/partials/card-engagement.php +60 -0
- package/packages/widgets/outreach-dashboard/templates/partials/card-integrations.php +39 -0
- package/packages/widgets/outreach-dashboard/templates/partials/card-meetings.php +43 -0
- package/packages/widgets/outreach-dashboard/templates/partials/card-networking.php +28 -0
- package/packages/widgets/outreach-dashboard/templates/wrapper.php +76 -0
- package/packages/widgets/page-hero-center/data/view.php +43 -0
- package/packages/widgets/page-hero-center/package.json +12 -0
- package/packages/widgets/page-hero-center/page-hero-center.php +120 -0
- package/packages/widgets/page-hero-center/templates/wrapper.php +54 -0
- package/packages/widgets/page-hero-left/data/view.php +43 -0
- package/packages/widgets/page-hero-left/package.json +12 -0
- package/packages/widgets/page-hero-left/page-hero-left.php +120 -0
- package/packages/widgets/page-hero-left/templates/wrapper.php +54 -0
- package/packages/widgets/pipeline-dashboard/data/view.php +131 -0
- package/packages/widgets/pipeline-dashboard/package.json +12 -0
- package/packages/widgets/pipeline-dashboard/pipeline-dashboard.php +407 -0
- package/packages/widgets/pipeline-dashboard/templates/partials/app-bar.php +31 -0
- package/packages/widgets/pipeline-dashboard/templates/partials/kanban.php +56 -0
- package/packages/widgets/pipeline-dashboard/templates/partials/pipeline-header.php +66 -0
- package/packages/widgets/pipeline-dashboard/templates/wrapper.php +64 -0
- package/packages/widgets/posts-grid/data/view.php +144 -0
- package/packages/widgets/posts-grid/package.json +12 -0
- package/packages/widgets/posts-grid/posts-grid.php +282 -0
- package/packages/widgets/posts-grid/templates/partials/card-overlay.php +58 -0
- package/packages/widgets/posts-grid/templates/partials/card.php +49 -0
- package/packages/widgets/posts-grid/templates/wrapper.php +55 -0
- package/packages/widgets/posts-grid-overlay/data/view.php +144 -0
- package/packages/widgets/posts-grid-overlay/package.json +12 -0
- package/packages/widgets/posts-grid-overlay/posts-grid-overlay.php +282 -0
- package/packages/widgets/posts-grid-overlay/templates/partials/card-overlay.php +58 -0
- package/packages/widgets/posts-grid-overlay/templates/partials/card.php +49 -0
- package/packages/widgets/posts-grid-overlay/templates/wrapper.php +55 -0
- package/packages/widgets/pricing-table/data/view.php +96 -0
- package/packages/widgets/pricing-table/package.json +12 -0
- package/packages/widgets/pricing-table/pricing-table.php +376 -0
- package/packages/widgets/pricing-table/templates/partials/pricing-card.php +125 -0
- package/packages/widgets/pricing-table/templates/wrapper.php +164 -0
- package/packages/widgets/sales-dashboard/data/view.php +158 -0
- package/packages/widgets/sales-dashboard/package.json +12 -0
- package/packages/widgets/sales-dashboard/sales-dashboard.php +434 -0
- package/packages/widgets/sales-dashboard/templates/partials/card-competitors.php +78 -0
- package/packages/widgets/sales-dashboard/templates/partials/card-feature.php +58 -0
- package/packages/widgets/sales-dashboard/templates/partials/card-profile.php +76 -0
- package/packages/widgets/sales-dashboard/templates/wrapper.php +74 -0
- package/packages/widgets/section-stats/data/view.php +90 -0
- package/packages/widgets/section-stats/package.json +12 -0
- package/packages/widgets/section-stats/section-stats.php +232 -0
- package/packages/widgets/section-stats/templates/partials/stat-card.php +44 -0
- package/packages/widgets/section-stats/templates/wrapper.php +87 -0
- package/packages/widgets/services/data/view.php +79 -0
- package/packages/widgets/services/package.json +12 -0
- package/packages/widgets/services/services.php +198 -0
- package/packages/widgets/services/templates/partials/service-item.php +35 -0
- package/packages/widgets/services/templates/wrapper.php +92 -0
- package/packages/widgets/simple-page-hero/data/view.php +43 -0
- package/packages/widgets/simple-page-hero/package.json +12 -0
- package/packages/widgets/simple-page-hero/simple-page-hero.php +147 -0
- package/packages/widgets/simple-page-hero/templates/wrapper.php +54 -0
- package/packages/widgets/social-proof/data/view.php +62 -0
- package/packages/widgets/social-proof/package.json +12 -0
- package/packages/widgets/social-proof/social-proof.php +271 -0
- package/packages/widgets/social-proof/templates/partials/layout-trust.php +73 -0
- package/packages/widgets/social-proof/templates/partials/stat-card.php +32 -0
- package/packages/widgets/social-proof/templates/partials/stat-item.php +35 -0
- package/packages/widgets/social-proof/templates/wrapper.php +87 -0
- package/packages/widgets/social-proof-trust/data/view.php +105 -0
- package/packages/widgets/social-proof-trust/package.json +12 -0
- package/packages/widgets/social-proof-trust/social-proof-trust.php +367 -0
- package/packages/widgets/social-proof-trust/templates/partials/layout-trust.php +73 -0
- package/packages/widgets/social-proof-trust/templates/partials/stat-card.php +32 -0
- package/packages/widgets/social-proof-trust/templates/partials/stat-item.php +35 -0
- package/packages/widgets/social-proof-trust/templates/wrapper.php +48 -0
- package/packages/widgets/testimonial-quote/data/view.php +57 -0
- package/packages/widgets/testimonial-quote/package.json +12 -0
- package/packages/widgets/testimonial-quote/templates/wrapper.php +66 -0
- package/packages/widgets/testimonial-quote/testimonial-quote.php +157 -0
- package/packages/widgets/testimonials-bento/data/view.php +110 -0
- package/packages/widgets/testimonials-bento/package.json +12 -0
- package/packages/widgets/testimonials-bento/templates/partials/layout-bento.php +36 -0
- package/packages/widgets/testimonials-bento/templates/partials/layout-masonry.php +74 -0
- package/packages/widgets/testimonials-bento/templates/partials/testimonial-card.php +85 -0
- package/packages/widgets/testimonials-bento/templates/wrapper.php +63 -0
- package/packages/widgets/testimonials-bento/testimonials-bento.php +322 -0
- package/packages/widgets/testimonials-grid/data/view.php +108 -0
- package/packages/widgets/testimonials-grid/package.json +12 -0
- package/packages/widgets/testimonials-grid/templates/partials/layout-bento.php +36 -0
- package/packages/widgets/testimonials-grid/templates/partials/layout-masonry.php +74 -0
- package/packages/widgets/testimonials-grid/templates/partials/testimonial-card.php +85 -0
- package/packages/widgets/testimonials-grid/templates/wrapper.php +74 -0
- package/packages/widgets/testimonials-grid/testimonials-grid.php +336 -0
- package/packages/widgets/testimonials-masonry/data/view.php +108 -0
- package/packages/widgets/testimonials-masonry/package.json +12 -0
- package/packages/widgets/testimonials-masonry/templates/partials/layout-bento.php +36 -0
- package/packages/widgets/testimonials-masonry/templates/partials/layout-masonry.php +74 -0
- package/packages/widgets/testimonials-masonry/templates/partials/testimonial-card.php +85 -0
- package/packages/widgets/testimonials-masonry/templates/wrapper.php +63 -0
- package/packages/widgets/testimonials-masonry/testimonials-masonry.php +336 -0
- package/packages/widgets/widget-filter/data/view.php +527 -0
- package/packages/widgets/widget-filter/package.json +12 -0
- package/packages/widgets/widget-filter/templates/wrapper.php +630 -0
- package/packages/widgets/widget-filter/widget-filter.php +123 -0
- package/scripts/scaffold-widget-packages.js +109 -0
- package/scripts/setup.sh +56 -0
- package/scripts/split-widget.js +176 -0
- package/scripts/sync-widgets.js +69 -0
- package/sociallane-elements.php +104 -0
- package/vite.config.js +129 -0
- package/widgets/.gitkeep +0 -0
- package/widgets/bento-grid/bento-grid.php +761 -0
- package/widgets/bento-grid/data/view.php +334 -0
- package/widgets/bento-grid/templates/partials/cell1.php +45 -0
- package/widgets/bento-grid/templates/partials/cell2.php +52 -0
- package/widgets/bento-grid/templates/partials/cell3.php +45 -0
- package/widgets/bento-grid/templates/partials/cell4.php +44 -0
- package/widgets/bento-grid/templates/partials/default-grid.php +31 -0
- package/widgets/bento-grid/templates/partials/tcsr-row1-left.php +68 -0
- package/widgets/bento-grid/templates/partials/tcsr-row1-right.php +65 -0
- package/widgets/bento-grid/templates/partials/tcsr-row2-center.php +41 -0
- package/widgets/bento-grid/templates/partials/tcsr-row2-left.php +38 -0
- package/widgets/bento-grid/templates/partials/tcsr-row2-right.php +38 -0
- package/widgets/bento-grid/templates/partials/two-column-second-row-grid.php +35 -0
- package/widgets/bento-grid/templates/partials/two-row-deploys.php +47 -0
- package/widgets/bento-grid/templates/partials/two-row-grid.php +34 -0
- package/widgets/bento-grid/templates/partials/two-row-integrations.php +40 -0
- package/widgets/bento-grid/templates/partials/two-row-overview.php +67 -0
- package/widgets/bento-grid/templates/partials/two-row-releases.php +29 -0
- package/widgets/bento-grid/templates/partials/two-row-security.php +44 -0
- package/widgets/bento-grid/templates/wrapper.php +72 -0
- package/widgets/bento-portfolio/bento-portfolio.php +399 -0
- package/widgets/bento-portfolio/data/view.php +124 -0
- package/widgets/bento-portfolio/templates/partials/portfolio-card.php +84 -0
- package/widgets/bento-portfolio/templates/partials/portfolio-default-grid.php +35 -0
- package/widgets/bento-portfolio/templates/partials/portfolio-two-column-second-row-grid.php +39 -0
- package/widgets/bento-portfolio/templates/partials/portfolio-two-row-grid.php +35 -0
- package/widgets/bento-portfolio/templates/wrapper.php +88 -0
- package/widgets/blog-grid/blog-grid.php +359 -0
- package/widgets/blog-grid/data/view.php +209 -0
- package/widgets/blog-grid/templates/partials/card.php +73 -0
- package/widgets/blog-grid/templates/wrapper.php +89 -0
- package/widgets/card-hover-reveal/card-hover-reveal.php +329 -0
- package/widgets/card-hover-reveal/data/view.php +141 -0
- package/widgets/card-hover-reveal/templates/partials/card.php +119 -0
- package/widgets/card-hover-reveal/templates/wrapper.php +80 -0
- package/widgets/client-logos/client-logos.php +214 -0
- package/widgets/client-logos/data/view.php +105 -0
- package/widgets/client-logos/templates/partials/client-item.php +38 -0
- package/widgets/client-logos/templates/wrapper.php +62 -0
- package/widgets/content-block/content-block.php +280 -0
- package/widgets/content-block/data/view.php +120 -0
- package/widgets/content-block/templates/partials/content.php +52 -0
- package/widgets/content-block/templates/wrapper.php +73 -0
- package/widgets/cta-banner/cta-banner.php +300 -0
- package/widgets/cta-banner/data/view.php +101 -0
- package/widgets/cta-banner/templates/wrapper.php +131 -0
- package/widgets/cta-notify/cta-notify.php +135 -0
- package/widgets/cta-notify/data/view.php +55 -0
- package/widgets/cta-notify/templates/wrapper.php +69 -0
- package/widgets/cta-split/cta-split.php +246 -0
- package/widgets/cta-split/data/view.php +86 -0
- package/widgets/cta-split/templates/wrapper.php +113 -0
- package/widgets/faq/data/view.php +105 -0
- package/widgets/faq/faq.php +253 -0
- package/widgets/faq/templates/partials/accordion.php +74 -0
- package/widgets/faq/templates/partials/layout-centered.php +41 -0
- package/widgets/faq/templates/partials/layout-split.php +47 -0
- package/widgets/faq/templates/partials/layout-stacked.php +57 -0
- package/widgets/faq/templates/wrapper.php +76 -0
- package/widgets/feature-grid/data/view.php +121 -0
- package/widgets/feature-grid/feature-grid.php +321 -0
- package/widgets/feature-grid/templates/partials/centered-2x2.php +69 -0
- package/widgets/feature-grid/templates/partials/feature-item.php +54 -0
- package/widgets/feature-grid/templates/wrapper.php +71 -0
- package/widgets/feature-list/data/view.php +56 -0
- package/widgets/feature-list/feature-list.php +160 -0
- package/widgets/feature-list/templates/wrapper.php +69 -0
- package/widgets/feature-list-cta/data/view.php +85 -0
- package/widgets/feature-list-cta/feature-list-cta.php +226 -0
- package/widgets/feature-list-cta/templates/partials/feature-item.php +49 -0
- package/widgets/feature-list-cta/templates/wrapper.php +65 -0
- package/widgets/footer/data/view.php +139 -0
- package/widgets/footer/footer.php +389 -0
- package/widgets/footer/templates/partials/bottom.php +77 -0
- package/widgets/footer/templates/partials/cta.php +47 -0
- package/widgets/footer/templates/partials/link-columns.php +52 -0
- package/widgets/footer/templates/wrapper.php +53 -0
- package/widgets/footer-brand/data/view.php +135 -0
- package/widgets/footer-brand/footer-brand.php +278 -0
- package/widgets/footer-brand/templates/partials/brand.php +69 -0
- package/widgets/footer-brand/templates/partials/link-columns.php +51 -0
- package/widgets/footer-brand/templates/wrapper.php +59 -0
- package/widgets/footer-links-contact/data/view.php +165 -0
- package/widgets/footer-links-contact/footer-links-contact.php +361 -0
- package/widgets/footer-links-contact/templates/partials/bottom.php +70 -0
- package/widgets/footer-links-contact/templates/partials/contact-column.php +66 -0
- package/widgets/footer-links-contact/templates/partials/link-column.php +39 -0
- package/widgets/footer-links-contact/templates/partials/logo-column.php +46 -0
- package/widgets/footer-links-contact/templates/wrapper.php +68 -0
- package/widgets/form-contact/data/view.php +133 -0
- package/widgets/form-contact/form-contact.php +274 -0
- package/widgets/form-contact/templates/partials/testimonial.php +83 -0
- package/widgets/form-contact/templates/wrapper.php +98 -0
- package/widgets/grid-case-studies/data/view.php +88 -0
- package/widgets/grid-case-studies/grid-case-studies.php +262 -0
- package/widgets/grid-case-studies/templates/partials/card.php +66 -0
- package/widgets/grid-case-studies/templates/wrapper.php +69 -0
- package/widgets/grid-components/data/view.php +131 -0
- package/widgets/grid-components/grid-components.php +316 -0
- package/widgets/grid-components/templates/partials/component-card.php +81 -0
- package/widgets/grid-components/templates/wrapper.php +55 -0
- package/widgets/grid-posts/data/view.php +159 -0
- package/widgets/grid-posts/grid-posts.php +295 -0
- package/widgets/grid-posts/templates/partials/card-overlay.php +58 -0
- package/widgets/grid-posts/templates/partials/card.php +49 -0
- package/widgets/grid-posts/templates/wrapper.php +59 -0
- package/widgets/grid-team/data/view.php +80 -0
- package/widgets/grid-team/grid-team.php +201 -0
- package/widgets/grid-team/templates/partials/team-card.php +52 -0
- package/widgets/grid-team/templates/wrapper.php +67 -0
- package/widgets/grid-testimonials/data/view.php +179 -0
- package/widgets/grid-testimonials/grid-testimonials.php +370 -0
- package/widgets/grid-testimonials/templates/partials/layout-bento.php +36 -0
- package/widgets/grid-testimonials/templates/partials/layout-masonry.php +74 -0
- package/widgets/grid-testimonials/templates/partials/testimonial-card.php +85 -0
- package/widgets/grid-testimonials/templates/wrapper.php +84 -0
- package/widgets/hero-announcement/data/view.php +98 -0
- package/widgets/hero-announcement/hero-announcement.php +270 -0
- package/widgets/hero-announcement/templates/wrapper.php +111 -0
- package/widgets/hero-centered-image/data/view.php +128 -0
- package/widgets/hero-centered-image/hero-centered-image.php +297 -0
- package/widgets/hero-centered-image/templates/wrapper.php +123 -0
- package/widgets/hero-collage/data/view.php +113 -0
- package/widgets/hero-collage/hero-collage.php +151 -0
- package/widgets/hero-collage/templates/wrapper.php +102 -0
- package/widgets/hero-overlay/data/view.php +121 -0
- package/widgets/hero-overlay/hero-overlay.php +277 -0
- package/widgets/hero-overlay/templates/wrapper.php +225 -0
- package/widgets/hero-saas/data/view.php +106 -0
- package/widgets/hero-saas/hero-saas.php +175 -0
- package/widgets/hero-saas/templates/partials/layout-centered.php +70 -0
- package/widgets/hero-saas/templates/partials/layout-split.php +76 -0
- package/widgets/hero-saas/templates/partials/layout-stacked.php +70 -0
- package/widgets/hero-saas/templates/wrapper.php +54 -0
- package/widgets/hero-split/data/view.php +92 -0
- package/widgets/hero-split/hero-split.php +127 -0
- package/widgets/hero-split/templates/wrapper.php +86 -0
- package/widgets/hero-stacked-image/data/view.php +142 -0
- package/widgets/hero-stacked-image/hero-stacked-image.php +248 -0
- package/widgets/hero-stacked-image/templates/wrapper.php +176 -0
- package/widgets/intro-pattern/data/view.php +73 -0
- package/widgets/intro-pattern/intro-pattern.php +161 -0
- package/widgets/intro-pattern/templates/wrapper.php +61 -0
- package/widgets/intro-text/data/view.php +97 -0
- package/widgets/intro-text/intro-text.php +252 -0
- package/widgets/intro-text/templates/wrapper.php +75 -0
- package/widgets/logo-grid/data/view.php +113 -0
- package/widgets/logo-grid/logo-grid.php +281 -0
- package/widgets/logo-grid/templates/wrapper.php +213 -0
- package/widgets/newsletter/data/view.php +75 -0
- package/widgets/newsletter/newsletter.php +210 -0
- package/widgets/newsletter/templates/wrapper.php +137 -0
- package/widgets/outreach-dashboard/data/view.php +176 -0
- package/widgets/outreach-dashboard/outreach-dashboard.php +504 -0
- package/widgets/outreach-dashboard/templates/partials/card-chat.php +69 -0
- package/widgets/outreach-dashboard/templates/partials/card-engagement.php +60 -0
- package/widgets/outreach-dashboard/templates/partials/card-integrations.php +39 -0
- package/widgets/outreach-dashboard/templates/partials/card-meetings.php +43 -0
- package/widgets/outreach-dashboard/templates/partials/card-networking.php +28 -0
- package/widgets/outreach-dashboard/templates/wrapper.php +76 -0
- package/widgets/pipeline-dashboard/data/view.php +131 -0
- package/widgets/pipeline-dashboard/pipeline-dashboard.php +407 -0
- package/widgets/pipeline-dashboard/templates/partials/app-bar.php +31 -0
- package/widgets/pipeline-dashboard/templates/partials/kanban.php +56 -0
- package/widgets/pipeline-dashboard/templates/partials/pipeline-header.php +66 -0
- package/widgets/pipeline-dashboard/templates/wrapper.php +64 -0
- package/widgets/pricing-table/data/view.php +133 -0
- package/widgets/pricing-table/pricing-table.php +376 -0
- package/widgets/pricing-table/templates/partials/pricing-card.php +125 -0
- package/widgets/pricing-table/templates/wrapper.php +164 -0
- package/widgets/sales-dashboard/data/view.php +158 -0
- package/widgets/sales-dashboard/sales-dashboard.php +434 -0
- package/widgets/sales-dashboard/templates/partials/card-competitors.php +78 -0
- package/widgets/sales-dashboard/templates/partials/card-feature.php +58 -0
- package/widgets/sales-dashboard/templates/partials/card-profile.php +76 -0
- package/widgets/sales-dashboard/templates/wrapper.php +74 -0
- package/widgets/section-stats/data/view.php +105 -0
- package/widgets/section-stats/section-stats.php +232 -0
- package/widgets/section-stats/templates/partials/stat-card.php +44 -0
- package/widgets/section-stats/templates/wrapper.php +87 -0
- package/widgets/services/data/view.php +91 -0
- package/widgets/services/services.php +198 -0
- package/widgets/services/templates/partials/service-item.php +35 -0
- package/widgets/services/templates/wrapper.php +92 -0
- package/widgets/simple-page-hero/data/view.php +52 -0
- package/widgets/simple-page-hero/simple-page-hero.php +147 -0
- package/widgets/simple-page-hero/templates/wrapper.php +54 -0
- package/widgets/social-proof/data/view.php +143 -0
- package/widgets/social-proof/social-proof.php +389 -0
- package/widgets/social-proof/templates/partials/layout-trust.php +73 -0
- package/widgets/social-proof/templates/partials/stat-card.php +32 -0
- package/widgets/social-proof/templates/partials/stat-item.php +35 -0
- package/widgets/social-proof/templates/wrapper.php +93 -0
- package/widgets/testimonial-quote/data/view.php +62 -0
- package/widgets/testimonial-quote/templates/wrapper.php +66 -0
- package/widgets/testimonial-quote/testimonial-quote.php +157 -0
- package/widgets.json +75 -0
- package/widgets.json.minimal +17 -0
|
@@ -0,0 +1,761 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
/**
|
|
3
|
+
* Widget: Bento Grid
|
|
4
|
+
*
|
|
5
|
+
* A bento-style grid: header plus three-column layout with left full-height card,
|
|
6
|
+
* middle column split into two cards, and right full-height card. Supports
|
|
7
|
+
* metric, icons, code snippet, and image visuals per cell.
|
|
8
|
+
*
|
|
9
|
+
* @package SocialLane_Elements
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
namespace SocialLane\Elements;
|
|
13
|
+
|
|
14
|
+
use Elementor\Widget_Base;
|
|
15
|
+
use Elementor\Controls_Manager;
|
|
16
|
+
use Elementor\Repeater;
|
|
17
|
+
use SocialLane\Elements\Traits\Animation_Controls;
|
|
18
|
+
|
|
19
|
+
if ( ! defined( 'ABSPATH' ) ) {
|
|
20
|
+
exit;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Bento Grid Widget
|
|
25
|
+
*/
|
|
26
|
+
class Bento_Grid extends Widget_Base {
|
|
27
|
+
|
|
28
|
+
use Animation_Controls;
|
|
29
|
+
|
|
30
|
+
public function get_name(): string {
|
|
31
|
+
return 'bento-grid';
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public function get_title(): string {
|
|
35
|
+
return esc_html__( 'Bento Grid', 'sociallane-elements' );
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public function get_icon(): string {
|
|
39
|
+
return 'eicon-gallery-masonry';
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public function get_categories(): array {
|
|
43
|
+
return [ 'sociallane-content' ];
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public function get_keywords(): array {
|
|
47
|
+
return [ 'bento', 'grid', 'cards', 'features', 'dashboard' ];
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
protected function register_controls(): void {
|
|
51
|
+
$this->register_layout_section();
|
|
52
|
+
$this->register_header_section();
|
|
53
|
+
$this->register_cell1_section();
|
|
54
|
+
$this->register_cell2_section();
|
|
55
|
+
$this->register_cell3_section();
|
|
56
|
+
$this->register_cell4_section();
|
|
57
|
+
$this->register_two_row_sections();
|
|
58
|
+
$this->register_two_column_second_row_sections();
|
|
59
|
+
$this->register_animation_controls( true, true );
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
private function register_layout_section(): void {
|
|
63
|
+
require_once __DIR__ . '/data/view.php';
|
|
64
|
+
$layouts = get_bento_grid_layouts();
|
|
65
|
+
$options = [];
|
|
66
|
+
foreach ( $layouts as $key => $config ) {
|
|
67
|
+
$options[ $key ] = $config['label'];
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
$this->start_controls_section(
|
|
71
|
+
'section_layout',
|
|
72
|
+
[
|
|
73
|
+
'label' => esc_html__( 'Layout', 'sociallane-elements' ),
|
|
74
|
+
'tab' => Controls_Manager::TAB_CONTENT,
|
|
75
|
+
]
|
|
76
|
+
);
|
|
77
|
+
|
|
78
|
+
$this->add_control(
|
|
79
|
+
'layout',
|
|
80
|
+
[
|
|
81
|
+
'label' => esc_html__( 'Layout', 'sociallane-elements' ),
|
|
82
|
+
'type' => Controls_Manager::SELECT,
|
|
83
|
+
'default' => 'default',
|
|
84
|
+
'options' => $options,
|
|
85
|
+
]
|
|
86
|
+
);
|
|
87
|
+
|
|
88
|
+
$this->end_controls_section();
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
private function register_header_section(): void {
|
|
92
|
+
$this->start_controls_section(
|
|
93
|
+
'section_header',
|
|
94
|
+
[
|
|
95
|
+
'label' => esc_html__( 'Header', 'sociallane-elements' ),
|
|
96
|
+
'tab' => Controls_Manager::TAB_CONTENT,
|
|
97
|
+
]
|
|
98
|
+
);
|
|
99
|
+
|
|
100
|
+
$this->add_control(
|
|
101
|
+
'show_eyebrow',
|
|
102
|
+
[
|
|
103
|
+
'label' => esc_html__( 'Show Eyebrow', 'sociallane-elements' ),
|
|
104
|
+
'type' => Controls_Manager::SWITCHER,
|
|
105
|
+
'default' => 'yes',
|
|
106
|
+
]
|
|
107
|
+
);
|
|
108
|
+
|
|
109
|
+
$this->add_control(
|
|
110
|
+
'eyebrow',
|
|
111
|
+
[
|
|
112
|
+
'label' => esc_html__( 'Eyebrow', 'sociallane-elements' ),
|
|
113
|
+
'type' => Controls_Manager::TEXT,
|
|
114
|
+
'default' => esc_html__( 'Deploy faster', 'sociallane-elements' ),
|
|
115
|
+
'placeholder' => esc_html__( 'Lorem ipsum', 'sociallane-elements' ),
|
|
116
|
+
'condition' => [ 'show_eyebrow' => 'yes' ],
|
|
117
|
+
]
|
|
118
|
+
);
|
|
119
|
+
|
|
120
|
+
$this->add_control(
|
|
121
|
+
'show_headline',
|
|
122
|
+
[
|
|
123
|
+
'label' => esc_html__( 'Show Headline', 'sociallane-elements' ),
|
|
124
|
+
'type' => Controls_Manager::SWITCHER,
|
|
125
|
+
'default' => 'yes',
|
|
126
|
+
]
|
|
127
|
+
);
|
|
128
|
+
|
|
129
|
+
$this->add_control(
|
|
130
|
+
'headline',
|
|
131
|
+
[
|
|
132
|
+
'label' => esc_html__( 'Headline', 'sociallane-elements' ),
|
|
133
|
+
'type' => Controls_Manager::TEXT,
|
|
134
|
+
'default' => esc_html__( 'Everything you need to deploy your app', 'sociallane-elements' ),
|
|
135
|
+
'label_block' => true,
|
|
136
|
+
'condition' => [ 'show_headline' => 'yes' ],
|
|
137
|
+
]
|
|
138
|
+
);
|
|
139
|
+
|
|
140
|
+
$this->add_control(
|
|
141
|
+
'headline_tag',
|
|
142
|
+
[
|
|
143
|
+
'label' => esc_html__( 'Headline Tag', 'sociallane-elements' ),
|
|
144
|
+
'type' => Controls_Manager::SELECT,
|
|
145
|
+
'default' => 'h2',
|
|
146
|
+
'options' => [ 'h1' => 'H1', 'h2' => 'H2', 'h3' => 'H3' ],
|
|
147
|
+
'condition' => [ 'show_headline' => 'yes' ],
|
|
148
|
+
]
|
|
149
|
+
);
|
|
150
|
+
|
|
151
|
+
$this->end_controls_section();
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
private function register_cell1_section(): void {
|
|
155
|
+
$this->start_controls_section(
|
|
156
|
+
'section_cell1',
|
|
157
|
+
[
|
|
158
|
+
'label' => esc_html__( 'Cell 1 (Left)', 'sociallane-elements' ),
|
|
159
|
+
'tab' => Controls_Manager::TAB_CONTENT,
|
|
160
|
+
'condition' => [ 'layout' => 'default' ],
|
|
161
|
+
]
|
|
162
|
+
);
|
|
163
|
+
|
|
164
|
+
$this->add_control(
|
|
165
|
+
'cell1_title',
|
|
166
|
+
[
|
|
167
|
+
'label' => esc_html__( 'Title', 'sociallane-elements' ),
|
|
168
|
+
'type' => Controls_Manager::TEXT,
|
|
169
|
+
'default' => esc_html__( 'Mobile friendly', 'sociallane-elements' ),
|
|
170
|
+
]
|
|
171
|
+
);
|
|
172
|
+
|
|
173
|
+
$this->add_control(
|
|
174
|
+
'cell1_description',
|
|
175
|
+
[
|
|
176
|
+
'label' => esc_html__( 'Description', 'sociallane-elements' ),
|
|
177
|
+
'type' => Controls_Manager::TEXTAREA,
|
|
178
|
+
'default' => esc_html__( 'Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo.', 'sociallane-elements' ),
|
|
179
|
+
]
|
|
180
|
+
);
|
|
181
|
+
|
|
182
|
+
$this->add_control(
|
|
183
|
+
'cell1_visual',
|
|
184
|
+
[
|
|
185
|
+
'label' => esc_html__( 'Visual', 'sociallane-elements' ),
|
|
186
|
+
'type' => Controls_Manager::SELECT,
|
|
187
|
+
'default' => 'none',
|
|
188
|
+
'options' => [
|
|
189
|
+
'none' => esc_html__( 'None', 'sociallane-elements' ),
|
|
190
|
+
'image' => esc_html__( 'Image', 'sociallane-elements' ),
|
|
191
|
+
],
|
|
192
|
+
]
|
|
193
|
+
);
|
|
194
|
+
|
|
195
|
+
$this->add_control(
|
|
196
|
+
'cell1_image',
|
|
197
|
+
[
|
|
198
|
+
'label' => esc_html__( 'Image', 'sociallane-elements' ),
|
|
199
|
+
'type' => Controls_Manager::MEDIA,
|
|
200
|
+
'condition' => [ 'cell1_visual' => 'image' ],
|
|
201
|
+
]
|
|
202
|
+
);
|
|
203
|
+
|
|
204
|
+
$this->add_control(
|
|
205
|
+
'cell1_image_alt',
|
|
206
|
+
[
|
|
207
|
+
'label' => esc_html__( 'Image Alt Text', 'sociallane-elements' ),
|
|
208
|
+
'type' => Controls_Manager::TEXT,
|
|
209
|
+
'condition' => [ 'cell1_visual' => 'image' ],
|
|
210
|
+
]
|
|
211
|
+
);
|
|
212
|
+
|
|
213
|
+
$this->add_control(
|
|
214
|
+
'cell1_show_button',
|
|
215
|
+
[
|
|
216
|
+
'label' => esc_html__( 'Show Button', 'sociallane-elements' ),
|
|
217
|
+
'type' => Controls_Manager::SWITCHER,
|
|
218
|
+
'default' => 'no',
|
|
219
|
+
]
|
|
220
|
+
);
|
|
221
|
+
$this->add_control(
|
|
222
|
+
'cell1_button_text',
|
|
223
|
+
[
|
|
224
|
+
'label' => esc_html__( 'Button Text', 'sociallane-elements' ),
|
|
225
|
+
'type' => Controls_Manager::TEXT,
|
|
226
|
+
'placeholder' => esc_html__( 'Lorem ipsum', 'sociallane-elements' ),
|
|
227
|
+
'condition' => [ 'cell1_show_button' => 'yes' ],
|
|
228
|
+
]
|
|
229
|
+
);
|
|
230
|
+
$this->add_control(
|
|
231
|
+
'cell1_button_url',
|
|
232
|
+
[
|
|
233
|
+
'label' => esc_html__( 'Button URL', 'sociallane-elements' ),
|
|
234
|
+
'type' => Controls_Manager::URL,
|
|
235
|
+
'condition' => [ 'cell1_show_button' => 'yes' ],
|
|
236
|
+
]
|
|
237
|
+
);
|
|
238
|
+
$this->add_control(
|
|
239
|
+
'cell1_button_style',
|
|
240
|
+
[
|
|
241
|
+
'label' => esc_html__( 'Button style', 'sociallane-elements' ),
|
|
242
|
+
'type' => Controls_Manager::SELECT,
|
|
243
|
+
'default' => 'primary',
|
|
244
|
+
'options' => sociallane_get_button_preset_options(),
|
|
245
|
+
'condition' => [ 'cell1_show_button' => 'yes' ],
|
|
246
|
+
]
|
|
247
|
+
);
|
|
248
|
+
|
|
249
|
+
$this->end_controls_section();
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
private function register_cell2_section(): void {
|
|
253
|
+
$this->start_controls_section(
|
|
254
|
+
'section_cell2',
|
|
255
|
+
[
|
|
256
|
+
'label' => esc_html__( 'Cell 2 (Middle top)', 'sociallane-elements' ),
|
|
257
|
+
'tab' => Controls_Manager::TAB_CONTENT,
|
|
258
|
+
'condition' => [ 'layout' => 'default' ],
|
|
259
|
+
]
|
|
260
|
+
);
|
|
261
|
+
|
|
262
|
+
$this->add_control(
|
|
263
|
+
'cell2_title',
|
|
264
|
+
[
|
|
265
|
+
'label' => esc_html__( 'Title', 'sociallane-elements' ),
|
|
266
|
+
'type' => Controls_Manager::TEXT,
|
|
267
|
+
'default' => esc_html__( 'Performance', 'sociallane-elements' ),
|
|
268
|
+
]
|
|
269
|
+
);
|
|
270
|
+
|
|
271
|
+
$this->add_control(
|
|
272
|
+
'cell2_description',
|
|
273
|
+
[
|
|
274
|
+
'label' => esc_html__( 'Description', 'sociallane-elements' ),
|
|
275
|
+
'type' => Controls_Manager::TEXTAREA,
|
|
276
|
+
'default' => esc_html__( 'Lorem ipsum, dolor sit amet consectetur adipisicing elit maiores impedit.', 'sociallane-elements' ),
|
|
277
|
+
]
|
|
278
|
+
);
|
|
279
|
+
|
|
280
|
+
$this->add_control(
|
|
281
|
+
'cell2_visual',
|
|
282
|
+
[
|
|
283
|
+
'label' => esc_html__( 'Visual', 'sociallane-elements' ),
|
|
284
|
+
'type' => Controls_Manager::SELECT,
|
|
285
|
+
'default' => 'metric',
|
|
286
|
+
'options' => [
|
|
287
|
+
'none' => esc_html__( 'None', 'sociallane-elements' ),
|
|
288
|
+
'metric' => esc_html__( 'Metric + chart', 'sociallane-elements' ),
|
|
289
|
+
],
|
|
290
|
+
]
|
|
291
|
+
);
|
|
292
|
+
|
|
293
|
+
$this->add_control(
|
|
294
|
+
'cell2_metric_value',
|
|
295
|
+
[
|
|
296
|
+
'label' => esc_html__( 'Metric value', 'sociallane-elements' ),
|
|
297
|
+
'type' => Controls_Manager::TEXT,
|
|
298
|
+
'default' => '1.04 s',
|
|
299
|
+
'condition' => [ 'cell2_visual' => 'metric' ],
|
|
300
|
+
]
|
|
301
|
+
);
|
|
302
|
+
|
|
303
|
+
$this->add_control(
|
|
304
|
+
'cell2_metric_change',
|
|
305
|
+
[
|
|
306
|
+
'label' => esc_html__( 'Metric change', 'sociallane-elements' ),
|
|
307
|
+
'type' => Controls_Manager::TEXT,
|
|
308
|
+
'default' => '-22%',
|
|
309
|
+
'condition' => [ 'cell2_visual' => 'metric' ],
|
|
310
|
+
]
|
|
311
|
+
);
|
|
312
|
+
|
|
313
|
+
$this->add_control(
|
|
314
|
+
'cell2_show_button',
|
|
315
|
+
[
|
|
316
|
+
'label' => esc_html__( 'Show Button', 'sociallane-elements' ),
|
|
317
|
+
'type' => Controls_Manager::SWITCHER,
|
|
318
|
+
'default' => 'no',
|
|
319
|
+
]
|
|
320
|
+
);
|
|
321
|
+
$this->add_control(
|
|
322
|
+
'cell2_button_text',
|
|
323
|
+
[
|
|
324
|
+
'label' => esc_html__( 'Button Text', 'sociallane-elements' ),
|
|
325
|
+
'type' => Controls_Manager::TEXT,
|
|
326
|
+
'placeholder' => esc_html__( 'Lorem ipsum', 'sociallane-elements' ),
|
|
327
|
+
'condition' => [ 'cell2_show_button' => 'yes' ],
|
|
328
|
+
]
|
|
329
|
+
);
|
|
330
|
+
$this->add_control(
|
|
331
|
+
'cell2_button_url',
|
|
332
|
+
[
|
|
333
|
+
'label' => esc_html__( 'Button URL', 'sociallane-elements' ),
|
|
334
|
+
'type' => Controls_Manager::URL,
|
|
335
|
+
'condition' => [ 'cell2_show_button' => 'yes' ],
|
|
336
|
+
]
|
|
337
|
+
);
|
|
338
|
+
$this->add_control(
|
|
339
|
+
'cell2_button_style',
|
|
340
|
+
[
|
|
341
|
+
'label' => esc_html__( 'Button style', 'sociallane-elements' ),
|
|
342
|
+
'type' => Controls_Manager::SELECT,
|
|
343
|
+
'default' => 'primary',
|
|
344
|
+
'options' => sociallane_get_button_preset_options(),
|
|
345
|
+
'condition' => [ 'cell2_show_button' => 'yes' ],
|
|
346
|
+
]
|
|
347
|
+
);
|
|
348
|
+
|
|
349
|
+
$this->end_controls_section();
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
private function register_cell3_section(): void {
|
|
353
|
+
$this->start_controls_section(
|
|
354
|
+
'section_cell3',
|
|
355
|
+
[
|
|
356
|
+
'label' => esc_html__( 'Cell 3 (Middle bottom)', 'sociallane-elements' ),
|
|
357
|
+
'tab' => Controls_Manager::TAB_CONTENT,
|
|
358
|
+
'condition' => [ 'layout' => 'default' ],
|
|
359
|
+
]
|
|
360
|
+
);
|
|
361
|
+
|
|
362
|
+
$this->add_control(
|
|
363
|
+
'cell3_title',
|
|
364
|
+
[
|
|
365
|
+
'label' => esc_html__( 'Title', 'sociallane-elements' ),
|
|
366
|
+
'type' => Controls_Manager::TEXT,
|
|
367
|
+
'default' => esc_html__( 'Security', 'sociallane-elements' ),
|
|
368
|
+
]
|
|
369
|
+
);
|
|
370
|
+
|
|
371
|
+
$this->add_control(
|
|
372
|
+
'cell3_description',
|
|
373
|
+
[
|
|
374
|
+
'label' => esc_html__( 'Description', 'sociallane-elements' ),
|
|
375
|
+
'type' => Controls_Manager::TEXTAREA,
|
|
376
|
+
'default' => esc_html__( 'Morbi viverra dui mi arcu sed. Tellus semper adipiscing suspendisse semper morbi.', 'sociallane-elements' ),
|
|
377
|
+
]
|
|
378
|
+
);
|
|
379
|
+
|
|
380
|
+
$this->add_control(
|
|
381
|
+
'cell3_visual',
|
|
382
|
+
[
|
|
383
|
+
'label' => esc_html__( 'Visual', 'sociallane-elements' ),
|
|
384
|
+
'type' => Controls_Manager::SELECT,
|
|
385
|
+
'default' => 'icons',
|
|
386
|
+
'options' => [
|
|
387
|
+
'none' => esc_html__( 'None', 'sociallane-elements' ),
|
|
388
|
+
'icons' => esc_html__( 'Icons', 'sociallane-elements' ),
|
|
389
|
+
],
|
|
390
|
+
]
|
|
391
|
+
);
|
|
392
|
+
|
|
393
|
+
$this->add_control(
|
|
394
|
+
'cell3_icon_1',
|
|
395
|
+
[
|
|
396
|
+
'label' => esc_html__( 'Icon 1', 'sociallane-elements' ),
|
|
397
|
+
'type' => Controls_Manager::ICONS,
|
|
398
|
+
'default' => [ 'value' => 'eicon-cloud-check', 'library' => 'elementor' ],
|
|
399
|
+
'condition' => [ 'cell3_visual' => 'icons' ],
|
|
400
|
+
]
|
|
401
|
+
);
|
|
402
|
+
|
|
403
|
+
$this->add_control(
|
|
404
|
+
'cell3_icon_2',
|
|
405
|
+
[
|
|
406
|
+
'label' => esc_html__( 'Icon 2 (center)', 'sociallane-elements' ),
|
|
407
|
+
'type' => Controls_Manager::ICONS,
|
|
408
|
+
'default' => [ 'value' => 'eicon-lock-user', 'library' => 'elementor' ],
|
|
409
|
+
'condition' => [ 'cell3_visual' => 'icons' ],
|
|
410
|
+
]
|
|
411
|
+
);
|
|
412
|
+
|
|
413
|
+
$this->add_control(
|
|
414
|
+
'cell3_icon_3',
|
|
415
|
+
[
|
|
416
|
+
'label' => esc_html__( 'Icon 3', 'sociallane-elements' ),
|
|
417
|
+
'type' => Controls_Manager::ICONS,
|
|
418
|
+
'default' => [ 'value' => 'eicon-document-file', 'library' => 'elementor' ],
|
|
419
|
+
'condition' => [ 'cell3_visual' => 'icons' ],
|
|
420
|
+
]
|
|
421
|
+
);
|
|
422
|
+
|
|
423
|
+
$this->add_control(
|
|
424
|
+
'cell3_show_button',
|
|
425
|
+
[
|
|
426
|
+
'label' => esc_html__( 'Show Button', 'sociallane-elements' ),
|
|
427
|
+
'type' => Controls_Manager::SWITCHER,
|
|
428
|
+
'default' => 'no',
|
|
429
|
+
]
|
|
430
|
+
);
|
|
431
|
+
$this->add_control(
|
|
432
|
+
'cell3_button_text',
|
|
433
|
+
[
|
|
434
|
+
'label' => esc_html__( 'Button Text', 'sociallane-elements' ),
|
|
435
|
+
'type' => Controls_Manager::TEXT,
|
|
436
|
+
'placeholder' => esc_html__( 'Lorem ipsum', 'sociallane-elements' ),
|
|
437
|
+
'condition' => [ 'cell3_show_button' => 'yes' ],
|
|
438
|
+
]
|
|
439
|
+
);
|
|
440
|
+
$this->add_control(
|
|
441
|
+
'cell3_button_url',
|
|
442
|
+
[
|
|
443
|
+
'label' => esc_html__( 'Button URL', 'sociallane-elements' ),
|
|
444
|
+
'type' => Controls_Manager::URL,
|
|
445
|
+
'condition' => [ 'cell3_show_button' => 'yes' ],
|
|
446
|
+
]
|
|
447
|
+
);
|
|
448
|
+
$this->add_control(
|
|
449
|
+
'cell3_button_style',
|
|
450
|
+
[
|
|
451
|
+
'label' => esc_html__( 'Button style', 'sociallane-elements' ),
|
|
452
|
+
'type' => Controls_Manager::SELECT,
|
|
453
|
+
'default' => 'primary',
|
|
454
|
+
'options' => sociallane_get_button_preset_options(),
|
|
455
|
+
'condition' => [ 'cell3_show_button' => 'yes' ],
|
|
456
|
+
]
|
|
457
|
+
);
|
|
458
|
+
|
|
459
|
+
$this->end_controls_section();
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
private function register_cell4_section(): void {
|
|
463
|
+
$this->start_controls_section(
|
|
464
|
+
'section_cell4',
|
|
465
|
+
[
|
|
466
|
+
'label' => esc_html__( 'Cell 4 (Right)', 'sociallane-elements' ),
|
|
467
|
+
'tab' => Controls_Manager::TAB_CONTENT,
|
|
468
|
+
'condition' => [ 'layout' => 'default' ],
|
|
469
|
+
]
|
|
470
|
+
);
|
|
471
|
+
|
|
472
|
+
$this->add_control(
|
|
473
|
+
'cell4_title',
|
|
474
|
+
[
|
|
475
|
+
'label' => esc_html__( 'Title', 'sociallane-elements' ),
|
|
476
|
+
'type' => Controls_Manager::TEXT,
|
|
477
|
+
'default' => esc_html__( 'Powerful APIs', 'sociallane-elements' ),
|
|
478
|
+
]
|
|
479
|
+
);
|
|
480
|
+
|
|
481
|
+
$this->add_control(
|
|
482
|
+
'cell4_description',
|
|
483
|
+
[
|
|
484
|
+
'label' => esc_html__( 'Description', 'sociallane-elements' ),
|
|
485
|
+
'type' => Controls_Manager::TEXTAREA,
|
|
486
|
+
'default' => esc_html__( 'Sit quis amet rutrum tellus ullamcorper ultricies libero dolor eget sem sodales gravida.', 'sociallane-elements' ),
|
|
487
|
+
]
|
|
488
|
+
);
|
|
489
|
+
|
|
490
|
+
$this->add_control(
|
|
491
|
+
'cell4_visual',
|
|
492
|
+
[
|
|
493
|
+
'label' => esc_html__( 'Visual', 'sociallane-elements' ),
|
|
494
|
+
'type' => Controls_Manager::SELECT,
|
|
495
|
+
'default' => 'code',
|
|
496
|
+
'options' => [
|
|
497
|
+
'none' => esc_html__( 'None', 'sociallane-elements' ),
|
|
498
|
+
'code' => esc_html__( 'Code snippet', 'sociallane-elements' ),
|
|
499
|
+
],
|
|
500
|
+
]
|
|
501
|
+
);
|
|
502
|
+
|
|
503
|
+
$this->add_control(
|
|
504
|
+
'cell4_code',
|
|
505
|
+
[
|
|
506
|
+
'label' => esc_html__( 'Code snippet', 'sociallane-elements' ),
|
|
507
|
+
'type' => Controls_Manager::CODE,
|
|
508
|
+
'default' => "import { useState } from 'react'\nimport { Switch } from '@headlessui/react'\n\nfunction Example() {\n const [enabled, setEnabled] = useState(true)\n return (\n <form action=\"/notification-settings\">\n <Switch checked={enabled} onChange={setEnabled}>\n {/* ... */}\n </Switch>\n <button>Submit</button>\n </form>\n )\n}",
|
|
509
|
+
'language' => 'html',
|
|
510
|
+
'condition' => [ 'cell4_visual' => 'code' ],
|
|
511
|
+
]
|
|
512
|
+
);
|
|
513
|
+
|
|
514
|
+
$this->add_control(
|
|
515
|
+
'cell4_show_button',
|
|
516
|
+
[
|
|
517
|
+
'label' => esc_html__( 'Show Button', 'sociallane-elements' ),
|
|
518
|
+
'type' => Controls_Manager::SWITCHER,
|
|
519
|
+
'default' => 'no',
|
|
520
|
+
]
|
|
521
|
+
);
|
|
522
|
+
$this->add_control(
|
|
523
|
+
'cell4_button_text',
|
|
524
|
+
[
|
|
525
|
+
'label' => esc_html__( 'Button Text', 'sociallane-elements' ),
|
|
526
|
+
'type' => Controls_Manager::TEXT,
|
|
527
|
+
'placeholder' => esc_html__( 'Lorem ipsum', 'sociallane-elements' ),
|
|
528
|
+
'condition' => [ 'cell4_show_button' => 'yes' ],
|
|
529
|
+
]
|
|
530
|
+
);
|
|
531
|
+
$this->add_control(
|
|
532
|
+
'cell4_button_url',
|
|
533
|
+
[
|
|
534
|
+
'label' => esc_html__( 'Button URL', 'sociallane-elements' ),
|
|
535
|
+
'type' => Controls_Manager::URL,
|
|
536
|
+
'condition' => [ 'cell4_show_button' => 'yes' ],
|
|
537
|
+
]
|
|
538
|
+
);
|
|
539
|
+
$this->add_control(
|
|
540
|
+
'cell4_button_style',
|
|
541
|
+
[
|
|
542
|
+
'label' => esc_html__( 'Button style', 'sociallane-elements' ),
|
|
543
|
+
'type' => Controls_Manager::SELECT,
|
|
544
|
+
'default' => 'primary',
|
|
545
|
+
'options' => sociallane_get_button_preset_options(),
|
|
546
|
+
'condition' => [ 'cell4_show_button' => 'yes' ],
|
|
547
|
+
]
|
|
548
|
+
);
|
|
549
|
+
|
|
550
|
+
$this->end_controls_section();
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
private function register_two_row_sections(): void {
|
|
554
|
+
$deploys = new Repeater();
|
|
555
|
+
$deploys->add_control( 'status', [
|
|
556
|
+
'label' => esc_html__( 'Status', 'sociallane-elements' ),
|
|
557
|
+
'type' => Controls_Manager::SELECT,
|
|
558
|
+
'default' => 'success',
|
|
559
|
+
'options' => [ 'success' => esc_html__( 'Success', 'sociallane-elements' ), 'pending' => esc_html__( 'Pending', 'sociallane-elements' ) ],
|
|
560
|
+
] );
|
|
561
|
+
$deploys->add_control( 'label', [ 'label' => esc_html__( 'Label', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Planetaria / mobile-api' ] );
|
|
562
|
+
$deploys->add_control( 'badge', [ 'label' => esc_html__( 'Badge', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Staging' ] );
|
|
563
|
+
$deploys->add_control( 'meta', [ 'label' => esc_html__( 'Meta', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Deploys from GitHub • Deployed 3m ago • 23s' ] );
|
|
564
|
+
$deploys->add_control( 'url', [ 'label' => esc_html__( 'Link URL', 'sociallane-elements' ), 'type' => Controls_Manager::URL ] );
|
|
565
|
+
|
|
566
|
+
$this->start_controls_section(
|
|
567
|
+
'section_two_row_deploys',
|
|
568
|
+
[
|
|
569
|
+
'label' => esc_html__( 'Grid top left', 'sociallane-elements' ),
|
|
570
|
+
'tab' => Controls_Manager::TAB_CONTENT,
|
|
571
|
+
'condition' => [ 'layout' => 'two-row' ],
|
|
572
|
+
]
|
|
573
|
+
);
|
|
574
|
+
$this->add_control( 'two_row_deploys_header', [ 'label' => esc_html__( 'List header', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Deploys from GitHub • Initiated 1m 32s ago' ] );
|
|
575
|
+
$this->add_control( 'two_row_deploys', [ 'label' => esc_html__( 'Deploy items', 'sociallane-elements' ), 'type' => Controls_Manager::REPEATER, 'fields' => $deploys->get_controls(), 'default' => [
|
|
576
|
+
[ 'label' => 'Planetaria / mobile-api', 'badge' => 'Staging', 'meta' => 'Deploys from GitHub • Deployed 3m ago • 23s', 'status' => 'success' ],
|
|
577
|
+
[ 'label' => 'Tailwind Labs / tailwindcss.com', 'badge' => 'Preview', 'meta' => 'Deploys from GitHub • Initiated 5m 45s ago • 3m 4s', 'status' => 'pending' ],
|
|
578
|
+
[ 'label' => 'Tailwind Labs / tailwindui.com', 'badge' => 'Preview', 'meta' => 'Deploys from GitHub • Initiated 8m ago • 1m 30s', 'status' => 'success' ],
|
|
579
|
+
], 'title_field' => '{{{ label }}}' ] );
|
|
580
|
+
$this->end_controls_section();
|
|
581
|
+
|
|
582
|
+
$integrations = new Repeater();
|
|
583
|
+
$integrations->add_control( 'icon', [ 'label' => esc_html__( 'Icon', 'sociallane-elements' ), 'type' => Controls_Manager::ICONS, 'default' => [ 'value' => 'eicon-envelope', 'library' => 'elementor' ] ] );
|
|
584
|
+
$integrations->add_control( 'label', [ 'label' => esc_html__( 'Label', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Gmail' ] );
|
|
585
|
+
|
|
586
|
+
$this->start_controls_section(
|
|
587
|
+
'section_two_row_integrations',
|
|
588
|
+
[
|
|
589
|
+
'label' => esc_html__( 'Grid top center', 'sociallane-elements' ),
|
|
590
|
+
'tab' => Controls_Manager::TAB_CONTENT,
|
|
591
|
+
'condition' => [ 'layout' => 'two-row' ],
|
|
592
|
+
]
|
|
593
|
+
);
|
|
594
|
+
$this->add_control( 'two_row_integrations_eyebrow', [ 'label' => esc_html__( 'Eyebrow', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Integrations' ] );
|
|
595
|
+
$this->add_control( 'two_row_integrations_title', [ 'label' => esc_html__( 'Title', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Connect your favorite tools' ] );
|
|
596
|
+
$this->add_control( 'two_row_integrations', [ 'label' => esc_html__( 'Items', 'sociallane-elements' ), 'type' => Controls_Manager::REPEATER, 'fields' => $integrations->get_controls(), 'default' => [
|
|
597
|
+
[ 'label' => 'Gmail' ], [ 'label' => 'Google Calendar' ], [ 'label' => 'Slack' ], [ 'label' => 'Microsoft Team' ], [ 'label' => 'Discord' ], [ 'label' => 'Adobe Creative Cloud' ],
|
|
598
|
+
], 'title_field' => '{{{ label }}}' ] );
|
|
599
|
+
$this->end_controls_section();
|
|
600
|
+
|
|
601
|
+
$this->start_controls_section(
|
|
602
|
+
'section_two_row_overview',
|
|
603
|
+
[
|
|
604
|
+
'label' => esc_html__( 'Grid right', 'sociallane-elements' ),
|
|
605
|
+
'tab' => Controls_Manager::TAB_CONTENT,
|
|
606
|
+
'condition' => [ 'layout' => 'two-row' ],
|
|
607
|
+
]
|
|
608
|
+
);
|
|
609
|
+
$this->add_control( 'two_row_overview_tabs', [ 'label' => esc_html__( 'Tab labels', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Overview, Activity, Settings, Collaborators, Notifications', 'description' => esc_html__( 'Comma-separated', 'sociallane-elements' ) ] );
|
|
610
|
+
$this->add_control( 'two_row_overview_project', [ 'label' => esc_html__( 'Project label', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Planetaria / mobile-api' ] );
|
|
611
|
+
$this->add_control( 'two_row_overview_project_meta', [ 'label' => esc_html__( 'Project meta', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Deploys from GitHub via main branch' ] );
|
|
612
|
+
$this->add_control( 'two_row_overview_stat1_label', [ 'label' => esc_html__( 'Stat 1 label', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Number of deploys' ] );
|
|
613
|
+
$this->add_control( 'two_row_overview_stat1_value', [ 'label' => esc_html__( 'Stat 1 value', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => '405' ] );
|
|
614
|
+
$this->add_control( 'two_row_overview_stat2_label', [ 'label' => esc_html__( 'Stat 2 label', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Avg deploy time' ] );
|
|
615
|
+
$this->add_control( 'two_row_overview_stat2_value', [ 'label' => esc_html__( 'Stat 2 value', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => '3.65' ] );
|
|
616
|
+
$this->add_control( 'two_row_overview_stat2_suffix', [ 'label' => esc_html__( 'Stat 2 suffix', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'seconds' ] );
|
|
617
|
+
$this->add_control( 'two_row_overview_stat3_label', [ 'label' => esc_html__( 'Stat 3 label', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Number of servers' ] );
|
|
618
|
+
$this->add_control( 'two_row_overview_stat3_value', [ 'label' => esc_html__( 'Stat 3 value', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => '3' ] );
|
|
619
|
+
$this->add_control( 'two_row_overview_perf_title', [ 'label' => esc_html__( 'Performance title', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Lightning-fast builds' ] );
|
|
620
|
+
$this->add_control( 'two_row_overview_perf_desc', [ 'label' => esc_html__( 'Performance description', 'sociallane-elements' ), 'type' => Controls_Manager::TEXTAREA, 'default' => 'Sed congue eros et magna scelerisque, eget lobortis nunc ultrices.' ] );
|
|
621
|
+
$this->end_controls_section();
|
|
622
|
+
|
|
623
|
+
$this->start_controls_section(
|
|
624
|
+
'section_two_row_releases',
|
|
625
|
+
[
|
|
626
|
+
'label' => esc_html__( 'Grid bottom left', 'sociallane-elements' ),
|
|
627
|
+
'tab' => Controls_Manager::TAB_CONTENT,
|
|
628
|
+
'condition' => [ 'layout' => 'two-row' ],
|
|
629
|
+
]
|
|
630
|
+
);
|
|
631
|
+
$this->add_control( 'two_row_releases_eyebrow', [ 'label' => esc_html__( 'Eyebrow', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Releases' ] );
|
|
632
|
+
$this->add_control( 'two_row_releases_title', [ 'label' => esc_html__( 'Title', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Push to deploy' ] );
|
|
633
|
+
$this->add_control( 'two_row_releases_desc', [ 'label' => esc_html__( 'Description', 'sociallane-elements' ), 'type' => Controls_Manager::TEXTAREA, 'default' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.' ] );
|
|
634
|
+
$this->end_controls_section();
|
|
635
|
+
|
|
636
|
+
$this->start_controls_section(
|
|
637
|
+
'section_two_row_security',
|
|
638
|
+
[
|
|
639
|
+
'label' => esc_html__( 'Grid bottom center', 'sociallane-elements' ),
|
|
640
|
+
'tab' => Controls_Manager::TAB_CONTENT,
|
|
641
|
+
'condition' => [ 'layout' => 'two-row' ],
|
|
642
|
+
]
|
|
643
|
+
);
|
|
644
|
+
$this->add_control( 'two_row_security_eyebrow', [ 'label' => esc_html__( 'Eyebrow', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Security' ] );
|
|
645
|
+
$this->add_control( 'two_row_security_title', [ 'label' => esc_html__( 'Title', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Advanced access control' ] );
|
|
646
|
+
$this->add_control( 'two_row_security_desc', [ 'label' => esc_html__( 'Description', 'sociallane-elements' ), 'type' => Controls_Manager::TEXTAREA, 'default' => 'Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae.' ] );
|
|
647
|
+
$this->add_control( 'two_row_security_avatar1', [ 'label' => esc_html__( 'Avatar 1', 'sociallane-elements' ), 'type' => Controls_Manager::MEDIA ] );
|
|
648
|
+
$this->add_control( 'two_row_security_avatar2', [ 'label' => esc_html__( 'Avatar 2', 'sociallane-elements' ), 'type' => Controls_Manager::MEDIA ] );
|
|
649
|
+
$this->end_controls_section();
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
private function register_two_column_second_row_sections(): void {
|
|
653
|
+
$this->start_controls_section(
|
|
654
|
+
'section_tcsr_row1_left',
|
|
655
|
+
[
|
|
656
|
+
'label' => esc_html__( 'Grid row 1 left', 'sociallane-elements' ),
|
|
657
|
+
'tab' => Controls_Manager::TAB_CONTENT,
|
|
658
|
+
'condition' => [ 'layout' => 'two-column-second-row' ],
|
|
659
|
+
]
|
|
660
|
+
);
|
|
661
|
+
$this->add_control( 'tcsr_search_placeholder', [ 'label' => esc_html__( 'Search placeholder', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Search something...' ] );
|
|
662
|
+
$this->add_control( 'tcsr_tabs', [ 'label' => esc_html__( 'Tab labels', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Overview, Activity, Settings, Collaborators, Notifications' ] );
|
|
663
|
+
$this->add_control( 'tcsr_project', [ 'label' => esc_html__( 'Project label', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Planetaria / mobile-api' ] );
|
|
664
|
+
$this->add_control( 'tcsr_project_meta', [ 'label' => esc_html__( 'Project meta', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Deploys from GitHub via main branch' ] );
|
|
665
|
+
$this->add_control( 'tcsr_stat1_label', [ 'label' => esc_html__( 'Stat 1 label', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Number of deploys' ] );
|
|
666
|
+
$this->add_control( 'tcsr_stat1_value', [ 'label' => esc_html__( 'Stat 1 value', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => '405' ] );
|
|
667
|
+
$this->add_control( 'tcsr_stat2_label', [ 'label' => esc_html__( 'Stat 2 label', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Avg deploy time' ] );
|
|
668
|
+
$this->add_control( 'tcsr_stat2_value', [ 'label' => esc_html__( 'Stat 2 value', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => '3.65' ] );
|
|
669
|
+
$this->add_control( 'tcsr_stat2_suffix', [ 'label' => esc_html__( 'Stat 2 suffix', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'mins' ] );
|
|
670
|
+
$this->add_control( 'tcsr_perf_title', [ 'label' => esc_html__( 'Performance title', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Lightning-fast builds' ] );
|
|
671
|
+
$this->add_control( 'tcsr_perf_desc', [ 'label' => esc_html__( 'Performance description', 'sociallane-elements' ), 'type' => Controls_Manager::TEXTAREA, 'default' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.' ] );
|
|
672
|
+
$this->end_controls_section();
|
|
673
|
+
|
|
674
|
+
$activity = new Repeater();
|
|
675
|
+
$activity->add_control( 'name', [ 'label' => esc_html__( 'Name', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Cosetta Dusett' ] );
|
|
676
|
+
$activity->add_control( 'time', [ 'label' => esc_html__( 'Time', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => '30s' ] );
|
|
677
|
+
$activity->add_control( 'action', [ 'label' => esc_html__( 'Action', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Pushed to ios-app' ] );
|
|
678
|
+
$activity->add_control( 'badge', [ 'label' => esc_html__( 'Badge', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => '' ] );
|
|
679
|
+
$activity->add_control( 'avatar', [ 'label' => esc_html__( 'Avatar', 'sociallane-elements' ), 'type' => Controls_Manager::MEDIA ] );
|
|
680
|
+
|
|
681
|
+
$this->start_controls_section(
|
|
682
|
+
'section_tcsr_row1_right',
|
|
683
|
+
[
|
|
684
|
+
'label' => esc_html__( 'Grid row 1 right', 'sociallane-elements' ),
|
|
685
|
+
'tab' => Controls_Manager::TAB_CONTENT,
|
|
686
|
+
'condition' => [ 'layout' => 'two-column-second-row' ],
|
|
687
|
+
]
|
|
688
|
+
);
|
|
689
|
+
$this->add_control( 'tcsr_activity_title', [ 'label' => esc_html__( 'Activity title', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Activity feed' ] );
|
|
690
|
+
$this->add_control( 'tcsr_sort_by', [ 'label' => esc_html__( 'Sort by label', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Sort by' ] );
|
|
691
|
+
$this->add_control( 'tcsr_view_all', [ 'label' => esc_html__( 'View all text', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'View all' ] );
|
|
692
|
+
$this->add_control( 'tcsr_view_all_url', [ 'label' => esc_html__( 'View all URL', 'sociallane-elements' ), 'type' => Controls_Manager::URL ] );
|
|
693
|
+
$this->add_control( 'tcsr_activities', [ 'label' => esc_html__( 'Activities', 'sociallane-elements' ), 'type' => Controls_Manager::REPEATER, 'fields' => $activity->get_controls(), 'default' => [
|
|
694
|
+
[ 'name' => 'Cosetta Dusett', 'time' => '30s', 'action' => 'Pushed to ios-app', 'badge' => 'Preview' ],
|
|
695
|
+
[ 'name' => 'Pammi Kakani', 'time' => '3m', 'action' => 'Deployed production', 'badge' => 'Production' ],
|
|
696
|
+
[ 'name' => 'Kora Grisostomo', 'time' => '4m', 'action' => 'Pushed to main', 'badge' => '' ],
|
|
697
|
+
], 'title_field' => '{{{ name }}}' ] );
|
|
698
|
+
$this->add_control( 'tcsr_releases_eyebrow', [ 'label' => esc_html__( 'Releases eyebrow', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Releases' ] );
|
|
699
|
+
$this->add_control( 'tcsr_releases_title', [ 'label' => esc_html__( 'Releases title', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Push to deploy' ] );
|
|
700
|
+
$this->add_control( 'tcsr_releases_desc', [ 'label' => esc_html__( 'Releases description', 'sociallane-elements' ), 'type' => Controls_Manager::TEXTAREA, 'default' => 'Curabitur auctor nisl vitae magna.' ] );
|
|
701
|
+
$this->end_controls_section();
|
|
702
|
+
|
|
703
|
+
$this->start_controls_section(
|
|
704
|
+
'section_tcsr_row2_left',
|
|
705
|
+
[
|
|
706
|
+
'label' => esc_html__( 'Grid row 2 left', 'sociallane-elements' ),
|
|
707
|
+
'tab' => Controls_Manager::TAB_CONTENT,
|
|
708
|
+
'condition' => [ 'layout' => 'two-column-second-row' ],
|
|
709
|
+
]
|
|
710
|
+
);
|
|
711
|
+
$this->add_control( 'tcsr_row2_left_eyebrow', [ 'label' => esc_html__( 'Eyebrow', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Speed' ] );
|
|
712
|
+
$this->add_control( 'tcsr_row2_left_title', [ 'label' => esc_html__( 'Title', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Built for power users' ] );
|
|
713
|
+
$this->add_control( 'tcsr_row2_left_desc', [ 'label' => esc_html__( 'Description', 'sociallane-elements' ), 'type' => Controls_Manager::TEXTAREA, 'default' => 'Sed congue eros et magna scelerisque.' ] );
|
|
714
|
+
$this->add_control( 'tcsr_row2_left_image', [ 'label' => esc_html__( 'Image', 'sociallane-elements' ), 'type' => Controls_Manager::MEDIA ] );
|
|
715
|
+
$this->add_control( 'tcsr_row2_left_image_alt', [ 'label' => esc_html__( 'Image alt', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT ] );
|
|
716
|
+
$this->end_controls_section();
|
|
717
|
+
|
|
718
|
+
$tcsr_icons = new Repeater();
|
|
719
|
+
$tcsr_icons->add_control( 'icon', [ 'label' => esc_html__( 'Icon', 'sociallane-elements' ), 'type' => Controls_Manager::ICONS, 'default' => [ 'value' => 'eicon-envelope', 'library' => 'elementor' ] ] );
|
|
720
|
+
$tcsr_icons->add_control( 'label', [ 'label' => esc_html__( 'Label', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Gmail' ] );
|
|
721
|
+
|
|
722
|
+
$this->start_controls_section(
|
|
723
|
+
'section_tcsr_row2_center',
|
|
724
|
+
[
|
|
725
|
+
'label' => esc_html__( 'Grid row 2 center', 'sociallane-elements' ),
|
|
726
|
+
'tab' => Controls_Manager::TAB_CONTENT,
|
|
727
|
+
'condition' => [ 'layout' => 'two-column-second-row' ],
|
|
728
|
+
]
|
|
729
|
+
);
|
|
730
|
+
$this->add_control( 'tcsr_row2_center_eyebrow', [ 'label' => esc_html__( 'Eyebrow', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Integrations' ] );
|
|
731
|
+
$this->add_control( 'tcsr_row2_center_title', [ 'label' => esc_html__( 'Title', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Connect your favorite tools' ] );
|
|
732
|
+
$this->add_control( 'tcsr_row2_center_desc', [ 'label' => esc_html__( 'Description', 'sociallane-elements' ), 'type' => Controls_Manager::TEXTAREA, 'default' => 'Maecenas at augue ut lectus.' ] );
|
|
733
|
+
$this->add_control( 'tcsr_row2_center_items', [ 'label' => esc_html__( 'Items', 'sociallane-elements' ), 'type' => Controls_Manager::REPEATER, 'fields' => $tcsr_icons->get_controls(), 'default' => [
|
|
734
|
+
[ 'label' => 'Gmail' ], [ 'label' => 'Calendar' ], [ 'label' => 'Slack' ], [ 'label' => 'Teams' ], [ 'label' => 'Discord' ], [ 'label' => 'Adobe' ],
|
|
735
|
+
], 'title_field' => '{{{ label }}}' ] );
|
|
736
|
+
$this->end_controls_section();
|
|
737
|
+
|
|
738
|
+
$this->start_controls_section(
|
|
739
|
+
'section_tcsr_row2_right',
|
|
740
|
+
[
|
|
741
|
+
'label' => esc_html__( 'Grid row 2 right', 'sociallane-elements' ),
|
|
742
|
+
'tab' => Controls_Manager::TAB_CONTENT,
|
|
743
|
+
'condition' => [ 'layout' => 'two-column-second-row' ],
|
|
744
|
+
]
|
|
745
|
+
);
|
|
746
|
+
$this->add_control( 'tcsr_row2_right_eyebrow', [ 'label' => esc_html__( 'Eyebrow', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Network' ] );
|
|
747
|
+
$this->add_control( 'tcsr_row2_right_title', [ 'label' => esc_html__( 'Title', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT, 'default' => 'Globally distributed CDN' ] );
|
|
748
|
+
$this->add_control( 'tcsr_row2_right_desc', [ 'label' => esc_html__( 'Description', 'sociallane-elements' ), 'type' => Controls_Manager::TEXTAREA, 'default' => 'Aenean vulputate eleifend tellus.' ] );
|
|
749
|
+
$this->add_control( 'tcsr_row2_right_image', [ 'label' => esc_html__( 'Image', 'sociallane-elements' ), 'type' => Controls_Manager::MEDIA ] );
|
|
750
|
+
$this->add_control( 'tcsr_row2_right_image_alt', [ 'label' => esc_html__( 'Image alt', 'sociallane-elements' ), 'type' => Controls_Manager::TEXT ] );
|
|
751
|
+
$this->end_controls_section();
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
protected function render(): void {
|
|
755
|
+
$settings = $this->get_settings_for_display();
|
|
756
|
+
require_once __DIR__ . '/data/view.php';
|
|
757
|
+
$view = prepare_bento_grid_view( $settings, $this->get_id() );
|
|
758
|
+
include __DIR__ . '/templates/wrapper.php';
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
|