Skip to content

Commit 444c2cd

Browse files
committed
Landing page updates
1 parent 308608b commit 444c2cd

1 file changed

Lines changed: 44 additions & 6 deletions

File tree

docs/welcome/index.html

Lines changed: 44 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@
8585

8686
.button {
8787
display: inline-block;
88-
border: 2px solid #333;
89-
color: #333;
88+
border: 2px solid #fff;
89+
color: #fff;
9090
padding: 1em 1.25em;
9191
font-weight: 500;
9292
text-transform: uppercase;
@@ -99,10 +99,30 @@
9999
}
100100

101101
.button.dark {
102-
background: #333;
102+
background: #fff;
103+
color: #0bab74;
104+
}
105+
106+
table.showcase.hero {
107+
background: #14c589;
103108
color: #fff;
104109
}
105110

111+
table.showcase.hero:after {
112+
border-top-color: #fff
113+
}
114+
115+
table.showcase.hero table[data-sortable].sortable-theme-bootstrap {
116+
font-family: inherit;
117+
font-size: 16px;
118+
}
119+
120+
table.showcase.hero table[data-sortable].sortable-theme-bootstrap th[data-sorted="true"] {
121+
color: #0daf77;
122+
background: #b8f1dd;
123+
border-bottom-color: #22bd88;
124+
}
125+
106126
table.showcase .showcase-inner table[data-sortable] {
107127
margin: 4em auto 3em;
108128
}
@@ -112,7 +132,9 @@
112132
}
113133

114134
table.showcase .showcase-inner p.source {
115-
color: #888;
135+
color: rgba(255, 255, 255, .7);
136+
font-weight: 300;
137+
letter-spacing: .01em;
116138
text-align: center;
117139
font-size: 12px;
118140
margin: 0 0 3em;
@@ -143,6 +165,10 @@
143165
background: #fff1dd;
144166
}
145167

168+
table.showcase.about {
169+
background: #fff1dd;
170+
}
171+
146172
table.showcase.about a {
147173
color: #c96c24;
148174
}
@@ -243,7 +269,7 @@ <h2>Drop-in script to make your tables sortable.</h2>
243269
<a class="button" href="http://github.com/hubspot/sortable">★ On Github</a> &nbsp;&nbsp;
244270
<a class="button dark" href="https://github.com/HubSpot/sortable/releases">Download</a>
245271
</p>
246-
<table class="sortable-theme-light" data-sortable>
272+
<table class="sortable-theme-bootstrap" data-sortable>
247273
<thead>
248274
<tr>
249275
<th data-sortable="false">Browser</th>
@@ -299,7 +325,7 @@ <h2>Drop-in script to make your tables sortable.</h2>
299325

300326
<table class="showcase about"><tr><td>
301327
<div class="showcase-inner">
302-
<h1>How to Use</h1>
328+
<h1>About</h1>
303329
<p>Sortable is an open-source javascript and CSS library which adds sorting functionality to tables. It is tiny (<code>&lt;2kb</code>) and has no dependencies.</p>
304330
<p>To use, first <a href="https://github.com/HubSpot/sortable/releases" target="_blank">download the latest release</a>.
305331
<p>Then simply add <code>sortable.min.js</code> and a <a href="https://github.com/HubSpot/sortable/tree/master/css" target="_blank">theme file</a> to your page:</p>
@@ -313,6 +339,18 @@ <h1>How to Use</h1>
313339
<p>And that's it! Learn more by visiting the <a href="/sortable">documentation</a>.
314340
</div>
315341
</td></tr></table>
342+
343+
<table class="showcase install"><tr><td>
344+
<div class="showcase-inner">
345+
<h1>Install</h1>
346+
<p>The easiest way to add Sortable onto your site is with <a href="http://eager.io" style="color: #bf0c78">Eager</a>.</p>
347+
<p>Click Install to see a live preview of sorted tables on your website.</p>
348+
<center>
349+
<iframe style="height: 48px; width: 180px" src="//install.eager.io?appId=sortable" allowtransparency="true" scroll="no" frameBorder="0"></iframe>
350+
</center>
351+
</div>
352+
</td></tr></table>
353+
316354
<table id="themeShowcase" class="showcase themes sortable-theme-bootstrap"><tr><td>
317355
<div class="showcase-inner">
318356
<h1>Themes</h1>

0 commit comments

Comments
 (0)