-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
117 lines (112 loc) · 2.71 KB
/
index.html
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!doctype html>
<head>
<title>React JSON API</title>
<meta charset="utf-8">
<script src="jspm_packages/system.js"></script>
<script src="jspm.config.js"></script>
<!--<script src="dist/example-bundle.js"></script> -->
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<style>
h3 {
padding-bottom: .5em;
}
a, a:visited {
color: #0000EE;
}
body {
max-width: 780px;
margin: auto;
background-color: #f2f2f2;
}
#container {
background-color: white;
border: 1px solid #DDD;
border-radius: 5px;
padding: 15px 30px;
padding-bottom: 0;
margin: 30px auto;
}
#main {
background-color: #f8f8f8;
border: 1px solid #DDD;
border-radius: 5px;
padding: 10px 15px;
padding-left: 5px;
margin: 2em 0;
max-width: 260px;
}
#main h3 {
margin-top: .5em;
}
@media (min-width: 832px) {
#main {
max-width: 720px;
}
}
p {
margin-left: 1.5em;
}
.panel {
background-color: white;
float: left;
border: 1px solid #DDD;
padding: 1em;
width: 210px;
margin-left: 1em;
border-radius: 5px;
margin-bottom: 1em;
}
@media (min-width: 832px) {
.panel {
margin-bottom: 0;
}
.list-panel {
width: 120px;
}
.article-panel {
min-height: 380px;
}
}
h4 {
margin-top: 2em;
}
.panel h4 {
margin-top: initial;
text-decoration: underline;
}
</style>
</head>
<body>
<div id="container">
<a href="https://github.com/appmagine/react-jsonapi"><img alt="Fork me on GitHub" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" style="position: absolute; top: 0px; right: 0px; border: 0px none;"></a>
<h3>React JSON API
<span style="font-weight: normal; font-size: 12pt;"> • <a
href="https://github.com/appmagine/react-jsonapi"
>docs</a>
</span>
</h3>
<p>
Declarative co-located <a href="http://jsonapi.org/">JSON API</a> data loading for <a
href="https://facebook.github.io/react/">React</a> components featuring
optional integration with
<a href="https://github.com/ReactTraining/react-router/tree/v3.2.3">React
Router</a> v3.x.
</p>
<p>
</p>
<h4>Demo
<span style="font-weight: normal; font-size: 12pt;"> • <a
href="https://github.com/appmagine/react-jsonapi/tree/master/examples"
>source</a>
</span>
</h4>
<div id="main">
<p>
Loading modules...
</p>
</div>
</div>
<script>
SystemJS.import('examples/main');
</script>
</body>