mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-02-16 17:01:39 +00:00
Added gather bot
This commit is contained in:
parent
98a89ee4b9
commit
2e0133626b
5 changed files with 15 additions and 5 deletions
|
@ -8,7 +8,8 @@ var config = {
|
|||
secret_token: "",
|
||||
session_store_name: "_ENSL_session_key_staging",
|
||||
hive_url: "http://hive.naturalselection2.com/",
|
||||
ensl_url: "http://staging.ensl.org/"
|
||||
ensl_url: "http://staging.ensl.org/",
|
||||
steam_bot_link: "http://steamcommunity.com/id/nslgathers"
|
||||
};
|
||||
|
||||
module.exports = config;
|
|
@ -8,7 +8,8 @@ var config = {
|
|||
secret_token: "",
|
||||
session_store_name: "_ENSL_session_key",
|
||||
hive_url: "http://hive.naturalselection2.com/",
|
||||
ensl_url: "http://www.ensl.org/"
|
||||
ensl_url: "http://www.ensl.org/",
|
||||
steam_bot_link: "http://steamcommunity.com/id/nslgathers"
|
||||
};
|
||||
|
||||
module.exports = config;
|
|
@ -8,7 +8,8 @@ var config = {
|
|||
secret_token: "",
|
||||
session_store_name: "_ENSL_session_key_staging",
|
||||
hive_url: "http://hive.naturalselection2.com/",
|
||||
ensl_url: "http://staging.ensl.org/"
|
||||
ensl_url: "http://staging.ensl.org/",
|
||||
steam_bot_link: "http://steamcommunity.com/id/nslgathers"
|
||||
};
|
||||
|
||||
module.exports = config;
|
|
@ -7,7 +7,8 @@ var config = require("./config.js");
|
|||
module.exports = app => {
|
||||
app.get("/", (request, response, next) => {
|
||||
response.render("index.hbs", {
|
||||
redirect: config.ensl_url
|
||||
redirect: config.ensl_url,
|
||||
bot_url: config.steam_bot_link
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -2,9 +2,15 @@
|
|||
<div class="navbar-header">
|
||||
<a class="navbar-brand" href="/">ENSL.org Gathers <strong>Alpha</strong></a>
|
||||
</div>
|
||||
|
||||
<ul class="nav navbar-top-links navbar-right" id="currentuser">
|
||||
</ul>
|
||||
<ul class="nav navbar-top-links navbar-right" id="soundcontroller">
|
||||
</ul>
|
||||
<ul class="nav navbar-top-links navbar-right">
|
||||
<li>
|
||||
<a href={{bot_url}} target="_blank">
|
||||
Gather Bot <i className="fa fa-external-link"></i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
Loading…
Reference in a new issue