adding about pages and fixing CSS

This commit is contained in:
Nicolas Constant 2021-02-22 23:28:24 -05:00
parent 67e5e3418b
commit 7abc4a3b3e
No known key found for this signature in database
GPG key ID: 1E9F677FB01A5688
5 changed files with 82 additions and 0 deletions

View file

@ -0,0 +1,26 @@
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BirdsiteLive.Controllers
{
public class AboutController : Controller
{
public IActionResult Index()
{
return View();
}
public IActionResult Blacklisting()
{
return View("Blacklisting");
}
public IActionResult Whitelisting()
{
return View("Whitelisting");
}
}
}

View file

@ -0,0 +1,12 @@
<div class="col-12 col-sm-10 col-md-8 col-lg-6 mx-auto">
<h2>Blacklisting</h2>
<p>
This node is using blacklisting.<br />
<br />
<br />
</p>
<h2>FAQ</h2>
<p>TODO</p>
</div>

View file

@ -0,0 +1,24 @@

<div class="col-12 col-sm-10 col-md-8 col-lg-6 mx-auto">
<h2>Node Saturation</h2>
<p>
This node usage is at XX%<br />
<br />
<br />
</p>
<h2>FAQ</h2>
<h4>Why is there a limit on the node?</h4>
<p>BirdsiteLIVE rely on the Twitter API to provide high quality content. This API has limitations and therefore limits node capacity.</p>
<h4>What happen when the node is saturated?</h4>
<p>When the saturation rate goes above 100% the node will no longer update all accounts every 15 minutes and instead will reduce the pooling rate to stay under the API limits, the more saturated a node is the less efficient it will be.<br />
The software doesn't scale, and it's by design.</p>
<h4>How can I reduce the node's saturation?</h4>
<p>If you're not on your own node, be reasonable and don't follow too much accounts. And if you can, host your own node. BirdsiteLIVE doesn't require a lot of resources to work and therefore is really cheap to self-host.</p>
</div>

View file

@ -0,0 +1,12 @@
<div class="col-12 col-sm-10 col-md-8 col-lg-6 mx-auto">
<h2>Blacklisting</h2>
<p>
This node is using whitelisting.<br />
<br />
<br />
</p>
<h2>FAQ</h2>
<p>TODO</p>
</div>

View file

@ -33,6 +33,10 @@
margin: auto;
margin-top: 5px;
}
body {
margin-bottom: 135px;
}
}
@ -56,5 +60,9 @@
position: relative;
top: -1px;
}
body {
margin-bottom: 95px;
}
}