|
| 1 | +<bolt-text> |
| 2 | + For language-specific quotes, Blockquote inherits the value of the closest <code>lang</code> attribute. Override that value by setting the <code>lang</code> prop directly on the component. |
| 3 | +</bolt-text> |
| 4 | + |
1 | 5 | {% include "@bolt-components-headline/headline.twig" with {
|
2 | 6 | text: "English",
|
3 | 7 | size: "xlarge",
|
4 | 8 | tag: "h2"
|
5 | 9 | } only %}
|
6 |
| - |
7 |
| -<div lang="en" class="u-bolt-margin-bottom-large"> |
8 | 10 | {% include "@bolt-components-blockquote/blockquote.twig" with {
|
9 | 11 | "author": {
|
10 | 12 | "name": "Michelangelo di Lodovico Buonarroti Simoni",
|
11 | 13 | "title": "Renaissance Artist"
|
12 | 14 | },
|
13 | 15 | "content": "<p>The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low, and achieving our mark.</p>"
|
14 | 16 | } %}
|
15 |
| -</div> |
16 |
| - |
17 | 17 |
|
18 | 18 | {% include "@bolt-components-headline/headline.twig" with {
|
19 | 19 | text: "German",
|
20 | 20 | size: "xlarge",
|
21 | 21 | tag: "h2"
|
22 | 22 | } only %}
|
23 |
| - |
24 |
| -<div lang="de" class="u-bolt-margin-bottom-large"> |
25 | 23 | {% include "@bolt-components-blockquote/blockquote.twig" with {
|
26 | 24 | "author": {
|
27 | 25 | "name": "Michelangelo di Lodovico Buonarroti Simoni",
|
28 | 26 | "title": "Renaissance Artist"
|
29 | 27 | },
|
30 |
| - "content": "<p>Echtzeit bedeutet Relevanz. Kunden erwarten von uns, dass wir jederzeit wissen, was sie gerade denken.</p>" |
| 28 | + "content": "<p>Echtzeit bedeutet Relevanz. Kunden erwarten von uns, dass wir jederzeit wissen, was sie gerade denken.</p>", |
| 29 | + "lang": "de" |
31 | 30 | } %}
|
32 |
| -</div> |
33 |
| - |
34 | 31 |
|
35 | 32 | {% include "@bolt-components-headline/headline.twig" with {
|
36 | 33 | text: "French",
|
37 | 34 | size: "xlarge",
|
38 | 35 | tag: "h2"
|
39 | 36 | } only %}
|
40 |
| - |
41 |
| -<div lang="fr" class="u-bolt-margin-bottom-large"> |
42 | 37 | {% include "@bolt-components-blockquote/blockquote.twig" with {
|
43 | 38 | "author": {
|
44 | 39 | "name": "Michelangelo di Lodovico Buonarroti Simoni",
|
45 | 40 | "title": "Renaissance Artist"
|
46 | 41 | },
|
47 |
| - "content": "<p>Davantage de temps réel, c'est plus de pertinence. Les clients s’attendent à ce que nous lisions dans leurs pensées, dans l’instant présent.</p>" |
| 42 | + "content": "<p>Davantage de temps réel, c'est plus de pertinence. Les clients s’attendent à ce que nous lisions dans leurs pensées, dans l’instant présent.</p>", |
| 43 | + "lang": "fr" |
48 | 44 | } %}
|
49 |
| -</div> |
50 |
| - |
51 | 45 |
|
52 | 46 | {% include "@bolt-components-headline/headline.twig" with {
|
53 | 47 | text: "Japanese",
|
54 | 48 | size: "xlarge",
|
55 | 49 | tag: "h2"
|
56 | 50 | } only %}
|
57 |
| - |
58 |
| -<div lang="ja" class="u-bolt-margin-bottom-large"> |
59 | 51 | {% include "@bolt-components-blockquote/blockquote.twig" with {
|
60 | 52 | "author": {
|
61 | 53 | "name": "Michelangelo di Lodovico Buonarroti Simoni",
|
62 | 54 | "title": "Renaissance Artist"
|
63 | 55 | },
|
64 |
| - "content": "<p>リアルタイムであればあるほど、関連性は高まります。顧客は自分たちが今何を考えているかこちらが把握することを期待しています。</p>" |
| 56 | + "content": "<p>リアルタイムであればあるほど、関連性は高まります。顧客は自分たちが今何を考えているかこちらが把握することを期待しています。</p>", |
| 57 | + "lang": "ja" |
65 | 58 | } %}
|
66 |
| -</div> |
0 commit comments