Skip to content

Commit 11c3497

Browse files
committed
update
1 parent 488f609 commit 11c3497

File tree

1 file changed

+60
-11
lines changed

1 file changed

+60
-11
lines changed

public/index.html

Lines changed: 60 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@
4848
font-weight: normal;
4949
}
5050

51-
b {
52-
background-color: #f8fafc;
53-
font-weight: normal;
54-
}
55-
5651
header {
5752
position: sticky;
5853
top: 0;
@@ -176,6 +171,60 @@
176171
background-color: #f8fafc;
177172
text-align: center;
178173
}
174+
175+
#carbonads {
176+
margin: 3rem auto 0; // position
177+
display: block;
178+
overflow: hidden;
179+
padding: 10px;
180+
box-shadow: 0 1px 3px hsla(0, 0%, 0%, .05);
181+
border-radius: 4px;
182+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;
183+
line-height: 1.5;
184+
max-width: 300px;
185+
font-size: 12px;
186+
background-color: #fff;
187+
}
188+
189+
#carbonads a {
190+
text-decoration: none;
191+
}
192+
193+
#carbonads span {
194+
position: relative;
195+
display: block;
196+
overflow: hidden;
197+
}
198+
199+
.carbon-img {
200+
float: left;
201+
margin-right: 1em;
202+
}
203+
204+
.carbon-img img {
205+
display: block;
206+
}
207+
208+
.carbon-text {
209+
display: block;
210+
float: left;
211+
max-width: calc(100% - 130px - 1em);
212+
text-align: left;
213+
color: #637381;
214+
}
215+
216+
.carbon-poweredby {
217+
position: absolute;
218+
left: 142px;
219+
bottom: 0;
220+
display: block;
221+
font-size: 8px;
222+
color: #c5cdd0;
223+
font-weight: 500;
224+
text-transform: uppercase;
225+
line-height: 1;
226+
letter-spacing: 1px;
227+
}
179228
</style>
180229
</head>
181230

@@ -200,7 +249,7 @@ <h1>
200249

201250
<p class="subtitle">
202251
Fake Online REST API for Testing and Prototyping
203-
<br> Serving ~200M requests per month
252+
<br> <b>Serving ~350M requests per month</b>
204253
<br> Powered by
205254
<a href="https://github.com/typicode/json-server">JSON Server</a>
206255
+
@@ -261,13 +310,15 @@ <h2>Example</h2>
261310
<p>
262311
<strong>Tip</strong>: you can use
263312
<b>
264-
http
313+
http://
265314
</b> or
266315
<b>
267-
https
316+
https://
268317
</b> when making requests to JSONPlaceholder.
269318
</p>
270319

320+
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CK7IV2JL&placement=jsonplaceholdertypicodecom" id="_carbonads_js"></script>
321+
271322
<!-- Resources -->
272323
<h2>Resources</h2>
273324
<p>
@@ -393,9 +444,7 @@ <h2>Use your own data</h2>
393444
<pre><code class="bash">npm install json-server</code></pre> -->
394445

395446
<p>
396-
<b>Try
397-
<a href="https://my-json-server.typicode.com">My JSON Server</a> online service.
398-
</b>
447+
With <a href="https://my-json-server.typicode.com">My JSON Server</a> online service and a simple GitHub repo, you can have your own online fake REST server in seconds.
399448
</p>
400449
</main>
401450
</div>

0 commit comments

Comments
 (0)