|
| 1 | +import { Meta } from '@storybook/addon-docs'; |
| 2 | +import headerImg from './img/banner.jpg'; |
| 3 | + |
| 4 | +<Meta title="Documentation/Introduction" /> |
| 5 | + |
| 6 | +## Available widgets |
| 7 | + |
| 8 | +- [Emoji Cards](/story/widgets-emoji-cards-widget--page): A widget to show a card for each emoji. This is a stock example widget you should delete from your registry. |
| 9 | + |
| 10 | +<img src={headerImg} alt="Widget Registry" /> |
| 11 | + |
| 12 | +## What are widgets? |
| 13 | + |
| 14 | +Widgets types are stand alone JavaScript applications ready to use in any |
| 15 | +publishing context. JavaScript developers create widgets in their own |
| 16 | +repository, so they can be syndicated and embedded in publishing |
| 17 | +platforms. These include popular CMS, static HTML, other JavaScript |
| 18 | +applications, etc. Build your digital strategy using widgets to maximize |
| 19 | +reuse of your development efforts. Widgets are designed to allow you to |
| 20 | +focus on your strategy rather than on development. |
| 21 | + |
| 22 | +## Develop widgets |
| 23 | + |
| 24 | +Widgets can be as simple as a personalized CTA, or as complex as a full |
| 25 | +embedded product catalog. Widgets are a powerful tool to build reactive |
| 26 | +applications that are rubber-stamped all across your digital properties. |
| 27 | + |
| 28 | +### Configurable |
| 29 | + |
| 30 | +Your widgets can accept external input. This can affect what the color |
| 31 | +scheme should be, what language should be used, what is the personalized |
| 32 | +text for the call-to-action button, or what data source to use to fecth |
| 33 | +for content. This allows you to maintain a single code base powering many |
| 34 | +variants without code duplication. |
| 35 | + |
| 36 | +### i18n |
| 37 | + |
| 38 | +Widgets are ready for internationalization. Both interface text and |
| 39 | +content can be expressed in your users' languages. |
0 commit comments