File size: 1,467 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import { Card } from '@automattic/components';
import { PureComponent } from 'react';

class PostPlaceholder extends PureComponent {
	render() {
		/* eslint-disable wpcalypso/jsx-classname-namespace */
		return (
			<Card tagName="article" className="reader__card is-placeholder">
				<div className="reader__post-header">
					<h1 className="reader__post-title">
						<div className="reader__post-title-link">
							<span className="reader__placeholder-text">Loading interesting posts…</span>
						</div>
					</h1>
					<div className="reader__post-byline">
						<span className="site-icon" height="16" width="16" />
						<h4 className="reader__site-name">
							<span className="reader__placeholder-text">Loading Sites</span>
						</h4>
						<div className="reader__post-time-placeholder">
							<span className="reader__placeholder-text">10 min</span>
						</div>
					</div>
				</div>

				<div className="reader__post-excerpt">
					<p>
						<span className="reader__placeholder-text">
							Please wait while we grab all the interesting posts, photos, videos and more to show
							you in Reader. It shouldn’t take long.
						</span>
					</p>
				</div>

				<ul className="reader__post-footer">
					<li className="reader__post-read-time">
						<span className="reader__placeholder-text">10 min read</span>
					</li>
				</ul>
			</Card>
		);
		/* eslint-enable wpcalypso/jsx-classname-namespace */
	}
}

export default PostPlaceholder;