@affinda/wc 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/affinda/af-cta-section.entry.esm.js.map +1 -0
- package/dist/affinda/af-feature-accordion.entry.esm.js.map +1 -0
- package/dist/affinda/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.esm.js.map +1 -1
- package/dist/affinda/af-logo-well.entry.esm.js.map +1 -1
- package/dist/affinda/affinda.css +1 -1
- package/dist/affinda/affinda.esm.js +1 -1
- package/dist/affinda/index.esm.js +1 -1
- package/dist/affinda/p-00214c08.entry.js +2 -0
- package/dist/affinda/p-00214c08.entry.js.map +1 -0
- package/dist/affinda/{p-56a15842.entry.js → p-050f98cd.entry.js} +2 -2
- package/dist/affinda/{p-cb10e4ca.entry.js → p-07990b1f.entry.js} +2 -2
- package/dist/affinda/p-0835ca39.entry.js +2 -0
- package/dist/affinda/p-0835ca39.entry.js.map +1 -0
- package/dist/affinda/{p-0fb55acf.entry.js → p-173bc70b.entry.js} +2 -2
- package/dist/affinda/{p-f6f2f1c4.entry.js → p-32fe4d5e.entry.js} +2 -2
- package/dist/affinda/{p-430127fa.entry.js → p-3a9646e6.entry.js} +2 -2
- package/dist/affinda/{p-45d0f3e3.entry.js → p-954963fa.entry.js} +2 -2
- package/dist/affinda/{p-46edc753.entry.js → p-9bc092d7.entry.js} +2 -2
- package/dist/affinda/p-9c733909.entry.js +2 -0
- package/dist/affinda/p-9c733909.entry.js.map +1 -0
- package/dist/affinda/{p-Agei6ZJQ.js → p-DI7b0bCy.js} +3 -3
- package/dist/affinda/p-DI7b0bCy.js.map +1 -0
- package/dist/affinda/{p-2c0d7eb7.entry.js → p-a3116a6b.entry.js} +2 -2
- package/dist/affinda/{p-e69c34f1.entry.js → p-aac3792a.entry.js} +2 -2
- package/dist/affinda/{p-e56182e4.entry.js → p-ac7efb48.entry.js} +2 -2
- package/dist/affinda/{p-10288f13.entry.js → p-b6885a9a.entry.js} +2 -2
- package/dist/affinda/{p-10288f13.entry.js.map → p-b6885a9a.entry.js.map} +1 -1
- package/dist/affinda/{p-39e917eb.entry.js → p-d3b2ab0e.entry.js} +2 -2
- package/dist/affinda/{p-867c5141.entry.js → p-dec4c4d5.entry.js} +2 -2
- package/dist/affinda/{p-e2c40f4e.entry.js → p-e367e42b.entry.js} +2 -2
- package/dist/affinda/{p-23aedaa4.entry.js → p-f8ac0120.entry.js} +2 -2
- package/dist/cjs/af-aspect-ratio.cjs.entry.js +1 -1
- package/dist/cjs/af-button-group.cjs.entry.js +1 -1
- package/dist/cjs/af-button.cjs.entry.js +1 -1
- package/dist/cjs/af-card.cjs.entry.js +1 -1
- package/dist/cjs/af-client-carousel.cjs.entry.js +1 -1
- package/dist/cjs/af-color-swatch.cjs.entry.js +1 -1
- package/dist/cjs/af-container.cjs.entry.js +1 -1
- package/dist/cjs/af-cta-section.cjs.entry.js +32 -0
- package/dist/cjs/af-cta-section.entry.cjs.js.map +1 -0
- package/dist/cjs/af-feature-accordion.cjs.entry.js +108 -0
- package/dist/cjs/af-feature-accordion.entry.cjs.js.map +1 -0
- package/dist/cjs/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.cjs.js.map +1 -1
- package/dist/cjs/af-heading_5.cjs.entry.js +2 -2
- package/dist/cjs/af-hero-section.cjs.entry.js +2 -2
- package/dist/cjs/af-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/af-logo-well.cjs.entry.js +3 -3
- package/dist/cjs/af-logo-well.entry.cjs.js.map +1 -1
- package/dist/cjs/af-section.cjs.entry.js +3 -3
- package/dist/cjs/af-testimonial-carousel.cjs.entry.js +3 -3
- package/dist/cjs/af-testimonial-stat.cjs.entry.js +2 -2
- package/dist/cjs/af-testimonial.cjs.entry.js +2 -2
- package/dist/cjs/af-typography-lockup.cjs.entry.js +1 -1
- package/dist/cjs/affinda.cjs.js +2 -2
- package/dist/cjs/{index-D_ItFcqt.js → index-DfEVhbS6.js} +42 -4
- package/dist/cjs/index-DfEVhbS6.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/af-cta-section/af-cta-section.css +175 -0
- package/dist/collection/components/af-cta-section/af-cta-section.js +183 -0
- package/dist/collection/components/af-cta-section/af-cta-section.js.map +1 -0
- package/dist/collection/components/af-feature-accordion/af-feature-accordion.css +220 -0
- package/dist/collection/components/af-feature-accordion/af-feature-accordion.js +209 -0
- package/dist/collection/components/af-feature-accordion/af-feature-accordion.js.map +1 -0
- package/dist/collection/components/af-hero-section/af-hero-section.js +1 -1
- package/dist/collection/components/af-logo-well/af-logo-well.css +20 -5
- package/dist/collection/components/af-logo-well/af-logo-well.js +1 -1
- package/dist/collection/components/af-navbar/af-navbar.css +28 -2
- package/dist/collection/components/af-section/af-section.js +2 -2
- package/dist/collection/components/af-testimonial/af-testimonial.js +1 -1
- package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.js +2 -2
- package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.js +1 -1
- package/dist/components/af-aspect-ratio.js +1 -1
- package/dist/components/af-button-group.js +1 -1
- package/dist/components/af-button.js +1 -1
- package/dist/components/af-card.js +1 -1
- package/dist/components/af-client-carousel.js +1 -1
- package/dist/components/af-color-swatch.js +1 -1
- package/dist/components/af-container.js +1 -1
- package/dist/components/af-cta-section.d.ts +11 -0
- package/dist/components/af-cta-section.js +59 -0
- package/dist/components/af-cta-section.js.map +1 -0
- package/dist/components/af-feature-accordion.d.ts +11 -0
- package/dist/components/af-feature-accordion.js +136 -0
- package/dist/components/af-feature-accordion.js.map +1 -0
- package/dist/components/af-heading.js +1 -1
- package/dist/components/af-hero-section.js +3 -3
- package/dist/components/af-icon-button.js +1 -1
- package/dist/components/af-logo-well.js +3 -3
- package/dist/components/af-logo-well.js.map +1 -1
- package/dist/components/af-logo.js +1 -1
- package/dist/components/af-nav-item.js +1 -1
- package/dist/components/af-navbar.js +1 -1
- package/dist/components/af-section.js +4 -4
- package/dist/components/af-testimonial-carousel.js +3 -3
- package/dist/components/af-testimonial-stat.js +2 -2
- package/dist/components/af-testimonial.js +2 -2
- package/dist/components/af-text.js +1 -1
- package/dist/components/af-typography-lockup.js +1 -1
- package/dist/components/index.js +13 -13
- package/dist/components/{p-BeQlNDyY.js → p-7a3XpKXs.js} +3 -3
- package/dist/components/{p-BeQlNDyY.js.map → p-7a3XpKXs.js.map} +1 -1
- package/dist/components/{p-BSewwIfD.js → p-BBivIwbE.js} +3 -3
- package/dist/components/{p-BSewwIfD.js.map → p-BBivIwbE.js.map} +1 -1
- package/dist/components/{p-CcNomA2o.js → p-BKGrl8ua.js} +3 -3
- package/dist/components/{p-CcNomA2o.js.map → p-BKGrl8ua.js.map} +1 -1
- package/dist/components/{p-Vu-NeL7U.js → p-BTEblSAo.js} +3 -3
- package/dist/components/{p-Vu-NeL7U.js.map → p-BTEblSAo.js.map} +1 -1
- package/dist/components/{p-CUr7n62X.js → p-BekWfVfB.js} +3 -3
- package/dist/components/{p-CUr7n62X.js.map → p-BekWfVfB.js.map} +1 -1
- package/dist/components/{p-C1C1Him5.js → p-Bg7dSc4D.js} +3 -3
- package/dist/components/{p-C1C1Him5.js.map → p-Bg7dSc4D.js.map} +1 -1
- package/dist/components/{p-BpXkQGDQ.js → p-BkEmrXbw.js} +3 -3
- package/dist/components/{p-BpXkQGDQ.js.map → p-BkEmrXbw.js.map} +1 -1
- package/dist/components/{p-sJI0-JlJ.js → p-D4s4u7tL.js} +3 -3
- package/dist/components/{p-sJI0-JlJ.js.map → p-D4s4u7tL.js.map} +1 -1
- package/dist/components/{p-tFlyM2Th.js → p-DqOwXTsH.js} +3 -3
- package/dist/components/{p-tFlyM2Th.js.map → p-DqOwXTsH.js.map} +1 -1
- package/dist/components/{p-CZlTvZAm.js → p-Dt4Fpr3O.js} +33 -5
- package/dist/components/p-Dt4Fpr3O.js.map +1 -0
- package/dist/components/{p-BMl1ggbQ.js → p-PLXzXWgX.js} +3 -3
- package/dist/components/{p-BMl1ggbQ.js.map → p-PLXzXWgX.js.map} +1 -1
- package/dist/components/{p-Csie_upq.js → p-Thu9mUEn.js} +4 -4
- package/dist/components/p-Thu9mUEn.js.map +1 -0
- package/dist/components/{p-B_FOK5P6.js → p-emB0l5gm.js} +3 -3
- package/dist/components/{p-B_FOK5P6.js.map → p-emB0l5gm.js.map} +1 -1
- package/dist/esm/af-aspect-ratio.entry.js +1 -1
- package/dist/esm/af-button-group.entry.js +1 -1
- package/dist/esm/af-button.entry.js +1 -1
- package/dist/esm/af-card.entry.js +1 -1
- package/dist/esm/af-client-carousel.entry.js +1 -1
- package/dist/esm/af-color-swatch.entry.js +1 -1
- package/dist/esm/af-container.entry.js +1 -1
- package/dist/esm/af-cta-section.entry.js +30 -0
- package/dist/esm/af-cta-section.entry.js.map +1 -0
- package/dist/esm/af-feature-accordion.entry.js +106 -0
- package/dist/esm/af-feature-accordion.entry.js.map +1 -0
- package/dist/esm/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.js.map +1 -1
- package/dist/esm/af-heading_5.entry.js +2 -2
- package/dist/esm/af-hero-section.entry.js +2 -2
- package/dist/esm/af-icon-button.entry.js +1 -1
- package/dist/esm/af-logo-well.entry.js +3 -3
- package/dist/esm/af-logo-well.entry.js.map +1 -1
- package/dist/esm/af-section.entry.js +3 -3
- package/dist/esm/af-testimonial-carousel.entry.js +3 -3
- package/dist/esm/af-testimonial-stat.entry.js +2 -2
- package/dist/esm/af-testimonial.entry.js +2 -2
- package/dist/esm/af-typography-lockup.entry.js +1 -1
- package/dist/esm/affinda.js +3 -3
- package/dist/esm/{index-Agei6ZJQ.js → index-DI7b0bCy.js} +42 -4
- package/dist/esm/index-DI7b0bCy.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/af-cta-section/af-cta-section.d.ts +21 -0
- package/dist/types/components/af-feature-accordion/af-feature-accordion.d.ts +37 -0
- package/dist/types/components.d.ts +172 -0
- package/package.json +1 -1
- package/dist/affinda/p-13c30dd8.entry.js +0 -2
- package/dist/affinda/p-13c30dd8.entry.js.map +0 -1
- package/dist/affinda/p-Agei6ZJQ.js.map +0 -1
- package/dist/cjs/index-D_ItFcqt.js.map +0 -1
- package/dist/components/p-CZlTvZAm.js.map +0 -1
- package/dist/components/p-Csie_upq.js.map +0 -1
- package/dist/esm/index-Agei6ZJQ.js.map +0 -1
- /package/dist/affinda/{p-56a15842.entry.js.map → p-050f98cd.entry.js.map} +0 -0
- /package/dist/affinda/{p-cb10e4ca.entry.js.map → p-07990b1f.entry.js.map} +0 -0
- /package/dist/affinda/{p-0fb55acf.entry.js.map → p-173bc70b.entry.js.map} +0 -0
- /package/dist/affinda/{p-f6f2f1c4.entry.js.map → p-32fe4d5e.entry.js.map} +0 -0
- /package/dist/affinda/{p-430127fa.entry.js.map → p-3a9646e6.entry.js.map} +0 -0
- /package/dist/affinda/{p-45d0f3e3.entry.js.map → p-954963fa.entry.js.map} +0 -0
- /package/dist/affinda/{p-46edc753.entry.js.map → p-9bc092d7.entry.js.map} +0 -0
- /package/dist/affinda/{p-2c0d7eb7.entry.js.map → p-a3116a6b.entry.js.map} +0 -0
- /package/dist/affinda/{p-e69c34f1.entry.js.map → p-aac3792a.entry.js.map} +0 -0
- /package/dist/affinda/{p-e56182e4.entry.js.map → p-ac7efb48.entry.js.map} +0 -0
- /package/dist/affinda/{p-39e917eb.entry.js.map → p-d3b2ab0e.entry.js.map} +0 -0
- /package/dist/affinda/{p-867c5141.entry.js.map → p-dec4c4d5.entry.js.map} +0 -0
- /package/dist/affinda/{p-e2c40f4e.entry.js.map → p-e367e42b.entry.js.map} +0 -0
- /package/dist/affinda/{p-23aedaa4.entry.js.map → p-f8ac0120.entry.js.map} +0 -0
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -8,7 +8,7 @@ var afButton_entry = require('./af-button.cjs.entry.js');
|
|
|
8
8
|
var afIconButton_entry = require('./af-icon-button.cjs.entry.js');
|
|
9
9
|
var afButtonGroup_entry = require('./af-button-group.cjs.entry.js');
|
|
10
10
|
var afTypographyLockup_entry = require('./af-typography-lockup.cjs.entry.js');
|
|
11
|
-
require('./index-
|
|
11
|
+
require('./index-DfEVhbS6.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DfEVhbS6.js');
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await index.globalScripts();
|
|
8
|
-
return index.bootstrapLazy([["af-hero-section.cjs",[[262,"af-hero-section",{"variant":[1],"withDecoration":[4,"with-decoration"],"minHeight":[1,"min-height"]}]]],["af-section.cjs",[[262,"af-section",{"padding":[1],"background":[1],"container":[4]}]]],["af-heading_5.cjs",[[257,"af-heading",{"level":[1],"align":[1],"theme":[1]}],[257,"af-logo"],[257,"af-nav-item",{"hierarchy":[1],"variant":[1],"href":[1],"active":[4]}],[257,"af-navbar",{"mobileMenuOpen":[32]}],[257,"af-text",{"variant":[1],"align":[1],"as":[1],"theme":[1]}]]],["af-aspect-ratio.cjs",[[257,"af-aspect-ratio",{"ratio":[1]}]]],["af-button.cjs",[[257,"af-button",{"variant":[1],"size":[1],"disabled":[4],"href":[1],"type":[1],"darkBackground":[4,"dark-background"]}]]],["af-button-group.cjs",[[257,"af-button-group",{"direction":[1],"gap":[1]}]]],["af-card.cjs",[[262,"af-card",{"backgroundImage":[1,"background-image"],"backgroundColor":[1,"background-color"],"darkOverlay":[4,"dark-overlay"]}]]],["af-client-carousel.cjs",[[257,"af-client-carousel",{"showHeadline":[4,"show-headline"],"headlineText":[1,"headline-text"]}]]],["af-color-swatch.cjs",[[257,"af-color-swatch",{"color":[1],"name":[1],"size":[1]}]]],["af-icon-button.cjs",[[257,"af-icon-button",{"variant":[1],"size":[1],"disabled":[4],"href":[1],"type":[1],"ariaLabel":[1,"aria-label"]}]]],["af-logo-well.cjs",[[257,"af-logo-well"]]],["af-testimonial.cjs",[[262,"af-testimonial",{"backgroundImage":[1,"background-image"],"logoImage":[1,"logo-image"],"quote":[1],"attribution":[1],"readMoreLink":[1,"read-more-link"]}]]],["af-testimonial-carousel.cjs",[[262,"af-testimonial-carousel",{"currentIndex":[32],"isAnimating":[32],"testimonialCount":[32]}]]],["af-testimonial-stat.cjs",[[258,"af-testimonial-stat",{"value":[1],"description":[1],"accentBorder":[4,"accent-border"]}]]],["af-typography-lockup.cjs",[[257,"af-typography-lockup",{"headingSize":[2,"heading-size"],"breakpoint":[1],"textAlignment":[1,"text-alignment"],"buttonAlignment":[1,"button-alignment"],"maxWidth":[2,"max-width"]}]]],["af-container.cjs",[[257,"af-container",{"maxWidth":[1,"max-width"]}]]]], options);
|
|
8
|
+
return index.bootstrapLazy([["af-hero-section.cjs",[[262,"af-hero-section",{"variant":[1],"withDecoration":[4,"with-decoration"],"minHeight":[1,"min-height"]}]]],["af-section.cjs",[[262,"af-section",{"padding":[1],"background":[1],"container":[4]}]]],["af-heading_5.cjs",[[257,"af-heading",{"level":[1],"align":[1],"theme":[1]}],[257,"af-logo"],[257,"af-nav-item",{"hierarchy":[1],"variant":[1],"href":[1],"active":[4]}],[257,"af-navbar",{"mobileMenuOpen":[32]}],[257,"af-text",{"variant":[1],"align":[1],"as":[1],"theme":[1]}]]],["af-aspect-ratio.cjs",[[257,"af-aspect-ratio",{"ratio":[1]}]]],["af-button.cjs",[[257,"af-button",{"variant":[1],"size":[1],"disabled":[4],"href":[1],"type":[1],"darkBackground":[4,"dark-background"]}]]],["af-button-group.cjs",[[257,"af-button-group",{"direction":[1],"gap":[1]}]]],["af-card.cjs",[[262,"af-card",{"backgroundImage":[1,"background-image"],"backgroundColor":[1,"background-color"],"darkOverlay":[4,"dark-overlay"]}]]],["af-client-carousel.cjs",[[257,"af-client-carousel",{"showHeadline":[4,"show-headline"],"headlineText":[1,"headline-text"]}]]],["af-color-swatch.cjs",[[257,"af-color-swatch",{"color":[1],"name":[1],"size":[1]}]]],["af-cta-section.cjs",[[262,"af-cta-section",{"heading":[1],"description":[1],"primaryButtonText":[1,"primary-button-text"],"primaryButtonUrl":[1,"primary-button-url"],"secondaryButtonText":[1,"secondary-button-text"],"secondaryButtonUrl":[1,"secondary-button-url"],"illustrationUrl":[1,"illustration-url"]}]]],["af-feature-accordion.cjs",[[262,"af-feature-accordion",{"heading":[1],"items":[1],"cycleInterval":[2,"cycle-interval"],"autoCycle":[4,"auto-cycle"],"expandedIndex":[32],"timerProgress":[32]},null,{"autoCycle":["handleAutoCycleChange"]}]]],["af-icon-button.cjs",[[257,"af-icon-button",{"variant":[1],"size":[1],"disabled":[4],"href":[1],"type":[1],"ariaLabel":[1,"aria-label"]}]]],["af-logo-well.cjs",[[257,"af-logo-well"]]],["af-testimonial.cjs",[[262,"af-testimonial",{"backgroundImage":[1,"background-image"],"logoImage":[1,"logo-image"],"quote":[1],"attribution":[1],"readMoreLink":[1,"read-more-link"]}]]],["af-testimonial-carousel.cjs",[[262,"af-testimonial-carousel",{"currentIndex":[32],"isAnimating":[32],"testimonialCount":[32]}]]],["af-testimonial-stat.cjs",[[258,"af-testimonial-stat",{"value":[1],"description":[1],"accentBorder":[4,"accent-border"]}]]],["af-typography-lockup.cjs",[[257,"af-typography-lockup",{"headingSize":[2,"heading-size"],"breakpoint":[1],"textAlignment":[1,"text-alignment"],"buttonAlignment":[1,"button-alignment"],"maxWidth":[2,"max-width"]}]]],["af-container.cjs",[[257,"af-container",{"maxWidth":[1,"max-width"]}]]]], options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
exports.setNonce = index.setNonce;
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
"components/af-typography-lockup/af-typography-lockup.js",
|
|
15
15
|
"components/af-card/af-card.js",
|
|
16
16
|
"components/af-client-carousel/af-client-carousel.js",
|
|
17
|
+
"components/af-cta-section/af-cta-section.js",
|
|
18
|
+
"components/af-feature-accordion/af-feature-accordion.js",
|
|
17
19
|
"components/af-hero-section/af-hero-section.js",
|
|
18
20
|
"components/af-logo-well/af-logo-well.js",
|
|
19
21
|
"components/af-section/af-section.js",
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
.cta-section {
|
|
2
|
+
padding: 32px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.cta-section__container {
|
|
6
|
+
position: relative;
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
gap: 48px;
|
|
10
|
+
padding: 64px 80px;
|
|
11
|
+
/* Match the exact background color from affinda.com */
|
|
12
|
+
background-color: #D6E8E4;
|
|
13
|
+
border-radius: 24px;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
max-width: 1200px;
|
|
16
|
+
margin: 0 auto;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* Decorative wave background */
|
|
20
|
+
.cta-section__wave-bg {
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 0;
|
|
23
|
+
left: 0;
|
|
24
|
+
right: 0;
|
|
25
|
+
bottom: 0;
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.cta-section__wave-svg {
|
|
31
|
+
position: absolute;
|
|
32
|
+
bottom: -50px;
|
|
33
|
+
right: -50px;
|
|
34
|
+
width: 120%;
|
|
35
|
+
height: 120%;
|
|
36
|
+
opacity: 0.8;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Illustration container */
|
|
40
|
+
.cta-section__illustration {
|
|
41
|
+
position: relative;
|
|
42
|
+
z-index: 1;
|
|
43
|
+
flex-shrink: 0;
|
|
44
|
+
width: 200px;
|
|
45
|
+
height: 200px;
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.cta-section__illustration-img {
|
|
52
|
+
width: 100%;
|
|
53
|
+
height: 100%;
|
|
54
|
+
object-fit: contain;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.cta-section__illustration svg {
|
|
58
|
+
width: 100%;
|
|
59
|
+
height: 100%;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Content area */
|
|
63
|
+
.cta-section__content {
|
|
64
|
+
position: relative;
|
|
65
|
+
z-index: 1;
|
|
66
|
+
flex: 1;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.cta-section__heading {
|
|
70
|
+
font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
|
|
71
|
+
font-weight: 400;
|
|
72
|
+
font-size: clamp(28px, 4vw, 40px);
|
|
73
|
+
line-height: 1.1;
|
|
74
|
+
letter-spacing: -0.02em;
|
|
75
|
+
color: var(--colour-brand-inkwell, #14343b);
|
|
76
|
+
margin: 0 0 12px 0;
|
|
77
|
+
/* Remove italic - use normal style */
|
|
78
|
+
font-style: normal;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.cta-section__description {
|
|
82
|
+
font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
|
|
83
|
+
font-weight: 400;
|
|
84
|
+
font-size: 18px;
|
|
85
|
+
line-height: 1.5;
|
|
86
|
+
color: var(--colour-brand-inkwell, #14343b);
|
|
87
|
+
margin: 0 0 24px 0;
|
|
88
|
+
opacity: 0.85;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.cta-section__buttons {
|
|
92
|
+
display: flex;
|
|
93
|
+
gap: 12px;
|
|
94
|
+
flex-wrap: wrap;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.cta-section__button {
|
|
98
|
+
display: inline-flex;
|
|
99
|
+
align-items: center;
|
|
100
|
+
justify-content: center;
|
|
101
|
+
padding: 12px 24px;
|
|
102
|
+
border-radius: 100px;
|
|
103
|
+
font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
|
|
104
|
+
font-weight: 500;
|
|
105
|
+
font-size: 16px;
|
|
106
|
+
line-height: 1.25;
|
|
107
|
+
text-decoration: none;
|
|
108
|
+
transition: all 0.2s ease;
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/* Primary button - matches other CTA buttons on the page */
|
|
113
|
+
.cta-section__button--primary {
|
|
114
|
+
background-color: var(--colour-brand-teal, #6ECCC8);
|
|
115
|
+
color: var(--colour-brand-inkwell, #14343b);
|
|
116
|
+
border: 2px solid var(--colour-brand-inkwell, #14343b);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.cta-section__button--primary:hover {
|
|
120
|
+
background-color: #5BBBB7;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* Secondary button - white with black outline */
|
|
124
|
+
.cta-section__button--secondary {
|
|
125
|
+
background-color: white;
|
|
126
|
+
color: var(--colour-brand-inkwell, #14343b);
|
|
127
|
+
border: 2px solid var(--colour-brand-inkwell, #14343b);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.cta-section__button--secondary:hover {
|
|
131
|
+
background-color: var(--colour-brand-inkwell, #14343b);
|
|
132
|
+
color: white;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* Responsive adjustments */
|
|
136
|
+
@media (max-width: 768px) {
|
|
137
|
+
.cta-section__container {
|
|
138
|
+
flex-direction: column;
|
|
139
|
+
padding: 48px 32px;
|
|
140
|
+
gap: 32px;
|
|
141
|
+
text-align: center;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.cta-section__illustration {
|
|
145
|
+
width: 150px;
|
|
146
|
+
height: 150px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.cta-section__buttons {
|
|
150
|
+
justify-content: center;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.cta-section__heading {
|
|
154
|
+
font-size: 28px;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
@media (max-width: 480px) {
|
|
159
|
+
.cta-section {
|
|
160
|
+
padding: 16px;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.cta-section__container {
|
|
164
|
+
padding: 32px 24px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.cta-section__buttons {
|
|
168
|
+
flex-direction: column;
|
|
169
|
+
width: 100%;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.cta-section__button {
|
|
173
|
+
width: 100%;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* Call-to-action section component with illustration and decorative background
|
|
4
|
+
* Styled to match the affinda.com "See what our AI agents can do for you" section
|
|
5
|
+
*/
|
|
6
|
+
export class AfCtaSection {
|
|
7
|
+
constructor() {
|
|
8
|
+
/** Section heading */
|
|
9
|
+
this.heading = 'See what our AI agents can do for you';
|
|
10
|
+
/** Section description */
|
|
11
|
+
this.description = 'Upload your documents and watch our AI agents get to work.';
|
|
12
|
+
/** Primary button text */
|
|
13
|
+
this.primaryButtonText = 'Try for free';
|
|
14
|
+
/** Primary button URL */
|
|
15
|
+
this.primaryButtonUrl = '#';
|
|
16
|
+
/** Secondary button text */
|
|
17
|
+
this.secondaryButtonText = 'Talk to us';
|
|
18
|
+
/** Secondary button URL */
|
|
19
|
+
this.secondaryButtonUrl = '#';
|
|
20
|
+
/** Illustration URL - if provided, displays this image */
|
|
21
|
+
this.illustrationUrl = '';
|
|
22
|
+
}
|
|
23
|
+
render() {
|
|
24
|
+
return (h(Host, { key: '4799cecb74e6ed366615d0f6431b801b697104c1' }, h("div", { key: '5ec289c687484ea343bbe235b8e5ff275834bb1c', class: "cta-section" }, h("div", { key: 'd4ace70049c68d389e4ad6bfa0c33df90e40228c', class: "cta-section__container" }, h("div", { key: '44bff410dfa32e62d71d07a083ac796d8f2c4701', class: "cta-section__wave-bg" }, h("svg", { key: 'eaaa575510c3c9eb0151c3a9b429b05d63f091d2', viewBox: "0 0 1200 400", preserveAspectRatio: "none", class: "cta-section__wave-svg" }, h("ellipse", { key: '3efdf781f5d90f3a6171ce89d05b47d031dba87d', cx: "900", cy: "450", rx: "600", ry: "350", fill: "rgba(255,255,255,0.2)" }), h("ellipse", { key: '1b8bb8fe8629e8c1a38401a437f9ebc81448fd89', cx: "1000", cy: "500", rx: "400", ry: "250", fill: "rgba(255,255,255,0.15)" }))), h("div", { key: 'd5b18a8738c88cebe47501bbd3f4f8cb21e5b570', class: "cta-section__illustration" }, this.illustrationUrl ? (h("img", { src: this.illustrationUrl, alt: "", class: "cta-section__illustration-img" })) : (h("slot", { name: "illustration" }))), h("div", { key: 'a1aaf9056f0f4efbc1e8932c2bd7499c2109fe53', class: "cta-section__content" }, h("h2", { key: '6615663e27005aceab17e23cfc393b4d34c2eeec', class: "cta-section__heading" }, this.heading), h("p", { key: '13cd23b082ff90d2aaefcded32695ab64c0be51a', class: "cta-section__description" }, this.description), h("div", { key: '60c1b7e486fabc5bca71e1d4ec6e7ef5a88250e7', class: "cta-section__buttons" }, h("a", { key: '8b38088923d1b558bf9600957c36ea21468ea4f7', href: this.primaryButtonUrl, class: "cta-section__button cta-section__button--primary" }, this.primaryButtonText), h("a", { key: '9f38363587db152fb6cc04f0349ba4e7a8eac125', href: this.secondaryButtonUrl, class: "cta-section__button cta-section__button--secondary" }, this.secondaryButtonText)))))));
|
|
25
|
+
}
|
|
26
|
+
static get is() { return "af-cta-section"; }
|
|
27
|
+
static get encapsulation() { return "scoped"; }
|
|
28
|
+
static get originalStyleUrls() {
|
|
29
|
+
return {
|
|
30
|
+
"$": ["af-cta-section.css"]
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
static get styleUrls() {
|
|
34
|
+
return {
|
|
35
|
+
"$": ["af-cta-section.css"]
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
static get properties() {
|
|
39
|
+
return {
|
|
40
|
+
"heading": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"mutable": false,
|
|
43
|
+
"complexType": {
|
|
44
|
+
"original": "string",
|
|
45
|
+
"resolved": "string",
|
|
46
|
+
"references": {}
|
|
47
|
+
},
|
|
48
|
+
"required": false,
|
|
49
|
+
"optional": false,
|
|
50
|
+
"docs": {
|
|
51
|
+
"tags": [],
|
|
52
|
+
"text": "Section heading"
|
|
53
|
+
},
|
|
54
|
+
"getter": false,
|
|
55
|
+
"setter": false,
|
|
56
|
+
"reflect": false,
|
|
57
|
+
"attribute": "heading",
|
|
58
|
+
"defaultValue": "'See what our AI agents can do for you'"
|
|
59
|
+
},
|
|
60
|
+
"description": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"mutable": false,
|
|
63
|
+
"complexType": {
|
|
64
|
+
"original": "string",
|
|
65
|
+
"resolved": "string",
|
|
66
|
+
"references": {}
|
|
67
|
+
},
|
|
68
|
+
"required": false,
|
|
69
|
+
"optional": false,
|
|
70
|
+
"docs": {
|
|
71
|
+
"tags": [],
|
|
72
|
+
"text": "Section description"
|
|
73
|
+
},
|
|
74
|
+
"getter": false,
|
|
75
|
+
"setter": false,
|
|
76
|
+
"reflect": false,
|
|
77
|
+
"attribute": "description",
|
|
78
|
+
"defaultValue": "'Upload your documents and watch our AI agents get to work.'"
|
|
79
|
+
},
|
|
80
|
+
"primaryButtonText": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"mutable": false,
|
|
83
|
+
"complexType": {
|
|
84
|
+
"original": "string",
|
|
85
|
+
"resolved": "string",
|
|
86
|
+
"references": {}
|
|
87
|
+
},
|
|
88
|
+
"required": false,
|
|
89
|
+
"optional": false,
|
|
90
|
+
"docs": {
|
|
91
|
+
"tags": [],
|
|
92
|
+
"text": "Primary button text"
|
|
93
|
+
},
|
|
94
|
+
"getter": false,
|
|
95
|
+
"setter": false,
|
|
96
|
+
"reflect": false,
|
|
97
|
+
"attribute": "primary-button-text",
|
|
98
|
+
"defaultValue": "'Try for free'"
|
|
99
|
+
},
|
|
100
|
+
"primaryButtonUrl": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"mutable": false,
|
|
103
|
+
"complexType": {
|
|
104
|
+
"original": "string",
|
|
105
|
+
"resolved": "string",
|
|
106
|
+
"references": {}
|
|
107
|
+
},
|
|
108
|
+
"required": false,
|
|
109
|
+
"optional": false,
|
|
110
|
+
"docs": {
|
|
111
|
+
"tags": [],
|
|
112
|
+
"text": "Primary button URL"
|
|
113
|
+
},
|
|
114
|
+
"getter": false,
|
|
115
|
+
"setter": false,
|
|
116
|
+
"reflect": false,
|
|
117
|
+
"attribute": "primary-button-url",
|
|
118
|
+
"defaultValue": "'#'"
|
|
119
|
+
},
|
|
120
|
+
"secondaryButtonText": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"mutable": false,
|
|
123
|
+
"complexType": {
|
|
124
|
+
"original": "string",
|
|
125
|
+
"resolved": "string",
|
|
126
|
+
"references": {}
|
|
127
|
+
},
|
|
128
|
+
"required": false,
|
|
129
|
+
"optional": false,
|
|
130
|
+
"docs": {
|
|
131
|
+
"tags": [],
|
|
132
|
+
"text": "Secondary button text"
|
|
133
|
+
},
|
|
134
|
+
"getter": false,
|
|
135
|
+
"setter": false,
|
|
136
|
+
"reflect": false,
|
|
137
|
+
"attribute": "secondary-button-text",
|
|
138
|
+
"defaultValue": "'Talk to us'"
|
|
139
|
+
},
|
|
140
|
+
"secondaryButtonUrl": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"mutable": false,
|
|
143
|
+
"complexType": {
|
|
144
|
+
"original": "string",
|
|
145
|
+
"resolved": "string",
|
|
146
|
+
"references": {}
|
|
147
|
+
},
|
|
148
|
+
"required": false,
|
|
149
|
+
"optional": false,
|
|
150
|
+
"docs": {
|
|
151
|
+
"tags": [],
|
|
152
|
+
"text": "Secondary button URL"
|
|
153
|
+
},
|
|
154
|
+
"getter": false,
|
|
155
|
+
"setter": false,
|
|
156
|
+
"reflect": false,
|
|
157
|
+
"attribute": "secondary-button-url",
|
|
158
|
+
"defaultValue": "'#'"
|
|
159
|
+
},
|
|
160
|
+
"illustrationUrl": {
|
|
161
|
+
"type": "string",
|
|
162
|
+
"mutable": false,
|
|
163
|
+
"complexType": {
|
|
164
|
+
"original": "string",
|
|
165
|
+
"resolved": "string",
|
|
166
|
+
"references": {}
|
|
167
|
+
},
|
|
168
|
+
"required": false,
|
|
169
|
+
"optional": false,
|
|
170
|
+
"docs": {
|
|
171
|
+
"tags": [],
|
|
172
|
+
"text": "Illustration URL - if provided, displays this image"
|
|
173
|
+
},
|
|
174
|
+
"getter": false,
|
|
175
|
+
"setter": false,
|
|
176
|
+
"reflect": false,
|
|
177
|
+
"attribute": "illustration-url",
|
|
178
|
+
"defaultValue": "''"
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
//# sourceMappingURL=af-cta-section.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"af-cta-section.js","sourceRoot":"","sources":["../../../src/components/af-cta-section/af-cta-section.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEzD;;;GAGG;AAOH,MAAM,OAAO,YAAY;IANzB;QAOE,sBAAsB;QACd,YAAO,GAAW,uCAAuC,CAAC;QAElE,0BAA0B;QAClB,gBAAW,GAAW,4DAA4D,CAAC;QAE3F,0BAA0B;QAClB,sBAAiB,GAAW,cAAc,CAAC;QAEnD,yBAAyB;QACjB,qBAAgB,GAAW,GAAG,CAAC;QAEvC,4BAA4B;QACpB,wBAAmB,GAAW,YAAY,CAAC;QAEnD,2BAA2B;QACnB,uBAAkB,GAAW,GAAG,CAAC;QAEzC,0DAA0D;QAClD,oBAAe,GAAW,EAAE,CAAC;KAwDtC;IAtDC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,4DAAK,KAAK,EAAC,aAAa;gBACtB,4DAAK,KAAK,EAAC,wBAAwB;oBAEjC,4DAAK,KAAK,EAAC,sBAAsB;wBAC/B,4DAAK,OAAO,EAAC,cAAc,EAAC,mBAAmB,EAAC,MAAM,EAAC,KAAK,EAAC,uBAAuB;4BAElF,gEACE,EAAE,EAAC,KAAK,EACR,EAAE,EAAC,KAAK,EACR,EAAE,EAAC,KAAK,EACR,EAAE,EAAC,KAAK,EACR,IAAI,EAAC,uBAAuB,GAC5B;4BAEF,gEACE,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,KAAK,EACR,EAAE,EAAC,KAAK,EACR,EAAE,EAAC,KAAK,EACR,IAAI,EAAC,wBAAwB,GAC7B,CACE,CACF;oBAGN,4DAAK,KAAK,EAAC,2BAA2B,IACnC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,CACtB,WAAK,GAAG,EAAE,IAAI,CAAC,eAAe,EAAE,GAAG,EAAC,EAAE,EAAC,KAAK,EAAC,+BAA+B,GAAG,CAChF,CAAC,CAAC,CAAC,CACF,YAAM,IAAI,EAAC,cAAc,GAAQ,CAClC,CACG;oBAGN,4DAAK,KAAK,EAAC,sBAAsB;wBAC/B,2DAAI,KAAK,EAAC,sBAAsB,IAAE,IAAI,CAAC,OAAO,CAAM;wBACpD,0DAAG,KAAK,EAAC,0BAA0B,IAAE,IAAI,CAAC,WAAW,CAAK;wBAC1D,4DAAK,KAAK,EAAC,sBAAsB;4BAC/B,0DAAG,IAAI,EAAE,IAAI,CAAC,gBAAgB,EAAE,KAAK,EAAC,kDAAkD,IACrF,IAAI,CAAC,iBAAiB,CACrB;4BACJ,0DAAG,IAAI,EAAE,IAAI,CAAC,kBAAkB,EAAE,KAAK,EAAC,oDAAoD,IACzF,IAAI,CAAC,mBAAmB,CACvB,CACA,CACF,CACF,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Host, Prop } from '@stencil/core';\n\n/**\n * Call-to-action section component with illustration and decorative background\n * Styled to match the affinda.com \"See what our AI agents can do for you\" section\n */\n@Component({\n tag: 'af-cta-section',\n styleUrl: 'af-cta-section.css',\n shadow: false,\n scoped: true,\n})\nexport class AfCtaSection {\n /** Section heading */\n @Prop() heading: string = 'See what our AI agents can do for you';\n\n /** Section description */\n @Prop() description: string = 'Upload your documents and watch our AI agents get to work.';\n\n /** Primary button text */\n @Prop() primaryButtonText: string = 'Try for free';\n\n /** Primary button URL */\n @Prop() primaryButtonUrl: string = '#';\n\n /** Secondary button text */\n @Prop() secondaryButtonText: string = 'Talk to us';\n\n /** Secondary button URL */\n @Prop() secondaryButtonUrl: string = '#';\n\n /** Illustration URL - if provided, displays this image */\n @Prop() illustrationUrl: string = '';\n\n render() {\n return (\n <Host>\n <div class=\"cta-section\">\n <div class=\"cta-section__container\">\n {/* Decorative wave background */}\n <div class=\"cta-section__wave-bg\">\n <svg viewBox=\"0 0 1200 400\" preserveAspectRatio=\"none\" class=\"cta-section__wave-svg\">\n {/* Large curved wave */}\n <ellipse \n cx=\"900\" \n cy=\"450\" \n rx=\"600\" \n ry=\"350\" \n fill=\"rgba(255,255,255,0.2)\"\n />\n {/* Smaller accent curve */}\n <ellipse \n cx=\"1000\" \n cy=\"500\" \n rx=\"400\" \n ry=\"250\" \n fill=\"rgba(255,255,255,0.15)\"\n />\n </svg>\n </div>\n\n {/* Illustration */}\n <div class=\"cta-section__illustration\">\n {this.illustrationUrl ? (\n <img src={this.illustrationUrl} alt=\"\" class=\"cta-section__illustration-img\" />\n ) : (\n <slot name=\"illustration\"></slot>\n )}\n </div>\n\n {/* Content */}\n <div class=\"cta-section__content\">\n <h2 class=\"cta-section__heading\">{this.heading}</h2>\n <p class=\"cta-section__description\">{this.description}</p>\n <div class=\"cta-section__buttons\">\n <a href={this.primaryButtonUrl} class=\"cta-section__button cta-section__button--primary\">\n {this.primaryButtonText}\n </a>\n <a href={this.secondaryButtonUrl} class=\"cta-section__button cta-section__button--secondary\">\n {this.secondaryButtonText}\n </a>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
width: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.feature-accordion {
|
|
7
|
+
background-color: var(--colour-background-level1, #E8EFED);
|
|
8
|
+
padding: 80px 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.feature-accordion__container {
|
|
12
|
+
max-width: 1280px;
|
|
13
|
+
margin: 0 auto;
|
|
14
|
+
padding: 0 40px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.feature-accordion__heading {
|
|
18
|
+
font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
|
|
19
|
+
font-weight: 400;
|
|
20
|
+
font-size: clamp(36px, 5vw, 52px);
|
|
21
|
+
line-height: 1.05;
|
|
22
|
+
letter-spacing: -0.025em;
|
|
23
|
+
color: var(--colour-brand-inkwell, #14343B);
|
|
24
|
+
margin: 0 0 56px 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.feature-accordion__content {
|
|
28
|
+
display: flex;
|
|
29
|
+
gap: 48px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Accordion List */
|
|
33
|
+
.feature-accordion__list {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
flex: 1;
|
|
37
|
+
min-width: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Accordion Item */
|
|
41
|
+
.accordion-item {
|
|
42
|
+
border-bottom: 1px solid rgba(20, 52, 59, 0.12);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.accordion-item:first-child {
|
|
46
|
+
border-top: 1px solid rgba(20, 52, 59, 0.12);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.accordion-item__header {
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
justify-content: space-between;
|
|
53
|
+
width: 100%;
|
|
54
|
+
padding: 24px 0;
|
|
55
|
+
background: none;
|
|
56
|
+
border: none;
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
text-align: left;
|
|
59
|
+
gap: 16px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.accordion-item__header:hover .accordion-item__title {
|
|
63
|
+
color: var(--colour-brand-inkwell, #14343B);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.accordion-item__title {
|
|
67
|
+
font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
|
|
68
|
+
font-weight: 500;
|
|
69
|
+
font-size: 22px;
|
|
70
|
+
line-height: 1.25;
|
|
71
|
+
color: var(--colour-brand-inkwell, #14343B);
|
|
72
|
+
margin: 0;
|
|
73
|
+
flex: 1;
|
|
74
|
+
transition: color 0.2s ease;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* Collapsed items have lighter text */
|
|
78
|
+
.accordion-item:not(.accordion-item--expanded) .accordion-item__title {
|
|
79
|
+
color: rgba(20, 52, 59, 0.7);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.accordion-item__icon {
|
|
83
|
+
flex-shrink: 0;
|
|
84
|
+
width: 24px;
|
|
85
|
+
height: 24px;
|
|
86
|
+
color: var(--colour-brand-inkwell, #14343B);
|
|
87
|
+
transition: transform 0.2s ease;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.accordion-item:not(.accordion-item--expanded) .accordion-item__icon {
|
|
91
|
+
color: rgba(20, 52, 59, 0.5);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.accordion-item__content {
|
|
95
|
+
overflow: hidden;
|
|
96
|
+
transition: max-height 0.3s ease, opacity 0.3s ease;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.accordion-item__description {
|
|
100
|
+
font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
|
|
101
|
+
font-weight: 400;
|
|
102
|
+
font-size: 17px;
|
|
103
|
+
line-height: 1.6;
|
|
104
|
+
color: rgba(20, 52, 59, 0.85);
|
|
105
|
+
margin: 0 0 20px 0;
|
|
106
|
+
padding-right: 40px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* Timer track - the progress bar at the bottom of expanded items */
|
|
110
|
+
.accordion-item__timer-track {
|
|
111
|
+
height: 3px;
|
|
112
|
+
background-color: rgba(20, 52, 59, 0.1);
|
|
113
|
+
border-radius: 2px;
|
|
114
|
+
margin-bottom: 8px;
|
|
115
|
+
overflow: hidden;
|
|
116
|
+
/* Right-align the progress bar so it drains from right to left */
|
|
117
|
+
display: flex;
|
|
118
|
+
justify-content: flex-start;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.accordion-item__timer-progress {
|
|
122
|
+
height: 100%;
|
|
123
|
+
background-color: var(--colour-brand-teal, #00B5AD);
|
|
124
|
+
border-radius: 2px;
|
|
125
|
+
/* Smooth animation for progress */
|
|
126
|
+
transition: width 0.05s linear;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Image Container - stretches full height to align with accordion */
|
|
130
|
+
.feature-accordion__image-container {
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
justify-content: center;
|
|
134
|
+
background-color: #B8C9C5;
|
|
135
|
+
border-radius: 20px;
|
|
136
|
+
overflow: hidden;
|
|
137
|
+
/* Take up remaining space and stretch full height */
|
|
138
|
+
flex: 1;
|
|
139
|
+
min-width: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.feature-accordion__image-wrapper {
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
justify-content: center;
|
|
146
|
+
width: 100%;
|
|
147
|
+
padding: 32px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.feature-accordion__image {
|
|
151
|
+
max-width: 100%;
|
|
152
|
+
max-height: 100%;
|
|
153
|
+
width: auto;
|
|
154
|
+
height: auto;
|
|
155
|
+
object-fit: contain;
|
|
156
|
+
border-radius: 12px;
|
|
157
|
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.feature-accordion__image-placeholder {
|
|
161
|
+
width: 100%;
|
|
162
|
+
height: 100%;
|
|
163
|
+
display: flex;
|
|
164
|
+
align-items: center;
|
|
165
|
+
justify-content: center;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* Tablet */
|
|
169
|
+
@media (max-width: 1024px) {
|
|
170
|
+
.feature-accordion {
|
|
171
|
+
padding: 60px 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.feature-accordion__container {
|
|
175
|
+
padding: 0 24px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.feature-accordion__content {
|
|
179
|
+
gap: 32px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.feature-accordion__heading {
|
|
183
|
+
margin-bottom: 40px;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.accordion-item__title {
|
|
187
|
+
font-size: 20px;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/* Mobile */
|
|
192
|
+
@media (max-width: 768px) {
|
|
193
|
+
.feature-accordion {
|
|
194
|
+
padding: 48px 0;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.feature-accordion__content {
|
|
198
|
+
flex-direction: column;
|
|
199
|
+
gap: 32px;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.feature-accordion__image-container {
|
|
203
|
+
order: -1;
|
|
204
|
+
min-height: 280px;
|
|
205
|
+
flex: none;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.feature-accordion__list {
|
|
209
|
+
flex: none;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.accordion-item__title {
|
|
213
|
+
font-size: 18px;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.accordion-item__description {
|
|
217
|
+
font-size: 15px;
|
|
218
|
+
padding-right: 0;
|
|
219
|
+
}
|
|
220
|
+
}
|