Skip to content

Commit 9e023ba

Browse files
committed
Add sponsor spot
1 parent b7bd935 commit 9e023ba

2 files changed

Lines changed: 45 additions & 2 deletions

File tree

public/css/base.css

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,400,500);
2+
@import url(https://fonts.googleapis.com/css?family=Raleway:400);
3+
24
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
35
/**
46
* 1. Set default font family to sans-serif.
@@ -433,7 +435,6 @@ header a.twitter img {
433435
font-size: 32px;
434436
}
435437
}
436-
@import url(https://fonts.googleapis.com/css?family=Ubuntu:300);
437438

438439
html {
439440
font-family: 'Ubuntu', sans-serif;
@@ -1353,3 +1354,38 @@ footer .block .builder {
13531354
a {
13541355
color: #0088AA;
13551356
}
1357+
1358+
section.sponsor {
1359+
text-align: center;
1360+
margin-bottom: -90px;
1361+
margin-top: 30px;
1362+
}
1363+
1364+
section.sponsor h2 {
1365+
color: #CCC;
1366+
font-size: 10pt;
1367+
text-transform: uppercase;
1368+
}
1369+
1370+
section.sponsor h3 {
1371+
font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
1372+
font-size: 20pt;
1373+
font-weight: 400;
1374+
margin-top: 10px;
1375+
margin-bottom: 10px;
1376+
}
1377+
1378+
section.sponsor #learnmore {
1379+
width: 150px;
1380+
height: 50px;
1381+
margin-left: 20px;
1382+
border-radius: 3px;
1383+
background: #83ba43;
1384+
border: none;
1385+
color: #fff;
1386+
outline: none;
1387+
}
1388+
1389+
section.sponsor #learnmore:hover {
1390+
background: #79b039;
1391+
}

views/pages/index.ejs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,16 @@ $.ajax({
6262
</pre>
6363
</section>
6464

65+
<section class="sponsor">
66+
<h2>Sponsored</h2>
67+
<h3>RandomAPI</h3>
68+
<p>Want to create your own customized data generator for your application?<br>Check out our other service RandomAPI!</p>
69+
<button id="learnmore" class="button" onClick="window.open('http://beta.randomapi.com');">Learn More</button>
70+
</section>
71+
6572
<section>
6673
<h2>Results</h2>
67-
<p>The application will provide you with a JSON, SQL, CSV, or YAML object that you can parse and apply to your application.</p>
74+
<p>The application will provide you with a JSON, XML, CSV, or YAML object that you can parse and apply to your application.</p>
6875
<p>You can specify the format you want the results in using the <a href="documentation#format">format</a> parameter.</p>
6976
<pre>
7077
{

0 commit comments

Comments
 (0)