@tempoxyz/ds 4.4.20261201070331 → 4.5.20261201070959
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/docs/AGENTS.md +1 -1
- package/dist/docs/marketing.md +441 -394
- package/dist/document/templates/brief.html +3 -3
- package/dist/document/templates/essay.html +3 -3
- package/dist/document/templates/post.html +3 -3
- package/dist/marketing/components/AnswerLabel.js.zyzz.json +1 -1
- package/dist/marketing/components/ArticleBody.js.zyzz.json +1 -1
- package/dist/marketing/components/ArticleHero.js.zyzz.json +1 -1
- package/dist/marketing/components/ArticleIndex.d.ts +4 -1
- package/dist/marketing/components/ArticleIndex.d.ts.map +1 -1
- package/dist/marketing/components/ArticleIndex.js +3 -0
- package/dist/marketing/components/ArticleIndex.js.map +1 -1
- package/dist/marketing/components/ArticleIndex.js.zyzz.json +1 -1
- package/dist/marketing/components/ArticleRail.js.zyzz.json +1 -1
- package/dist/marketing/components/AsideLayout.js.zyzz.json +1 -1
- package/dist/marketing/components/Bleed.css +1 -1
- package/dist/marketing/components/Bleed.d.ts.map +1 -1
- package/dist/marketing/components/Bleed.js +8 -5
- package/dist/marketing/components/Bleed.js.map +1 -1
- package/dist/marketing/components/Bleed.js.zyzz.json +1 -1
- package/dist/marketing/components/BlockFrame.js.zyzz.json +1 -1
- package/dist/marketing/components/Breadcrumbs.js.zyzz.json +1 -1
- package/dist/marketing/components/Button.js.zyzz.json +1 -1
- package/dist/marketing/components/Card.js.zyzz.json +1 -1
- package/dist/marketing/components/Carousel.css +1 -1
- package/dist/marketing/components/Carousel.d.ts +16 -4
- package/dist/marketing/components/Carousel.d.ts.map +1 -1
- package/dist/marketing/components/Carousel.js +24 -30
- package/dist/marketing/components/Carousel.js.map +1 -1
- package/dist/marketing/components/Carousel.js.zyzz.json +1 -1
- package/dist/marketing/components/Cta.js.zyzz.json +1 -1
- package/dist/marketing/components/Faq.js.zyzz.json +1 -1
- package/dist/marketing/components/FeatureAccordion.js.zyzz.json +1 -1
- package/dist/marketing/components/Field.js.zyzz.json +1 -1
- package/dist/marketing/components/Filter.js.zyzz.json +1 -1
- package/dist/marketing/components/Footer.js.zyzz.json +1 -1
- package/dist/marketing/components/Hero.js.zyzz.json +1 -1
- package/dist/marketing/components/Index.css +1 -0
- package/dist/marketing/components/Index.d.ts +163 -0
- package/dist/marketing/components/Index.d.ts.map +1 -0
- package/dist/marketing/components/Index.js +137 -0
- package/dist/marketing/components/Index.js.map +1 -0
- package/dist/marketing/components/Index.js.zyzz.json +1 -0
- package/dist/marketing/components/LeadCapture.js.zyzz.json +1 -1
- package/dist/marketing/components/Link.js.zyzz.json +1 -1
- package/dist/marketing/components/Logo.js.zyzz.json +1 -1
- package/dist/marketing/components/LogoWall.js.zyzz.json +1 -1
- package/dist/marketing/components/Media.js.zyzz.json +1 -1
- package/dist/marketing/components/Nav.js.zyzz.json +1 -1
- package/dist/marketing/components/PartnersIndex.d.ts +4 -1
- package/dist/marketing/components/PartnersIndex.d.ts.map +1 -1
- package/dist/marketing/components/PartnersIndex.js +3 -0
- package/dist/marketing/components/PartnersIndex.js.map +1 -1
- package/dist/marketing/components/PartnersIndex.js.zyzz.json +1 -1
- package/dist/marketing/components/Section.js.zyzz.json +1 -1
- package/dist/marketing/components/SectionHeading.js.zyzz.json +1 -1
- package/dist/marketing/components/Share.js.zyzz.json +1 -1
- package/dist/marketing/components/Showcase.js.zyzz.json +1 -1
- package/dist/marketing/components/Snippet.js.zyzz.json +1 -1
- package/dist/marketing/components/Sources.js.zyzz.json +1 -1
- package/dist/marketing/components/Statement.css +1 -1
- package/dist/marketing/components/Statement.d.ts.map +1 -1
- package/dist/marketing/components/Statement.js +9 -6
- package/dist/marketing/components/Statement.js.map +1 -1
- package/dist/marketing/components/Statement.js.zyzz.json +1 -1
- package/dist/marketing/components/Stats.js.zyzz.json +1 -1
- package/dist/marketing/components/Steps.js.zyzz.json +1 -1
- package/dist/marketing/components/Story.js.zyzz.json +1 -1
- package/dist/marketing/components/SymbolTile.js.zyzz.json +1 -1
- package/dist/marketing/components/Table.js.zyzz.json +1 -1
- package/dist/marketing/components/Tag.js.zyzz.json +1 -1
- package/dist/marketing/components/internal/Hint.js.zyzz.json +1 -1
- package/dist/marketing/index.d.ts +1 -0
- package/dist/marketing/index.d.ts.map +1 -1
- package/dist/marketing/index.js +1 -0
- package/dist/marketing/index.js.map +1 -1
- package/dist/marketing/index.js.zyzz.json +1 -1
- package/dist/marketing/styles.js.zyzz.json +1 -1
- package/dist/marketing/zyzz.config.js.map +1 -1
- package/dist/marketing/zyzz.config.js.zyzz.json +1 -1
- package/package.json +2 -2
- package/src/marketing/components/ArticleIndex.tsx +4 -1
- package/src/marketing/components/Bleed.tsx +11 -2
- package/src/marketing/components/Carousel.tsx +43 -26
- package/src/marketing/components/Index.tsx +411 -0
- package/src/marketing/components/PartnersIndex.tsx +4 -1
- package/src/marketing/components/Statement.tsx +20 -2
- package/src/marketing/index.ts +1 -0
- package/src/marketing/zyzz.config.ts +3 -3
package/dist/docs/marketing.md
CHANGED
|
@@ -26,7 +26,6 @@ Each section below is one page of the documentation at ds.tehq.dev.
|
|
|
26
26
|
- [Typography](#typography): Pilat for headlines and copy, HB Set for statements, and responsive sizes.
|
|
27
27
|
- [Article Body](#article-body): Sets the text of every blog post, Learn guide and customer story.
|
|
28
28
|
- [Article Hero](#article-hero): Opens a blog post, Learn guide or customer story with its title.
|
|
29
|
-
- [Article Index](#article-index): Lists every article in a hub, filtered by label on Blog and Learn.
|
|
30
29
|
- [Article Rail](#article-rail): Sets share links, then the contents, beside a blog post or a Learn guide.
|
|
31
30
|
- [Bleed](#bleed): Runs a picture or video to the page's edges in its own section.
|
|
32
31
|
- [Block Frame](#block-frame): Holds one block of a generated answer, with a skeleton while it loads.
|
|
@@ -37,14 +36,14 @@ Each section below is one page of the documentation at ds.tehq.dev.
|
|
|
37
36
|
- [Feature Accordion](#feature-accordion): Opens one row at a time, with its art beside it.
|
|
38
37
|
- [Footer](#footer): Ends every page with the whole site map.
|
|
39
38
|
- [Hero](#hero): Opens a page: its title, subtitle and actions, or its copy beside a form.
|
|
39
|
+
- [Index](#index-1): Lists a collection as cards or rows under one row of filters, a page at a time.
|
|
40
40
|
- [Logo Wall](#logo-wall): Shows a group of companies as logos in one ink, under a centered heading.
|
|
41
41
|
- [Media](#media): A 4:3 picture, or a video's poster that opens the video.
|
|
42
42
|
- [Nav](#nav): Leads from every page to the site's sections, in a bar at the top.
|
|
43
|
-
- [Partners Index](#partners-index): Lists the partners or assets a page covers, as cards.
|
|
44
43
|
- [Section](#section): Holds a page section: its container, its heading and the space above it.
|
|
45
44
|
- [Showcase](#showcase): Tells one feature through a large picture, with its steps, cards or tools.
|
|
46
45
|
- [Sources](#sources): Lists every page and file a generated answer read, each as a link.
|
|
47
|
-
- [Statement](#statement): Sets one sentence large in its own section
|
|
46
|
+
- [Statement](#statement): Sets one sentence large in its own section.
|
|
48
47
|
- [Stats](#stats): Sets a few figures side by side, each over its label under a rule.
|
|
49
48
|
- [Steps](#steps): Sets a numbered sequence on one rail.
|
|
50
49
|
- [Story](#story): Tells one customer's story over their photo, as a large quote or a feature.
|
|
@@ -306,9 +305,9 @@ namespace styles {
|
|
|
306
305
|
* **Components:** [Button](/marketing/components/button), [Link](/marketing/components/link), [Tag](/marketing/components/tag), [Tab](/marketing/components/tab), [Breadcrumbs](/marketing/components/breadcrumbs), [Logo](/marketing/components/logo), [Mark](/marketing/components/mark), [Symbol Tile](/marketing/components/symbol-tile).
|
|
307
306
|
* **Page Frame:** [Nav](/marketing/sections/nav), [Footer](/marketing/sections/footer), [Section](/marketing/sections/section).
|
|
308
307
|
* **Openings and Closings:** [Hero](/marketing/sections/hero), [CTA](/marketing/sections/cta), [Contact](/marketing/sections/contact), [FAQ](/marketing/sections/faq).
|
|
309
|
-
* **Body:** [Card](/marketing/sections/card), [Media](/marketing/sections/media), [Feature Accordion](/marketing/sections/feature-accordion), [Showcase](/marketing/sections/showcase), [Stats](/marketing/sections/stats), [Steps](/marketing/sections/steps).
|
|
310
|
-
* **Customers and Partners:** [Quote Band](/marketing/sections/quote-band), [Logo Wall](/marketing/sections/logo-wall), [Customer Story Feature](/marketing/sections/customer-story-feature)
|
|
311
|
-
* **Articles and Reports:** [Article Hero](/marketing/sections/article-hero), [Article Body](/marketing/sections/article-body), [Article Rail](/marketing/sections/article-rail)
|
|
308
|
+
* **Body:** [Card](/marketing/sections/card), [Media](/marketing/sections/media), [Feature Accordion](/marketing/sections/feature-accordion), [Showcase](/marketing/sections/showcase), [Stats](/marketing/sections/stats), [Steps](/marketing/sections/steps), [Index](/marketing/sections/index).
|
|
309
|
+
* **Customers and Partners:** [Quote Band](/marketing/sections/quote-band), [Logo Wall](/marketing/sections/logo-wall), [Customer Story Feature](/marketing/sections/customer-story-feature).
|
|
310
|
+
* **Articles and Reports:** [Article Hero](/marketing/sections/article-hero), [Article Body](/marketing/sections/article-body), [Article Rail](/marketing/sections/article-rail).
|
|
312
311
|
|
|
313
312
|
## Answer Label
|
|
314
313
|
|
|
@@ -1890,9 +1889,9 @@ Use for a fixed label.
|
|
|
1890
1889
|
|
|
1891
1890
|
Use for an action.
|
|
1892
1891
|
|
|
1893
|
-
[
|
|
1892
|
+
[Index](/marketing/sections/index)
|
|
1894
1893
|
|
|
1895
|
-
Use for a
|
|
1894
|
+
Use for a collection under one row of filters.
|
|
1896
1895
|
|
|
1897
1896
|
## Link
|
|
1898
1897
|
|
|
@@ -4639,6 +4638,7 @@ import { ArticleHero } from '@tempoxyz/ds/marketing'
|
|
|
4639
4638
|
#### When Not to Use
|
|
4640
4639
|
|
|
4641
4640
|
* Use [Hero](/marketing/sections/hero) for a marketing or index page's opening.
|
|
4641
|
+
* Leave an index's rows to [Index](/marketing/sections/index), which draws its own line.
|
|
4642
4642
|
|
|
4643
4643
|
#### Set Only What Its Kind Takes
|
|
4644
4644
|
|
|
@@ -4707,142 +4707,6 @@ Use for the text under it.
|
|
|
4707
4707
|
|
|
4708
4708
|
Use for the share links and contents beside the text.
|
|
4709
4709
|
|
|
4710
|
-
## Article Index
|
|
4711
|
-
|
|
4712
|
-
Lists every article in a hub, filtered by label on Blog and Learn.
|
|
4713
|
-
|
|
4714
|
-
### Overview
|
|
4715
|
-
|
|
4716
|
-
A `<section>` named by its heading that lists every post, guide, or report in a hub as ruled rows, each one link to one article.
|
|
4717
|
-
|
|
4718
|
-
From 1024px, a sidebar of label filters sits beside the list and stays in view as the list scrolls. A press on a filter shows only that label's articles, and a second press shows them all again.
|
|
4719
|
-
|
|
4720
|
-
### Examples
|
|
4721
|
-
|
|
4722
|
-
#### Default
|
|
4723
|
-
|
|
4724
|
-
The blog's latest posts with their label filters. Resize the preview below 1024px to see the filters move above the list.
|
|
4725
|
-
|
|
4726
|
-
```tsx
|
|
4727
|
-
/** Demonstrates the Blog hub's Marketing article index, with label filters and a signup block. @module */
|
|
4728
|
-
import { ArticleIndex, Section, style } from '@tempoxyz/ds/marketing'
|
|
4729
|
-
|
|
4730
|
-
export const fill = true
|
|
4731
|
-
|
|
4732
|
-
export function Demo() {
|
|
4733
|
-
return (
|
|
4734
|
-
<Section>
|
|
4735
|
-
<ArticleIndex
|
|
4736
|
-
aside={
|
|
4737
|
-
<div>
|
|
4738
|
-
<h3 {...styles.heading()}>Get Tempo updates</h3>
|
|
4739
|
-
<p {...styles.text()}>Product news, customer stories, and payments research.</p>
|
|
4740
|
-
</div>
|
|
4741
|
-
}
|
|
4742
|
-
heading="Latest posts"
|
|
4743
|
-
items={[
|
|
4744
|
-
{
|
|
4745
|
-
date: 'Nov 12, 2026',
|
|
4746
|
-
dateTime: '2026-11-12',
|
|
4747
|
-
href: '/blog/global-payouts',
|
|
4748
|
-
label: 'Product',
|
|
4749
|
-
minutes: 4,
|
|
4750
|
-
title: 'Global payouts on Tempo',
|
|
4751
|
-
},
|
|
4752
|
-
{
|
|
4753
|
-
date: 'Nov 4, 2026',
|
|
4754
|
-
dateTime: '2026-11-04',
|
|
4755
|
-
href: '/blog/stablecoin-accounts',
|
|
4756
|
-
label: 'Partners',
|
|
4757
|
-
minutes: 6,
|
|
4758
|
-
title: 'Stablecoin accounts with our partners',
|
|
4759
|
-
},
|
|
4760
|
-
{
|
|
4761
|
-
date: 'Oct 28, 2026',
|
|
4762
|
-
dateTime: '2026-10-28',
|
|
4763
|
-
href: '/blog/lower-fees',
|
|
4764
|
-
label: 'Product',
|
|
4765
|
-
minutes: 3,
|
|
4766
|
-
title: 'Lower fees for cross-border transfers',
|
|
4767
|
-
},
|
|
4768
|
-
{
|
|
4769
|
-
date: 'Oct 15, 2026',
|
|
4770
|
-
dateTime: '2026-10-15',
|
|
4771
|
-
href: '/blog/consensus',
|
|
4772
|
-
label: 'Engineering',
|
|
4773
|
-
minutes: 9,
|
|
4774
|
-
title: 'How Tempo reaches consensus in under a second',
|
|
4775
|
-
},
|
|
4776
|
-
]}
|
|
4777
|
-
/>
|
|
4778
|
-
</Section>
|
|
4779
|
-
)
|
|
4780
|
-
}
|
|
4781
|
-
|
|
4782
|
-
namespace styles {
|
|
4783
|
-
export const heading = style({ color: 'content.primary', margin: '0', typography: 'heading.h4' })
|
|
4784
|
-
|
|
4785
|
-
export const text = style({ margin: '0', marginBlockStart: '8', typography: 'body.b2' })
|
|
4786
|
-
}
|
|
4787
|
-
```
|
|
4788
|
-
|
|
4789
|
-
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/ArticleIndex/Default.tsx)
|
|
4790
|
-
|
|
4791
|
-
### Anatomy
|
|
4792
|
-
|
|
4793
|
-
```tsx
|
|
4794
|
-
import { ArticleIndex } from '@tempoxyz/ds/marketing'
|
|
4795
|
-
|
|
4796
|
-
<ArticleIndex />
|
|
4797
|
-
```
|
|
4798
|
-
|
|
4799
|
-
### Guidelines
|
|
4800
|
-
|
|
4801
|
-
#### When to Use
|
|
4802
|
-
|
|
4803
|
-
* List a hub's every post on Blog, guide on Learn, or report on Reports, under its page header.
|
|
4804
|
-
|
|
4805
|
-
#### When Not to Use
|
|
4806
|
-
|
|
4807
|
-
* Use [Card](/marketing/sections/card) with `tone="page"` for a few related articles.
|
|
4808
|
-
* Use [Card](/marketing/sections/card) for the customer stories.
|
|
4809
|
-
|
|
4810
|
-
#### Filter Only Where Labels Help
|
|
4811
|
-
|
|
4812
|
-
Set `filterable={false}` where the labels are not worth filtering, as on Reports.
|
|
4813
|
-
|
|
4814
|
-
#### Pass the Signup in the Aside
|
|
4815
|
-
|
|
4816
|
-
Pass a signup block in `aside`. It sits under the filters, ruled off by a hairline.
|
|
4817
|
-
|
|
4818
|
-
#### Link Through Your Router
|
|
4819
|
-
|
|
4820
|
-
Pass `render` for router links, such as a Next.js link. It renders every row's link.
|
|
4821
|
-
|
|
4822
|
-
### Accessibility
|
|
4823
|
-
|
|
4824
|
-
* **Region (section):** The section takes its name from its heading, such as Latest posts.
|
|
4825
|
-
* **Filters (aria-controls):** The filters sit in a named group, and each [Filter](/marketing/components/filter) points to the list.
|
|
4826
|
-
* **Toggle a Filter (aria-pressed):** Each filter is a toggle button. A second press clears it and shows every article.
|
|
4827
|
-
|
|
4828
|
-
#### Your Responsibilities
|
|
4829
|
-
|
|
4830
|
-
* **Translate the Labels (messages):** Pass `messages` on a page in another language, for the filters, read time, and empty list.
|
|
4831
|
-
|
|
4832
|
-
### Related
|
|
4833
|
-
|
|
4834
|
-
[Filter](/marketing/components/filter)
|
|
4835
|
-
|
|
4836
|
-
Covers the label filters.
|
|
4837
|
-
|
|
4838
|
-
[Card](/marketing/sections/card)
|
|
4839
|
-
|
|
4840
|
-
Use for a few related articles.
|
|
4841
|
-
|
|
4842
|
-
[Section Heading](/marketing/sections/section-heading)
|
|
4843
|
-
|
|
4844
|
-
Use for the hub's page header above the list.
|
|
4845
|
-
|
|
4846
4710
|
## Article Rail
|
|
4847
4711
|
|
|
4848
4712
|
Sets share links, then the contents, beside a blog post or a Learn guide.
|
|
@@ -4973,23 +4837,22 @@ Runs a picture or video to the page's edges in its own section.
|
|
|
4973
4837
|
|
|
4974
4838
|
### Overview
|
|
4975
4839
|
|
|
4976
|
-
A
|
|
4977
|
-
|
|
4978
|
-
> [!NOTE]
|
|
4979
|
-
> Bleed has no approved design yet, so its frame, label and props may change.
|
|
4840
|
+
A bleed renders a [Section](/marketing/sections/section) with `bleed` around one picture or video, cropped to cover a 4:3 frame on phones and 16:9 from 768px. An optional label sits in a dark glass pill at the bottom start corner, on the page margin. It adds the larger `turn` space above itself by default, and counts as the page's one break.
|
|
4980
4841
|
|
|
4981
4842
|
### Examples
|
|
4982
4843
|
|
|
4983
4844
|
#### Default
|
|
4984
4845
|
|
|
4985
|
-
Pass an `img`, a `picture` or a `video` as `children`, and a `label`.
|
|
4846
|
+
Pass an `img`, a `picture` or a `video` as `children`, and a `label`.
|
|
4986
4847
|
|
|
4987
4848
|
```tsx
|
|
4988
|
-
/** Demonstrates a Marketing bleed: a picture run to the page edges, with a label on the
|
|
4849
|
+
/** Demonstrates a Marketing bleed: a picture run to the page edges, with a label on the dark glass. @module */
|
|
4989
4850
|
import { Bleed } from '@tempoxyz/ds/marketing'
|
|
4990
4851
|
|
|
4991
4852
|
export const fill = true
|
|
4992
4853
|
|
|
4854
|
+
export const width = 'desktop'
|
|
4855
|
+
|
|
4993
4856
|
// A 16:9 gradient that stands in for an event photo, light at its start so the label reads over white.
|
|
4994
4857
|
const photo =
|
|
4995
4858
|
"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 9'%3E%3Cdefs%3E%3ClinearGradient id='g' x2='1' y2='1'%3E%3Cstop stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%236b7f99'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='16' height='9' fill='url(%23g)'/%3E%3C/svg%3E"
|
|
@@ -5010,7 +4873,9 @@ export function Demo() {
|
|
|
5010
4873
|
```tsx
|
|
5011
4874
|
import { Bleed } from '@tempoxyz/ds/marketing'
|
|
5012
4875
|
|
|
5013
|
-
<Bleed
|
|
4876
|
+
<Bleed label="Tempo Summit, New York">
|
|
4877
|
+
<img alt="" src="/summit.webp" />
|
|
4878
|
+
</Bleed>
|
|
5014
4879
|
```
|
|
5015
4880
|
|
|
5016
4881
|
### Guidelines
|
|
@@ -5021,21 +4886,45 @@ import { Bleed } from '@tempoxyz/ds/marketing'
|
|
|
5021
4886
|
|
|
5022
4887
|
#### When Not to Use
|
|
5023
4888
|
|
|
5024
|
-
* Use [Media](/marketing/sections/media) for a
|
|
5025
|
-
* Use [Story](/marketing/sections/story) with `variant="quote"` for
|
|
4889
|
+
* Use [Media](/marketing/sections/media) for a picture or video inside a section's content.
|
|
4890
|
+
* Use [Story](/marketing/sections/story) with `variant="quote"` for someone's words over a photo.
|
|
5026
4891
|
* Use [Statement](/marketing/sections/statement) for the page's break as a sentence.
|
|
5027
4892
|
|
|
5028
4893
|
#### Use One Break per Page
|
|
5029
4894
|
|
|
5030
4895
|
A page holds one bleed or one statement. Keep it away from the hero and the closing section.
|
|
5031
4896
|
|
|
5032
|
-
|
|
4897
|
+
**Do:** Run the bleed between two runs of sections.
|
|
4898
|
+
|
|
4899
|
+
```tsx
|
|
4900
|
+
<PageSketch kind="bleed" />
|
|
4901
|
+
```
|
|
4902
|
+
|
|
4903
|
+
**Don't:** Follow it with a statement.
|
|
4904
|
+
|
|
4905
|
+
```tsx
|
|
4906
|
+
<PageSketch kind="twice" />
|
|
4907
|
+
```
|
|
4908
|
+
|
|
4909
|
+
#### Keep the Subject in the Middle
|
|
4910
|
+
|
|
4911
|
+
The frame crops to cover, at 4:3 on phones and 16:9 from 768px, so the sides of a wide picture drop away.
|
|
4912
|
+
|
|
4913
|
+
**Do:** Center the subject, so both frames keep it.
|
|
5033
4914
|
|
|
5034
|
-
|
|
4915
|
+
```tsx
|
|
4916
|
+
<BleedSketch kind="centered" />
|
|
4917
|
+
```
|
|
5035
4918
|
|
|
5036
|
-
|
|
4919
|
+
**Don't:** Put it at the side, where the 4:3 frame cuts it off.
|
|
5037
4920
|
|
|
5038
|
-
|
|
4921
|
+
```tsx
|
|
4922
|
+
<BleedSketch kind="edge" />
|
|
4923
|
+
```
|
|
4924
|
+
|
|
4925
|
+
#### Give a Looping Video a Pause Button
|
|
4926
|
+
|
|
4927
|
+
Bleed draws no video controls. Give a video a `poster`, `muted` and `playsInline`, and keep it free of speech. If it plays on its own for more than five seconds, the page adds a pause button over it. Otherwise, use a picture.
|
|
5039
4928
|
|
|
5040
4929
|
### Content
|
|
5041
4930
|
|
|
@@ -5046,15 +4935,18 @@ Keep `label` to a few words that name what the media shows, such as the place or
|
|
|
5046
4935
|
### Accessibility
|
|
5047
4936
|
|
|
5048
4937
|
* **Figure (figure):** A figure that takes `label` as its caption and its name.
|
|
5049
|
-
* **
|
|
5050
|
-
|
|
5051
|
-
|
|
4938
|
+
* **Label (4.5:1):** The dark glass holds the near-white label to 4.5:1 over a white picture.
|
|
4939
|
+
|
|
4940
|
+
#### Your Responsibilities
|
|
4941
|
+
|
|
4942
|
+
* **Describe the Media (alt):** State what an image shows in `alt`, or set `alt=""` where `label` already does.
|
|
4943
|
+
* **Reduced Motion (prefers-reduced-motion):** The part holds still. Under reduced motion, don't start a video on its own: show its poster.
|
|
5052
4944
|
|
|
5053
4945
|
### Related
|
|
5054
4946
|
|
|
5055
4947
|
[Section](/marketing/sections/section)
|
|
5056
4948
|
|
|
5057
|
-
|
|
4949
|
+
Covers the section it renders, run to the page edges with `bleed`.
|
|
5058
4950
|
|
|
5059
4951
|
[Statement](/marketing/sections/statement)
|
|
5060
4952
|
|
|
@@ -5062,7 +4954,7 @@ Use for the page's break as a sentence.
|
|
|
5062
4954
|
|
|
5063
4955
|
[Media](/marketing/sections/media)
|
|
5064
4956
|
|
|
5065
|
-
Use for a
|
|
4957
|
+
Use for a picture or video inside a section's content.
|
|
5066
4958
|
|
|
5067
4959
|
## Block Frame
|
|
5068
4960
|
|
|
@@ -5631,7 +5523,7 @@ import { Card } from '@tempoxyz/ds/marketing'
|
|
|
5631
5523
|
* Use [Link](/marketing/components/link) for a link that ends a section or a block of text.
|
|
5632
5524
|
* Use [CTA](/marketing/sections/cta) for a section that asks the reader to act.
|
|
5633
5525
|
* Use [Story](/marketing/sections/story) for one story told in brief.
|
|
5634
|
-
* Use [
|
|
5526
|
+
* Use [Index](/marketing/sections/index) for a whole collection readers filter or page through.
|
|
5635
5527
|
|
|
5636
5528
|
#### Make Each Card One Link
|
|
5637
5529
|
|
|
@@ -5711,16 +5603,15 @@ Scrolls a row of items sideways, paged by buttons in its section heading.
|
|
|
5711
5603
|
|
|
5712
5604
|
### Overview
|
|
5713
5605
|
|
|
5714
|
-
A row of items that scrolls sideways and snaps each item to its start. It shows one item and most of the next on phones, two from 768px and three from 1024px.
|
|
5606
|
+
A row of items that scrolls sideways and snaps each item to its start. It shows one item and most of the next on phones, two from 768px and three from 1024px.
|
|
5715
5607
|
|
|
5716
|
-
|
|
5717
|
-
> Carousel has no approved design yet, so its widths, buttons and props may change.
|
|
5608
|
+
It sits on any Section tone. On an `inverse` section, set `tone="inverse"` on `Carousel.Controls`.
|
|
5718
5609
|
|
|
5719
5610
|
### Examples
|
|
5720
5611
|
|
|
5721
5612
|
#### Default
|
|
5722
5613
|
|
|
5723
|
-
Give the carousel an `id`, and pass `Carousel.Controls` with the same id as `track` to the `controls` of the [Section](/marketing/sections/section) around it.
|
|
5614
|
+
Give the carousel an `id`, and pass `Carousel.Controls` with the same id as `track` to the `controls` of the [Section](/marketing/sections/section) around it.
|
|
5724
5615
|
|
|
5725
5616
|
```tsx
|
|
5726
5617
|
/** Demonstrates a Marketing carousel of customer cards, paged by the buttons in its section's heading. @module */
|
|
@@ -5728,6 +5619,8 @@ import { Card, Carousel, Section } from '@tempoxyz/ds/marketing'
|
|
|
5728
5619
|
|
|
5729
5620
|
export const fill = true
|
|
5730
5621
|
|
|
5622
|
+
export const width = 'desktop'
|
|
5623
|
+
|
|
5731
5624
|
// Placeholder topics that stand in for customer stories.
|
|
5732
5625
|
const stories = ['Payouts', 'Remittances', 'Treasury', 'Card settlement', 'Payroll']
|
|
5733
5626
|
|
|
@@ -5757,22 +5650,68 @@ export function Demo() {
|
|
|
5757
5650
|
|
|
5758
5651
|
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Carousel/Default.tsx)
|
|
5759
5652
|
|
|
5653
|
+
#### Inverse
|
|
5654
|
+
|
|
5655
|
+
Set `tone="inverse"` on the section and the controls. The cards stay white.
|
|
5656
|
+
|
|
5657
|
+
```tsx
|
|
5658
|
+
/** Demonstrates a Marketing carousel on an inverse section, with inverse buttons over white cards. @module */
|
|
5659
|
+
import { Card, Carousel, Section } from '@tempoxyz/ds/marketing'
|
|
5660
|
+
|
|
5661
|
+
export const fill = true
|
|
5662
|
+
|
|
5663
|
+
export const surface = 'inverse'
|
|
5664
|
+
|
|
5665
|
+
export const width = 'desktop'
|
|
5666
|
+
|
|
5667
|
+
// Placeholder topics that stand in for customer stories.
|
|
5668
|
+
const stories = ['Payouts', 'Remittances', 'Treasury', 'Card settlement', 'Payroll']
|
|
5669
|
+
|
|
5670
|
+
export function Demo() {
|
|
5671
|
+
return (
|
|
5672
|
+
<Section
|
|
5673
|
+
controls={
|
|
5674
|
+
<Carousel.Controls
|
|
5675
|
+
messages={{ next: 'Next customers', previous: 'Previous customers' }}
|
|
5676
|
+
tone="inverse"
|
|
5677
|
+
track="carousel-inverse-list"
|
|
5678
|
+
/>
|
|
5679
|
+
}
|
|
5680
|
+
eyebrow="Customers"
|
|
5681
|
+
title="Built on Tempo"
|
|
5682
|
+
tone="inverse"
|
|
5683
|
+
>
|
|
5684
|
+
<Carousel aria-label="Customer stories" id="carousel-inverse-list">
|
|
5685
|
+
{stories.map((story) => (
|
|
5686
|
+
<Carousel.Item key={story}>
|
|
5687
|
+
<Card cue="Read story" eyebrow="Customer story" href="#carousel" title={story} />
|
|
5688
|
+
</Carousel.Item>
|
|
5689
|
+
))}
|
|
5690
|
+
</Carousel>
|
|
5691
|
+
</Section>
|
|
5692
|
+
)
|
|
5693
|
+
}
|
|
5694
|
+
```
|
|
5695
|
+
|
|
5696
|
+
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Carousel/Inverse.tsx)
|
|
5697
|
+
|
|
5760
5698
|
### Anatomy
|
|
5761
5699
|
|
|
5762
5700
|
```tsx
|
|
5763
|
-
import { Carousel } from '@tempoxyz/ds/marketing'
|
|
5701
|
+
import { Carousel, Section } from '@tempoxyz/ds/marketing'
|
|
5764
5702
|
|
|
5765
|
-
<Carousel>
|
|
5766
|
-
<Carousel
|
|
5767
|
-
|
|
5768
|
-
|
|
5703
|
+
<Section controls={<Carousel.Controls track="stories" />} title="Built on Tempo">
|
|
5704
|
+
<Carousel aria-label="Customer stories" id="stories">
|
|
5705
|
+
<Carousel.Item />
|
|
5706
|
+
</Carousel>
|
|
5707
|
+
</Section>
|
|
5769
5708
|
```
|
|
5770
5709
|
|
|
5771
5710
|
### Guidelines
|
|
5772
5711
|
|
|
5773
5712
|
#### When to Use
|
|
5774
5713
|
|
|
5775
|
-
* Show a row of four or more like items
|
|
5714
|
+
* Show a row of four or more like items where only some fit.
|
|
5776
5715
|
|
|
5777
5716
|
#### When Not to Use
|
|
5778
5717
|
|
|
@@ -5782,24 +5721,51 @@ import { Carousel } from '@tempoxyz/ds/marketing'
|
|
|
5782
5721
|
|
|
5783
5722
|
#### Put the Controls in the Heading
|
|
5784
5723
|
|
|
5785
|
-
Pass `Carousel.Controls` to the
|
|
5724
|
+
Pass `Carousel.Controls` to the section's `controls`, so the buttons sit level with the title's last line, at the end of the row.
|
|
5725
|
+
|
|
5726
|
+
**Do:** Set the buttons at the end of the heading.
|
|
5727
|
+
|
|
5728
|
+
```tsx
|
|
5729
|
+
<CarouselSketch kind="heading" />
|
|
5730
|
+
```
|
|
5731
|
+
|
|
5732
|
+
**Don't:** Lay them over the cards.
|
|
5733
|
+
|
|
5734
|
+
```tsx
|
|
5735
|
+
<CarouselSketch kind="overlaid" />
|
|
5736
|
+
```
|
|
5786
5737
|
|
|
5787
5738
|
#### Keep Items Alike
|
|
5788
5739
|
|
|
5789
5740
|
Fill every item with the same kind of part, such as a [Card](/marketing/sections/card), so the row reads as one set.
|
|
5790
5741
|
|
|
5791
|
-
|
|
5742
|
+
**Do:** Fill the row with cards of one size.
|
|
5743
|
+
|
|
5744
|
+
```tsx
|
|
5745
|
+
<CarouselSketch kind="heading" />
|
|
5746
|
+
```
|
|
5747
|
+
|
|
5748
|
+
**Don't:** Mix a card, a logo and a quote.
|
|
5792
5749
|
|
|
5793
|
-
|
|
5750
|
+
```tsx
|
|
5751
|
+
<CarouselSketch kind="mixed" />
|
|
5752
|
+
```
|
|
5753
|
+
|
|
5754
|
+
### Content
|
|
5794
5755
|
|
|
5795
|
-
Name the
|
|
5756
|
+
* **Name:** What the row holds, such as Customer stories, in `aria-label`.
|
|
5757
|
+
* **Buttons:** Previous and Next with what they page, such as Next stories, in `messages`.
|
|
5796
5758
|
|
|
5797
5759
|
### Accessibility
|
|
5798
5760
|
|
|
5799
|
-
* **Region (carousel):** A focusable region
|
|
5800
|
-
* **Item (
|
|
5801
|
-
* **
|
|
5802
|
-
* **
|
|
5761
|
+
* **Region (carousel):** A focusable region holding a list of items.
|
|
5762
|
+
* **Move by an Item (Left Arrow):** With focus on the carousel, Left and Right Arrow move by one item. Other keys scroll the page.
|
|
5763
|
+
* **Buttons (aria-disabled):** Each button pages by the items in view. At its end, it stays focusable and marks itself disabled.
|
|
5764
|
+
* **Reduced Motion (prefers-reduced-motion):** The track scrolls smoothly, and jumps at once under reduced motion.
|
|
5765
|
+
|
|
5766
|
+
#### Your Responsibilities
|
|
5767
|
+
|
|
5768
|
+
* **Name the Carousel (aria-label):** Name the carousel and its buttons by what they hold, and pass `messages` to translate the buttons.
|
|
5803
5769
|
|
|
5804
5770
|
### Related
|
|
5805
5771
|
|
|
@@ -6027,13 +5993,13 @@ import { Cta } from '@tempoxyz/ds/marketing'
|
|
|
6027
5993
|
|
|
6028
5994
|
#### When Not to Use
|
|
6029
5995
|
|
|
6030
|
-
* Use [
|
|
5996
|
+
* Use [Hero](/marketing/sections/hero) with `variant="form"` to open a page on a form that gives the reader something, such as a report.
|
|
6031
5997
|
* Use a [Section](/marketing/sections/section) `action`, such as a [Button](/marketing/components/button), for an action that belongs to one section.
|
|
6032
5998
|
* Use the [Contact](/marketing/templates/contact) template when reaching the team is the whole page.
|
|
6033
5999
|
|
|
6034
6000
|
#### One Form per Page
|
|
6035
6001
|
|
|
6036
|
-
A page that opens on a [
|
|
6002
|
+
A page that opens on a [Hero](/marketing/sections/hero) with `variant="form"` closes on links or `cards`, never on a sign-up or `contact`, so the reader meets one form.
|
|
6037
6003
|
|
|
6038
6004
|
**Do:** Close a page that opens on a form with links.
|
|
6039
6005
|
|
|
@@ -6118,9 +6084,9 @@ Use for the sign-up's field and each field of the contact form.
|
|
|
6118
6084
|
|
|
6119
6085
|
Covers the section around it and its `space="turn"`.
|
|
6120
6086
|
|
|
6121
|
-
[
|
|
6087
|
+
[Hero](/marketing/sections/hero)
|
|
6122
6088
|
|
|
6123
|
-
Covers the
|
|
6089
|
+
Covers the `form` variant, which opens a page on a form.
|
|
6124
6090
|
|
|
6125
6091
|
## FAQ
|
|
6126
6092
|
|
|
@@ -7117,6 +7083,193 @@ Use for the key figures under the form variant.
|
|
|
7117
7083
|
|
|
7118
7084
|
Covers Display Hero and the other sets.
|
|
7119
7085
|
|
|
7086
|
+
## Index
|
|
7087
|
+
|
|
7088
|
+
Lists a collection as cards or rows under one row of filters, a page at a time.
|
|
7089
|
+
|
|
7090
|
+
### Overview
|
|
7091
|
+
|
|
7092
|
+
A grid of cards or a list of ruled rows, each one link to one item, under one row of [Filter](/marketing/components/filter) toggles. All lists every item, and a category lists its own. The row never wraps, and scrolls sideways where it is wider than the column.
|
|
7093
|
+
|
|
7094
|
+
The list shows a page of items at a time, 12 by default, and Show more adds the next page. When a category lists nothing, a line after the list says so.
|
|
7095
|
+
|
|
7096
|
+
### Examples
|
|
7097
|
+
|
|
7098
|
+
#### Cards
|
|
7099
|
+
|
|
7100
|
+
`variant="cards"`, the default: compact [Card](/marketing/sections/card)s led by a tile, in one column, two from 768px and three from 1024px.
|
|
7101
|
+
|
|
7102
|
+
```tsx
|
|
7103
|
+
/** Demonstrates a Marketing index of cards, each led by its tile, under category filters. @module */
|
|
7104
|
+
import { Index, Section } from '@tempoxyz/ds/marketing'
|
|
7105
|
+
import { cards, categories } from './Sample.js'
|
|
7106
|
+
|
|
7107
|
+
export const fill = true
|
|
7108
|
+
|
|
7109
|
+
export const width = 'desktop'
|
|
7110
|
+
|
|
7111
|
+
export function Demo() {
|
|
7112
|
+
return (
|
|
7113
|
+
<Section>
|
|
7114
|
+
<Index aria-label="Partners" categories={categories} items={cards.slice(0, 6)} />
|
|
7115
|
+
</Section>
|
|
7116
|
+
)
|
|
7117
|
+
}
|
|
7118
|
+
```
|
|
7119
|
+
|
|
7120
|
+
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Index/Cards.tsx)
|
|
7121
|
+
|
|
7122
|
+
#### Rows
|
|
7123
|
+
|
|
7124
|
+
`variant="rows"`: ruled Card rows, with a date and category over each title.
|
|
7125
|
+
|
|
7126
|
+
```tsx
|
|
7127
|
+
/** Demonstrates a Marketing index of ruled rows, each with its date and category, under category filters. @module */
|
|
7128
|
+
import { Index, Section } from '@tempoxyz/ds/marketing'
|
|
7129
|
+
import { rows, topics } from './Sample.js'
|
|
7130
|
+
|
|
7131
|
+
export const fill = true
|
|
7132
|
+
|
|
7133
|
+
export function Demo() {
|
|
7134
|
+
return (
|
|
7135
|
+
<Section>
|
|
7136
|
+
<Index aria-label="Articles" categories={topics} items={rows} variant="rows" />
|
|
7137
|
+
</Section>
|
|
7138
|
+
)
|
|
7139
|
+
}
|
|
7140
|
+
```
|
|
7141
|
+
|
|
7142
|
+
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Index/Rows.tsx)
|
|
7143
|
+
|
|
7144
|
+
#### Show More
|
|
7145
|
+
|
|
7146
|
+
`pageSize={4}`: Show more adds the next four cards.
|
|
7147
|
+
|
|
7148
|
+
```tsx
|
|
7149
|
+
/** Demonstrates a Marketing index a page of four cards at a time, with Show more. @module */
|
|
7150
|
+
import { Index, Section } from '@tempoxyz/ds/marketing'
|
|
7151
|
+
import { cards, categories } from './Sample.js'
|
|
7152
|
+
|
|
7153
|
+
export const fill = true
|
|
7154
|
+
|
|
7155
|
+
export const width = 'desktop'
|
|
7156
|
+
|
|
7157
|
+
export function Demo() {
|
|
7158
|
+
return (
|
|
7159
|
+
<Section>
|
|
7160
|
+
<Index aria-label="Partners" categories={categories} items={cards} pageSize={4} />
|
|
7161
|
+
</Section>
|
|
7162
|
+
)
|
|
7163
|
+
}
|
|
7164
|
+
```
|
|
7165
|
+
|
|
7166
|
+
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Index/ShowMore.tsx)
|
|
7167
|
+
|
|
7168
|
+
### Anatomy
|
|
7169
|
+
|
|
7170
|
+
```tsx
|
|
7171
|
+
import { Index } from '@tempoxyz/ds/marketing'
|
|
7172
|
+
|
|
7173
|
+
<Index items={[{ href: '/partners/acme', title: 'Acme' }]} />
|
|
7174
|
+
```
|
|
7175
|
+
|
|
7176
|
+
### Guidelines
|
|
7177
|
+
|
|
7178
|
+
#### When to Use
|
|
7179
|
+
|
|
7180
|
+
* List a whole collection that readers filter or page through, such as partners, assets or articles.
|
|
7181
|
+
|
|
7182
|
+
#### When Not to Use
|
|
7183
|
+
|
|
7184
|
+
* Use [Card](/marketing/sections/card) in a `Card.Grid` for a few hand-picked items that don't need filters.
|
|
7185
|
+
* Use [Logo Wall](/marketing/sections/logo-wall) for logos with no cards.
|
|
7186
|
+
|
|
7187
|
+
#### Set the Variant by the Item
|
|
7188
|
+
|
|
7189
|
+
Use `cards` for items with a mark, and `rows` for items read by title and date.
|
|
7190
|
+
|
|
7191
|
+
#### Lead Each Card With a Tile
|
|
7192
|
+
|
|
7193
|
+
Lead each card with a [Symbol Tile](/marketing/components/symbol-tile) in `media` when the items have marks.
|
|
7194
|
+
|
|
7195
|
+
**Do:** Lead every card with a tile, so names line up down the grid.
|
|
7196
|
+
|
|
7197
|
+
```tsx
|
|
7198
|
+
<IndexSketch kind="tiles" />
|
|
7199
|
+
```
|
|
7200
|
+
|
|
7201
|
+
**Don't:** Mix cards with a tile, with none and with a picture.
|
|
7202
|
+
|
|
7203
|
+
```tsx
|
|
7204
|
+
<IndexSketch kind="mixed" />
|
|
7205
|
+
```
|
|
7206
|
+
|
|
7207
|
+
#### Filter Only Where Labels Help
|
|
7208
|
+
|
|
7209
|
+
Pass `categories` only when the list has two or more. Without them there is no filter row.
|
|
7210
|
+
|
|
7211
|
+
#### Put the Filter in the URL
|
|
7212
|
+
|
|
7213
|
+
Keep the category in the URL, such as `?category=wallets`, with `value` and `onValueChange`, so a filtered list survives a reload and Back.
|
|
7214
|
+
|
|
7215
|
+
**Do:** Write the selected category to the URL.
|
|
7216
|
+
|
|
7217
|
+
```tsx
|
|
7218
|
+
<IndexSketch kind="filtered" />
|
|
7219
|
+
```
|
|
7220
|
+
|
|
7221
|
+
**Don't:** Keep it only in the page, where a reload drops it back to All.
|
|
7222
|
+
|
|
7223
|
+
```tsx
|
|
7224
|
+
<IndexSketch kind="lost" />
|
|
7225
|
+
```
|
|
7226
|
+
|
|
7227
|
+
#### Link Through Your Router
|
|
7228
|
+
|
|
7229
|
+
Pass `render` for router links. Set `external` on an item that leaves the site: it opens in a new tab and ends in an arrow up right.
|
|
7230
|
+
|
|
7231
|
+
### Content
|
|
7232
|
+
|
|
7233
|
+
* **Category labels:** One or two words that stay the same when selected, as [Filter](/marketing/components/filter) sets them.
|
|
7234
|
+
* **Titles:** Sentence case.
|
|
7235
|
+
* **Descriptions:** One line. A card clamps it at two.
|
|
7236
|
+
* **Eyebrow:** A date, a read time or a category, over a row's title.
|
|
7237
|
+
* **Empty line:** Says the filter lists nothing, without naming a page or a collection.
|
|
7238
|
+
|
|
7239
|
+
### Accessibility
|
|
7240
|
+
|
|
7241
|
+
`Index` renders a `<ul>` of [Card](/marketing/sections/card)s under a named group of [Filter](/marketing/components/filter) toggles.
|
|
7242
|
+
|
|
7243
|
+
* **Filters (role="group"):** The filters sit in a named group, and each points to the list with `aria-controls`.
|
|
7244
|
+
* **Toggle a Filter (aria-pressed):** Each filter is a toggle button and its own tab stop. Enter or Space lists its category.
|
|
7245
|
+
* **Cards (link):** Each item is one link, named by its title, and keyboard focus rings the whole card. An external item names its new tab.
|
|
7246
|
+
* **Result (role="status"):** A filter press updates a hidden status line with the count it lists.
|
|
7247
|
+
* **Show More (focus):** When the last page lands, focus moves to its first item.
|
|
7248
|
+
* **Reduced Motion (prefers-reduced-motion):** The items a filter or Show more brings in rise a stagger apart. Under reduced motion they appear at once.
|
|
7249
|
+
|
|
7250
|
+
#### Your Responsibilities
|
|
7251
|
+
|
|
7252
|
+
* **Name the List (aria-labelledby):** Point `aria-labelledby` at the heading above, or set `aria-label` when nothing names it.
|
|
7253
|
+
* **Translate the Labels (messages):** Pass `messages` on a page in another language, for the filters, Show more, the count, the empty line and the new-tab hint.
|
|
7254
|
+
|
|
7255
|
+
### Related
|
|
7256
|
+
|
|
7257
|
+
[Card](/marketing/sections/card)
|
|
7258
|
+
|
|
7259
|
+
Covers the compact cards and rows an index draws.
|
|
7260
|
+
|
|
7261
|
+
[Filter](/marketing/components/filter)
|
|
7262
|
+
|
|
7263
|
+
Covers the toggles in the filter row.
|
|
7264
|
+
|
|
7265
|
+
[Hero](/marketing/sections/hero)
|
|
7266
|
+
|
|
7267
|
+
Use `variant="index"` to open an index page.
|
|
7268
|
+
|
|
7269
|
+
[Symbol Tile](/marketing/components/symbol-tile)
|
|
7270
|
+
|
|
7271
|
+
Covers the tile that leads each card.
|
|
7272
|
+
|
|
7120
7273
|
## Logo Wall
|
|
7121
7274
|
|
|
7122
7275
|
Shows a group of companies as logos in one ink, under a centered heading.
|
|
@@ -7197,7 +7350,7 @@ import { LogoWall } from '@tempoxyz/ds/marketing'
|
|
|
7197
7350
|
#### When Not to Use
|
|
7198
7351
|
|
|
7199
7352
|
* Use [Hero](/marketing/sections/hero) with its `logos` for a row of logos under a page's title.
|
|
7200
|
-
* Use [
|
|
7353
|
+
* Use [Index](/marketing/sections/index) for a collection a visitor can filter, as cards.
|
|
7201
7354
|
|
|
7202
7355
|
#### Pass Each Logo With Its Name
|
|
7203
7356
|
|
|
@@ -7250,9 +7403,9 @@ Set `name` to the company's name as it writes it. A screen reader already says i
|
|
|
7250
7403
|
|
|
7251
7404
|
Use for a row of logos under a page's title.
|
|
7252
7405
|
|
|
7253
|
-
[
|
|
7406
|
+
[Index](/marketing/sections/index)
|
|
7254
7407
|
|
|
7255
|
-
Use for
|
|
7408
|
+
Use for a collection a visitor can filter, as cards.
|
|
7256
7409
|
|
|
7257
7410
|
[Section](/marketing/sections/section)
|
|
7258
7411
|
|
|
@@ -7636,157 +7789,6 @@ Covers Contact, in the `navigation` layout.
|
|
|
7636
7789
|
|
|
7637
7790
|
Use for the site map at the end of every page.
|
|
7638
7791
|
|
|
7639
|
-
## Partners Index
|
|
7640
|
-
|
|
7641
|
-
Lists the partners or assets a page covers, as cards.
|
|
7642
|
-
|
|
7643
|
-
### Overview
|
|
7644
|
-
|
|
7645
|
-
A grid of white cards, each one link to a partner or asset, under one row of category filters. All lists every partner, and a category lists its own.
|
|
7646
|
-
|
|
7647
|
-
The grid shows a page of cards at a time, and Show more adds the next. The page passes the partners and categories, and keeps its own search.
|
|
7648
|
-
|
|
7649
|
-
### Examples
|
|
7650
|
-
|
|
7651
|
-
#### Default
|
|
7652
|
-
|
|
7653
|
-
The Partners index: `categories` over the cards in `items`. Resize the preview to see the grid fold to fewer columns and the filter row scroll sideways.
|
|
7654
|
-
|
|
7655
|
-
```tsx
|
|
7656
|
-
/** Demonstrates the Partners index as Marketing compact cards under their category filters. @module */
|
|
7657
|
-
import { PartnersIndex, Section, SymbolTile } from '@tempoxyz/ds/marketing'
|
|
7658
|
-
|
|
7659
|
-
export const fill = true
|
|
7660
|
-
|
|
7661
|
-
export function Demo() {
|
|
7662
|
-
return (
|
|
7663
|
-
<Section>
|
|
7664
|
-
<PartnersIndex
|
|
7665
|
-
categories={[
|
|
7666
|
-
{ label: 'Wallets & custody', value: 'wallets' },
|
|
7667
|
-
{ label: 'Ramps & FX', value: 'ramps' },
|
|
7668
|
-
{ label: 'Compliance', value: 'compliance' },
|
|
7669
|
-
]}
|
|
7670
|
-
items={[
|
|
7671
|
-
{
|
|
7672
|
-
categories: ['wallets'],
|
|
7673
|
-
href: '/partners/northwind',
|
|
7674
|
-
line: 'Institutional custody for stablecoin balances.',
|
|
7675
|
-
logo: <Tile color="#1f3a5f" />,
|
|
7676
|
-
name: 'Northwind',
|
|
7677
|
-
},
|
|
7678
|
-
{
|
|
7679
|
-
categories: ['ramps'],
|
|
7680
|
-
href: '/partners/lumen',
|
|
7681
|
-
line: 'Move between dollars and stablecoins in one call.',
|
|
7682
|
-
logo: <Tile color="#5b3fd6" />,
|
|
7683
|
-
name: 'Lumen',
|
|
7684
|
-
},
|
|
7685
|
-
{
|
|
7686
|
-
categories: ['compliance'],
|
|
7687
|
-
href: '/partners/meridian',
|
|
7688
|
-
line: 'Screen transfers and monitor risk as payments settle.',
|
|
7689
|
-
logo: <Tile color="#e5582b" />,
|
|
7690
|
-
name: 'Meridian',
|
|
7691
|
-
},
|
|
7692
|
-
{
|
|
7693
|
-
categories: ['wallets'],
|
|
7694
|
-
href: '/partners/harbor',
|
|
7695
|
-
line: 'Wallets and treasury operations for finance teams.',
|
|
7696
|
-
logo: <Tile color="#121212" />,
|
|
7697
|
-
name: 'Harbor',
|
|
7698
|
-
},
|
|
7699
|
-
{
|
|
7700
|
-
categories: ['ramps'],
|
|
7701
|
-
href: '/partners/cobalt',
|
|
7702
|
-
line: 'Card and bank on-ramps in more than 160 countries.',
|
|
7703
|
-
logo: <Tile color="#0f766e" />,
|
|
7704
|
-
name: 'Cobalt',
|
|
7705
|
-
},
|
|
7706
|
-
{
|
|
7707
|
-
categories: ['compliance', 'wallets'],
|
|
7708
|
-
href: '/partners/sentry',
|
|
7709
|
-
line: 'Identity checks for wallets that hold stablecoins.',
|
|
7710
|
-
logo: <Tile color="#7c2d12" />,
|
|
7711
|
-
name: 'Sentry',
|
|
7712
|
-
},
|
|
7713
|
-
]}
|
|
7714
|
-
/>
|
|
7715
|
-
</Section>
|
|
7716
|
-
)
|
|
7717
|
-
}
|
|
7718
|
-
|
|
7719
|
-
/** A tile with a simple round mark, standing in for a partner's own. */
|
|
7720
|
-
function Tile(props: { color: string }) {
|
|
7721
|
-
return (
|
|
7722
|
-
<SymbolTile color={props.color} mark="light">
|
|
7723
|
-
<svg fill="none" viewBox="0 0 40 40">
|
|
7724
|
-
<circle cx="20" cy="20" r="9" stroke="currentColor" strokeWidth="3" />
|
|
7725
|
-
</svg>
|
|
7726
|
-
</SymbolTile>
|
|
7727
|
-
)
|
|
7728
|
-
}
|
|
7729
|
-
```
|
|
7730
|
-
|
|
7731
|
-
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/PartnersIndex/Default.tsx)
|
|
7732
|
-
|
|
7733
|
-
### Anatomy
|
|
7734
|
-
|
|
7735
|
-
```tsx
|
|
7736
|
-
import { PartnersIndex } from '@tempoxyz/ds/marketing'
|
|
7737
|
-
|
|
7738
|
-
<PartnersIndex />
|
|
7739
|
-
```
|
|
7740
|
-
|
|
7741
|
-
### Guidelines
|
|
7742
|
-
|
|
7743
|
-
#### When to Use
|
|
7744
|
-
|
|
7745
|
-
* List every partner on the Partners index, filtered by category.
|
|
7746
|
-
* List a category's partners or an asset list, with search and filters.
|
|
7747
|
-
* List the providers that carry an asset, such as OUSD.
|
|
7748
|
-
|
|
7749
|
-
#### When Not to Use
|
|
7750
|
-
|
|
7751
|
-
* Use [Card](/marketing/sections/card) for customer stories or articles as cards.
|
|
7752
|
-
* Use [Logo Wall](/marketing/sections/logo-wall) for partner logos with no cards.
|
|
7753
|
-
|
|
7754
|
-
#### Lead Each Card With Its Tile
|
|
7755
|
-
|
|
7756
|
-
Pass each partner's mark as a [Symbol Tile](/marketing/components/symbol-tile) in `logo`, with its `name` and a one-line `line`.
|
|
7757
|
-
|
|
7758
|
-
#### Size the Cards by the List
|
|
7759
|
-
|
|
7760
|
-
Leave `size="compact"` (default) for a long list to scan, and set `size="large"` for a short list read card by card.
|
|
7761
|
-
|
|
7762
|
-
#### Link Through Your Router
|
|
7763
|
-
|
|
7764
|
-
Pass `render` for router links. A card whose `href` starts with `http` opens in a new tab and ends in the [Tempo Icons](/marketing/foundations/iconography) arrow up right.
|
|
7765
|
-
|
|
7766
|
-
### Accessibility
|
|
7767
|
-
|
|
7768
|
-
* **Category Filter (role="group"):** A named group of [Filter](/marketing/components/filter) toggles, with All first.
|
|
7769
|
-
* **Cards (link):** Each card is one link, named by the partner. An external card names its new tab.
|
|
7770
|
-
|
|
7771
|
-
#### Your Responsibilities
|
|
7772
|
-
|
|
7773
|
-
* **Label Your Search (label):** On a category or asset page, label the search field and each checkbox you add.
|
|
7774
|
-
* **Translate the Labels (messages):** Pass `messages` on a page in another language, for the filters, Show more, and empty list.
|
|
7775
|
-
|
|
7776
|
-
### Related
|
|
7777
|
-
|
|
7778
|
-
[Provider](/marketing/templates/provider)
|
|
7779
|
-
|
|
7780
|
-
Covers the index, category, and asset list views it fills.
|
|
7781
|
-
|
|
7782
|
-
[Symbol Tile](/marketing/components/symbol-tile)
|
|
7783
|
-
|
|
7784
|
-
Covers each partner's logo tile.
|
|
7785
|
-
|
|
7786
|
-
[Filter](/marketing/components/filter)
|
|
7787
|
-
|
|
7788
|
-
Covers the index's category filter.
|
|
7789
|
-
|
|
7790
7792
|
## Section
|
|
7791
7793
|
|
|
7792
7794
|
Holds a page section: its container, its heading and the space above it.
|
|
@@ -8489,20 +8491,19 @@ Use for the row that holds the list.
|
|
|
8489
8491
|
|
|
8490
8492
|
## Statement
|
|
8491
8493
|
|
|
8492
|
-
Sets one sentence large in its own section
|
|
8494
|
+
Sets one sentence large in its own section.
|
|
8493
8495
|
|
|
8494
8496
|
### Overview
|
|
8495
8497
|
|
|
8496
|
-
A
|
|
8498
|
+
A statement renders a [Section](/marketing/sections/section) around one sentence in the display serif, with an optional eyebrow above it and an optional action below it. It adds the larger `turn` space above itself by default, and counts as the page's one break.
|
|
8497
8499
|
|
|
8498
|
-
|
|
8499
|
-
> Statement has no approved design yet, so its type, spacing and props may change.
|
|
8500
|
+
It takes any Section tone. On `inverse`, the sentence and the eyebrow go near-white.
|
|
8500
8501
|
|
|
8501
8502
|
### Examples
|
|
8502
8503
|
|
|
8503
8504
|
#### Default
|
|
8504
8505
|
|
|
8505
|
-
Pass the sentence as `children`, with an `eyebrow` and an `action`.
|
|
8506
|
+
Pass the sentence as `children`, with an `eyebrow` and an `action`.
|
|
8506
8507
|
|
|
8507
8508
|
```tsx
|
|
8508
8509
|
/** Demonstrates a Marketing statement: one sentence in Display D1 with an eyebrow and an action. @module */
|
|
@@ -8510,6 +8511,8 @@ import { Button, Statement } from '@tempoxyz/ds/marketing'
|
|
|
8510
8511
|
|
|
8511
8512
|
export const fill = true
|
|
8512
8513
|
|
|
8514
|
+
export const width = 'desktop'
|
|
8515
|
+
|
|
8513
8516
|
export function Demo() {
|
|
8514
8517
|
return (
|
|
8515
8518
|
<Statement
|
|
@@ -8530,17 +8533,29 @@ export function Demo() {
|
|
|
8530
8533
|
|
|
8531
8534
|
#### Inverse
|
|
8532
8535
|
|
|
8533
|
-
Set `tone="inverse"` for the page's one dark section
|
|
8536
|
+
Set `tone="inverse"` for the page's one dark section, and pass the action with `tone="inverse"`.
|
|
8534
8537
|
|
|
8535
8538
|
```tsx
|
|
8536
8539
|
/** Demonstrates a Marketing statement on the inverse tone, the page's one dark section. @module */
|
|
8537
|
-
import { Statement } from '@tempoxyz/ds/marketing'
|
|
8540
|
+
import { Button, Statement } from '@tempoxyz/ds/marketing'
|
|
8538
8541
|
|
|
8539
8542
|
export const fill = true
|
|
8540
8543
|
|
|
8544
|
+
export const surface = 'inverse'
|
|
8545
|
+
|
|
8546
|
+
export const width = 'desktop'
|
|
8547
|
+
|
|
8541
8548
|
export function Demo() {
|
|
8542
8549
|
return (
|
|
8543
|
-
<Statement
|
|
8550
|
+
<Statement
|
|
8551
|
+
action={
|
|
8552
|
+
<Button.Link href="#statement" size="large" tone="inverse" variant="secondary">
|
|
8553
|
+
See the network
|
|
8554
|
+
</Button.Link>
|
|
8555
|
+
}
|
|
8556
|
+
eyebrow="Why Tempo"
|
|
8557
|
+
tone="inverse"
|
|
8558
|
+
>
|
|
8544
8559
|
Payments settle in under a second, at a fraction of a cent.
|
|
8545
8560
|
</Statement>
|
|
8546
8561
|
)
|
|
@@ -8554,7 +8569,9 @@ export function Demo() {
|
|
|
8554
8569
|
```tsx
|
|
8555
8570
|
import { Statement } from '@tempoxyz/ds/marketing'
|
|
8556
8571
|
|
|
8557
|
-
<Statement
|
|
8572
|
+
<Statement eyebrow="Why Tempo">
|
|
8573
|
+
Stablecoins move money the way the internet moves information.
|
|
8574
|
+
</Statement>
|
|
8558
8575
|
```
|
|
8559
8576
|
|
|
8560
8577
|
### Guidelines
|
|
@@ -8573,20 +8590,47 @@ import { Statement } from '@tempoxyz/ds/marketing'
|
|
|
8573
8590
|
|
|
8574
8591
|
A page holds one statement or one bleed. Keep it away from the hero and the closing section.
|
|
8575
8592
|
|
|
8593
|
+
**Do:** Set the statement between two runs of sections.
|
|
8594
|
+
|
|
8595
|
+
```tsx
|
|
8596
|
+
<PageSketch kind="statement" />
|
|
8597
|
+
```
|
|
8598
|
+
|
|
8599
|
+
**Don't:** Set it right under the hero.
|
|
8600
|
+
|
|
8601
|
+
```tsx
|
|
8602
|
+
<PageSketch kind="hero" />
|
|
8603
|
+
```
|
|
8604
|
+
|
|
8576
8605
|
#### Keep the Sentence Short
|
|
8577
8606
|
|
|
8578
|
-
Fit the sentence in one or two lines at desktop width.
|
|
8607
|
+
Fit the sentence in one or two lines at desktop width.
|
|
8579
8608
|
|
|
8580
|
-
|
|
8609
|
+
**Do:** Write one claim that fits two lines.
|
|
8581
8610
|
|
|
8582
|
-
|
|
8611
|
+
```tsx
|
|
8612
|
+
<StatementSketch kind="short" />
|
|
8613
|
+
```
|
|
8583
8614
|
|
|
8584
|
-
|
|
8615
|
+
**Don't:** Set a paragraph at display size.
|
|
8616
|
+
|
|
8617
|
+
```tsx
|
|
8618
|
+
<StatementSketch kind="long" />
|
|
8619
|
+
```
|
|
8620
|
+
|
|
8621
|
+
### Content
|
|
8622
|
+
|
|
8623
|
+
* **Eyebrow:** A few words that name the claim, such as Why Tempo.
|
|
8624
|
+
* **Sentence:** One claim in sentence case, with a period.
|
|
8625
|
+
* **Action:** One link that says where it goes, such as About Tempo.
|
|
8585
8626
|
|
|
8586
8627
|
### Accessibility
|
|
8587
8628
|
|
|
8588
8629
|
* **Sentence (p):** A paragraph, read in place between the sections around it.
|
|
8589
|
-
|
|
8630
|
+
|
|
8631
|
+
#### Your Responsibilities
|
|
8632
|
+
|
|
8633
|
+
* **Name the Section (aria-labelledby):** Where the statement introduces the content below it, pass `titleId` and the same id as `aria-labelledby`.
|
|
8590
8634
|
|
|
8591
8635
|
### Related
|
|
8592
8636
|
|
|
@@ -8596,7 +8640,7 @@ Use for the page's break as a picture or video.
|
|
|
8596
8640
|
|
|
8597
8641
|
[Section](/marketing/sections/section)
|
|
8598
8642
|
|
|
8599
|
-
|
|
8643
|
+
Covers the section it renders, with its tones and spaces.
|
|
8600
8644
|
|
|
8601
8645
|
[Typography](/marketing/foundations/typography)
|
|
8602
8646
|
|
|
@@ -9121,7 +9165,7 @@ A blog post or a Learn guide, its text beside the rail.
|
|
|
9121
9165
|
|
|
9122
9166
|
### Overview
|
|
9123
9167
|
|
|
9124
|
-
An Article is a blog post or a Learn guide: news, launches, and research on the blog, and evergreen explainers on Learn.
|
|
9168
|
+
An Article is a blog post or a Learn guide: news, launches, and research on the blog, and evergreen explainers on Learn. The text sits beside the rail and picks its blocks from Article Body.
|
|
9125
9169
|
|
|
9126
9170
|
`AsideLayout` from `@tempoxyz/ds/marketing` sets the grid: pass the rail in `aside` and the text as children. The two share the page's 12 columns from 1024px, where [Article Rail](/marketing/sections/article-rail) takes columns 1 to 3 and [Article Body](/marketing/sections/article-body) columns 4 to 9. Below 1024px they stack, the rail first.
|
|
9127
9171
|
|
|
@@ -9133,8 +9177,8 @@ A blog post, built from the section examples.
|
|
|
9133
9177
|
/** Demonstrates a blog post: the article hero, the text beside its rail, a newsletter sign-up and related articles. @module */
|
|
9134
9178
|
import { ArticleBody, ArticleRail, AsideLayout } from '@tempoxyz/ds/marketing'
|
|
9135
9179
|
import { Demo as ArticleHero } from '../ArticleHero/AtTheStart.js'
|
|
9180
|
+
import { Demo as CardOpen } from '../Card/Open.js'
|
|
9136
9181
|
import { Demo as CtaNewsletter } from '../Cta/Newsletter.js'
|
|
9137
|
-
import { Demo as TableArticles } from '../Table/Articles.js'
|
|
9138
9182
|
|
|
9139
9183
|
export const fill = true
|
|
9140
9184
|
|
|
@@ -9175,7 +9219,7 @@ export function Demo() {
|
|
|
9175
9219
|
</ArticleBody>
|
|
9176
9220
|
</AsideLayout>
|
|
9177
9221
|
<CtaNewsletter />
|
|
9178
|
-
<
|
|
9222
|
+
<CardOpen />
|
|
9179
9223
|
</>
|
|
9180
9224
|
)
|
|
9181
9225
|
}
|
|
@@ -9193,14 +9237,14 @@ Top to bottom, between the [Nav](/marketing/sections/nav) and the [Footer](/mark
|
|
|
9193
9237
|
2. [Article Rail](/marketing/sections/article-rail): The share links, the contents, and a call to talk with the team.
|
|
9194
9238
|
3. [Article Body](/marketing/sections/article-body): The text.
|
|
9195
9239
|
4. [CTA](/marketing/sections/cta): A newsletter sign-up.
|
|
9196
|
-
5. [Card](/marketing/sections/card)
|
|
9240
|
+
5. [Card](/marketing/sections/card) with `tone="page"`: Three related articles, as open cards.
|
|
9197
9241
|
|
|
9198
9242
|
#### Learn Guide
|
|
9199
9243
|
|
|
9200
9244
|
1. [Article Hero](/marketing/sections/article-hero): The title, description, date, and read time.
|
|
9201
9245
|
2. [Article Rail](/marketing/sections/article-rail): The share links, the contents, and a call to talk with the team.
|
|
9202
9246
|
3. [Article Body](/marketing/sections/article-body): The text, then its questions.
|
|
9203
|
-
4. Related
|
|
9247
|
+
4. [Section](/marketing/sections/section): Related resources, as groups of links under its heading.
|
|
9204
9248
|
5. [CTA](/marketing/sections/cta): A newsletter sign-up.
|
|
9205
9249
|
|
|
9206
9250
|
#### Content Fields
|
|
@@ -9240,7 +9284,7 @@ Set questions under one FAQ heading at the end of the text.
|
|
|
9240
9284
|
|
|
9241
9285
|
#### Let the Parts Place Themselves
|
|
9242
9286
|
|
|
9243
|
-
|
|
9287
|
+
Pass Article Rail as `aside` and Article Body as children. Each sets its own columns, so wrap neither in a grid.
|
|
9244
9288
|
|
|
9245
9289
|
#### Vary Within These Limits
|
|
9246
9290
|
|
|
@@ -9272,7 +9316,7 @@ The contact page: a short pitch beside the form, in every site language.
|
|
|
9272
9316
|
|
|
9273
9317
|
### Overview
|
|
9274
9318
|
|
|
9275
|
-
Contact is the site's contact page: a short pitch beside the contact form, over a row of partners' logos.
|
|
9319
|
+
Contact is the site's contact page: a short pitch beside the contact form, over a row of partners' logos.
|
|
9276
9320
|
|
|
9277
9321
|
### Examples
|
|
9278
9322
|
|
|
@@ -9282,7 +9326,8 @@ A split pitch and form with sample partner wordmarks. Submissions validate local
|
|
|
9282
9326
|
|
|
9283
9327
|
```tsx
|
|
9284
9328
|
/** Demonstrates the Contact page's pitch, illustrative partner row, and local-only form. @module */
|
|
9285
|
-
import {
|
|
9329
|
+
import { focusRing, Footer, Nav, style } from '@tempoxyz/ds/marketing'
|
|
9330
|
+
import { cx } from 'zyzz'
|
|
9286
9331
|
import { ContactForm } from './ContactForm.js'
|
|
9287
9332
|
|
|
9288
9333
|
/** The example's label. */
|
|
@@ -9313,10 +9358,19 @@ export function Demo() {
|
|
|
9313
9358
|
your payments infrastructure.
|
|
9314
9359
|
</p>
|
|
9315
9360
|
<p {...styles.text()}>
|
|
9316
|
-
|
|
9317
|
-
|
|
9361
|
+
For technical questions or support, reach out to{' '}
|
|
9362
|
+
<a href="mailto:support@example.com" {...cx(focusRing(), styles.address())}>
|
|
9363
|
+
support@example.com
|
|
9364
|
+
</a>
|
|
9365
|
+
.
|
|
9366
|
+
</p>
|
|
9367
|
+
<p {...styles.text()}>
|
|
9368
|
+
For press inquiries, reach out to{' '}
|
|
9369
|
+
<a href="mailto:press@example.com" {...cx(focusRing(), styles.address())}>
|
|
9370
|
+
press@example.com
|
|
9371
|
+
</a>
|
|
9372
|
+
.
|
|
9318
9373
|
</p>
|
|
9319
|
-
<Link href="#contact-form">Try the sample form</Link>
|
|
9320
9374
|
</div>
|
|
9321
9375
|
<div id="sample-partners" {...styles.partners()}>
|
|
9322
9376
|
<p {...styles.note()}>Illustrative partner wordmarks, not customer endorsements.</p>
|
|
@@ -9349,6 +9403,13 @@ export function Demo() {
|
|
|
9349
9403
|
}
|
|
9350
9404
|
|
|
9351
9405
|
namespace styles {
|
|
9406
|
+
// A sample address in a sentence takes the text's black and an underline.
|
|
9407
|
+
export const address = style({
|
|
9408
|
+
color: 'content.primary',
|
|
9409
|
+
textDecorationLine: 'underline',
|
|
9410
|
+
textUnderlineOffset: '3px',
|
|
9411
|
+
})
|
|
9412
|
+
|
|
9352
9413
|
export const copy = style({
|
|
9353
9414
|
alignItems: 'flex-start',
|
|
9354
9415
|
display: 'flex',
|
|
@@ -9440,7 +9501,7 @@ namespace styles {
|
|
|
9440
9501
|
|
|
9441
9502
|
Top to bottom, between the [Nav](/marketing/sections/nav) and the [Footer](/marketing/sections/footer) on every page:
|
|
9442
9503
|
|
|
9443
|
-
1. A short pitch beside the contact form, side by side from 1024px, over partners' logos.
|
|
9504
|
+
1. A short pitch beside the contact form, side by side from 1024px, over partners' logos. It's the template's own layout, not a section.
|
|
9444
9505
|
|
|
9445
9506
|
#### Content Fields
|
|
9446
9507
|
|
|
@@ -9458,7 +9519,7 @@ The body is the pitch, then the contact form. Each language has its own page, wi
|
|
|
9458
9519
|
|
|
9459
9520
|
#### When Not to Use
|
|
9460
9521
|
|
|
9461
|
-
* Use [CTA](/marketing/sections/cta) with `variant="contact"` to close a
|
|
9522
|
+
* Use [CTA](/marketing/sections/cta) with `variant="contact"` to close a page on a form to reach the team.
|
|
9462
9523
|
* Use the [Event](/marketing/templates/event) template to book meetings at an event.
|
|
9463
9524
|
|
|
9464
9525
|
#### Keep the Logos in the Template
|
|
@@ -9477,7 +9538,7 @@ The pitch is a heading and a few short lines, in the page's language.
|
|
|
9477
9538
|
|
|
9478
9539
|
[CTA](/marketing/sections/cta)
|
|
9479
9540
|
|
|
9480
|
-
Covers the contact form that closes
|
|
9541
|
+
Covers the contact form that closes a page.
|
|
9481
9542
|
|
|
9482
9543
|
[Event](/marketing/templates/event)
|
|
9483
9544
|
|
|
@@ -9485,7 +9546,7 @@ Covers meetings booked at an event.
|
|
|
9485
9546
|
|
|
9486
9547
|
[Logo Wall](/marketing/sections/logo-wall)
|
|
9487
9548
|
|
|
9488
|
-
Covers a wall of logos
|
|
9549
|
+
Covers a wall of logos under a heading.
|
|
9489
9550
|
|
|
9490
9551
|
## Customer Story
|
|
9491
9552
|
|
|
@@ -10060,10 +10121,6 @@ export function Demo() {
|
|
|
10060
10121
|
<div {...styles.form()}>
|
|
10061
10122
|
<ContactForm meeting />
|
|
10062
10123
|
</div>
|
|
10063
|
-
<p {...styles.lifecycle()}>
|
|
10064
|
-
Example only. In production, the site owns the event’s removal date and redirects this
|
|
10065
|
-
page to Contact after the event.
|
|
10066
|
-
</p>
|
|
10067
10124
|
</Section>
|
|
10068
10125
|
</main>
|
|
10069
10126
|
<Footer
|
|
@@ -10154,16 +10211,6 @@ namespace styles {
|
|
|
10154
10211
|
marginBlockStart: '8',
|
|
10155
10212
|
})
|
|
10156
10213
|
|
|
10157
|
-
export const lifecycle = style({
|
|
10158
|
-
color: 'content.secondary',
|
|
10159
|
-
marginBlockEnd: '0',
|
|
10160
|
-
marginBlockStart: '24',
|
|
10161
|
-
marginInline: 'auto',
|
|
10162
|
-
maxInlineSize: '600',
|
|
10163
|
-
textAlign: 'center',
|
|
10164
|
-
typography: 'body.b3',
|
|
10165
|
-
})
|
|
10166
|
-
|
|
10167
10214
|
export const page = style({
|
|
10168
10215
|
backgroundColor: 'background.primary',
|
|
10169
10216
|
color: 'content.primary',
|
|
@@ -10251,8 +10298,8 @@ namespace styles {
|
|
|
10251
10298
|
Top to bottom, between the [Nav](/marketing/sections/nav) and the [Footer](/marketing/sections/footer) on every page:
|
|
10252
10299
|
|
|
10253
10300
|
1. [Hero](/marketing/sections/hero): The title, the event's details, and art.
|
|
10254
|
-
2.
|
|
10255
|
-
3. The team
|
|
10301
|
+
2. [Section](/marketing/sections/section): The stage's sessions by day, with the host as its `action`, and an evening event under them. Only on events with sessions.
|
|
10302
|
+
3. [Section](/marketing/sections/section): The team over the form to request a meeting.
|
|
10256
10303
|
|
|
10257
10304
|
#### Content Fields
|
|
10258
10305
|
|
|
@@ -10426,8 +10473,8 @@ A category page, built from the section examples.
|
|
|
10426
10473
|
```tsx
|
|
10427
10474
|
/** Demonstrates a Provider category page: the heading over its filters, the category's partners and a call to action, composed from the section demos. @module */
|
|
10428
10475
|
import { Demo as Cta } from '../Cta/Default.js'
|
|
10429
|
-
import { Demo as PartnersIndex } from '../PartnersIndex/Default.js'
|
|
10430
10476
|
import { SectionHeading } from '@tempoxyz/ds/marketing'
|
|
10477
|
+
import { Demo as Index } from '../Index/Cards.js'
|
|
10431
10478
|
|
|
10432
10479
|
export const fill = true
|
|
10433
10480
|
|
|
@@ -10442,7 +10489,7 @@ export function Demo() {
|
|
|
10442
10489
|
subtitle="body"
|
|
10443
10490
|
title="Ramps and FX"
|
|
10444
10491
|
/>
|
|
10445
|
-
<
|
|
10492
|
+
<Index />
|
|
10446
10493
|
<Cta />
|
|
10447
10494
|
</>
|
|
10448
10495
|
)
|
|
@@ -10460,19 +10507,19 @@ Top to bottom, between the [Nav](/marketing/sections/nav) and the [Footer](/mark
|
|
|
10460
10507
|
1. [Hero](/marketing/sections/hero): The title and art.
|
|
10461
10508
|
2. Search, and the line of categories.
|
|
10462
10509
|
3. Featured partners.
|
|
10463
|
-
4. [
|
|
10510
|
+
4. [Index](/marketing/sections/index): Every partner, by category.
|
|
10464
10511
|
5. [CTA](/marketing/sections/cta): A call to action.
|
|
10465
10512
|
|
|
10466
10513
|
#### Category
|
|
10467
10514
|
|
|
10468
10515
|
1. [Section Heading](/marketing/sections/section-heading): The title and description, over the filters.
|
|
10469
|
-
2. [
|
|
10516
|
+
2. [Index](/marketing/sections/index): The category's partners.
|
|
10470
10517
|
3. [CTA](/marketing/sections/cta): A call to action.
|
|
10471
10518
|
|
|
10472
10519
|
#### Asset List
|
|
10473
10520
|
|
|
10474
10521
|
1. [Section Heading](/marketing/sections/section-heading): The title and description, over the filters.
|
|
10475
|
-
2. [
|
|
10522
|
+
2. [Index](/marketing/sections/index): The assets, by kind.
|
|
10476
10523
|
3. [CTA](/marketing/sections/cta): Tempo Earn, only on Tokenized assets.
|
|
10477
10524
|
4. [CTA](/marketing/sections/cta): A call to action.
|
|
10478
10525
|
|
|
@@ -10534,7 +10581,7 @@ Add a partner or asset to its record with its evidence. Never write a profile by
|
|
|
10534
10581
|
|
|
10535
10582
|
### Related
|
|
10536
10583
|
|
|
10537
|
-
[
|
|
10584
|
+
[Index](/marketing/sections/index)
|
|
10538
10585
|
|
|
10539
10586
|
Covers the cards every list holds.
|
|
10540
10587
|
|
|
@@ -10552,7 +10599,7 @@ A report's page: its title, summary, key figures and download form.
|
|
|
10552
10599
|
|
|
10553
10600
|
### Overview
|
|
10554
10601
|
|
|
10555
|
-
A Report page introduces one piece of research and hands over its PDF through a download form. Every report is laid out alike
|
|
10602
|
+
A Report page introduces one piece of research and hands over its PDF through a download form. Every report is laid out alike.
|
|
10556
10603
|
|
|
10557
10604
|
### Examples
|
|
10558
10605
|
|
|
@@ -10602,7 +10649,7 @@ The page draws only its fields, never words in its body.
|
|
|
10602
10649
|
* **Eyebrow (eyebrow):** The label over the title, such as Analysis.
|
|
10603
10650
|
* **Summary (reportSummary):** The summary under the title: a line and a list of points.
|
|
10604
10651
|
* **Authors (authors):** Its authors, named under the title.
|
|
10605
|
-
* **Key Figures (metrics):** The figures drawn in a band under the
|
|
10652
|
+
* **Key Figures (metrics):** The figures drawn in a band under the hero.
|
|
10606
10653
|
* **Short Title (shortTitle):** A shorter title, for an index row or a list of links.
|
|
10607
10654
|
|
|
10608
10655
|
### Guidelines
|
|
@@ -10639,7 +10686,7 @@ Covers the opening and its download form, with `variant="form"`.
|
|
|
10639
10686
|
|
|
10640
10687
|
Covers the key figures band.
|
|
10641
10688
|
|
|
10642
|
-
[
|
|
10689
|
+
[Index](/marketing/sections/index)
|
|
10643
10690
|
|
|
10644
10691
|
Covers the Reports index, which lists by order.
|
|
10645
10692
|
|