Skip to content

Commit 836a99d

Browse files
committed
Redesign front page to focus on call to action and social proof
1 parent 91ef535 commit 836a99d

File tree

3 files changed

+73
-27
lines changed

3 files changed

+73
-27
lines changed

css/style.css

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ body#Home #content > h1
13561356

13571357
body#Home #content > .intro
13581358
{
1359-
padding-bottom: 1em;
1359+
padding: 2em 0 4em;
13601360
border-bottom: 1px solid #E6E6E6;
13611361
}
13621362

@@ -1393,13 +1393,48 @@ body#Home #content > .intro .download .btn
13931393
body#Home #content > .intro .download .btn.action
13941394
{
13951395
border-color: #98312A;
1396+
background-color: #B03931;
1397+
color: white;
13961398
}
13971399

13981400
body#Home #content > .intro .download .btn.action:hover
13991401
{
14001402
border-color: #943029;
1403+
background-color: #742620;
1404+
color: white;
1405+
}
1406+
1407+
.org_list_header h3
1408+
{
1409+
margin: 1em 0 .5em;
1410+
}
1411+
1412+
.org_list
1413+
{
1414+
display: flex;
1415+
align-items: center;
1416+
flex-direction: row;
1417+
justify-content: space-evenly;
1418+
flex-wrap: wrap;
1419+
padding: 10px 0;
1420+
}
1421+
1422+
.org_list a img
1423+
{
1424+
max-width: 150px;
1425+
max-height: 60px;
1426+
}
1427+
1428+
.org_list_footer
1429+
{
1430+
margin-bottom: 3em;
14011431
}
14021432

1433+
.org_list_footer a
1434+
{
1435+
display: inline-block;
1436+
padding: 0 10px;
1437+
}
14031438

14041439
body#Home #content > .intro #your-code-here
14051440
{
@@ -1983,6 +2018,16 @@ div.openInEditorButton {
19832018
{
19842019
display: none;
19852020
}
2021+
2022+
body#Home #content > .intro
2023+
{
2024+
padding: 0 0 1.5em;
2025+
}
2026+
2027+
.org_list a img
2028+
{
2029+
padding: 0.5em 2em;
2030+
}
19862031
}
19872032

19882033
/* Narrow layout stage 2: hamburger menu, forum/twitter widgets disappear from
@@ -2161,6 +2206,11 @@ the home page, intro pitch and your-code-here layed out vertically */
21612206
content: "\f0c9"; /* bars */
21622207
font-family: FontAwesome;
21632208
}
2209+
2210+
.org_list a img
2211+
{
2212+
padding: 1em 2em;
2213+
}
21642214
}
21652215

21662216
/* Narrow layout stage 3: no more two column boxes */

images/orgs-using-d/netflix_small.png

4.22 KB
Loading

index.dd

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,28 @@ $(SCRIPT
304304
})();
305305
)
306306

307+
$(DIVC org_list_header,
308+
<h3 class="center">
309+
Industry Proven
310+
</h3>
311+
)
312+
313+
$(DIVC org_list,
314+
<a href="https://www.netflix.com"><img src="$(ROOT_DIR)images/orgs-using-d/netflix_small.png" /></a>
315+
<a href="https://ebay.com"><img src="$(ROOT_DIR)images/orgs-using-d/ebay.jpg" /></a>
316+
<a href="http://remedygames.com"><img src="$(ROOT_DIR)images/orgs-using-d/remedy.png" /></a>
317+
<a href="https://www.sociomantic.com"><img src="$(ROOT_DIR)images/orgs-using-d/sociomantic.png" /></a>
318+
<a href="https://www.adroll.com"><img src="$(ROOT_DIR)images/orgs-using-d/da_roll.png" /></a>
319+
<a href="http://www.weka.io"><img src="$(ROOT_DIR)images/orgs-using-d/weka.png" /></a>
320+
)
321+
322+
$(DIVC org_list_footer,
323+
<p class="center">
324+
$(LINK2 $(ROOT_DIR)orgs-using-d.html, Testimonials And More Organizations)
325+
$(LINK2 $(ROOT_DIR)areas-of-d-usage.html, Current D use)
326+
</p>
327+
)
328+
307329
$(DIVC more,
308330

309331
$(DIVID news,
@@ -638,32 +660,6 @@ consistency. $(LINK2 spec/memory-safe-d.html, Read more).)
638660

639661
)))
640662

641-
$(DIVC section, $(DIV, $(SECTION3 $(WHY_D_ICON industry) Industry-proven,
642-
$(DIVC frontpage-orgs center,
643-
$(FRONTPAGE_ORG eBay, https://www.ebay.com, ebay.jpg,
644-
One of the world’s largest marketplaces
645-
)
646-
$(FRONTPAGE_ORG Netflix, https://www.netflix.com, netflix.jpg,
647-
Video-on-demand streaming platform
648-
)
649-
$(FRONTPAGE_ORG Sociomantic, https://www.sociomantic.com, sociomantic.png,
650-
Real-time personalized advertising
651-
)
652-
$(FRONTPAGE_ORG Remedy Games, http://www.remedygames.com, remedy.png,
653-
Triple-A game development
654-
)
655-
)
656-
<div id="frontpage-orgs-more">
657-
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
658-
$(LINK2 $(ROOT_DIR)areas-of-d-usage.html, Current D use)
659-
$(BR)
660-
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
661-
$(LINK2 $(ROOT_DIR)orgs-using-d.html, More organizations using D)
662-
</div>
663-
)))
664-
665-
666-
667663
)) $(COMMENT SECTION2 Why D?, DIVC whyd)
668664
) $(COMMENT more)
669665
) $(COMMENT SECTION1)

0 commit comments

Comments
 (0)