blob: 7865b9d4560f2ae06094e5828e881a2be84f3094 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
import React from 'react';
import { Helmet } from 'react-helmet';
import brand from 'ba-api/brand';
import { SourceReader, PapperBlock } from 'ba-components';
import {
StandardCards,
ControlCards,
PaperSheet,
SocialCards,
EcommerceCards
} from './demos';
class Cards extends React.Component {
render() {
const title = brand.name + ' - UI Elements';
const description = brand.desc;
const docSrc = 'containers/UiElements/demos/Cards/';
return (
<div>
<Helmet>
<title>{title}</title>
<meta name="description" content={description} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} />
</Helmet>
<PapperBlock title="Paper" desc="In material design, the physical properties of paper are translated to the screen.">
<div>
<PaperSheet />
<SourceReader componentName={docSrc + 'PaperSheet.js'} />
</div>
</PapperBlock>
<PapperBlock title="Standard Cards" desc="A card is a sheet of material that serves as an entry point to more detailed information.">
<div>
<StandardCards />
<SourceReader componentName={docSrc + 'StandardCards.js'} />
</div>
</PapperBlock>
<PapperBlock title="Control Cards" desc="Supplemental actions within the card are explicitly called out using icons, text, and UI controls.">
<div>
<ControlCards />
<SourceReader componentName={docSrc + 'ControlCards.js'} />
</div>
</PapperBlock>
<PapperBlock title="Social Cards" desc="A Customized material-ui card that contain profile elements">
<div>
<SocialCards />
<SourceReader componentName={docSrc + 'SocialCards.js'} />
</div>
</PapperBlock>
<PapperBlock title="Ecommerce Cards" desc="A Customized material-ui card that contain product information">
<div>
<EcommerceCards />
<SourceReader componentName={docSrc + 'EcommerceCards.js'} />
</div>
</PapperBlock>
</div>
);
}
}
export default Cards;
|