Skip to content

Commit

Permalink
added few basic stats to homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-Miner committed May 19, 2024
1 parent bd74dce commit 1b9ac57
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 8 deletions.
2 changes: 1 addition & 1 deletion assets/scripts/pageBuilder.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/scripts/pageOptions.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/styles/pages/homepage.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 39 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ <h1 class="pageTitle" style="display: none;"> Home - The Thronefall Wiki </h1> <
Is anything missing or out of date? Feel free to inform us about it on the <a href="https://discord.gg/gVYctptyg8">Thronefall Discord server</a> or the <a href="http://discord.gg/pfRJjfz6SU">wiki's Discord server</a>!
</p>
</div>
<div id="homeUndertitleTextItem" style="font-size: 1.05rem;">
<strong>Help wanted!</strong>
<p>We're looking for more editors to help with articles. <br> <a href="https://discord.gg/pfRJjfz6SU" target="_blank">Click here if you're interested.</a>
<div id="homeUndertitleTextItem">
<span id="helpWantedTitle"> Help wanted!</span>
<p>We're looking for more editors to help with writing and updating articles on the wiki. <a href="https://discord.gg/pfRJjfz6SU" target="_blank">Click here if you're interested.</a>
</p>
</div>
</div>
Expand Down Expand Up @@ -429,13 +429,13 @@ <h2>Other stuff</h2>

<!-- RIGHT COLUMN -->
<div id="homeGridRightCol">
<div class="homeContainer">
<div class="homeContainer" style="padding-bottom: 1px;">
<h2>Official links</h2>
<hr class="homeContainerTitleUnderline">
<div class="officlaLinksContaimer">
<div class="officlaLinksItem">
<a href="https://store.steampowered.com/app/2239150/Thronefall">
<img src="/assets/images/icons/misc/steam icon.png" class="homeIconLarge" title="Get Thronefall on Steam" alt="">
<img src="/assets/images/icons/misc/steam icon.png" class="homeIconLarge" title="Get Thronefall on Steam" alt="" style="max-width: 40px;">
<!-- <br> Steam -->
</a>
</div>
Expand All @@ -453,6 +453,40 @@ <h2>Official links</h2>
</div>
</div>
</div>

<div class="homeContainer homeRightSideCont">
<h2>Stats</h2>
<hr class="homeContainerTitleUnderline">
<div class="grid3columnsContainer" id="" style="text-align: center;">
<div class="gridColItem">
<div class="statsBoxValue" id="statsVersionValue">
1.56
</div>
<div class="statsBoxTitle">
Latest version
</div>
</div>

<div class="gridColItem">
<div class="statsBoxValue" id="statsNumOfPagesValue">
163
</div>
<div class="statsBoxTitle">
Pages
</div>
</div>

<div class="gridColItem">
<div class="statsBoxValue" id="statsTodaysVisitsValue">
...
</div>
<div class="statsBoxTitle">
Visits today
</div>
</div>
</div>
</div>

<div class="homeContainer homeRightSideCont">
<h2>Game updates and events</h2>
<hr class="homeContainerTitleUnderline">
Expand Down

0 comments on commit 1b9ac57

Please sign in to comment.