@jxsuite/starters 0.34.0 → 0.35.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/package.json +5 -2
- package/registry.json +19 -19
- package/sites/blog/components/bl-author-bio.json +19 -15
- package/sites/blog/components/bl-cta.json +20 -14
- package/sites/blog/components/bl-footer.json +67 -90
- package/sites/blog/components/bl-masthead.json +96 -90
- package/sites/blog/components/bl-nav.json +23 -30
- package/sites/blog/components/bl-newsletter-cta.json +53 -39
- package/sites/blog/components/bl-post-card.json +70 -52
- package/sites/blog/components/bl-post-list.json +2 -9
- package/sites/blog/components/bl-prose.json +33 -18
- package/sites/blog/components/bl-section-header.json +46 -29
- package/sites/blog/components/bl-tag-pill.json +11 -8
- package/sites/blog/package.json +2 -2
- package/sites/blog/pages/index.md +26 -24
- package/sites/blog/project.json +19 -16
- package/sites/course/components/co-application.json +158 -103
- package/sites/course/components/co-cohort.json +172 -0
- package/sites/course/components/co-cta.json +70 -18
- package/sites/course/components/co-curriculum-accordion.json +12 -12
- package/sites/course/components/co-footer.json +83 -33
- package/sites/course/components/co-hero.json +385 -49
- package/sites/course/components/co-instructor-card.json +105 -22
- package/sites/course/components/co-mentor.json +65 -0
- package/sites/course/components/co-module-card.json +98 -53
- package/sites/course/components/co-nav.json +194 -69
- package/sites/course/components/co-outcome-card.json +41 -15
- package/sites/course/components/co-outcomes.json +248 -0
- package/sites/course/components/co-pricing.json +70 -25
- package/sites/course/components/co-section-header.json +36 -15
- package/sites/course/components/co-testimonial-card.json +70 -15
- package/sites/course/pages/about.md +10 -11
- package/sites/course/pages/curriculum.md +8 -4
- package/sites/course/pages/enroll.md +6 -7
- package/sites/course/pages/index.md +41 -29
- package/sites/course/project.json +64 -23
- package/sites/event/components/ev-agenda-tabs.json +526 -240
- package/sites/event/components/ev-cta.json +56 -27
- package/sites/event/components/ev-feature.json +14 -10
- package/sites/event/components/ev-footer.json +82 -30
- package/sites/event/components/ev-hero.json +307 -72
- package/sites/event/components/ev-nav.json +97 -34
- package/sites/event/components/ev-reason.json +64 -0
- package/sites/event/components/ev-savedate.json +160 -73
- package/sites/event/components/ev-section-header.json +30 -13
- package/sites/event/components/ev-session-row.json +96 -36
- package/sites/event/components/ev-speaker-card.json +63 -17
- package/sites/event/components/ev-sponsors.json +131 -0
- package/sites/event/components/ev-stat.json +17 -12
- package/sites/event/components/ev-ticket-card.json +58 -40
- package/sites/event/components/ev-venue.json +39 -12
- package/sites/event/layouts/base.json +1 -1
- package/sites/event/pages/index.md +38 -14
- package/sites/event/pages/schedule.md +19 -16
- package/sites/event/project.json +88 -26
- package/sites/fitness-studio/components/fs-band.json +149 -0
- package/sites/fitness-studio/components/fs-booking.json +147 -0
- package/sites/fitness-studio/components/fs-class-card.json +62 -31
- package/sites/fitness-studio/components/fs-cta.json +63 -19
- package/sites/fitness-studio/components/fs-feature.json +20 -6
- package/sites/fitness-studio/components/fs-footer.json +62 -29
- package/sites/fitness-studio/components/fs-hero.json +296 -49
- package/sites/fitness-studio/components/fs-hours.json +40 -21
- package/sites/fitness-studio/components/fs-instructor-card.json +94 -31
- package/sites/fitness-studio/components/fs-intro.json +258 -23
- package/sites/fitness-studio/components/fs-modality.json +171 -0
- package/sites/fitness-studio/components/fs-nav.json +55 -24
- package/sites/fitness-studio/components/fs-pricing-card.json +71 -51
- package/sites/fitness-studio/components/fs-review.json +52 -18
- package/sites/fitness-studio/components/fs-schedule.json +1165 -0
- package/sites/fitness-studio/components/fs-section-header.json +44 -20
- package/sites/fitness-studio/pages/classes.md +11 -5
- package/sites/fitness-studio/pages/contact.md +7 -29
- package/sites/fitness-studio/pages/index.md +29 -52
- package/sites/fitness-studio/pages/pricing.md +7 -7
- package/sites/fitness-studio/project.json +99 -26
- package/sites/home-services/components/hs-callbar.json +72 -0
- package/sites/home-services/components/hs-cta.json +121 -60
- package/sites/home-services/components/hs-feature.json +42 -23
- package/sites/home-services/components/hs-footer.json +108 -33
- package/sites/home-services/components/hs-gallery.json +66 -15
- package/sites/home-services/components/hs-hero.json +360 -42
- package/sites/home-services/components/hs-intro.json +70 -7
- package/sites/home-services/components/hs-nav.json +233 -68
- package/sites/home-services/components/hs-reservation.json +125 -46
- package/sites/home-services/components/hs-review.json +76 -16
- package/sites/home-services/components/hs-section-header.json +31 -14
- package/sites/home-services/components/hs-service-card.json +34 -24
- package/sites/home-services/components/hs-stat.json +54 -0
- package/sites/home-services/components/hs-step.json +40 -13
- package/sites/home-services/components/hs-trust-bar.json +188 -40
- package/sites/home-services/layouts/base.json +4 -2
- package/sites/home-services/pages/about.md +33 -2
- package/sites/home-services/pages/contact.md +23 -10
- package/sites/home-services/pages/index.md +33 -7
- package/sites/home-services/pages/services.md +34 -3
- package/sites/home-services/project.json +82 -22
- package/sites/nonprofit/components/np-contact-form.json +52 -24
- package/sites/nonprofit/components/np-contact-info.json +27 -21
- package/sites/nonprofit/components/np-cta.json +152 -77
- package/sites/nonprofit/components/np-donate-tier.json +59 -32
- package/sites/nonprofit/components/np-feature.json +13 -9
- package/sites/nonprofit/components/np-footer.json +106 -36
- package/sites/nonprofit/components/np-hero.json +274 -46
- package/sites/nonprofit/components/np-impact-band.json +108 -0
- package/sites/nonprofit/components/np-intro.json +126 -19
- package/sites/nonprofit/components/np-nav.json +161 -82
- package/sites/nonprofit/components/np-program-card.json +83 -23
- package/sites/nonprofit/components/np-section-header.json +40 -14
- package/sites/nonprofit/components/np-stat.json +36 -15
- package/sites/nonprofit/components/np-step.json +46 -17
- package/sites/nonprofit/components/np-team-member.json +26 -19
- package/sites/nonprofit/components/np-testimonial.json +144 -29
- package/sites/nonprofit/pages/about.md +17 -16
- package/sites/nonprofit/pages/contact.md +4 -4
- package/sites/nonprofit/pages/get-involved.md +23 -23
- package/sites/nonprofit/pages/index.md +29 -44
- package/sites/nonprofit/pages/programs.md +12 -14
- package/sites/nonprofit/project.json +74 -28
- package/sites/portfolio/components/pv-about-split.json +21 -9
- package/sites/portfolio/components/pv-category-pill.json +7 -6
- package/sites/portfolio/components/pv-contact-form.json +34 -45
- package/sites/portfolio/components/pv-cta.json +35 -19
- package/sites/portfolio/components/pv-footer.json +97 -75
- package/sites/portfolio/components/pv-hero.json +77 -70
- package/sites/portfolio/components/pv-nav.json +32 -38
- package/sites/portfolio/components/pv-project-card.json +118 -61
- package/sites/portfolio/components/pv-project-grid.json +24 -16
- package/sites/portfolio/components/pv-section-header.json +74 -37
- package/sites/portfolio/layouts/base.json +1 -1
- package/sites/portfolio/package.json +2 -2
- package/sites/portfolio/pages/[slug].json +1 -1
- package/sites/portfolio/pages/about.md +4 -3
- package/sites/portfolio/pages/contact.md +1 -1
- package/sites/portfolio/pages/index.md +18 -13
- package/sites/portfolio/pages/work.md +7 -7
- package/sites/portfolio/project.json +20 -16
- package/sites/professional-firm/components/pf-article-header.json +34 -20
- package/sites/professional-firm/components/pf-contact-form.json +57 -49
- package/sites/professional-firm/components/pf-contact-info.json +147 -0
- package/sites/professional-firm/components/pf-cta.json +42 -18
- package/sites/professional-firm/components/pf-feature.json +21 -24
- package/sites/professional-firm/components/pf-footer.json +107 -48
- package/sites/professional-firm/components/pf-hero.json +135 -89
- package/sites/professional-firm/components/pf-insight-row.json +144 -0
- package/sites/professional-firm/components/pf-intro.json +44 -10
- package/sites/professional-firm/components/pf-logo-bar.json +35 -34
- package/sites/professional-firm/components/pf-nav.json +67 -42
- package/sites/professional-firm/components/pf-section-header.json +46 -22
- package/sites/professional-firm/components/pf-service-row.json +104 -0
- package/sites/professional-firm/components/pf-statband.json +183 -0
- package/sites/professional-firm/components/pf-team-member.json +34 -29
- package/sites/professional-firm/content/insights/cash-flow-forecasting.md +1 -0
- package/sites/professional-firm/content/insights/choosing-business-entity.md +1 -0
- package/sites/professional-firm/content/insights/r-and-d-tax-credits.md +1 -0
- package/sites/professional-firm/content/insights/when-to-hire-cfo.md +1 -0
- package/sites/professional-firm/content/insights/year-end-tax-moves.md +1 -0
- package/sites/professional-firm/layouts/article.json +96 -14
- package/sites/professional-firm/layouts/base.json +1 -1
- package/sites/professional-firm/pages/contact.md +5 -26
- package/sites/professional-firm/pages/index.md +39 -45
- package/sites/professional-firm/pages/insights/[slug].json +44 -33
- package/sites/professional-firm/pages/insights.md +7 -11
- package/sites/professional-firm/pages/services.md +16 -16
- package/sites/professional-firm/pages/team.md +10 -10
- package/sites/professional-firm/project.json +74 -30
- package/sites/real-estate/components/re-agent-band.json +240 -0
- package/sites/real-estate/components/re-agent-card.json +51 -24
- package/sites/real-estate/components/re-contact-form.json +76 -27
- package/sites/real-estate/components/re-cta.json +91 -26
- package/sites/real-estate/components/re-feature.json +10 -6
- package/sites/real-estate/components/re-footer.json +186 -46
- package/sites/real-estate/components/re-hero.json +443 -90
- package/sites/real-estate/components/re-intro.json +6 -5
- package/sites/real-estate/components/re-listing-card.json +199 -39
- package/sites/real-estate/components/re-listings-filter.json +309 -192
- package/sites/real-estate/components/re-nav.json +138 -39
- package/sites/real-estate/components/re-neighborhood.json +135 -0
- package/sites/real-estate/components/re-section-header.json +33 -17
- package/sites/real-estate/components/re-stat.json +10 -9
- package/sites/real-estate/components/re-step.json +15 -12
- package/sites/real-estate/components/re-testimonial.json +53 -16
- package/sites/real-estate/content/listings.csv +7 -7
- package/sites/real-estate/pages/[slug].json +430 -128
- package/sites/real-estate/pages/about.md +18 -6
- package/sites/real-estate/pages/contact.md +14 -2
- package/sites/real-estate/pages/index.md +43 -26
- package/sites/real-estate/pages/listings.md +15 -3
- package/sites/real-estate/project.json +88 -30
- package/sites/real-estate/public/favicon.svg +7 -1
- package/sites/restaurant/components/bit-cta.json +92 -14
- package/sites/restaurant/components/bit-feature.json +36 -17
- package/sites/restaurant/components/bit-footer.json +80 -34
- package/sites/restaurant/components/bit-gallery.json +20 -11
- package/sites/restaurant/components/bit-hero.json +179 -54
- package/sites/restaurant/components/bit-hours.json +117 -24
- package/sites/restaurant/components/bit-intro.json +47 -10
- package/sites/restaurant/components/bit-menu-group.json +55 -10
- package/sites/restaurant/components/bit-menu-item.json +27 -12
- package/sites/restaurant/components/bit-nav.json +170 -53
- package/sites/restaurant/components/bit-reservation.json +63 -42
- package/sites/restaurant/components/bit-review.json +49 -19
- package/sites/restaurant/components/bit-section-header.json +60 -15
- package/sites/restaurant/layouts/base.json +1 -1
- package/sites/restaurant/pages/about.md +10 -10
- package/sites/restaurant/pages/contact.md +7 -7
- package/sites/restaurant/pages/index.md +30 -20
- package/sites/restaurant/pages/menu.md +8 -8
- package/sites/restaurant/project.json +71 -28
- package/sites/saas/components/sa-feature-card.json +26 -16
- package/sites/saas/components/sa-hero.json +156 -39
- package/sites/saas/components/sa-nav.json +34 -26
- package/sites/saas/components/sa-pricing.json +11 -10
- package/sites/saas/components/sa-stat.json +8 -4
- package/sites/saas/package.json +2 -2
- package/sites/saas/pages/index.md +8 -8
- package/sites/saas/project.json +24 -16
- package/sites/shop/components/shp-category-tile.json +104 -0
- package/sites/shop/components/shp-cta.json +101 -43
- package/sites/shop/components/shp-feature.json +12 -7
- package/sites/shop/components/shp-footer.json +312 -46
- package/sites/shop/components/shp-hero.json +313 -46
- package/sites/shop/components/shp-nav.json +303 -49
- package/sites/shop/components/shp-newsletter.json +166 -0
- package/sites/shop/components/shp-product-card.json +141 -34
- package/sites/shop/components/shp-product-filter.json +336 -154
- package/sites/shop/components/shp-section-header.json +42 -20
- package/sites/shop/components/shp-stat.json +6 -6
- package/sites/shop/components/shp-trust.json +58 -0
- package/sites/shop/content/product/aero-road-helmet.md +2 -0
- package/sites/shop/content/product/apex-carbon-road.md +1 -0
- package/sites/shop/content/product/backroad-gravel-adv.md +1 -0
- package/sites/shop/content/product/boulder-enduro.md +1 -0
- package/sites/shop/content/product/rambler-kids-20.md +1 -0
- package/sites/shop/content/product/summit-trail-29er.md +1 -0
- package/sites/shop/content/product/trailhead-pannier-set.md +1 -0
- package/sites/shop/content/product/velocity-alloy-road.md +2 -0
- package/sites/shop/pages/index.md +38 -26
- package/sites/shop/pages/products/[sku].json +362 -71
- package/sites/shop/pages/products.md +30 -8
- package/sites/shop/project.json +82 -28
- package/sites/course/components/co-stat.json +0 -36
- package/sites/professional-firm/components/pf-insight-card.json +0 -99
- package/sites/professional-firm/components/pf-service-card.json +0 -77
- package/sites/professional-firm/components/pf-stat.json +0 -37
|
@@ -1,184 +1,366 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tagName": "shp-product-filter",
|
|
3
3
|
"state": {
|
|
4
|
-
"category": "all"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
|
|
4
|
+
"category": "all",
|
|
5
|
+
"visibleCount": {
|
|
6
|
+
"$prototype": "Function",
|
|
7
|
+
"body": "return ({ all: 8, Road: 2, Mountain: 2, Gravel: 1, Kids: 1, Accessories: 2 })[state.category];"
|
|
8
|
+
},
|
|
9
|
+
"setAll": {
|
|
10
|
+
"$expression": { "operator": "=", "target": { "$ref": "#/state/category" }, "value": "all" }
|
|
11
|
+
},
|
|
12
|
+
"setRoad": {
|
|
13
|
+
"$expression": { "operator": "=", "target": { "$ref": "#/state/category" }, "value": "Road" }
|
|
14
|
+
},
|
|
15
|
+
"setMountain": {
|
|
16
|
+
"$expression": {
|
|
17
|
+
"operator": "=",
|
|
18
|
+
"target": { "$ref": "#/state/category" },
|
|
19
|
+
"value": "Mountain"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"setGravel": {
|
|
23
|
+
"$expression": {
|
|
24
|
+
"operator": "=",
|
|
25
|
+
"target": { "$ref": "#/state/category" },
|
|
26
|
+
"value": "Gravel"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"setKids": {
|
|
30
|
+
"$expression": { "operator": "=", "target": { "$ref": "#/state/category" }, "value": "Kids" }
|
|
31
|
+
},
|
|
32
|
+
"setAccessories": {
|
|
33
|
+
"$expression": {
|
|
34
|
+
"operator": "=",
|
|
35
|
+
"target": { "$ref": "#/state/category" },
|
|
36
|
+
"value": "Accessories"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
11
39
|
},
|
|
40
|
+
"style": { "display": "block", "minWidth": "0" },
|
|
12
41
|
"children": [
|
|
13
42
|
{
|
|
14
43
|
"tagName": "style",
|
|
15
|
-
"textContent": "${state.category === 'all' ? '' : '#shop-grid >
|
|
44
|
+
"textContent": "${state.category === 'all' ? '' : '#shop-grid > shp-product-card[data-category]{display:none} #shop-grid > shp-product-card[data-category=\"' + state.category + '\"]{display:block}'}"
|
|
16
45
|
},
|
|
17
46
|
{
|
|
18
|
-
"tagName": "
|
|
47
|
+
"tagName": "aside",
|
|
19
48
|
"style": {
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
49
|
+
"position": "sticky",
|
|
50
|
+
"top": "7rem",
|
|
51
|
+
"backgroundColor": "var(--color-bg-white)",
|
|
52
|
+
"border": "1px solid var(--color-border)",
|
|
53
|
+
"borderRadius": "var(--radius-lg)",
|
|
54
|
+
"boxShadow": "var(--shadow-card)",
|
|
55
|
+
"padding": "1.4rem",
|
|
56
|
+
"@--md": { "position": "static" }
|
|
25
57
|
},
|
|
26
58
|
"children": [
|
|
27
59
|
{
|
|
28
|
-
"tagName": "
|
|
29
|
-
"textContent": "All bikes",
|
|
30
|
-
"onclick": {
|
|
31
|
-
"$expression": {
|
|
32
|
-
"operator": "=",
|
|
33
|
-
"target": { "$ref": "#/state/category" },
|
|
34
|
-
"value": "all"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
60
|
+
"tagName": "div",
|
|
37
61
|
"style": {
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"border": "1px solid var(--color-border)",
|
|
45
|
-
"transition": "background-color 0.15s, color 0.15s, border-color 0.15s",
|
|
46
|
-
"backgroundColor": "${state.category === 'all' ? 'var(--color-primary)' : 'var(--color-bg-white)'}",
|
|
47
|
-
"color": "${state.category === 'all' ? '#ffffff' : 'var(--color-text-primary)'}",
|
|
48
|
-
"borderColor": "${state.category === 'all' ? 'var(--color-primary)' : 'var(--color-border)'}"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"tagName": "button",
|
|
53
|
-
"textContent": "Road",
|
|
54
|
-
"onclick": {
|
|
55
|
-
"$expression": {
|
|
56
|
-
"operator": "=",
|
|
57
|
-
"target": { "$ref": "#/state/category" },
|
|
58
|
-
"value": "Road"
|
|
59
|
-
}
|
|
62
|
+
"display": "flex",
|
|
63
|
+
"alignItems": "center",
|
|
64
|
+
"justifyContent": "space-between",
|
|
65
|
+
"paddingBottom": "1rem",
|
|
66
|
+
"marginBottom": "1.1rem",
|
|
67
|
+
"borderBottom": "1px solid var(--color-border)"
|
|
60
68
|
},
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
69
|
+
"children": [
|
|
70
|
+
{
|
|
71
|
+
"tagName": "div",
|
|
72
|
+
"style": {
|
|
73
|
+
"display": "inline-flex",
|
|
74
|
+
"alignItems": "center",
|
|
75
|
+
"gap": "0.5rem",
|
|
76
|
+
"fontFamily": "var(--font-heading)",
|
|
77
|
+
"fontWeight": "800",
|
|
78
|
+
"fontSize": "1.05rem",
|
|
79
|
+
"letterSpacing": "-0.01em"
|
|
80
|
+
},
|
|
81
|
+
"children": [
|
|
82
|
+
{
|
|
83
|
+
"tagName": "span",
|
|
84
|
+
"style": { "color": "var(--color-primary)" },
|
|
85
|
+
"textContent": "⚑"
|
|
86
|
+
},
|
|
87
|
+
{ "tagName": "span", "textContent": "Filter" }
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"tagName": "span",
|
|
92
|
+
"style": {
|
|
93
|
+
"display": "inline-flex",
|
|
94
|
+
"alignItems": "center",
|
|
95
|
+
"gap": "0.35rem",
|
|
96
|
+
"padding": "0.28rem 0.65rem",
|
|
97
|
+
"borderRadius": "999px",
|
|
98
|
+
"backgroundColor": "var(--color-brand-tint)",
|
|
99
|
+
"color": "var(--color-primary)",
|
|
100
|
+
"fontWeight": "800",
|
|
101
|
+
"fontSize": "0.8rem",
|
|
102
|
+
"fontVariantNumeric": "tabular-nums"
|
|
103
|
+
},
|
|
104
|
+
"children": [
|
|
105
|
+
{ "tagName": "span", "textContent": "${state.visibleCount}" },
|
|
106
|
+
{
|
|
107
|
+
"tagName": "span",
|
|
108
|
+
"style": { "fontWeight": "600", "color": "var(--color-text-muted)" },
|
|
109
|
+
"textContent": "of 8"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
83
112
|
}
|
|
84
|
-
|
|
85
|
-
"style": {
|
|
86
|
-
"cursor": "pointer",
|
|
87
|
-
"fontFamily": "inherit",
|
|
88
|
-
"fontSize": "0.92rem",
|
|
89
|
-
"fontWeight": "600",
|
|
90
|
-
"padding": "0.55rem 1.15rem",
|
|
91
|
-
"borderRadius": "999px",
|
|
92
|
-
"border": "1px solid var(--color-border)",
|
|
93
|
-
"transition": "background-color 0.15s, color 0.15s, border-color 0.15s",
|
|
94
|
-
"backgroundColor": "${state.category === 'Mountain' ? 'var(--color-primary)' : 'var(--color-bg-white)'}",
|
|
95
|
-
"color": "${state.category === 'Mountain' ? '#ffffff' : 'var(--color-text-primary)'}",
|
|
96
|
-
"borderColor": "${state.category === 'Mountain' ? 'var(--color-primary)' : 'var(--color-border)'}"
|
|
97
|
-
}
|
|
113
|
+
]
|
|
98
114
|
},
|
|
99
115
|
{
|
|
100
|
-
"tagName": "
|
|
101
|
-
"textContent": "Gravel",
|
|
102
|
-
"onclick": {
|
|
103
|
-
"$expression": {
|
|
104
|
-
"operator": "=",
|
|
105
|
-
"target": { "$ref": "#/state/category" },
|
|
106
|
-
"value": "Gravel"
|
|
107
|
-
}
|
|
108
|
-
},
|
|
116
|
+
"tagName": "div",
|
|
109
117
|
"style": {
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"fontSize": "0.
|
|
113
|
-
"fontWeight": "
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
"backgroundColor": "${state.category === 'Gravel' ? 'var(--color-primary)' : 'var(--color-bg-white)'}",
|
|
119
|
-
"color": "${state.category === 'Gravel' ? '#ffffff' : 'var(--color-text-primary)'}",
|
|
120
|
-
"borderColor": "${state.category === 'Gravel' ? 'var(--color-primary)' : 'var(--color-border)'}"
|
|
121
|
-
}
|
|
118
|
+
"textTransform": "uppercase",
|
|
119
|
+
"letterSpacing": "0.1em",
|
|
120
|
+
"fontSize": "0.7rem",
|
|
121
|
+
"fontWeight": "700",
|
|
122
|
+
"color": "var(--color-text-muted)",
|
|
123
|
+
"marginBottom": "0.75rem"
|
|
124
|
+
},
|
|
125
|
+
"textContent": "Category"
|
|
122
126
|
},
|
|
123
127
|
{
|
|
124
|
-
"tagName": "
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
128
|
+
"tagName": "div",
|
|
129
|
+
"style": { "display": "grid", "gap": "0.4rem" },
|
|
130
|
+
"children": [
|
|
131
|
+
{
|
|
132
|
+
"tagName": "button",
|
|
133
|
+
"onclick": { "$ref": "#/state/setAll" },
|
|
134
|
+
"style": {
|
|
135
|
+
"display": "flex",
|
|
136
|
+
"alignItems": "center",
|
|
137
|
+
"justifyContent": "space-between",
|
|
138
|
+
"gap": "0.5rem",
|
|
139
|
+
"width": "100%",
|
|
140
|
+
"padding": "0.6rem 0.85rem",
|
|
141
|
+
"borderRadius": "var(--radius-sm)",
|
|
142
|
+
"border": "1px solid ${state.category === 'all' ? 'var(--color-primary)' : 'var(--color-border)'}",
|
|
143
|
+
"cursor": "pointer",
|
|
144
|
+
"fontFamily": "inherit",
|
|
145
|
+
"fontWeight": "700",
|
|
146
|
+
"fontSize": "0.92rem",
|
|
147
|
+
"textAlign": "left",
|
|
148
|
+
"transition": "background-color 0.15s, color 0.15s, border-color 0.15s",
|
|
149
|
+
"backgroundColor": "${state.category === 'all' ? 'var(--color-primary)' : 'var(--color-bg-white)'}",
|
|
150
|
+
"color": "${state.category === 'all' ? 'var(--color-text-white)' : 'var(--color-text-primary)'}"
|
|
151
|
+
},
|
|
152
|
+
"children": [
|
|
153
|
+
{ "tagName": "span", "textContent": "All bikes & gear" },
|
|
154
|
+
{
|
|
155
|
+
"tagName": "span",
|
|
156
|
+
"style": {
|
|
157
|
+
"fontVariantNumeric": "tabular-nums",
|
|
158
|
+
"opacity": "0.7",
|
|
159
|
+
"fontWeight": "600"
|
|
160
|
+
},
|
|
161
|
+
"textContent": "8"
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"tagName": "button",
|
|
167
|
+
"onclick": { "$ref": "#/state/setRoad" },
|
|
168
|
+
"style": {
|
|
169
|
+
"display": "flex",
|
|
170
|
+
"alignItems": "center",
|
|
171
|
+
"justifyContent": "space-between",
|
|
172
|
+
"gap": "0.5rem",
|
|
173
|
+
"width": "100%",
|
|
174
|
+
"padding": "0.6rem 0.85rem",
|
|
175
|
+
"borderRadius": "var(--radius-sm)",
|
|
176
|
+
"border": "1px solid ${state.category === 'Road' ? 'var(--color-primary)' : 'var(--color-border)'}",
|
|
177
|
+
"cursor": "pointer",
|
|
178
|
+
"fontFamily": "inherit",
|
|
179
|
+
"fontWeight": "700",
|
|
180
|
+
"fontSize": "0.92rem",
|
|
181
|
+
"textAlign": "left",
|
|
182
|
+
"transition": "background-color 0.15s, color 0.15s, border-color 0.15s",
|
|
183
|
+
"backgroundColor": "${state.category === 'Road' ? 'var(--color-primary)' : 'var(--color-bg-white)'}",
|
|
184
|
+
"color": "${state.category === 'Road' ? 'var(--color-text-white)' : 'var(--color-text-primary)'}"
|
|
185
|
+
},
|
|
186
|
+
"children": [
|
|
187
|
+
{ "tagName": "span", "textContent": "Road" },
|
|
188
|
+
{
|
|
189
|
+
"tagName": "span",
|
|
190
|
+
"style": {
|
|
191
|
+
"fontVariantNumeric": "tabular-nums",
|
|
192
|
+
"opacity": "0.7",
|
|
193
|
+
"fontWeight": "600"
|
|
194
|
+
},
|
|
195
|
+
"textContent": "2"
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"tagName": "button",
|
|
201
|
+
"onclick": { "$ref": "#/state/setMountain" },
|
|
202
|
+
"style": {
|
|
203
|
+
"display": "flex",
|
|
204
|
+
"alignItems": "center",
|
|
205
|
+
"justifyContent": "space-between",
|
|
206
|
+
"gap": "0.5rem",
|
|
207
|
+
"width": "100%",
|
|
208
|
+
"padding": "0.6rem 0.85rem",
|
|
209
|
+
"borderRadius": "var(--radius-sm)",
|
|
210
|
+
"border": "1px solid ${state.category === 'Mountain' ? 'var(--color-primary)' : 'var(--color-border)'}",
|
|
211
|
+
"cursor": "pointer",
|
|
212
|
+
"fontFamily": "inherit",
|
|
213
|
+
"fontWeight": "700",
|
|
214
|
+
"fontSize": "0.92rem",
|
|
215
|
+
"textAlign": "left",
|
|
216
|
+
"transition": "background-color 0.15s, color 0.15s, border-color 0.15s",
|
|
217
|
+
"backgroundColor": "${state.category === 'Mountain' ? 'var(--color-primary)' : 'var(--color-bg-white)'}",
|
|
218
|
+
"color": "${state.category === 'Mountain' ? 'var(--color-text-white)' : 'var(--color-text-primary)'}"
|
|
219
|
+
},
|
|
220
|
+
"children": [
|
|
221
|
+
{ "tagName": "span", "textContent": "Mountain" },
|
|
222
|
+
{
|
|
223
|
+
"tagName": "span",
|
|
224
|
+
"style": {
|
|
225
|
+
"fontVariantNumeric": "tabular-nums",
|
|
226
|
+
"opacity": "0.7",
|
|
227
|
+
"fontWeight": "600"
|
|
228
|
+
},
|
|
229
|
+
"textContent": "2"
|
|
230
|
+
}
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"tagName": "button",
|
|
235
|
+
"onclick": { "$ref": "#/state/setGravel" },
|
|
236
|
+
"style": {
|
|
237
|
+
"display": "flex",
|
|
238
|
+
"alignItems": "center",
|
|
239
|
+
"justifyContent": "space-between",
|
|
240
|
+
"gap": "0.5rem",
|
|
241
|
+
"width": "100%",
|
|
242
|
+
"padding": "0.6rem 0.85rem",
|
|
243
|
+
"borderRadius": "var(--radius-sm)",
|
|
244
|
+
"border": "1px solid ${state.category === 'Gravel' ? 'var(--color-primary)' : 'var(--color-border)'}",
|
|
245
|
+
"cursor": "pointer",
|
|
246
|
+
"fontFamily": "inherit",
|
|
247
|
+
"fontWeight": "700",
|
|
248
|
+
"fontSize": "0.92rem",
|
|
249
|
+
"textAlign": "left",
|
|
250
|
+
"transition": "background-color 0.15s, color 0.15s, border-color 0.15s",
|
|
251
|
+
"backgroundColor": "${state.category === 'Gravel' ? 'var(--color-primary)' : 'var(--color-bg-white)'}",
|
|
252
|
+
"color": "${state.category === 'Gravel' ? 'var(--color-text-white)' : 'var(--color-text-primary)'}"
|
|
253
|
+
},
|
|
254
|
+
"children": [
|
|
255
|
+
{ "tagName": "span", "textContent": "Gravel" },
|
|
256
|
+
{
|
|
257
|
+
"tagName": "span",
|
|
258
|
+
"style": {
|
|
259
|
+
"fontVariantNumeric": "tabular-nums",
|
|
260
|
+
"opacity": "0.7",
|
|
261
|
+
"fontWeight": "600"
|
|
262
|
+
},
|
|
263
|
+
"textContent": "1"
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"tagName": "button",
|
|
269
|
+
"onclick": { "$ref": "#/state/setKids" },
|
|
270
|
+
"style": {
|
|
271
|
+
"display": "flex",
|
|
272
|
+
"alignItems": "center",
|
|
273
|
+
"justifyContent": "space-between",
|
|
274
|
+
"gap": "0.5rem",
|
|
275
|
+
"width": "100%",
|
|
276
|
+
"padding": "0.6rem 0.85rem",
|
|
277
|
+
"borderRadius": "var(--radius-sm)",
|
|
278
|
+
"border": "1px solid ${state.category === 'Kids' ? 'var(--color-primary)' : 'var(--color-border)'}",
|
|
279
|
+
"cursor": "pointer",
|
|
280
|
+
"fontFamily": "inherit",
|
|
281
|
+
"fontWeight": "700",
|
|
282
|
+
"fontSize": "0.92rem",
|
|
283
|
+
"textAlign": "left",
|
|
284
|
+
"transition": "background-color 0.15s, color 0.15s, border-color 0.15s",
|
|
285
|
+
"backgroundColor": "${state.category === 'Kids' ? 'var(--color-primary)' : 'var(--color-bg-white)'}",
|
|
286
|
+
"color": "${state.category === 'Kids' ? 'var(--color-text-white)' : 'var(--color-text-primary)'}"
|
|
287
|
+
},
|
|
288
|
+
"children": [
|
|
289
|
+
{ "tagName": "span", "textContent": "Kids" },
|
|
290
|
+
{
|
|
291
|
+
"tagName": "span",
|
|
292
|
+
"style": {
|
|
293
|
+
"fontVariantNumeric": "tabular-nums",
|
|
294
|
+
"opacity": "0.7",
|
|
295
|
+
"fontWeight": "600"
|
|
296
|
+
},
|
|
297
|
+
"textContent": "1"
|
|
298
|
+
}
|
|
299
|
+
]
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"tagName": "button",
|
|
303
|
+
"onclick": { "$ref": "#/state/setAccessories" },
|
|
304
|
+
"style": {
|
|
305
|
+
"display": "flex",
|
|
306
|
+
"alignItems": "center",
|
|
307
|
+
"justifyContent": "space-between",
|
|
308
|
+
"gap": "0.5rem",
|
|
309
|
+
"width": "100%",
|
|
310
|
+
"padding": "0.6rem 0.85rem",
|
|
311
|
+
"borderRadius": "var(--radius-sm)",
|
|
312
|
+
"border": "1px solid ${state.category === 'Accessories' ? 'var(--color-primary)' : 'var(--color-border)'}",
|
|
313
|
+
"cursor": "pointer",
|
|
314
|
+
"fontFamily": "inherit",
|
|
315
|
+
"fontWeight": "700",
|
|
316
|
+
"fontSize": "0.92rem",
|
|
317
|
+
"textAlign": "left",
|
|
318
|
+
"transition": "background-color 0.15s, color 0.15s, border-color 0.15s",
|
|
319
|
+
"backgroundColor": "${state.category === 'Accessories' ? 'var(--color-primary)' : 'var(--color-bg-white)'}",
|
|
320
|
+
"color": "${state.category === 'Accessories' ? 'var(--color-text-white)' : 'var(--color-text-primary)'}"
|
|
321
|
+
},
|
|
322
|
+
"children": [
|
|
323
|
+
{ "tagName": "span", "textContent": "Accessories" },
|
|
324
|
+
{
|
|
325
|
+
"tagName": "span",
|
|
326
|
+
"style": {
|
|
327
|
+
"fontVariantNumeric": "tabular-nums",
|
|
328
|
+
"opacity": "0.7",
|
|
329
|
+
"fontWeight": "600"
|
|
330
|
+
},
|
|
331
|
+
"textContent": "2"
|
|
332
|
+
}
|
|
333
|
+
]
|
|
131
334
|
}
|
|
132
|
-
|
|
133
|
-
"style": {
|
|
134
|
-
"cursor": "pointer",
|
|
135
|
-
"fontFamily": "inherit",
|
|
136
|
-
"fontSize": "0.92rem",
|
|
137
|
-
"fontWeight": "600",
|
|
138
|
-
"padding": "0.55rem 1.15rem",
|
|
139
|
-
"borderRadius": "999px",
|
|
140
|
-
"border": "1px solid var(--color-border)",
|
|
141
|
-
"transition": "background-color 0.15s, color 0.15s, border-color 0.15s",
|
|
142
|
-
"backgroundColor": "${state.category === 'Kids' ? 'var(--color-primary)' : 'var(--color-bg-white)'}",
|
|
143
|
-
"color": "${state.category === 'Kids' ? '#ffffff' : 'var(--color-text-primary)'}",
|
|
144
|
-
"borderColor": "${state.category === 'Kids' ? 'var(--color-primary)' : 'var(--color-border)'}"
|
|
145
|
-
}
|
|
335
|
+
]
|
|
146
336
|
},
|
|
147
337
|
{
|
|
148
|
-
"tagName": "
|
|
149
|
-
"textContent": "Accessories",
|
|
150
|
-
"onclick": {
|
|
151
|
-
"$expression": {
|
|
152
|
-
"operator": "=",
|
|
153
|
-
"target": { "$ref": "#/state/category" },
|
|
154
|
-
"value": "Accessories"
|
|
155
|
-
}
|
|
156
|
-
},
|
|
338
|
+
"tagName": "div",
|
|
157
339
|
"style": {
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
"
|
|
168
|
-
|
|
169
|
-
|
|
340
|
+
"marginTop": "1.3rem",
|
|
341
|
+
"padding": "0.9rem 1rem",
|
|
342
|
+
"borderRadius": "var(--radius-sm)",
|
|
343
|
+
"backgroundColor": "var(--color-bg-cream)",
|
|
344
|
+
"display": "flex",
|
|
345
|
+
"alignItems": "center",
|
|
346
|
+
"gap": "0.6rem"
|
|
347
|
+
},
|
|
348
|
+
"children": [
|
|
349
|
+
{ "tagName": "span", "style": { "fontSize": "1.1rem" }, "textContent": "🔧" },
|
|
350
|
+
{
|
|
351
|
+
"tagName": "p",
|
|
352
|
+
"style": {
|
|
353
|
+
"margin": "0",
|
|
354
|
+
"fontSize": "0.8rem",
|
|
355
|
+
"lineHeight": "1.45",
|
|
356
|
+
"color": "var(--color-text-secondary)",
|
|
357
|
+
"fontWeight": "500"
|
|
358
|
+
},
|
|
359
|
+
"textContent": "Every bike ships fitted with a free first tune-up."
|
|
360
|
+
}
|
|
361
|
+
]
|
|
170
362
|
}
|
|
171
363
|
]
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"tagName": "p",
|
|
175
|
-
"style": {
|
|
176
|
-
"textAlign": "center",
|
|
177
|
-
"margin": "1rem 0 0",
|
|
178
|
-
"fontSize": "0.9rem",
|
|
179
|
-
"color": "var(--color-text-muted)"
|
|
180
|
-
},
|
|
181
|
-
"textContent": "${state.category === 'all' ? 'Showing every bike and accessory in the shop.' : 'Showing ' + state.category + ' — tap “All bikes” to reset.'}"
|
|
182
364
|
}
|
|
183
365
|
]
|
|
184
366
|
}
|
|
@@ -4,37 +4,58 @@
|
|
|
4
4
|
"eyebrow": "",
|
|
5
5
|
"heading": "",
|
|
6
6
|
"subheading": "",
|
|
7
|
-
"align": "
|
|
7
|
+
"align": "left"
|
|
8
8
|
},
|
|
9
9
|
"style": {
|
|
10
|
-
"display": "
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
10
|
+
"display": "flex",
|
|
11
|
+
"flexDirection": "column",
|
|
12
|
+
"gap": "0.85rem",
|
|
13
|
+
"maxWidth": "var(--max-width)",
|
|
14
|
+
"margin": "0 auto 2rem",
|
|
15
|
+
"padding": "0 1.5rem",
|
|
16
|
+
"alignItems": "${state.align === 'center' ? 'center' : 'flex-start'}",
|
|
17
|
+
"textAlign": "${state.align === 'center' ? 'center' : 'left'}"
|
|
14
18
|
},
|
|
15
19
|
"children": [
|
|
16
20
|
{
|
|
17
21
|
"tagName": "p",
|
|
18
22
|
"style": {
|
|
19
|
-
"display": "${state.eyebrow ? '
|
|
23
|
+
"display": "${state.eyebrow ? 'inline-flex' : 'none'}",
|
|
24
|
+
"alignItems": "center",
|
|
25
|
+
"gap": "0.45rem",
|
|
26
|
+
"padding": "0.34rem 0.8rem 0.34rem 0.65rem",
|
|
27
|
+
"borderRadius": "999px",
|
|
28
|
+
"backgroundColor": "var(--color-brand-tint)",
|
|
29
|
+
"color": "var(--color-primary-hover)",
|
|
30
|
+
"fontSize": "0.72rem",
|
|
31
|
+
"fontWeight": "800",
|
|
20
32
|
"textTransform": "uppercase",
|
|
21
|
-
"letterSpacing": "0.
|
|
22
|
-
"
|
|
23
|
-
"fontWeight": "600",
|
|
24
|
-
"color": "var(--color-primary)",
|
|
25
|
-
"margin": "0 0 0.75rem"
|
|
33
|
+
"letterSpacing": "0.1em",
|
|
34
|
+
"margin": "0"
|
|
26
35
|
},
|
|
27
|
-
"
|
|
36
|
+
"children": [
|
|
37
|
+
{
|
|
38
|
+
"tagName": "span",
|
|
39
|
+
"style": {
|
|
40
|
+
"width": "0.42rem",
|
|
41
|
+
"height": "0.42rem",
|
|
42
|
+
"borderRadius": "999px",
|
|
43
|
+
"backgroundColor": "var(--color-primary)"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{ "tagName": "span", "textContent": "${state.eyebrow}" }
|
|
47
|
+
]
|
|
28
48
|
},
|
|
29
49
|
{
|
|
30
50
|
"tagName": "h2",
|
|
31
51
|
"style": {
|
|
32
52
|
"fontFamily": "var(--font-heading)",
|
|
33
|
-
"fontSize": "clamp(1.9rem, 4vw, 2.
|
|
34
|
-
"fontWeight": "
|
|
35
|
-
"lineHeight": "1.
|
|
36
|
-
"letterSpacing": "-0.
|
|
37
|
-
"margin": "0"
|
|
53
|
+
"fontSize": "clamp(1.9rem, 4vw, 2.75rem)",
|
|
54
|
+
"fontWeight": "800",
|
|
55
|
+
"lineHeight": "1.05",
|
|
56
|
+
"letterSpacing": "-0.03em",
|
|
57
|
+
"margin": "0",
|
|
58
|
+
"color": "var(--color-text-primary)"
|
|
38
59
|
},
|
|
39
60
|
"textContent": "${state.heading}"
|
|
40
61
|
},
|
|
@@ -42,10 +63,11 @@
|
|
|
42
63
|
"tagName": "p",
|
|
43
64
|
"style": {
|
|
44
65
|
"display": "${state.subheading ? 'block' : 'none'}",
|
|
45
|
-
"fontSize": "1.
|
|
46
|
-
"lineHeight": "1.
|
|
66
|
+
"fontSize": "1.08rem",
|
|
67
|
+
"lineHeight": "1.65",
|
|
47
68
|
"color": "var(--color-text-muted)",
|
|
48
|
-
"margin": "
|
|
69
|
+
"margin": "0",
|
|
70
|
+
"maxWidth": "58ch"
|
|
49
71
|
},
|
|
50
72
|
"textContent": "${state.subheading}"
|
|
51
73
|
}
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
"label": ""
|
|
6
6
|
},
|
|
7
7
|
"style": {
|
|
8
|
-
"display": "block"
|
|
9
|
-
"textAlign": "center"
|
|
8
|
+
"display": "block"
|
|
10
9
|
},
|
|
11
10
|
"children": [
|
|
12
11
|
{
|
|
@@ -14,10 +13,11 @@
|
|
|
14
13
|
"style": {
|
|
15
14
|
"fontFamily": "var(--font-heading)",
|
|
16
15
|
"fontSize": "clamp(2.25rem, 5vw, 3rem)",
|
|
17
|
-
"fontWeight": "
|
|
16
|
+
"fontWeight": "800",
|
|
18
17
|
"lineHeight": "1",
|
|
19
18
|
"color": "var(--color-primary)",
|
|
20
|
-
"letterSpacing": "-0.
|
|
19
|
+
"letterSpacing": "-0.03em",
|
|
20
|
+
"fontVariantNumeric": "tabular-nums"
|
|
21
21
|
},
|
|
22
22
|
"textContent": "${state.value}"
|
|
23
23
|
},
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"tagName": "div",
|
|
26
26
|
"style": {
|
|
27
27
|
"marginTop": "0.5rem",
|
|
28
|
-
"fontSize": "0.
|
|
28
|
+
"fontSize": "0.85rem",
|
|
29
29
|
"color": "var(--color-text-muted)",
|
|
30
30
|
"textTransform": "uppercase",
|
|
31
31
|
"letterSpacing": "0.08em",
|
|
32
|
-
"fontWeight": "
|
|
32
|
+
"fontWeight": "600"
|
|
33
33
|
},
|
|
34
34
|
"textContent": "${state.label}"
|
|
35
35
|
}
|