Skip to content

Commit 18ae78e

Browse files
committed
Make the front page wholesome
1 parent 3ed8637 commit 18ae78e

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

etc/config.sample.json

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"battleforthenet": "",
77
"vultr": ""
88
},
9+
"discord_url": "https://discord.gg/u87WVeu",
910
"maintenance": [
1011
false,
1112
"BNETDocs has to take a brief moment to do some system maintenance. We'll be back shortly."

src/templates/FrontPage.phtml

+18-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,24 @@ require("./header.inc.phtml");
1616
<article>
1717
<header>Welcome to BNETDocs!</header>
1818
<section>
19-
<p>TODO: make this page fuller.</p>
20-
<p>i Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae suscipit ex. Phasellus tempus scelerisque pulvinar. Donec sollicitudin porta sapien quis accumsan. Quisque ipsum lectus, tempor eget purus eu, bibendum interdum ligula. Morbi quis magna a leo volutpat malesuada. Nulla hendrerit elementum nisl, eget lobortis massa tincidunt in. Pellentesque vestibulum accumsan vulputate. Sed arcu augue, congue ut sapien vitae, pharetra facilisis lacus. Aenean elit metus, cursus vel mauris in, condimentum elementum nisl.</p>
21-
<p>Praesent quam magna, pretium vitae fermentum sed, iaculis ut lectus. Vestibulum dapibus purus vitae bibendum volutpat. Quisque pretium, orci ut facilisis ullamcorper, nulla lectus sodales ex, vel bibendum dui lectus et risus. Vivamus quis vestibulum magna. Mauris tristique arcu mauris, id consequat est convallis vel. Nam at diam sed nisi maximus sodales at nec nunc. Etiam sagittis tellus eget fermentum rutrum. Vivamus et fermentum lacus. Duis dapibus libero quis fermentum feugiat.</p>
19+
<p>BNETDocs is a community website that documents and discusses the Classic Battle.net&trade; protocol.</p>
20+
<h2>Our Legacy</h2>
21+
<p>From 2003 to today, the documentation has been maintained by a loving and passionate community of gamers and developers like you. A lot of us have poured our heart and soul into keeping accurate documentation to the best of our ability. It is with the support of our community that we are able to continue this legacy, as Blizzard Entertainment continues updating their classic games.</p>
22+
<h2>Support Us</h2>
23+
<p>To that end, if you would like to support us, there are a few ways you can do so. You could:</p>
24+
<p><ul>
25+
<li><a href="<?php echo Common::relativeUrlToAbsolute(Common::$config->bnetdocs->discord_url); ?>">join our Discord</a> and have a chat,</li>
26+
<li><a href="<?php echo Common::relativeUrlToAbsolute('/user/register'); ?>">register</a> an account and add your knowledge to our site,</li>
27+
<li><a href="<?php echo Common::relativeUrlToAbsolute('/donate'); ?>">donate</a> to costs of running this website,</li>
28+
<li>and help <a href="<?php echo Common::relativeUrlToAbsolute('https://github.com/BNETDocs/bnetdocs-web'); ?>">develop this website</a>.</li>
29+
</ul></p>
30+
<p>Help our community and documentation grow! Get involved today!</p>
31+
</section>
32+
</article>
33+
<article>
34+
<header>Recent Updates</header>
35+
<section>
36+
<?php include('./NYI.inc.phtml'); ?>
2237
</section>
2338
</article>
2439
<?php require("./footer.inc.phtml"); ?>

0 commit comments

Comments
 (0)