Skip to content

Commit 521acb0

Browse files
committed
Update
1 parent 4a1eb72 commit 521acb0

File tree

1 file changed

+38
-12
lines changed

1 file changed

+38
-12
lines changed

public/index.html

Lines changed: 38 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,26 @@
5151
font-weight: normal;
5252
}
5353

54+
nav {
55+
text-align: center;
56+
border-bottom: 1px solid #f8fafc;
57+
}
58+
59+
nav ul {
60+
margin: 0;
61+
padding: 0;
62+
}
63+
64+
nav li {
65+
display: inline;
66+
}
67+
68+
nav li a {
69+
display: inline-block;
70+
padding: 1rem;
71+
color: rgba(0, 0, 0, 0.5);
72+
}
73+
5474
.hljs {
5575
padding: 1rem;
5676
}
@@ -130,6 +150,15 @@
130150
</head>
131151

132152
<body>
153+
<header>
154+
<nav>
155+
<ul>
156+
<li><a href="https://thanks.typicode.com">Supporters</a></li>
157+
<li><a href="https://www.patreon.com/typicode">Patreon</a></li>
158+
<li><a href="https://github.com/typicode">GitHub</a></li>
159+
</ul>
160+
</nav>
161+
</header>
133162
<!-- Hero -->
134163
<div class="hero">
135164
<div class="container">
@@ -192,7 +221,7 @@ <h2>Example</h2>
192221
</p>
193222

194223
<pre><code id="result" class="json"></code></pre>
195-
<span id="run-message">Congrats you've made your first call to JSONPlaceholder! 😃</span>
224+
<span id="run-message">Congrats you've made your first call to JSONPlaceholder! 😃 🎉</span>
196225

197226
<p>
198227
<strong>Tip</strong>: you can use
@@ -336,20 +365,17 @@ <h2>Use your own data</h2>
336365
<!-- Footer -->
337366
<footer>
338367
<div class="container">
339-
<p>
368+
<div style="margin-bottom: 2rem">
369+
<a href="https://www.patreon.com/typicode">
370+
<img src="https://c5.patreon.com/external/logo/[email protected]" width="217">
371+
</a>
372+
</div>
373+
<div>
340374
Coded and built with ❤️ by
341375
<a href="https://github.com/typicode">typicode</a>
342-
<br> Source code available on
376+
<br>Source code and CHANGELOG available on
343377
<a href="https://github.com/typicode/jsonplaceholder">GitHub</a>
344-
<br>
345-
<a href="https://github.com/typicode/jsonplaceholder/blob/master/CHANGELOG.md">CHANGELOG</a>
346-
</p>
347-
<p>
348-
<!-- Later... -->
349-
<!-- <a href="https://patreon.com/typicode">
350-
<img alt="" src="become_a_patron_button.png">
351-
</a> -->
352-
</p>
378+
</div>
353379
</div>
354380
</footer>
355381

0 commit comments

Comments
 (0)