Skip to content

Commit d0bba8c

Browse files
committed
update
1 parent 39c3659 commit d0bba8c

File tree

1 file changed

+45
-8
lines changed

1 file changed

+45
-8
lines changed

public/index.html

Lines changed: 45 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/modern-normalize/0.5.0/modern-normalize.min.css" />
88
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css">
99
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
10+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
1011
<script>hljs.initHighlightingOnLoad();</script>
1112
<title>JSONPlaceholder - Fake online REST API for developers</title>
1213
<style>
@@ -51,6 +52,12 @@
5152
font-weight: normal;
5253
}
5354

55+
header {
56+
position: sticky;
57+
top: 0;
58+
background: #f8fafc;
59+
}
60+
5461
nav {
5562
text-align: center;
5663
border-bottom: 1px solid #f8fafc;
@@ -67,8 +74,12 @@
6774

6875
nav li a {
6976
display: inline-block;
70-
padding: 1rem;
71-
color: rgba(0, 0, 0, 0.5);
77+
padding: 1rem 2rem;
78+
color: inherit;
79+
}
80+
81+
nav li a i {
82+
margin-right: .5rem;
7283
}
7384

7485
.hljs {
@@ -104,6 +115,22 @@
104115
margin-bottom: 2rem;
105116
}
106117

118+
.box {
119+
display: flex;
120+
justify-content: center;
121+
align-items: center;
122+
width: 20rem;
123+
margin: auto;
124+
border-radius: .2rem;
125+
border: 1px dashed currentColor;
126+
}
127+
128+
.box a {
129+
display: inline-block;
130+
padding: 4rem;
131+
color: inherit;
132+
}
133+
107134
.sponsors p {
108135
margin-top: 2rem;
109136
margin-bottom: 0;
@@ -153,9 +180,9 @@
153180
<header>
154181
<nav>
155182
<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>
183+
<li><a href="https://www.patreon.com/typicode" style="color: rgb(249, 104, 84)"><i class="fab fa-patreon"></i> Patreon</a></li>
184+
<li><a href="https://thanks.typicode.com"><i class="far fa-laugh"></i> Supporters</a></li>
185+
<li><a href="https://github.com/typicode"><i class="fab fa-github-alt"></i> GitHub</a></li>
159186
</ul>
160187
</nav>
161188
</header>
@@ -174,15 +201,25 @@ <h1>
174201
+
175202
<a href="https://github.com/typicode/lowdb">LowDB</a>
176203
</p>
204+
205+
<p>
206+
<a href="https://www.patreon.com/bePatron?c=784328">
207+
<img src="https://c5.patreon.com/external/logo/[email protected]" width="217">
208+
</a>
209+
</p>
177210
</div>
178211
</div>
179212

180213
<!-- Sponsors -->
181214
<div class="sponsors">
182215
<h3>sponsored by</h3>
183-
<p>
216+
217+
<div class="box">
218+
<a href="https://www.patreon.com/bePatron?c=784328">Your Company Logo Here</a>
219+
</div>
220+
<!-- <p>
184221
<a href="https://patreon.com/typicode">become a sponsor</a>
185-
</p>
222+
</p> -->
186223
</div>
187224

188225
<!-- Main -->
@@ -356,7 +393,7 @@ <h2>Use your own data</h2>
356393
<footer>
357394
<div class="container">
358395
<div style="margin-bottom: 2rem">
359-
<a href="https://www.patreon.com/typicode">
396+
<a href="https://www.patreon.com/bePatron?c=784328">
360397
<img src="https://c5.patreon.com/external/logo/[email protected]" width="217">
361398
</a>
362399
</div>

0 commit comments

Comments
 (0)