adding about pages and fixing CSS
This commit is contained in:
parent
67e5e3418b
commit
7abc4a3b3e
5 changed files with 82 additions and 0 deletions
26
src/BirdsiteLive/Controllers/AboutController.cs
Normal file
26
src/BirdsiteLive/Controllers/AboutController.cs
Normal 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");
|
||||
}
|
||||
}
|
||||
}
|
12
src/BirdsiteLive/Views/About/Blacklisting.cshtml
Normal file
12
src/BirdsiteLive/Views/About/Blacklisting.cshtml
Normal 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>
|
24
src/BirdsiteLive/Views/About/Index.cshtml
Normal file
24
src/BirdsiteLive/Views/About/Index.cshtml
Normal 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>
|
12
src/BirdsiteLive/Views/About/Whitelisting.cshtml
Normal file
12
src/BirdsiteLive/Views/About/Whitelisting.cshtml
Normal 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>
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue