-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathindex.tsx
48 lines (46 loc) · 1.57 KB
/
index.tsx
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
import * as React from 'react';
import { PageHeader } from '../../components/page-header';
import { PageSection } from '../../components/page-section';
import styles from './styles';
export function CssModulesContainer() {
return (
<article>
<PageHeader>Typed CSS-Modules</PageHeader>
<PageSection>
<p style={{ textAlign: 'justify' }}>
Local CSS styles (using <a href="https://github.com/rtsao/csjs#faq">csjs</a>),
with capability to leverage TypeScript IntelliSense features in Editor/IDE,
for autocompletion and easy refactoring of available class-names.
</p>
</PageSection>
<br />
<PageSection className={styles.uCentered}>
<div className={styles.uHideOnTablet}>
<div className={[styles.uBordered, styles.eElevate].join(' ')}>
<p className={styles.cText__glowing}>
<br />
Hover me!
<br />
<small><i>(narrow your window)</i></small>
</p>
</div>
</div>
<div className={styles.uShowOnTablet}>
<div className={[styles.uBordered, styles.eElevate].join(' ')}>
<p className={styles.cText__glowing}>
SUPRISE!!!
</p>
</div>
</div>
</PageSection>
<br />
<p className={styles.uCentered}>
Source: <a
href="https://github.com/piotrwitek/react-redux-typescript-jspm-starter/tree/master/src/containers/css-modules-container">
Link to GitHub
</a>
</p>
<br />
</article>
);
};