Skip to content

Commit 1889416

Browse files
authored
Merge pull request #2074 from JackStouffer/front-page-users
Change Front Page to Focus on Call to Action and Social Proof
2 parents a9ec072 + b033a90 commit 1889416

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
@@ -1370,7 +1370,7 @@ body#Home #content > h1
13701370

13711371
body#Home #content > .intro
13721372
{
1373-
padding-bottom: 1em;
1373+
padding: 1em 0 1em;
13741374
border-bottom: 1px solid #E6E6E6;
13751375
}
13761376

@@ -1407,13 +1407,48 @@ body#Home #content > .intro .download .btn
14071407
body#Home #content > .intro .download .btn.action
14081408
{
14091409
border-color: #98312A;
1410+
background-color: #B03931;
1411+
color: white;
14101412
}
14111413

14121414
body#Home #content > .intro .download .btn.action:hover
14131415
{
14141416
border-color: #943029;
1417+
background-color: #742620;
1418+
color: white;
14151419
}
14161420

1421+
.org_list_header h3
1422+
{
1423+
margin: 1em 0 .5em;
1424+
}
1425+
1426+
.org_list
1427+
{
1428+
display: flex;
1429+
align-items: center;
1430+
flex-direction: row;
1431+
justify-content: space-evenly;
1432+
flex-wrap: wrap;
1433+
padding: 10px 0;
1434+
}
1435+
1436+
.org_list a img
1437+
{
1438+
max-width: 150px;
1439+
max-height: 60px;
1440+
}
1441+
1442+
.org_list_footer
1443+
{
1444+
margin-bottom: 3em;
1445+
}
1446+
1447+
.org_list_footer a
1448+
{
1449+
display: inline-block;
1450+
padding: 0 10px;
1451+
}
14171452

14181453
body#Home #content > .intro #your-code-here
14191454
{
@@ -1997,6 +2032,16 @@ div.openInEditorButton {
19972032
{
19982033
display: none;
19992034
}
2035+
2036+
body#Home #content > .intro
2037+
{
2038+
padding: 0 0 1.5em;
2039+
}
2040+
2041+
.org_list a img
2042+
{
2043+
padding: 0.5em 2em;
2044+
}
20002045
}
20012046

20022047
/* Narrow layout stage 2: hamburger menu, forum/twitter widgets disappear from
@@ -2175,6 +2220,11 @@ the home page, intro pitch and your-code-here layed out vertically */
21752220
content: "\f0c9"; /* bars */
21762221
font-family: FontAwesome;
21772222
}
2223+
2224+
.org_list a img
2225+
{
2226+
padding: 1em 2em;
2227+
}
21782228
}
21792229

21802230
/* 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)