7
7
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/modern-normalize/0.5.0/modern-normalize.min.css " />
8
8
< link rel ="stylesheet " href ="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css ">
9
9
< 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 ">
10
11
< script > hljs . initHighlightingOnLoad ( ) ; </ script >
11
12
< title > JSONPlaceholder - Fake online REST API for developers</ title >
12
13
< style >
51
52
font-weight : normal;
52
53
}
53
54
55
+ header {
56
+ position : sticky;
57
+ top : 0 ;
58
+ background : # f8fafc ;
59
+ }
60
+
54
61
nav {
55
62
text-align : center;
56
63
border-bottom : 1px solid # f8fafc ;
67
74
68
75
nav li a {
69
76
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 ;
72
83
}
73
84
74
85
.hljs {
104
115
margin-bottom : 2rem ;
105
116
}
106
117
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
+
107
134
.sponsors p {
108
135
margin-top : 2rem ;
109
136
margin-bottom : 0 ;
153
180
< header >
154
181
< nav >
155
182
< 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 >
159
186
</ ul >
160
187
</ nav >
161
188
</ header >
@@ -174,15 +201,25 @@ <h1>
174
201
+
175
202
< a href ="https://github.com/typicode/lowdb "> LowDB</ a >
176
203
</ 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 >
177
210
</ div >
178
211
</ div >
179
212
180
213
<!-- Sponsors -->
181
214
< div class ="sponsors ">
182
215
< 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>
184
221
<a href="https://patreon.com/typicode">become a sponsor</a>
185
- </ p >
222
+ </p> -->
186
223
</ div >
187
224
188
225
<!-- Main -->
@@ -356,7 +393,7 @@ <h2>Use your own data</h2>
356
393
< footer >
357
394
< div class ="container ">
358
395
< div style ="margin-bottom: 2rem ">
359
- < a href ="https://www.patreon.com/typicode ">
396
+ < a href ="https://www.patreon.com/bePatron?c=784328 ">
360
397
< img src ="
https://c5.patreon.com/external/logo/[email protected] "
width ="
217 "
>
361
398
</ a >
362
399
</ div >
0 commit comments